This post is part of the ‘DL Fabric Gateway™ User Guide’ originally published as
DL Fabric Gateway™ — User Guide
DL Fabric Gateway™ is a platform intended to facilitate the deployment and execution of chaincode on Hyperledger Fabric…
This post continues our ongoing discussion regarding fetching of transaction details on DL Fabric Gateway™.
Fetching Transaction Details on DL Fabric Gateway™
Fetching transaction details post-invocation is the mechanism that the Fabric network provides so that users can reference permanent records of actions on the network.
IMPORTANT — In order to fetch transaction details, a transactionId will be required. This was created in the previous section.
Fetch transaction info on DL Fabric Gateway™ using the fab_getTransactionInfoByTransactionId API:
Open a Command Line Interface (CLI) of your choice (Terminal, cmd, etc.)
Copy and paste the following API into your CLI of choice, and tap “enter” on your keyboard
curl -X GET \
-H ‘Authorization: AUTH_TOKEN_HERE’
You are required to pass in your auth token, your email, the transactionId, and the channelName but not the chaincodeName.
Notice that it corresponds to the sample input provided in Step 3 of the “Invoking Chaincode on DL Fabric Gateway™” section.