live_price_

Returns DEX trades by token on Ethereum, where side currency smart contract is 0xcf0c…6a2e, 0x9e9f…0413 or 1 more and currency smart contract is 0xC02a…6Cc2: trade price, side currency name, side smart contract and side currency symbol.

By Omkar_BQ · saved 19 March 2024 · run 11 times · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  EVM(dataset: combined, network: eth) {
    DEXTradeByTokens(
      where: {Trade: {Side: {Currency: {SmartContract: {in: ["0xcf0c122c6b73ff809c693db761e7baebe62b6a2e", "0x9e9fbde7c7a83c43913bddc8779158f1368f0413", "0x9511ff502f982643935a39206f98a6c18d4527cf"]}}}, Currency: {SmartContract: {is: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"}}}}
    ) {
      Trade {
        Price(maximum: Block_Number)
        Side {
          Currency {
            Name
            SmartContract
            Symbol
          }
        }
      }
    }
  }
}

Similar queries