stablecoin price query of USDT
Aggregated Price of all tokens in real time on one chain in 60 60-second time period
What it returns
- currency ID
- token address
- token ID
- is native
- token name
- network
- token symbol
- block date
- block time
- timestamp
- start
- duration
- end
- base
- quote
- USD
- is quoted in USD
- close
- high
- low
- open
- exponential moving
- mean
- simple moving
- weighted simple moving
Filters
- currency ID is usdt
- time duration is 1
The query
# Historical data
# The Trading cube covers real time and roughly the last 30 days. For
# anything older, rebuild the same numbers from raw trades with
# DEXTradeByTokens.
#
# Datasets: https://docs.bitquery.io/docs/graphql/dataset/archive/
# Retention: https://docs.bitquery.io/docs/graphql/data-coverage-retention/
#
query {
Trading {
Tokens(
limit:{count:10}
orderBy:{descending:Block_Time}
where: {Interval: {Time: {Duration: {eq: 1}}}, Currency: {Id: {is: "usdt"}}}
) {
Currency{
Id
}
Token {
Address
Id
IsNative
Name
Network
Name
Symbol
TokenId
}
Block {
Date
Time
Timestamp
}
Interval {
Time {
Start
Duration
End
}
}
Volume {
Base
Quote
Usd
}
Price {
IsQuotedInUsd
Ohlc {
Close
High
Low
Open
}
Average {
ExponentialMoving
Mean
SimpleMoving
WeightedSimpleMoving
}
}
}
}
}
Similar queries
- Elysium latest token price in USD · Trading (all chains) · Tokens
- Elysium top tokens by USD volume, 24h · Trading (all chains) · Tokens
- save with commit · Trading (all chains) · Tokens
- arc mainnet minara ohlcv candles · Trading (all chains) · Tokens
- Arc Mainnet Trading: OHLCV candles for a token (v2) · Trading (all chains) · Tokens