Solana - transactions for multiple contracts

Streams DEX trades by token on Solana as they happen, where currency mint address is 9r4Eav…pump or DC5Gm9…pump, side currency mint address is So1111…1112 and DEX program address is 675kPX…1Mp8: block time, currency name, currency symbol, trade amount, trade price, price in USD, side currency name and 5 more fields.

By Natia Gelashvili · saved 20 February 2025 · run 2 times · Bitquery API v2

What it returns

Filters

The subscription

subscription {
  Solana {
    DEXTradeByTokens(
      where: {Trade: {Currency: {MintAddress: {in: ["9r4EavwQy2CfJkYanwGDhQbyxmoP3SCo6Ldaie2Apump", "DC5Gm9jzcatCF4PVeeJLVq8j7MQnTCRx1ZTE3QLopump"]}}, Side: {Currency: {MintAddress: {is: "So11111111111111111111111111111111111111112"}}}, Dex: {ProgramAddress: {is: "675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8"}}}, Transaction: {Result: {Success: true}}}
    ) {
      Block {
        Time
      }
      Trade {
        Currency {
          Name
          Symbol
        }
        Amount
        Price
        PriceInUSD
        Side {
          Currency {
            Name
            Symbol
          }
          Amount
          Type
        }
      }
      Transaction {
        Maker: Signer
        Signature
      }
    }
  }
}

Similar queries