Start_price-and-High_price

Returns DEX trades by token on Ethereum, where currency smart contract is 0xa93d…02b0, side currency smart contract is 0xC02a…6Cc2 and block time since 2025-03-08: block time and trade price.

By Divyasshree · saved 27 April 2025 · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  EVM(dataset: combined, network: eth, aggregates: yes) {
    DEXTradeByTokens(
      where: {Trade: {Currency: {SmartContract: {is: "0xa93d86Af16fe83F064E3C0e2F3d129F7B7b002b0"}}, Side: {Currency: {SmartContract: {is: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"}}}, AmountInUSD: {gt: "100"}}, Block: {Time: {since: "2025-03-08T20:32:00Z", till: "2025-04-24T17:00:59Z"}}, TransactionStatus: {Success: true}}
    ) {
      Block {
        Start_price_Time: Time(minimum: Block_Number)
        High_Price_Time: Time(maximum: Trade_Price)
      }
      Trade {
        Start_Price: Price(minimum: Block_Number)
        High_Price: Price(maximum: Trade_Price)
      }
    }
  }
}

Similar queries