Pumpfun by marketcap

pumpfun token sorted by marketcap

Returns DEX trades on Solana, where buy currency mint address is not 111111…1111 and DEX protocol name is pump, sorted by trade buy price, highest first: buy price, buy price in USD, buy currency name, buy currency symbol, buy currency mint address, buy decimals, buy fungible and buy URI.

By Mahmoud Yousif · saved 30 January 2025 · run 12 times · Bitquery API v2

What it returns

Filters

The query

{
  Solana {
    DEXTrades(
      limitBy:{
        by:Trade_Buy_Currency_MintAddress
        count:1
      }
      orderBy: {descending: Trade_Buy_Price}
      where: {Trade: {Dex: {ProtocolName: {is: "pump"}}
      Buy:{
        Currency:{
          MintAddress:{
            notIn:["11111111111111111111111111111111"]
          }
        }
      }
      },
        Transaction: {Result: {Success: true}}}
    ) {
      # All pump fun token has 1 billion supply, 
      # so multiply price * 1 billion to get marketcap
      # results are already sorted by price
      Trade {
        Buy {
          Price
          PriceInUSD
          Currency {
            Name
            Symbol
            MintAddress
            Decimals
            Fungible
            Uri
          }
        }
      }
    }
  }
}

Similar queries