Latest price of a token on Solana

Streams the latest DEX trades by token on Solana as they happen, where currency mint address is 6n7Jan…caQS and side currency mint address is So1111…1112: block time, trade amount, trade price, currency symbol, currency name and side amount.

By Akshat · saved 11 April 2024 · run 1 time · Bitquery API v2

What it returns

Filters

The subscription

subscription{
  Solana {
    DEXTradeByTokens(
      where: {Trade: {Currency: {MintAddress: {is: "6n7Janary9fqzxKaJVrhL9TG2F61VbAtwUMu1YZscaQS"}}, Side: {Currency: {MintAddress: {is: "So11111111111111111111111111111111111111112"}}}}}
      orderBy: {descending: Block_Date}
    ) {
      Block {
        Time
      }
      Trade {
        Amount
        Price
        Currency {
          Symbol
          Name
        }
        Side {
          Amount
        }
      }
    }
  }
}

Similar queries