Transaction errors

Hello Friends:

I am trying to send (tADA) from one address I created to another address and eventually send it back to the faucet.

I was able to send 100 tADA from one address to another yesterday, but today I am getting the following error when I try to create a tx following exactly the same commands with newly calculated tx fees and current slot number :

**> ***
> > Shelley command failed: transaction submit Error: Error while submitting tx: ApplyTxError [LedgerFailure (UtxowFailure (UtxoFailure (OutputTooSmallUTxO [(Addr Testnet (KeyHashObj (KeyHash “6ffa941206461665cc6b98c139ed4b013767425ba2f686df93d5fb18”)) StakeRefNull,Value 0 (fromList []))])))]
**> ***
Here is the command I used to create the tx:

cardano-cli transaction build-raw
–mary-era
–tx-in 45953d0be6a1e63dd38799707712522fb61e36267b2b965538cb9761e3b2f739#1 \
–tx-out (cat payment2.addr)+899653994\ --tx-out (cat payment.addr)+0
–ttl 21298500
–fee 174433
–out-file tx.raw

The above command goes through and tx.raw file is create okay.

I am also able to sign it using the following command:
cardano-cli transaction sign
–tx-body-file tx.raw
–signing-key-file payment.skey
–testnet-magic 1097911063
–out-file tx.signed
cardano-cli transaction sign
–tx-body-file tx.raw
–signing-key-file payment.skey
–testnet-magic 1097911063
–out-file tx.signed

The error comes up when I submit the transaction using the following command:

cardano-cli transaction submit
–tx-file tx.signed
–testnet-magic 1097911063

What maybe the issue here? You help is much appreciated!

Thanks!

It looks like the transaction is sending zero ADA to the second address, but that is too small of an output for a valid transaction:

Perhaps you could try deleting that second --tx-out and resubmit.

2 Likes

AHA! Thank you for the suggestion! Let me try again with that fix and I will let you know!

Worked like a charm my friend!! Thank you sir!

1 Like