getPoolsForWalletAddress
GET https://api.covalenthq.com/v1/:chainName/xyk/address/:walletAddress/pools/page/:page/?token-address="e-currency=&dex-name=&page-size=
Returns: PoolsDexDataResponse{
"updated_at" : "{{DATETIME}}",
"address" : "{{STRING}}",
"chain_id" : "{{INTEGER}}",
"chain_name" : "{{STRING}}",
"quote_currency" : "{{STRING}}",
"items" : [ {
"dex_name" : "{{STRING}}",
"exchange" : "{{STRING}}",
"exchange_ticker_symbol" : "{{STRING}}",
"exchange_logo_url" : "{{STRING}}",
"total_liquidity_quote" : "{{DOUBLE}}",
"pretty_total_liquidity_quote" : "{{STRING}}",
"volume24h_quote" : "{{DOUBLE}}",
"volume7d_quote" : "{{DOUBLE}}",
"fee24h_quote" : "{{DOUBLE}}",
"annualized_fee" : "{{DOUBLE}}",
"pretty_volume24h_quote" : "{{STRING}}",
"pretty_volume7d_quote" : "{{STRING}}",
"pretty_fee24h_quote" : "{{STRING}}",
"token0" : {
"reserve" : "{{STRING}}",
"contract_name" : "{{STRING}}",
"contract_decimals" : "{{INTEGER}}",
"contract_ticker_symbol" : "{{STRING}}",
"contract_address" : "{{STRING}}",
"logo_url" : "{{STRING}}",
"quote_rate" : "{{DOUBLE}}"
},
"token1" : "{{PoolsDexToken}}"
} ],
"pagination" : {
"has_more" : "{{BOOLEAN}}",
"page_number" : "{{INTEGER}}",
"page_size" : "{{INTEGER}}",
"total_count" : "{{INTEGER}}"
}
}
Body
PARAM
Key | Datatype | Required | Description |
token-address
|
null | ||
quote-currency
|
null | ||
dex-name
|
null | ||
page-size
|
null |
HEADERS
Key | Datatype | Required | Description |
Content-Type
|
string |
ENDPOINTS