details of tokens in a pair

this query returns details of token used in the pool

Returns the latest DEX trade on Arbitrum, where DEX smart contract is 0xcda5…dad8: owner address, smart contract, buy smart contract, buy currency symbol, buy currency name, buy protocol name, sell smart contract and 3 more fields.

By Nikhil · saved 3 November 2023 · run 50 times · Bitquery API v2

What it returns

Filters

The query

{
  EVM(dataset: archive, network: arbitrum) {
    DEXTrades(
      limit: {count: 1, offset: 0}
      orderBy: {descending: Block_Time}
      where: {Trade: {Dex: {SmartContract: {is: "0xcda53b1f66614552f834ceef361a8d12a0b8dad8"}}}}
    ) {
      Trade {
        Dex {
          OwnerAddress
          SmartContract
          Pair {
            SmartContract
          }
        }
        Buy {
          Currency {
            SmartContract
            Symbol
            Name
            ProtocolName
          }
        }
        Sell {
          Currency {
            SmartContract
            Symbol
            Name
            ProtocolName
          }
        }
      }
    }
  }
}

Similar queries