track sells of a trader for a token in realtime

Streams DEX trades on Solana as they happen, where sell currency mint address is A1r1So…pump: method, block time, buy amount, buy account address, buy currency name, buy currency symbol, buy currency mint address and 11 more fields.

By Akshat · saved 13 October 2025 · Bitquery API v2

What it returns

Filters

The subscription

subscription MyQuery($addressList: [String!], $token:String) {
  Solana {
    DEXTrades(
      where: {Transaction: {Result: {Success: true}}, any: [{Trade: {Sell: {Account: {Address: {in: $addressList}}}}}, {Trade: {Sell: {Account: {Token: {Owner: {in: $addressList}}}}}}], Trade: {Sell: {Currency: {MintAddress: {is: $token}}}}}
    ) {
      Instruction {
        Program {
          Method
        }
      }
      Block {
        Time
      }
      Trade {
        Buy {
          Amount
          Account {
            Address
          }
          Currency {
            Name
            Symbol
            MintAddress
            Decimals
          }
          AmountInUSD
        }
        Sell {
          Amount
          Account {
            Address
          }
          Currency {
            Name
            Symbol
            MintAddress
            Decimals
          }
          AmountInUSD
        }
      }
      Transaction {
        Signature
        Signer
      }
    }
  }
}

Variables

{
  "addressList": ["zJfGwsyya4e2Jr9yftwpujRpHysai6yUrKc85maMAZN"],
  "token": "A1r1SooLp5GHZoAWmY3BErwByYoCrV2StAiCEa3epump"
}

Similar queries