Get Solana pair trades data just like dexcsreener

Will subscribe to real-time trade transactions for a Solana pair, providing a continuous stream of data as new trades are processed and recorded. Trading cube - MEV-filtered trades with USD prices on every row.

By Akshat · saved 5 July 2024 · run 218 times · Bitquery API v2

What it returns

Filters

The subscription

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

Similar queries