Get Solana pair trades data just like dexcsreener

Streams DEX trades by token on Solana as they happen, where currency mint address is 27T4Be…pump: currency name, currency symbol, trade amount, price in USD, trade price, transaction signature and sum of trade amount.

By Yolxander · saved 23 January 2025 · run 1 time · Bitquery API v2

What it returns

Filters

The subscription

subscription MyQuery {
  Solana {
    DEXTradeByTokens(
      where: {
        Trade: {
          Currency: { MintAddress: { is: "27T4BetBEXjxfqeUb7WWcCz8rKPUJuxNu2CGzApPpump" } }
        },
        Transaction: { Result: { Success: true } }
      }
    ) {
      Trade {
        Currency {
          Name
          Symbol
        }
        Amount
        PriceInUSD
        PriceAgainstSideCurrency: Price
      }
      Transaction {
        Signature
      }
      # MarketCap: sum(of: Trade_PriceInUSD_MultipliedBy_Trade_Amount)
      Liquidity: sum(of: Trade_Amount)
      # TotalSupply: max(of: Trade_Amount)
    }
  }
}

Similar queries