DEV Community

Mirek Sedzinski
Mirek Sedzinski

Posted on

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

Oldest comments (0)