Price 1h,4h,24h,Vol24h
Streams pairs as they happen, where token ID is bid:solana:BKQucpTXB2d67jSNXMznSTj2iNLVtyga9JW86QoWpump and time duration is 1: token ID, token name, token symbol, mean and sum of volume USD.
What it returns
- token ID
- token name
- token symbol
- mean
- sum of volume USD
Filters
- token ID is bid:solana:BKQucpTXB2d67jSNXMznSTj2iNLVtyga9JW86QoWpump
- time duration is 1
The subscription
subscription{
TokenAsBase: Trading {
Pairs(
where: {Interval: {Time: {Duration: {eq: 1}}}, Block: {Time: {since_relative: {hours_ago: 24}}}, Price: {IsQuotedInUsd: true}, Token: {Id: {in: ["bid:solana:BKQucpTXB2d67jSNXMznSTj2iNLVtyga9JW86QoWpump"]}}}
) {
Token {
Id
Name
Symbol
}
Price {
Average {
currentPrice: Mean(maximum: Block_Time)
H1Ago: Mean(
minimum: Block_Time
if: {Block: {Time: {since_relative: {hours_ago: 1}}}}
)
H4Ago: Mean(
minimum: Block_Time
if: {Block: {Time: {since_relative: {hours_ago: 4}}}}
)
H24Ago: Mean(
minimum: Block_Time
if: {Block: {Time: {since_relative: {hours_ago: 24}}}}
)
}
}
v1h: sum(of: Volume_Usd, if: {Block: {Time: {since_relative: {hours_ago: 1}}}})
v4h: sum(of: Volume_Usd, if: {Block: {Time: {since_relative: {hours_ago: 4}}}})
v24h: sum(of: Volume_Usd)
}
}
}
Similar queries
- Stream pool price live (WETH/USDC Uniswap v3) · Trading (all chains) · Pairs
- Token Pool Liquidity Stream · Trading (all chains) · Pairs
- Arc Mainnet Trading: Latest price of a token stream (v2) · Trading (all chains) · Pairs
- Arc Mainnet Trading: Latest price of a token stream · Trading (all chains) · Pairs
- Robinhood Chain OHLCV / Candlestick API for a Token Pair · Trading (all chains) · Pairs