Returns a list of swap transactions that occurred in the last 24 hours.
Response
Swap transactions will be returned in an array, and if there's any error message, it will be returned in the error field. Swap transaction fields are defined as follows:
Field
Description
tx_hash
The hash of the transaction.
block_number
The block number of the transaction.
sell_token
Token metadata and amount information for the sell token. Example:
"sell_token": { "name": "Binance-Peg BUSD Token", "symbol": "BUSD", "decimals": "18", "address": "0xe9e7cea3dedca5984780bafc599bd69add087d56", "amount": "2737788670260000000000", "amount_decimal": "2737.78867026" }
buy_token
Token metadata and amount information for the buy token. Example:
"buy_token": { "name": "USD Coin", "symbol": "USDC", "decimals": "18", "address": "0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d", "amount": "2723815229824314987154", "amount_decimal": "2723.81522982" }