pumpfun daily stats example

Returns DEX trades by token on Solana, where DEX protocol name is pump and block time since 2024-05-31, sorted by block timefield: block time, sum of trade amount and count.

By Divyasshree · saved 3 January 2025 · run 5 times · Bitquery API v2

What it returns

Filters

The query

{
  Solana(dataset: archive, aggregates: yes) {
    DEXTradeByTokens(
      orderBy: {ascendingByField: "Block_Timefield"}
      where: {Trade: {Currency: {}, Dex: {ProtocolName: {is: "pump"}}}, Transaction: {Result: {Success: true}}, Block: {Time: {since: "2024-05-31T10:15:49Z"}}}
    ) {
      Block {
        Timefield: Time(interval: {in: days, count: 1})
      }
      volume: sum(of: Trade_Amount)
      count
    }
  }
}

Similar queries