How do you calculate the Id of a given transaction?

I have hex encoded signed transaction like this:


When I broadcasted the data, I got the following id:


So I was wondering if there's a way for me to calculate the id with given transaction data. I found this article:


and tried Blake2b256 hash, but it produced different value.


New contributor
Hiroto is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

You are looking for blake2b-256 digest of the cbor-encoded transaction body.

Thanks to KtorZ to help with this.

  • I see, thank you!
    – Hiroto

Your Answer

Hiroto is a new contributor. Be nice, and check out our Code of Conduct.

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.