Replies: 1 comment
-
If you use the submit-async transaction flow in the API, the commit status returned to you includes the block number in which the transaction committed. The block number equates to the ledger height. You can use block eventing (with a start block number) to retrieve a specific block. There is an example of submit-async in the asset-transfer-basic sample (Node, Go, Java). Alternatively, you can invoke either the The off_chain_data sample provides an example of how to deserialize most of the block structure, including embedded transactions. |
Beta Was this translation helpful? Give feedback.
-
Hello, I am new to fabric and now I need to operate the fabric network through the gateway. Currently, the data can be written normally and txHash is returned. However, I want to query the transaction details and block height based on TXhash. What method should be called for this?
Beta Was this translation helpful? Give feedback.
All reactions