eth_getBlockByNumber
POST
/{apiKey}
Returns information about a block by its number.
Path Parameters
apiKeystringrequireddefaults to docs-demoFor higher throughput, create your own API key
Request
Block number or tagstring or enumrequiredThe block number or special tags like 'latest', 'earliest', or 'pending'.
Hydrated transactionsbooleanrequiredIf true, returns full transaction objects; if false, returns only transaction hashes.
Responses
200
The block object containing various properties of the block.
Was this page helpful?