pumpswap trades

Returns the latest DEX trade by token on Solana, where currency mint address is Hnbrk4…pump and DEX protocol name is pump: currency name, currency symbol, currency mint address, price in USD and block time.

By endslouw · saved 18 June 2025 · run 20 times · Bitquery API v2

What it returns

Filters

The query

query GetPumpFunMarketCap($tokenMintAddress: String!) {
  Solana {
    # Get latest price
    priceData: DEXTradeByTokens(
      limit: {count: 1}
      orderBy: {descending: Block_Time}
      where: {
        Trade: {
          Currency: {MintAddress: {is: $tokenMintAddress}}
          Dex: {ProtocolName: {is: "pump"}}
        }
        Transaction: {Result: {Success: true}}
      }
    ) {
      Trade {
        Currency {
          Name
          Symbol
          MintAddress
        }
        PriceInUSD
      }
      Block {
        Time
      }
    }
  }
}

Variables

{
  "tokenMintAddress": "Hnbrk4ymod3J4XoAiFPB433oqGQU8UPvxYzNNawUpump"
}

Similar queries