getTransactionMetadata
Usage: storage.getTransactionMetadata(transactionId)
Description: Return the transaction metadata from the store matching the txId.
Parameters:
parameters | type | required | Description |
---|---|---|---|
transactionId | String | yes | The transaction id to fetch from the state |
Returns: TransactionMetadata
Example:
storage.getTransactionMetadata('4f71db0c4bf3e2769a3ebd2162753b54b33028e3287e45f93c5c7df8bac5ec7e')