pumpfun and raydium stream on solana

Streams DEX trades on Solana as they happen, where DEX program address is 675kPX…1Mp8 or 6EF8rr…wF6P: program address, protocol family, protocol name, buy account address, buy amount, buy currency mint address, buy decimals and 16 more fields.

By gaurav · saved 12 November 2024 · run 40 times · Bitquery API v2

What it returns

Filters

The subscription

subscription {
  Solana {
    DEXTrades(
      where: {Trade: {Dex: {ProgramAddress: {in: ["675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8", "6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P"]}}}}
    ) {
      Trade {
        Dex {
          ProgramAddress
          ProtocolFamily
          ProtocolName
        }
        Buy {
          Account {
            Address
          }
          Amount
          Currency {
            MintAddress
            Decimals
            Symbol
            ProgramAddress
            Name
          }
          PriceAgaistSellCurrency: Price
        }
        Sell {
          Account {
            Address
          }
          Amount
          Currency {
            MintAddress
            Decimals
            Symbol
            Name
          }
          PriceAgaistBuyCurrency: Price
        }
      }
      Block {
        Time
        Height
      }
      Transaction {
        Signature
        FeePayer
        Signer
      }
    }
  }
}

Similar queries