1

I want to return test ADA to the test faucet. Is there an easy way to return the tAda? I'm using this documentation to create and submit a transaction to testnet: How to create a metadata transaction using cardano-cli

cardano-cli query utxo --testnet-magic 1097911063 --address $(cat payment.addr)

cardano-cli transaction build-raw \
--tx-in dfb99f8f103e56a856e04e087255dbaf402f3801acb71a6baf423a1054d3ccd5#0 \
--tx-out $(cat testfaucet.addr)+999825875 \
--metadata-json-file metadata.json \
--fee 174125 \
--out-file tx.draft

cardano-cli transaction sign \
--tx-body-file tx.draft \
--signing-key-file payment.skey \
--testnet-magic 1097911063 \
--out-file tx.signed 

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

Command failed: transaction submit  Error: Error while submitting tx: ShelleyTxValidationError ShelleyBasedEraAlonzo (ApplyTxError [UtxowFailure (WrappedShelleyEraFailure (UtxoFailure (ValueNotConservedUTxO (Value 0 (fromList [])) (Value 1000000000 (fromList []))))),UtxowFailure (WrappedShelleyEraFailure (UtxoFailure (BadInputsUTxO (fromList [TxIn (TxId {_unTxId = SafeHash "dfb99f8f103e56a856e04e087255dbaf402f3801acb71a6baf423a1054d3ccd5"}) 0]))))])
0
2

This is the easiest way to return your tADA:

When you have finished using your test tokens, please return them to the faucet so that other members of the community can use them. Please return your test tokens to this address:

addr_test1qqr585tvlc7ylnqvz8pyqwauzrdu0mxag3m7q56grgmgu7sxu2hyfhlkwuxupa9d5085eunq2qywy7hvmvej456flknswgndm3

2
  • 1
    Thank you, I'm wondering how to do this? I have the wallet address, but don't know how to send the tokens to the address. Nov 22 at 16:11
  • The same way as tADA, but with fee...
    – Andy Jazz
    Nov 22 at 16:13
1

You'd need to set a --ttl <SLOT NUMBER> parameter for the transaction build-raw command

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.