eth_blockNumber
Returns the latest block number of the block chain
The API credit value for this method is 100
Parameters- This method does not accept any Parameters
curl https:// Krypc-End Point URL / \
-X POST \
-H "Content-Type: application/json" \
--data '{"method":"eth_blockNumber","params":[],"id":1,"jsonrpc":"2.0"}'
Result
Returns- An Integer value of the latest block number encoded as hexadecimal
Last updated
Was this helpful?