fetch recent trades fro wallet addresss

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

By Atika · saved 22 August 2025 · Bitquery API v2

What it returns

The subscription

subscription WalletTradeMonitoring($walletAddress: String!) {
  Solana {
    DEXTradeByTokens(
      where: {Transaction: {Result: {Success: true}}, any: [{Trade: {Account: {Address: {is: $walletAddress}}}}, {Trade: {Account: {Token: {Owner: {is: $walletAddress}}}}}]}
    ) {
      Block {
        Time
        Slot
      }
      Trade {
        Currency {
          Name
          Symbol
          MintAddress
          Decimals
          Fungible
          Native
          Uri
        }
        Amount
        PriceInUSD
        Price
        Side {
          Type
          Amount
          AmountInUSD
          Currency {
            Name
            Symbol
            MintAddress
            Uri
          }
        }
        Account {
          Address
          Token {
            Owner
          }
        }
        Dex {
          ProtocolName
          ProtocolFamily
          ProgramAddress
        }
      }
      Transaction {
        Signature
        Signer
        FeeInUSD
      }
    }
  }
}

Variables

{
  "walletAddress": "8uCnPd6vkpt7DRRTBmVeB96Wm4HtoNPuzuiCbXH25gy5"
}

Similar queries