first price after a given time
Returns one DEX trade by token on Ethereum, where currency smart contract is 0xf211…a549 and block time after 2024-01-01, sorted by block time: price in USD, smart contract, currency symbol, block time and block number.
What it returns
- price in USD
- smart contract
- currency symbol
- block time
- block number
Filters
- currency smart contract is 0xf211…a549
- block time after 2024-01-01
The query
query LatestTokenPriceAfterTime {
EVM(network: eth) {
DEXTradeByTokens(
limit: {count: 1}
orderBy: {ascending: Block_Time}
where: {Block: {Time: {after: "2024-01-01T00:00:00Z"}},
Trade: {Currency: {SmartContract: {is: "0xf211b655431c10e72c1caeae37688ae9f7f7a549"}}}}
) {
Trade {
PriceInUSD
Currency {
SmartContract
Symbol
}
}
Block {
Time
Number
}
}
}
}
Similar queries
- CRV hourly OHLC on Curve - Ethereum · Ethereum · DEXTradeByTokens
- Top Metric liquidity pools by 24h volume on Ethereum · Ethereum · DEXTradeByTokens
- ATH of eth token · Ethereum · DEXTradeByTokens
- historical price and historical volume · Ethereum · DEXTradeByTokens
- topTraders EVM · Ethereum · DEXTradeByTokens