Cardano cli submit not showing Transaction ID

is there any way to get Transaction ID after running the submit command?

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

Try this:

cardano-cli transaction txid --tx-file tx.signed
1 Like

cardano-cli transaction txid --tx-file tx.signed
or
cardano-cli transaction txid --tx-body-file tx.raw

The transaction does not have to be submitted for that. For the second command is does not even have to be signed.

Like many things in Cardano (and crypto), the transaction ID is a hash of some content, in this case of the content of the transaction.

2 Likes