UTXO Management

What is a UTXO?

The Cardano blockchain utilizes the eUTXO, or "Extended Unspent Transaction Output", accounting model. When you receive ADA or any other Cardano native token, it arrives in a specific object or box called a UTXO, or "Unspent Transaction Output". When you spend or send ADA, the network uses these objects (UTXOs) to facilitate the transfer of ADA and/or other native tokens from one place/address to another.

UTXO Inputs & Outputs

  • Each UTXO has an input from where it takes the assets and an output to where it sends them.

  • This output is termed "unspent" because they have yet to be used.

  • Unspent outputs are used as inputs in new transactions.

  • UTXOs can have one or many inputs, and one or many outputs.

UTXO Speedrun

Receiving

Whenever you receive ADA, the output of the transaction points to your address and specifies the amount you've received.

Sending

When you send ADA to someone, the transaction created takes in one or more of these unspent outputs (old UTXOs) from your address as inputs. The transaction then consumes or "spends" the unspent outputs and the new (unspent) outputs point to the recipient's address (and possibly back to your own address if there is "change").

Once an output has been used as an input in a new transaction, it becomes "spent" and cannot be used again in a future transaction.

How VESPR Manages Your Wallet's UTXOs

Cardano's transaction size limits can make UTXO management quite tricky, particularly for larger dApps or complex multi-signature wallets. To fit within these transaction size limits, UTXOs must be carefully selected to not only minimize "dust" or fees but also to curb future "fragmentation" – a situation in which a user's funds are dispersed across a myriad of small UTXOs. Proper UTXO hygiene necessitates a proactive and efficient strategy.

VESPR employs its own advanced coin selection algorithms to intelligently manage your wallet's UTXOs. Our heuristic approach ensures peak performance, efficiency, and speed adaptable to various transaction situations. With each transaction processed via VESPR, our coin selection algorithm systematically reduces dust, actively prevents fragmentation by consolidating UTXOs, and maintains "balanced" UTXO sets for future transactions.

This means that the more you use VESPR, the more performant your wallet becomes.

Last updated