Get current price and Mcap of Pumpfun token

search solana tokens

Returns the latest DEX trade by token on Solana, where currency mint address is 8oMoB9…pump, DEX program address is 6EF8rr…wF6P and currency mint address is 8fXPhs…pump: currency name, currency mint address, currency symbol, trade amount, amount in USD, trade price, price in USD and post balance in USD.

By Riz Mawani · saved 16 January 2025 · run 21 times · Bitquery API v2

What it returns

Filters

The query

{
  Solana {
    DEXTradeByTokens(
      limit: { count: 1 }
      orderBy: { descending: Block_Time }
      where: {
        Trade: {
          Currency: {
            MintAddress: { is: "8oMoB9xoRyvj3SpVp1NqFm7urZv5d8hnnbBY72cdpump" }
          }
          Dex: {
            ProgramAddress: {
              is: "6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P"
            }
          }
        }
        Transaction: { Result: { Success: true } }
      }
    ) {
      Trade {
        Currency {
          Name
          MintAddress
          Symbol
        }
        Amount
        AmountInUSD
        Price
        PriceInUSD
      }
    },
    TokenSupplyUpdates(
      where: {
        TokenSupplyUpdate: {
          Currency: {
            MintAddress: { is: "8fXPhsdQgaa1KMGZUy2bASxxQmH9tG6KJy96QUU3pump" }
          }
        }
      }
      limit: { count: 1 }
      orderBy: { descending: Block_Time }
    ) {
      TokenSupplyUpdate {
        PostBalanceInUSD
      }
    }
  }
}

Similar queries