Price of a Token

Returns the latest DEX trade by token on Solana, where currency mint address is CzLSuj…pump: block time, transaction signature, market address, protocol name, protocol family, amount in USD, trade price and 8 more fields.

By gaurav · saved 21 May 2025 · run 2 times · Bitquery API v2

What it returns

Filters

The query

query LatestTrades {
  Solana { 
    DEXTradeByTokens(
      orderBy: {descending: Block_Time}
      limit: {count: 1}
      where: {Trade: {Currency: {MintAddress: {is: "CzLSujWBLFsSjncfkh59rUFqvafWcY5tzedWJSuypump"}}}}
    ) {
      Block {
        allTime: Time
      }
      Transaction {
        Signature
      }
      Trade {
        Market {
          MarketAddress
        }
        Dex {
          ProtocolName
          ProtocolFamily
        }
        AmountInUSD
        Price
        PriceInUSD
        Amount
        Side {
          Type
          Currency {
            Symbol
            MintAddress
            Name
          }
          AmountInUSD
          Amount
        }
      }
    }
  }
}

Similar queries