BlockParam
in package
BlockParam defines constants to represent types of Ethereum blocks.
Tags
Table of Contents
Cases
- EARLIEST
- The earliest/genesis block
- FINALIZED
- The latest finalized block
- LATEST
- The latest mined block
- PENDING
- The pending state/transactions
- SAFE
- The latest safe head block
Methods
- toString() : string
- Converts enum case to string compatible with JSON RPC.
Cases
LATEST
The latest mined block
EARLIEST
The earliest/genesis block
PENDING
The pending state/transactions
SAFE
The latest safe head block
FINALIZED
The latest finalized block
Methods
toString()
Converts enum case to string compatible with JSON RPC.
public
toString() : string
Return values
string —String representation of the enum case.