Token pairs

Returns 10 DEX trades by token on Arbitrum, where currency smart contract is 0xa864…372e, sorted by count, highest first: chain ID, count, currency symbol, smart contract, currency name, side currency name, side smart contract and side currency symbol.

By Nadia · saved 19 September 2023 · run 12 times · Bitquery API v2

What it returns

Filters

The query

query ($network: evm_network, $limit: Int!, $token: String) {
  EVM(dataset: combined, network: $network) {
    DEXTradeByTokens(
      limit: {count: $limit}
      where: {Trade: {Currency: {SmartContract: {is: $token}}}}
      orderBy: {descendingByField: "count"}
    ) {
      ChainId
      count
      Trade {
        Currency {
          Symbol
          SmartContract
          Name
        }
        Side {
          Currency {
            Name
            SmartContract
            Symbol
          }
        }
      }
    }
  }
}

Variables

{
  "network": "arbitrum",
  "limit": 10,
  "token": "0xa864956ff961ce62c266a8563b46577d3573372e"
}

Similar queries