Live price of a token IN SOLANA with time

Live price of a token

Returns the latest 10 DEX trades by token on Solana, where currency mint address is So1111…1112 and side currency mint address is EPjFWd…Dt1v: block time, block date, block hash, slot, trade price and currency name.

By Vishal · saved 15 May 2024 · run 2 times · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  Solana {
    DEXTradeByTokens(
      limit: {count: 10}
      orderBy: {descending: Block_Time}
      where: {Trade: {Currency: {MintAddress: {is: "So11111111111111111111111111111111111111112"}}, Side: {Currency: {MintAddress: {is: "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"}}}}, Block: {}}
    ) {
      Block {
        Time
        Date
        Hash
        Slot
      }
      Trade {
        Price
        Currency {
          Name
        }
      }
    }
  }
}

Similar queries