eth_getBlockByNumber
Blocks info | Plasma
eth_getBlockByNumber | Plasma
Plasma API method that returns information about a block by block number. quantity or tag — the block number in hex format or block tag (latest, earliest.
POST
eth_getBlockByNumber
Plasma API method that returns information about a block by block number.
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
Last modified on May 18, 2026