Info about Trade Pairs

Returns 2 transfers on Arbitrum, where currency smart contract is 0xff97…5cc8 or 0x82af…bab1, sorted by count, highest first: count, smart contract, currency symbol, currency name, decimals and protocol name.

By Aleksey · saved 17 July 2023 · run 1 time · Bitquery API v2

What it returns

Filters

The query

query ($network: evm_network, $token1: String!, $token2: String!) {
  EVM(dataset: archive, network: $network) {
    Transfers(
      where: {Transfer: {Currency: {SmartContract: {in: [$token1, $token2]}}}}
      orderBy: {descendingByField: "count"}
      limit: {count: 2}
    ) {
      count
      Transfer {
        Currency {
          SmartContract
          Symbol
          Name
          Decimals
          ProtocolName
        }
      }
    }
  }
}

Variables

{
  "network": "arbitrum",
  "token1": "0xff970a61a04b1ca14834a43f5de4533ebddb5cc8",
  "token2": "0x82af49447d8a07e3bd95bd0d56f35241523fbab1"
}

Similar queries