Skip to content

How to get a pending tx id #14

Answered by astrojarred
34r7h asked this question in Q&A
Discussion options

You must be logged in to vote

Hey there, that's a great question!

It turns out that on Cardano you can already calculate the Tx ID directly from the signed transaction!
@cffls has conveniently implemented this for us. Once you've signed the tx you can get the resulting transaction ID as a string simply with tx_id = str(signed_tx.id), even before you've submitted it.

Let me know if that ends up working for you.

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by cffls
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested
3 participants
Converted from issue

This discussion was converted from issue #11 on February 23, 2022 20:37.