1

It's possible to submit transactions using cardano cli. Here is an example (assumes you have gone through the steps to build the tx):

cardano-cli transaction submit --tx-file matx.signed --mainnet

I would like to follow up on the transaction after submitting. For that I need the transaction ID. Is there a way to derive or otherwise programatically figure out the transaction Id of a tx created in this manner?

1 Answer 1

5

For the above example, you would run:

cardano-cli transaction txid --tx-file matx.signed

If instead of inspecting a signed transaction you wish to inspect a transaction body / unsigned draft, it would look similar:

cardano-cli transaction txid --tx-body-file tx.draft

The Txid will be printed to stdout

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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