Create a transaction

Hi - I am using Cardano-cli to perform a transaction like
https://docs.cardano.org/projects/cardano-node/en/latest/stake-pool-operations/simple_transaction.html

Above guide works for me when I want to transfer partial amount from UTXO to destination account.

Now I want to do a transaction where full amount to a account. So the amount left ultimately will be zero. And that transaction doesn’t work. It fails UtxowFailure (UtxoFailure (OutputTooSmallUTxO

How do you create a transaction where you nothing is left in the original utxo and everything(-fees) is send to destination account?

The error message may be a result of having a --tx-out with 0 lovelace. If no change/remainder is left, then there should be no --tx-out to that address.

1 Like

Hi!

Are you still facing with this issue?

No it got resolved after following what bwbush said