price of token stream

Streams DEX trades by token on Solana as they happen, where trade amount is above 0, sorted by block time: block time, currency name, currency symbol, currency mint address, quantile of trade price in USD and quantile of trade price.

By gaurav · saved 15 January 2025 · run 3 times · Bitquery API v2

What it returns

Filters

The subscription

subscription {
  Solana {
    DEXTradeByTokens(
      orderBy: {ascendingByField: "Block_Time"}
      where: {Trade: {Amount: {gt: "0"}}, Transaction: {Result: {Success: true}}}
    ) {
      Block {
        Time
      }
      Trade {
        Currency {
          Name
          Symbol
          MintAddress
        }
      }
      max: quantile(of: Trade_PriceInUSD, level: 0.90)
      maxP: quantile(of: Trade_Price, level: 0.90)
    }
  }
}

Variables

{
  "token": "ABrCEfsLuQ3KmmMCkoD1LGoPLf2ZjnMirYpwQAzysZg1",
  "time_ago": "2025-01-15T01:29:58Z"
}

Similar queries