token trades subscription

Streams DEX trades by token on Solana as they happen, where DEX program address is 6EF8rr…wF6P and side currency mint address is 111111…1111: block time, slot, transaction signature, transaction index, success, trade amount, amount in USD and 32 more fields.

By gaurav · saved 21 April 2026 · Bitquery API v2

What it returns

Filters

The subscription

subscription {
  Solana {
    DEXTradeByTokens (
      where:{
        Trade:{
          Dex:{
            ProgramAddress:{
              is:"6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P"
            }
          }
          Side:{
            Currency:{
              MintAddress:{
                is:"11111111111111111111111111111111"
              }
            }
          }
        }
      }
    ) {
      Block {
        Time
        Slot
      }
      Transaction {
        Signature
        Index
        Result {
          Success
        }
      }
      Trade {
        Amount
        AmountInUSD
        Account {
          Address
        }
        Currency {
         MintAddress
          MetadataAddress
          Key
          MintAddress
          IsMutable
          EditionNonce
          Decimals
          CollectionAddress
          Fungible
          Symbol
          Native
          Name
        }
        Price
        PriceInUSD
        Order {
          LimitPrice
          LimitAmount
          OrderId
        }
        Index
        Dex {
          ProgramAddress
          ProtocolFamily
          ProtocolName
        }
        Side {
          Account {
            Address
          }
          Amount
          AmountInUSD
          Currency {
            MintAddress
            IsMutable
            Decimals
            CollectionAddress
            Fungible
            Symbol
            Native
            Name
          }
        }
      }
    }
  }
}

Similar queries