Logo
Covalent API Documentation

getDexForPoolAddress

GET https://api.covalenthq.com/v1/:chainName/xyk/address/:poolAddress/dex_name/

Returns: PoolToDexResponse

{
  "updated_at" : "{{DATETIME}}",
  "address" : "{{STRING}}",
  "chain_id" : "{{INTEGER}}",
  "chain_name" : "{{STRING}}",
  "items" : [ {
    "extends" : {
      "chain_id" : "{{STRING}}",
      "chain_name" : "{{STRING}}",
      "dex_name" : "{{STRING}}",
      "display_name" : "{{STRING}}",
      "logo_url" : "{{STRING}}",
      "factory_contract_address" : "{{STRING}}",
      "router_contract_addresses" : [ "{{STRING}}" ],
      "swap_fee" : "{{DOUBLE}}"
    },
    "logo_url" : "{{STRING}}"
  } ]
}

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Content-Type
string




RESPONSES

status





Curl
curl -X GET 'https://api.covalenthq.com/v1/:chainName/xyk/address/:poolAddress/dex_name/' -H 'Content-Type: application/json'

ENDPOINTS