hourly price of pump fun token - fixed

Returns 1000 DEX trades by token on Solana, where DEX protocol name is pump and block time after 2025-02-19, sorted by block time: currency name, currency symbol, currency mint address, price in USD, side currency name, side currency mint address, sum of trade side amount in USD and block time.

By gaurav · saved 19 February 2025 · run 7 times · Bitquery API v2

What it returns

Filters

The query

query MyQuery($resolution: OLAP_DateTimeIntervalUnits, $space: Int) {
  Solana(dataset: realtime) {
    DEXTradeByTokens(
      limit: {count: 1000}
      orderBy: {ascendingByField: "Block_Time"}
      limitBy: {by: Trade_Currency_MintAddress, count: 1}
      where: {Block: {Time: {after: "2025-02-19T00:00:00.000Z"}}, Trade: {Dex: {ProtocolName: {is: "pump"}}}}
    ) {
      Trade {
        Currency {
          Name
          Symbol
          MintAddress
        }
        high: PriceInUSD(maximum: Trade_PriceInUSD)
        low: PriceInUSD(minimum: Trade_PriceInUSD)
        open: PriceInUSD(minimum: Block_Slot)
        close: PriceInUSD(maximum: Block_Slot)
        price: PriceInUSD(maximum: Trade_PriceInUSD)
        Side {
          Currency {
            Name
            MintAddress
          }
        }
      }
      volume: sum(of: Trade_Side_AmountInUSD)
      Block {
        Time(interval: {count: $space, in: $resolution})
      }
    }
  }
}

Variables

{
  "token": "Cwa6QNeNP2Qh7zR34hdzJdgtDDmaD2Y96m7c9HBdpump",
  "time_ago": "2025-02-19T00:00:00.000Z",
  "space": 1,
  "resolution": "hours"
}

Similar queries