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 trasaction memos will not be displayed in output, though they can be added to outgoing transactions with the task::withdraw methods.
Structure | Type | Description |
---|---|---|
coin | string | Ticker of the coin to get history for. |
limit | integer | Optional. Limits the number of returned transactions. Defaults to 10 . Ignored if max = true . |
paging_options.FromId | string | Optional. AtomicDEX 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 | Optional. AtomicDEX API will return limit swaps from the selected page. Ignored if FromId . |
Structure | Type | Description |
---|---|---|
transactions | array of objects | transactions data |
from_id | string | the from_id specified in the request; this value is null if from_id was not set |
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 |
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) |
total | number | the total number of transactions available |
page_number | number | the page_number that was set in the request |
total_pages | number | total pages available with the selected limit |
current_block | number | the number of the latest block of coin blockchain |
sync_status | object | A standard SyncStatus object. Provides the information that helps to track the progress of transaction history preloading at background |
ZHTLC Coin Transaction History
POST
z_coin_tx_history{
"userpass": "testpsw",
"method": "z_coin_tx_history",
"mmrpc": "2.0",
"params": {
"coin": "ARRR",
"limit": 2,
"paging_options": {
"PageNumber": 2
}
}
}