bangz issue

Streams DEX trades by token on Solana as they happen: slot, block time, block height, currency name, currency symbol, currency mint address, decimals and 23 more fields.

By Kshitij Mahajan · saved 21 November 2025 · Bitquery API v2

What it returns

The subscription

subscription {
  Solana(trigger_on: head) {
    DEXTradeByTokens(where: {Transaction: {Result: {Success: true}}}) {
      Block {
        Slot
        Time
        Height
      }
      Trade {
        Currency {
          Name
          Symbol
          MintAddress
          Decimals
        }
        Price
        PriceInUSD
        Amount
        AmountInUSD
        Account {
          Address
          Token {
            Owner
          }
        }
        Side {
          Type
          Currency {
            Name
            Symbol
            MintAddress
            Decimals
          }
          Amount
          AmountInUSD
        }
        Dex {
          ProtocolName
          ProtocolFamily
          ProgramAddress
        }
        Index
        PriceAsymmetry
      }
      Transaction {
        Signature
        Signer
        FeePayer
        Fee
        FeeInUSD
      }
    }
  }
}

Similar queries