last_7_days_price_mutliple_tokens_time

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

By Omkar_BQ · saved 20 March 2024 · run 13 times · Bitquery API v2

What it returns

Filters

The query

{
  EVM(dataset: combined, network: eth) {
    DEXTradeByTokens(
      orderBy: {ascendingByField: "Block_Time"}
      where: {Trade: {Side: {Currency: {SmartContract: {in: ["0x514910771AF9Ca656af840dff83E8264EcF986CA", "0x9e9fbde7c7a83c43913bddc8779158f1368f0413","0x9511ff502f982643935a39206f98a6c18d4527cf","0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984"]}}}, Currency: {SmartContract: {is: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"}}}, Block: {Time: {after: "2024-03-13T05:26:35Z"}}}
    ) {
      Block {
        Time(interval: {in: days, count: 1})
      }
      Trade {
        Price(maximum: Block_Number)
        Side {
          Currency {
            Name
          }
        }
      }
    }
  }
}

Similar queries