Komodo DeFi Framework Method: ZHTLC Coin Transaction History
To get the transaction history for ZHTLC coins, you need to use this special method—the v2 my_tx_history and legacy my_tx_history methods are not compatible with ZHTLC coins. Currently, transaction memos will not be displayed in output, though they can be added to outgoing transactions with the task::withdraw methods.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| coin | string | ✓ | - | Ticker of the coin to get history for. |
| limit | integer | ✗ | 10 | Limits the number of returned transactions. Ignored if max = true. |
| paging_options.FromId | string | ✗ | - | Komodo DeFi Framework API will skip records until it reaches this ID, skipping the from_id as well; track the internal_id of the last displayed transaction to find the value of this field for the next page |
| paging_options.PageNumber | integer | ✗ | - | Komodo DeFi Framework API will return limit swaps from the selected page. Ignored if FromId is set. |
| Parameter | Type | Description |
|---|---|---|
| current_block | number | The number of the latest block of coin blockchain. |
| from_id | string | The from_id specified in the request; this value is null if from_id was not set. |
| limit | number | The limit that was set in the request; note that the actual number of transactions can differ from the specified limit (e.g., on the last page). |
| page_number | number | The page_number that was set in the request. |
| skipped | number | The number of skipped records (i.e., the position of from_id in the list + 1); this value is 0 if from_id was not set. |
| sync_status | object | A standard SyncStatus object. Provides information to track the progress of transaction history preloading in the background. |
| total | number | The total number of transactions available. |
| total_pages | number | Total pages available with the selected limit. |
| transactions | array of objects | Transactions data. |
ZHTLC Coin Transaction History
POST
z_coin_tx_history{
"userpass": "RPC_UserP@SSW0RD",
"method": "z_coin_tx_history",
"mmrpc": "2.0",
"params": {
"coin": "ARRR",
"limit": 2,
"paging_options": {
"PageNumber": 2
}
}
}