usdt all time high and low price subscription template
All time high and low price of USDT (Tether) token on Ethereum network aggregated on multiple DEXs
What it returns
- chain ID
- block time
- sum of trade amount
- trade price
- side currency symbol
- currency symbol
- count
Filters
- currency smart contract is 0xC02a…6Cc2
- side currency smart contract is 0xdac1…1ec7
- block date since 2021-01-13
- block date till 2023-06-20
The subscription
subscription ($token: String) {
EVM(network: eth) {
DEXTradeByTokens(
orderBy: {ascendingByField: "Block_Time"}
where: {Trade: {Currency: {SmartContract: {is: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"}}, Side: {Currency: {SmartContract: {is: $token}}}}, Block: {Date: {since: "2021-01-13", till: "2023-06-20"}}}
limit: {count: 10}
) {
ChainId
Block {
Time
}
volume: sum(of: Trade_Amount)
Trade {
high: Price(maximum: Trade_Price)
low: Price(minimum: Trade_Price)
open: Price(minimum: Block_Number)
close: Price(maximum: Block_Number)
Side {
Currency {
Symbol
}
}
Currency {
Symbol
}
}
count
}
}
}
Variables
{
"token": "0xdac17f958d2ee523a2206206994597c13d831ec7"
}
Similar queries
- Stablecoin Depeg tracking Stream for evm · Ethereum · DEXTradeByTokens
- realtime trades EVM -subscription · Ethereum · DEXTradeByTokens
- EVM chain currency details stream · Ethereum · DEXTradeByTokens
- Real time price stream for tokens on Ethereum · Ethereum · DEXTradeByTokens
- Top Bought/Sold/Trending/Volatility Tokens on Eth · Ethereum · DEXTradeByTokens