DEV Community

Mirek Sedzinski
Mirek Sedzinski

Posted on

6 4

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

Top comments (0)

AWS Security LIVE!

Tune in for AWS Security LIVE!

Join AWS Security LIVE! for expert insights and actionable tips to protect your organization and keep security teams prepared.

Learn More