Virtual TestNets are live! ⚡️ Test and stage dapps on real-time production data.  Schedule Office Hours

All Products

eth_getBlockByNumber - Mode


Summary

Returns information about a block by block number.

Parameters

1. Block Number Quantity or Tag

Hex block number, or the string latest, earliest or pending
Example: i.e. latest or pending

2. Return Full Transaction Objects Boolean

Return full transaction objects?
Example: false

Code Examples