All Trade for Bags.fm tokens

Streams the latest 20 DEX trades on Solana as they happen: protocol name, protocol family, buy amount, buy amount in USD, buy currency symbol, buy currency name, buy currency mint address and 10 more fields.

By Polyphia · saved 4 September 2025 · Bitquery API v2

What it returns

The subscription

subscription {
  Solana {
    DEXTrades(
      where: {
        any: [
          {Trade: {Buy: {Currency: {MintAddress: {is: "AAmyrikiyiiNyyE6FLkE4VhrcAhjQUXZBxjUjN74BAGS"}}}}}
          {Trade: {Sell: {Currency: {MintAddress: {is: "AAmyrikiyiiNyyE6FLkE4VhrcAhjQUXZBxjUjN74BAGS"}}}}}
        ]
      }
      limit: {count: 20}
      orderBy: {descending: Block_Time}
    ) {
      Trade {
        Dex {
          ProtocolName
          ProtocolFamily
        }
        Buy {
          Amount
          AmountInUSD
          Currency {
            Symbol
            Name
            MintAddress
            UpdateAuthority
          }
        }
        Sell {
          Amount
          AmountInUSD
          Currency {
            Symbol
            Name
            MintAddress
          }
        }
      }
      Block {
        Time
        Height
      }
      Transaction {
        Signature
        FeePayer
      }
    }
  }
}

Similar queries