WSOL USDC on pumpswap

Streams DEX trades by token on Solana as they happen, where DEX program address is pAMMBa…fXEA, currency mint address is So1111…1112 and side currency mint address is EPjFWd…Dt1v: block time, currency mint address, currency name, currency symbol, protocol name, protocol family, program address and 5 more fields.

By Divyasshree · saved 22 April 2025 · run 2 times · Bitquery API v2

What it returns

Filters

The subscription

subscription MyQuery {
  Solana {
    DEXTradeByTokens(
      where: {Trade: {Dex: {ProgramAddress: {in: ["pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA"]}}, Currency: {MintAddress: {is: "So11111111111111111111111111111111111111112"}}, Side: {Currency: {MintAddress: {is: "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"}}}}, Transaction: {Result: {Success: true}}}
    ) {
      Block {
        Time
      }
      Trade {
        Currency {
          MintAddress
          Name
          Symbol
        }
        Dex {
          ProtocolName
          ProtocolFamily
          ProgramAddress
        }
        Price
        PriceInUSD
        Side {
          Currency {
            Name
            MintAddress
          }
        }
      }
      Transaction {
        Signature
      }
    }
  }
}

Similar queries