Example of query with vars
Returns blocks, where block time since 2024-12-14 and block time till 2024-12-14: block time.
What it returns
- block time
Filters
- block time since 2024-12-14
- block time till 2024-12-14
The query
query($blockTimeSince: DateTime, $blockTimeTill: DateTime) {
EVM {
Blocks(
where: {
Block: {Time: {since: $blockTimeSince, till: $blockTimeTill}}}
) {
Block {
Time
}
}
}
}
Variables
{
"blockTimeSince": "2024-12-14T21:27:45Z",
"blockTimeTill": "2024-12-14T21:57:45Z"
}
Similar queries
- EVM Blocks · Ethereum · Blocks
- test b count · Ethereum · Blocks
- test test · Ethereum · Blocks
- optimised historical balance · Ethereum · BalanceUpdates
- MyQuery EVM · Ethereum · Blocks