Trades of all pumpfun tokens

Returns 100 DEX trades by token on Solana, where DEX protocol name is pump and block time since 2024-07-11, sorted by trade last price maximum, highest first: market address, currency symbol, currency name, currency mint address and trade price.

By Aleksey · saved 11 July 2024 · run 30 times · Bitquery API v2

What it returns

Filters

The query

query PumpFunRecentTrades($from: DateTime) {
                  Solana {
                    DEXTradeByTokens(
                      limit: {
                        count: 100
                      }
                      orderBy: {
                        descendingByField: "Trade_lastPrice_maximum"
                      }
                      where: { 
                        Block: {
                          Time: {
                            since: $from
                          }
                        }
                        Trade: {
                          Currency: {
                            Native: false
                          }
                          Dex: {ProtocolName: {is: "pump"}}}, 
                        Transaction: {Result: {Success: true}}}
                    ) {
                      Trade {
                        Market {
                          MarketAddress
                        }
                        Currency {
                          Symbol
                          Name
                          MintAddress
                        }
                        lastPrice: Price(maximum: Block_Slot)
                        prePrice: Price(minimum: Block_Slot)
                      }
                    }
                  }
                }

Variables

{
  "from": "2024-07-11T12:00:00Z"
}

Similar queries