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 currency symbol, buy currency name, buy currency mint address, buy account address and 7 more fields.

By Julius · saved 8 May 2025 · Bitquery API v2

What it returns

Filters

The query

query GetPumpTradesOver2SOLWithToken {
  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 {
        Buy {
          Amount
          Currency {
            Symbol
            Name
            MintAddress
          }
          Account {
            Address
          }
        }
        Sell {
          Amount
          Currency {
            Symbol
            Name
            MintAddress
          }
          Account {
            Address
          }
        }
      }
      Transaction {
        Signature
        FeePayer
      }
    }
  }
}

Similar queries