price_change_interval_based
Returns DEX trades by token on Ethereum, where currency smart contract is 0x1f98…f984, side currency smart contract is 0xa0b8…eb48 and block time since 2024-06-02: trade price.
What it returns
- trade price
Filters
- currency smart contract is 0x1f98…f984
- side currency smart contract is 0xa0b8…eb48
- block time since 2024-06-02
- block time till 2024-06-03
The query
{
EVM(dataset: combined, network: eth) {
DEXTradeByTokens(
where: {Block: {Time: {since: "2024-06-02T08:18:00Z", till: "2024-06-03T08:18:00Z"}}, Trade: {Currency: {SmartContract: {is: "0x1f9840a85d5af5bf1d1762f925bdaddc4201f984"}}, Side: {Currency: {SmartContract: {is: "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"}}}}}
) {
Trade {
start: Price(minimum: Block_Time)
min5: Price(
minimum: Block_Time
if: {Block: {Time: {after: "2024-06-03T08:13:00Z"}}}
)
hour1: Price(
minimum: Block_Time
if: {Block: {Time: {after: "2024-06-03T07:18:00Z"}}}
)
hour6: Price(
minimum: Block_Time
if: {Block: {Time: {after: "2024-06-03T02:18:00Z"}}}
)
end: Price(maximum: Block_Time)
}
}
}
}
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