LargestPurchasesOnPump

Returns 2 DEX trades on Solana, where buy currency mint address is not 111111…1111, DEX protocol name is pump and block time after 2024-01-24, sorted by trades, highest first: count and buy currency mint address.

By Jacob · saved 24 January 2025 · run 2 times · Bitquery API v2

What it returns

Filters

The query

query LargestPurchasesOnPump($startTime: DateTime) {
  Solana(dataset: realtime) {
    DEXTrades(
      where: {Block: {Time: {after: $startTime}}, Trade: {Dex: {ProtocolName: {is: "pump"}}, Buy: {Currency: {MintAddress: {notIn: "11111111111111111111111111111111"}}, PriceInUSD: {gt: 0.00002}}}}
      limit: {count: 2}
      orderBy: {descendingByField: "trades"}
    ) {
      trades: count(distinct: Block_Time, if: {Block: {Time: {after: $startTime}}})
      Trade {
        Buy {
          Currency {
            MintAddress
          }
        }
      }
      # sell_volume: sum(of: Trade_Sell_AmountInUSD)
    }
  }
}

Variables

{
  "startTime": "2024-01-24T17:00:00Z"
}

Similar queries