get price USD

Returns the latest DEX trade by token on Solana, where currency mint address is 6CcbeM…FQRK 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 John · saved 10 May 2025 · run 5 times · Bitquery API v2

What it returns

Filters

The query

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

Similar queries