Get Latest Price of a Token in Real-time

Streams DEX trades by token on Solana as they happen, where currency mint address is 6n7Jan…caQS: transaction signature, amount in USD, trade amount, currency mint address, currency name, program address, protocol name and 7 more fields.

By Akshat · saved 23 April 2024 · run 10 times · Bitquery API v2

What it returns

Filters

The subscription

subscription {
  Solana {
    DEXTradeByTokens(
      where: {Trade: {Currency: {MintAddress: {is: "6n7Janary9fqzxKaJVrhL9TG2F61VbAtwUMu1YZscaQS"}}}}
    ) {
      Transaction {
        Signature
      }
      Trade {
        AmountInUSD
        Amount
        Currency {
          MintAddress
          Name
        }
        Dex {
          ProgramAddress
          ProtocolName
        }
        Price
        PriceInUSD
        Side {
          Account {
            Address
          }
          AmountInUSD
          Amount
          Currency {
            Name
            MintAddress
          }
        }
      }
    }
  }
}

Similar queries