Info about Trade Pairs

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

By Aleksey · saved 17 July 2023 · run 5 times · 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]}}}}
      limitBy: {count: 1 by: Transfer_Currency_SmartContract}
    ) {
      Transfer {
        Currency {
          SmartContract
          Symbol
          Name
          Decimals
          ProtocolName
        }
      }
    }
  }
}

Variables

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

Similar queries