kaia_blockNumber
Returns the number of most recent block.
Parameters
None
Return Value
Type
Description
QUANTITY
Integer of the current block number the client is on.
Example
// Request
curl -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"kaia_blockNumber","params":[],"id":83}' http://kaia.blockpi.network/v1/rpc/your-api-key
// Result
{
  "jsonrpc": "2.0",
  "id":83,
  "result": "0xc94"
}Last updated
Was this helpful?