Price all Tokens Against WSOL

Streams DEX trades by token on Solana as they happen, where side currency mint address is So1111…1112: block time, currency name, currency symbol, trade amount, trade price, price in USD, side currency name and 6 more fields.

By CoinTradeLedger · saved 29 January 2025 · Bitquery API v2

What it returns

Filters

The subscription

subscription query($sideCurrencyMintAddress: String!) {
  Solana {
    DEXTradeByTokens(
      where: {Trade: {Side: {Currency: {MintAddress: {is: $sideCurrencyMintAddress}}}}, Transaction: {Result: {Success: true}}}
    ) {
      Block {
        Time
      }
      Trade {
        Currency {
          Name
          Symbol
        }
        Amount
        PriceAgainstSideCurrency: Price
        PriceInUSD
        Side {
          Currency {
            Name
            Symbol
          }
          Amount
          Type
        }
        Dex {
          ProgramAddress
        }
      }
      Transaction {
        Maker: Signer
        Signature
      }
    }
  }
}

Variables

{
  "sideCurrencyMintAddress":"So11111111111111111111111111111111111111112"
}

Similar queries