klay_blockNumber
Returns the number of most recent block.
None
Type | Description |
---|---|
QUANTITY | Integer of the current block number the client is on. |
// Request
curl -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"klay_blockNumber","params":[],"id":83}' http://klaytn.blockpi.network/v1/rpc/your-api-key
// Result
{
"jsonrpc": "2.0",
"id":83,
"result": "0xc94"
}
Last modified 11mo ago