Latest token trades subscription

Latest token trades subscription. Uses the Trading cube. Change the token address in the `where` clause to use it. Trading cube - MEV-filtered trades with USD prices on every row.

By gaurav · saved 1 March 2023 · run 36 times · Bitquery API v2

What it returns

Filters

The subscription

subscription {
  Trading {
    Trades(
      where: {
        Pair: {
          Market: { Network: { is: "Ethereum" } }
          Token: { Address: { is: "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2" } }
        }
      }
    ) {
      Block { Time }
      Pair { Market { Name Protocol Network } Token { Symbol Address } QuoteToken { Symbol } }
      Side
      Price
      PriceInUsd
      AmountsInUsd { Base Quote }
      Trader { Address }
      TransactionHeader { Hash }
    }
  }
}

Similar queries