Skip to main content

klay_blockNumber RPC Method

Returns the number of most recent block.

Updated on
Aug 7, 2024

klay_blockNumber RPC Method

Parameters

This method does not accept any parameters

Returns

result
integer
The current block number the client is on
Request
1
curl https://docs-demo.kaia-kairos.quiknode.pro/ \
2
-X POST \
3
-H "Content-Type: application/json" \
4
--data '{
5
"method": "klay_blockNumber",
6
"id": 1,
7
"jsonrpc": "2.0",
8
"params": []
9
}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free