eth
eth_blockNumber
Returns the number of the most recent block on the chain.
Returns the number of the most recent block on the chain.
Parameters
None.
Returns
string -- The current block number as a hexadecimal string.
Example
curl -s -X POST https://rpc.pulsechain.box \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "eth_blockNumber",
"params": [],
"id": 1
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": "0x18b704b"
}
TRY IT
Notes
- The result is a hex-encoded integer representing the latest block number.
- This method is commonly used to check sync progress or determine the current chain height.
- On PulseChain, new blocks are produced approximately every 10 seconds.
