pairs of a token

Returns 200 DEX trades by token on Ethereum, where currency smart contract is 0xed11…1ebd: currency symbol, currency name, smart contract, fungible, owner address, protocol family, protocol name and 4 more fields.

By gaurav · saved 18 April 2025 · Bitquery API v2

What it returns

Filters

The query

query tokenTrades($network: evm_network, $token: String) {
  EVM(network: $network, dataset: combined) {
    DEXTradeByTokens(
      limitBy: {count: 1, by: Trade_Dex_SmartContract}
      where: {TransactionStatus: {Success: true}, Trade: {Currency: {SmartContract: {is: $token}}}}
      limit: {count: 200}
    ) {
      Trade {
        Currency {
          Symbol
          Name
          SmartContract
          Fungible
        }
        Dex {
          pair: SmartContract
          OwnerAddress
          ProtocolFamily
          ProtocolName
          ProtocolVersion
        }
        Side {
          Currency {
            Symbol
            Name
            SmartContract
          }
        }
      }
    }
  }
}

Variables

{
  "network": "eth",
  "token": "0xed1167b6dc64e8a366db86f2e952a482d0981ebd"
}

Similar queries