price_token_

Returns DEX trades by token on Ethereum, where currency smart contract is 0x5149…86CA, side currency smart contract is 0xC02a…6Cc2 and block time after 2024-03-13: trade price and side currency name.

By Omkar_BQ · saved 17 April 2024 · Bitquery API v2

What it returns

Filters

The query

{
  EVM(dataset: combined, network: eth) {
    DEXTradeByTokens(
      where: {Trade: {Currency: {SmartContract: {is: "0x514910771AF9Ca656af840dff83E8264EcF986CA"}}, Side: {Currency: {SmartContract: {is: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"}}}}, Block: {Time: {after: "2024-03-13T05:26:35Z"}}}
    ) {
      Trade {
        Price(maximum: Block_Number)
        Side {
          Currency {
            Name
          }
        }
      }
    }
  }
}

Similar queries