Currencies in pair token

Returns one DEX trade on Ethereum, where DEX smart contract is 0x88e6…5640: sell currency symbol, sell currency name, sell smart contract, buy currency symbol, buy currency name and buy smart contract.

By gaurav · saved 14 June 2023 · run 2 times · Bitquery API v2

What it returns

Filters

The query

{
  EVM(network: eth, dataset: combined) {
    sell: DEXTrades(
      limit: {count: 1}
      where: {Trade: {Dex: {SmartContract: {is: "0x88e6a0c2ddd26feeb64f039a2c41296fcb3f5640"}}}}
    ) {
      Trade {
        Sell {
          Currency {
            Symbol
            Name
            SmartContract
          }
        }
        Buy {
          Currency {
            Symbol
            Name
            SmartContract
          }
        }
      }
    }
  }
}

Variables

{
  "baseCurrency": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
  "quoteCurrency": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
  "network": "eth"
}

Similar queries