Parameters
quantity or tag— the block number in hex format or block tag (latest,earliest,pending,safe,finalized)boolean— iftrue, returns full transaction objects; iffalse, returns only transaction hashes
Response
object— a block object, ornullwhen no block was found
eth_getBlockByNumber code examples
Body
application/json