Getting details of blockchain transaction with GetTransactionByID

msedzins

Mirek Sedzinski

Posted on May 15, 2022

Getting details of blockchain transaction with GetTransactionByID

In HyperLedger Fabric, to get details of a given transaction, one can use QSCC system chaincode call:

GetTransactionByID
Enter fullscreen mode Exit fullscreen mode

The problem I came across, was with parsing the response. I couldn't find any good explanation how to do this.

Finally, with a bit of experimentation, I've managed to figure it out. Sample code and description are available here:
https://github.com/msedzins/GetTransactionByID

💖 💪 🙅 🚩
msedzins
Mirek Sedzinski

Posted on May 15, 2022

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related