Returns the latest block number of the block chain

The API credit value for this method is 100

  1. 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"}'
  1. Result

    1. Returns- An Integer value of the latest block number encoded as hexadecimal

Last updated