Get Swaps by Pair Address - stream

Streams DEX trades on Solana as they happen, where market market address is 3ucNos…sUxv: block time, slot, transaction signature, transaction index, success, trade index, program address and 34 more fields.

By Akshat · saved 4 February 2026 · Bitquery API v2

What it returns

Filters

The subscription

subscription{
  Solana {
    DEXTrades(
      where: {Transaction:{Result:{Success:true}} Trade: {Market: {MarketAddress: {is: "3ucNos4NbumPLZNWztqGHNFFgkHeRMBQAVemeeomsUxv"}}}}
    ) {
      Block {
        Time
        Slot
      }
      Transaction {
        Signature
        Index
        Result {
          Success
        }
      }
      Trade {
        Index
        Dex {
          ProgramAddress
          ProtocolFamily
          ProtocolName
        }
        Buy {
          Amount
          AmountInUSD
          Account {
            Address
          }
          Currency {
            MetadataAddress
            Key
            MintAddress
            IsMutable
            EditionNonce
            Decimals
            CollectionAddress
            Fungible
            Symbol
            Native
            Name
          }
          Price
          PriceInUSD
          Order {
            LimitPrice
            LimitAmount
            OrderId
          }
        }
        Dex{
          ProgramAddress
          ProtocolName
          ProtocolFamily
        }
        Market {
          MarketAddress
        }
        Sell {
          Amount
          AmountInUSD
          Account {
            Address
          }
          Currency {
            IsMutable
            Decimals
            CollectionAddress
            Fungible
            Symbol
            Native
            Name
          }
          Price
          PriceInUSD
        }
      }
    }
  }
}

Similar queries