zd_3635_1_exclude_WETH

Streams DEX trades by token on Ethereum as they happen, where currency smart contract is not 0xC02a…6Cc2: currency name, trade price, trade amount, transaction hash, transaction index and block number.

By Omkar_BQ · saved 19 December 2023 · run 1 time · Bitquery API v2

What it returns

Filters

The subscription

subscription MyQuery {
  EVM(network: eth) {
    DEXTradeByTokens(
      where: {Trade: {Currency: {SmartContract: {not: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"}}}}
    ) {
      Trade {
        Currency {
          Name
        }
        Price
        Amount
      }
      Transaction {
        Hash
        Index
      }
      Block {
        Number
      }
    }
  }
}

Variables

{
  "network": "eth",
  "limit": 10,
  "offset": 0,
  "address": "0x515299b1a2637181ec95a3efeaa42a466195a40f"
}

Similar queries