To use this method, you must activate your coin with "tx_history": true. The response will vary depending on the coin.
Currently only BCH & SLP tokens are supported in the master/release API. In the latest dev API, UTXO coins, QTUM, and Tendermint/Tendermint tokens are also supported.
For ZHTLC coins, you must use the z_coin_tx_history method.
For all other coins, use the legacy my_tx_history method.
Optional. Limits the number of returned transactions. Defaults to 10. Ignored if max = true.
paging_options.FromId
string
Optional. Komodo DeFi Framework 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. Komodo DeFi Framework will return limit swaps from the selected page. Ignored if FromId .
{"mmrpc":"2.0","result":{"coin":"IRIS","target":{"type":"iguana"},"current_block":18120346,"transactions":[{"tx_hex":"0a2a6961613136647271766c33753873756b667375346c6d3371736b32386a72336661686a6139767376366b122a6961613136647271766c33753873756b667375346c6d3371736b32386a72336661686a6139767376366b1a110a05756972697312083130303030303030","tx_hash":"B34A8D5AD74067F01A0207DF1851A14673C859D8A6F4FB0CBE292D2104C143CA","from":["iaa16drqvl3u8sukfsu4lm3qsk28jr3fahja9vsv6k"],"to":["iaa16drqvl3u8sukfsu4lm3qsk28jr3fahja9vsv6k"],"total_amount":"10.044559","spent_by_me":"10.044559","received_by_me":"10","my_balance_change":"-0.044559","block_height":18120218,"timestamp":1673016440,"fee_details":{"type":"Tendermint","coin":"IRIS","amount":"0.044559","gas_limit":100000},"coin":"IRIS","internal_id":"4644373032304131304637363034374441354438413433420000000000000000","transaction_type":"StandardTransfer","memo":"while you are out, buy milk","confirmations":129},{"tx_hex":"0a2a6961613136647271766c33753873756b667375346c6d3371736b32386a72336661686a6139767376366b122a696161317a78733476776c36326b687174376e7a7276687a676b34377467366365706677707a673537711a4d0a446962632f3237333934464230393244324543434435363132334337344633364534433146393236303031434541444139434139374541363232423235463431453545423212053130303030","tx_hash":"09ADDD3427A3BA4B0A94023456DF534DB5B9B6821EC17C7C1B2C168EFCF49F26","from":["iaa16drqvl3u8sukfsu4lm3qsk28jr3fahja9vsv6k"],"to":[],"total_amount":"0.051788","spent_by_me":"0.051788","received_by_me":"0","my_balance_change":"-0.051788","block_height":17996530,"timestamp":1672232661,"fee_details":{"type":"Tendermint","coin":"IRIS","amount":"0.051788","gas_limit":100000},"coin":"IRIS","internal_id":"0000000000000000303941444444333432374133424134423041393430323334","transaction_type":"FeeForTokenTx","memo":null,"confirmations":123817},{"tx_hex":"0a2a6961613136647271766c33753873756b667375346c6d3371736b32386a72336661686a6139767376366b1240343133433843414333434142363945454632344432423643414238314146454344383044413745323731433237343637453142324635463337314446353241441a4061353539343834666536316665383630326465383632353964643263663031613865393437306437666635346262323536336233393035646462366238366535","tx_hash":"4E30C074CED6825F3E1B6584C376A426C20FDEFC9A22EB17D8E7DA4139FA0AEB","from":["iaa16drqvl3u8sukfsu4lm3qsk28jr3fahja9vsv6k"],"to":[],"total_amount":"182.742425","spent_by_me":"0.053103","received_by_me":"182.689322","my_balance_change":"182.636219","block_height":17981793,"timestamp":1672138900,"fee_details":{"type":"Tendermint","coin":"IRIS","amount":"0.053103","gas_limit":100000},"coin":"IRIS","internal_id":"3438353642314533463532383644454334373043303345340000000000000000","transaction_type":{"CustomTendermintMsg":{"msg_type":"SignClaimHtlc","token_id":null}},"memo":null,"confirmations":138554}],"sync_status":{"state":"NotStarted"},"limit":50,"skipped":0,"total":3,"total_pages":1,"paging_options":{"PageNumber":1}},"id":null}
{"mmrpc":"2.0","error":"Storage is not initialized for TTT-SLP","error_path":"my_tx_history_v2","error_trace":"my_tx_history_v2:343]","error_type":"StorageIsNotInitialized","error_data":"Storage is not initialized for TTT-SLP","id":null}