Top 3 pools for BTC
Streams pairs as they happen, where currency ID is bid:bitcoin, ranking position is 1, 2 or 1 more and time duration is 60: block time, currency ID, token ID, quote token ID, market ID, close, position and weight.
What it returns
- block time
- currency ID
- token ID
- quote token ID
- market ID
- close
- position
- weight
Filters
- currency ID is bid:bitcoin
- ranking position is 1, 2 or 1 more
- time duration is 60
The subscription
subscription lastOfMarketsForCurrency($currencyID: String) {
Trading {
Pairs(
where: {
Ranking: {
Position: {
in: [1,2,3]
}
}
Currency: {Id: {is: $currencyID}}, Interval: {Time: {Duration: {eq: 60}}}}
) {
Block {
Time(maximum: Block_Time)
}
Currency {
Id
}
Token {
Id
}
QuoteToken {
Id
}
Market {
Id
}
Price {
Ohlc {
Close
}
}
Ranking {
Position
Weight
}
}
}
}
Variables
{
"currencyID": "bid:bitcoin"
}
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