Skip to main content

EVM Blocks API

Blocks API provide details on blocks.

You can use different filters to query data from different dimensions. You can find more examples here

Let's see an example of Blocks API to get the latest 10 blocks on Ethereum blockchain.

{
EVM(dataset: archive, network: eth) {
Blocks(limit: { count: 10 }, orderBy: { descending: Block_Number }) {
Block {
Time
Date
Number
Hash
}
}
}
}

You can see more example of Blocks api in here.