LatestTradedPumpTokensByWallets

Returns latest traded PumpSwap tokens by specific wallets

Returns the latest 5 DEX trades by token on Solana, where currency mint address is not So1111…1112, side type is buy and DEX protocol name is pump_amm: currency name, currency symbol, currency mint address and is mutable.

By Exe · saved 11 August 2025 · Bitquery API v2

What it returns

Filters

The query

query GetLatestTradedTokensByWallets($wallets: [String!]!, $timestamp: DateTime!, $totalResults: Int!) {
  Solana(dataset: realtime) {
    DEXTradeByTokens(
      orderBy: {descending: Block_Time}
      limitBy: {by: Trade_Currency_MintAddress, count: 1}
      limit: {count: $totalResults}
      where: {
        Trade: {
          Side: {Type: {is: buy}},
          Currency: {
            MintAddress: {not: "So11111111111111111111111111111111111111112"},
            IsMutable: false
          },
          Dex: {ProtocolName: {is: "pump_amm"}}
        },
        Transaction: {
          Signer: {in: $wallets},
          Result: {Success: true}
        },
        Block: {Time: {since: $timestamp}}
      }
    ) {
      Trade {
        Currency {
          Name
          Symbol
          MintAddress
          IsMutable
        }
      }
    }
  }
}

Variables

{
  "wallets": [
    "",
    ""
  ],
  "timestamp": "2025-08-11T10:30:00Z",
  "totalResults": 5
}

Similar queries