Realtime matic dex trades websocket

Read the Trading cube vs the Trading cube vs Trades cube to understand when to use which cube. Built from raw DEX trades, so it carries per-swap detail the Trading cube normalises away. For a clean USD price feed prefer the Trading cube entries at the top of this section. Trading cube - MEV-filtered trades with USD prices on every row.

By Akshat · saved 25 April 2024 · run 10 times · Bitquery API v2

What it returns

Filters

The subscription

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

Similar queries