eth_blockNumber
In this section, we will discuus the eth_blockNumber API endpoint that returns the latest block number of the blockchain.
Latest Block Number
This subscription returns the latest block number.
subscription {
EVM {
Blocks {
Block {
Number
}
}
}
}
Latest Block Number for Different Network
This returns the latest Block Number
for the different Network, namely bsc
.
subscription {
EVM(network: bsc) {
Blocks {
Block {
Number
}
}
}
}