latest price and decimal of token

Returns the latest pair on Solana, where token address is HeLp6N…8jwC, currency mint address is HeLp6N…8jwC and token network is Solana: token address, token ID, is native, token name, network, token symbol, block date and 21 more fields.

By gaurav · saved 21 April 2026 · Bitquery API v2

What it returns

Filters

The query

{
  Trading {
    Pairs(
      orderBy: {descending: Block_Time}
      where: {Token: {Address: {is: "HeLp6NuQkmYB4pYWo2zYs22mESHXPQYzXbB8n4V98jwC"}, Network: {is: "Solana"}}, Interval: {Time: {Duration: {eq: 1}}}}
      limit: {count: 1}
    ) {
      Token {
        Address
        Id
        IsNative
        Name
        Network
        Name
        Symbol
        TokenId
      }
      Block {
        Date
        Time
        Timestamp
      }
      Interval {
        Time {
          Start
          Duration
          End
        }
      }
      Volume {
        Base
        Quote
        Usd
      }
      Supply {
        MarketCap
        TotalSupply
      }
      Price {
        IsQuotedInUsd
        Ohlc {
          Close
          High
          Low
          Open
        }
        Average {
          ExponentialMoving
          Mean
          SimpleMoving
          WeightedSimpleMoving
        }
      }
    }
  }
  Solana(dataset: combined) {
    DEXTradeByTokens(
      limit: {count: 1}
      where: {Trade: {Currency: {MintAddress: {is: "HeLp6NuQkmYB4pYWo2zYs22mESHXPQYzXbB8n4V98jwC"}}}}
    ) {
      Trade {
        Currency {
          MintAddress
          Decimals
        }
      }
    }
  }
}

Similar queries