eth_subscribe("newBlockHeaders")
Streams blocks as they happen: block number, parent hash, block hash, tx count and block time.
What it returns
- block number
- parent hash
- block hash
- tx count
- block time
The subscription
subscription {
EVM {
Blocks {
Block {
Number
ParentHash
Hash
TxCount
Time
}
}
}
}
Similar queries
- Subscription Latest Blocks Fix 3 · Ethereum · Blocks
- Subscription Latest Blocks · Ethereum · Blocks
- Subscription Latest Blocks Fix · Ethereum · Blocks
- Latest blocks in the Ethereum network · Ethereum · Blocks
- subscription_ · Ethereum · Blocks