ListAssetHistory
List all Taproot Assets and BTC transaction history in a wallet.
POST
/api/list-asset-history
Headers
Name | Value |
---|---|
Content-Type |
|
Authorization |
|
Request Body
Name | Type | Required | Description |
---|---|---|---|
wallet_id | string | true | The end user's wallet id |
occurred_after | int64 | false | Occurred after this Unix timestamp |
asset_id | string | false | asset id(hex form) for TAP assets, (for btc assets the asset_id is btc). If empty, all assets shall be returned |
Response Body
Name | Type | Description |
---|---|---|
op_type | string | 0 out; 1 in |
pending | bool | false; true (indicating if the tx is included in block) |
Request Demo
Response Demo
Last updated