Wallet Downloader

Returns the latest 1000 DEX trades on Solana, where DEX protocol name is pump, buy currency symbol is SOL and buy amount is above 2: block time, block height, buy amount, buy account address, sell amount, sell currency symbol, sell currency name and 5 more fields.

By Julius · saved 10 May 2025 · Bitquery API v2

What it returns

Filters

The query

query GetPumpTokenBuysOver2SOL {
  Solana {
    DEXTrades(
      where: {
        Trade: {
          Dex: { ProtocolName: { is: "pump" } }
          Buy: {
            Amount: { gt: "2" }
            Currency: { Symbol: { is: "SOL" } }
          }
        }
        Transaction: { Result: { Success: true } }
      }
      limit: { count: 1000 }
      orderBy: { descending: Block_Time }
    ) {
      Block {
        Time
        Height
      }
      Trade {
        # Was der Pool kauft (hier SOL)
        Buy {
          Amount
          Account {
            Address
          }
        }
        # Was der Pool verkauft (dein Token)
        Sell {
          Amount
          Currency {
            Symbol
            Name
            MintAddress
          }
          Account {
            Address
          }
        }
      }
      Transaction {
        Index
        Signature
        FeePayer
      }
    }
  }
}

Similar queries