Live Data For Minutes Data Api V2

Returns DEX trades on Ethereum, where buy currency smart contract is 0x1f98…f984 and block date is 2025-02-07, sorted by block time: buy currency name, buy currency symbol, buy price, buy price in USD and block time.

By Aman · saved 7 February 2025 · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  EVM(dataset: combined, network: eth) {
    DEXTrades(
      where: {Trade: {Buy: {Currency: {SmartContract: {is: "0x1f9840a85d5af5bf1d1762f925bdaddc4201f984"}}}}, Block: {Date: {is: "2025-02-07"}}}
      orderBy: {ascending: Block_Time}
      limitBy: {by: Block_Number}
    ) {
      Trade {
        Buy {
          Currency {
            Name
            Symbol
          }
          Price
          PriceInUSD
        }
      }
      Block {
        Time(interval: {count: 1, in: minutes, offset: 1})
      }
    }
  }
}

Similar queries