@dashevo/wallet-lib
Version:
Light wallet library for Dash
18 lines (11 loc) • 732 B
Markdown
**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:
```js
storage.getTransactionMetadata('4f71db0c4bf3e2769a3ebd2162753b54b33028e3287e45f93c5c7df8bac5ec7e')
```