getTransactionsForTokenAddress
GET https://api.covalenthq.com/v1/:chainName/xyk/:dexName/tokens/address/:tokenAddress/transactions/?page-size=&page-number=
Returns: TransactionsForTokenAddressResponse{
"updated_at" : "{{DATETIME}}",
"chain_id" : "{{INTEGER}}",
"chain_name" : "{{STRING}}",
"items" : [ {
"block_signed_at" : "{{DATETIME}}",
"tx_hash" : "{{STRING}}",
"act" : "{{STRING}}",
"address" : "{{STRING}}",
"amount0" : "{{SAFELONG}}",
"amount1" : "{{SAFELONG}}",
"amount0_in" : "{{SAFELONG}}",
"amount0_out" : "{{SAFELONG}}",
"amount1_in" : "{{SAFELONG}}",
"amount1_out" : "{{SAFELONG}}",
"to_address" : "{{STRING}}",
"from_address" : "{{STRING}}",
"sender_address" : "{{STRING}}",
"total_quote" : "{{DOUBLE}}",
"pretty_total_quote" : "{{STRING}}",
"value" : "{{STRING}}",
"value_quote" : "{{DOUBLE}}",
"pretty_value_quote" : "{{STRING}}",
"gas_metadata" : {
"contract_decimals" : "{{INTEGER}}",
"contract_name" : "{{STRING}}",
"contract_ticker_symbol" : "{{STRING}}",
"contract_address" : "{{STRING}}",
"supports_erc" : [ "{{STRING}}" ],
"logo_url" : "{{STRING}}"
},
"gas_offered" : "{{STRING}}",
"gas_spent" : "{{STRING}}",
"gas_price" : "{{STRING}}",
"fees_paid" : "{{STRING}}",
"gas_quote" : "{{DOUBLE}}",
"pretty_gas_quote" : "{{STRING}}",
"gas_quote_rate" : "{{DOUBLE}}",
"quote_currency" : "{{STRING}}",
"token0" : {
"contract_decimals" : "{{INTEGER}}",
"contract_name" : "{{STRING}}",
"contract_ticker_symbol" : "{{STRING}}",
"contract_address" : "{{STRING}}",
"supports_erc" : "{{BOOLEAN}}",
"logo_url" : "{{STRING}}"
},
"token1" : "{{PoolToken}}",
"token_0_quote_rate" : "{{DOUBLE}}",
"token_1_quote_rate" : "{{DOUBLE}}"
} ],
"pagination" : {
"has_more" : "{{BOOLEAN}}",
"page_number" : "{{INTEGER}}",
"page_size" : "{{INTEGER}}",
"total_count" : "{{INTEGER}}"
}
}
Body
PARAM
Key | Datatype | Required | Description |
page-size
|
null | ||
page-number
|
null |
HEADERS
Key | Datatype | Required | Description |
Content-Type
|
string |
RESPONSES
ENDPOINTS