Using Pairs - How do I track trades for multiple tokens in one subscription?

Streams trades as they happen, where pool address is BMhbJp…9f6V, 916HUQ…z5uN or 1 more: side, circulating supply, market cap, trader address, transaction header fee, fee payer, sender and 18 more fields.

By gaurav · saved 6 April 2026 · Bitquery API v2

What it returns

Filters

The subscription

subscription {
  Trading {
    Trades(
      where: {Pair: {Pool: {Address: {in: ["BMhbJpKihPsrQwWTNrzYLFwh2LbuDwWYbHKzEZrV9f6V",
        "916HUQvjHzJ3UP1LgtyoVYyxhkwqbnBxPshxNKBbz5uN", 
        "aXQtJ9cGr1zgLyrppKJ5BR5jv1RMjyYL5Wetd2KZNtB"]}}}}
    ) {
      Side
      Supply {
        CirculatingSupply
        MarketCap
      }
      Trader {
        Address
      }
      TransactionHeader {
        Fee
        FeePayer
        Sender
        To
      }
      Amounts {
        Base
        Quote
      }
      AmountsInUsd {
        Base
        Quote
      }
      Block {
        Date
        Time
        Timestamp
      }
      Pair {
        Pool {
          Address
          Id
        }
        Market {
          Address
          Program
          Network
        }
        Token {
          Address
          Id
          IsNative
          Symbol
          TokenId
          Network
        }
        QuoteToken {
          Address
          Id
          IsNative
          Symbol
          TokenId
          Network
        }
      }
    }
  }
}

Similar queries