Copy of Copy of Get multiple Token Prices

Returns the latest DEX trades by token on Solana, where currency mint address is 6p6xgH…GiPN or EPjFWd…Dt1v 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 Oussamaxd · saved 20 September 2025 · Bitquery API v2

What it returns

Filters

The query

{
  Solana {
    DEXTradeByTokens(
      orderBy: {descending: Block_Time}
      where: {Trade: {Currency: {MintAddress: {in: ["6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN", "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"]}}, Side: {Currency: {MintAddress: {is: "So11111111111111111111111111111111111111112"}}}}}
      limitBy: {by: Trade_Currency_MintAddress, count: 1}
    ) {
      Block {
        Time
      }
      Trade {
        Currency {
          Name
          Symbol
          MintAddress
        }
        PriceInSol: Price
        PriceInUSD
        Side {
          Currency {
            Name
            MintAddress
          }
        }
      }
    }
  }
}

Similar queries