Get Token Price

Returns the latest DEX trade by token on Solana, where currency mint address is 6p6xgH…GiPN and side currency mint address is So1111…1112: block time, currency name, currency symbol, currency mint address, trade price, price in USD, side currency name and side currency mint address.

By gaurav · saved 11 June 2025 · run 2 times · Bitquery API v2

What it returns

Filters

The query

{
  Solana {
    DEXTradeByTokens(
      orderBy: {descending: Block_Time}
      where: {Trade: {Currency: {MintAddress: {is: "6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN"}}, Side: {Currency: {MintAddress: {is: "So11111111111111111111111111111111111111112"}}}}}
      limit: {count: 1}
    ) {
      Block{
        Time
      }
      Trade{
        Currency{
          Name
          Symbol
          MintAddress
        }
        PriceInSol: Price
        PriceInUSD
        Side{
          Currency{
            Name
            MintAddress
          }
        }
      }
    }
  }
}

Similar queries