Skip to main content

klay_getCommittee RPC Method

Returns a list of all validators in the committee at the specified block. If the parameter is not set, returns a list of all validators in the committee at the latest block.

Updated on
Aug 7, 2024

klay_getCommittee RPC Method

Parameters

blockNumber/tag
string
REQUIRED
The block number in hexadecimal format, block hash or the string latest or earliest

Returns

result
array
The addresses of all validators in the committee
Request
1
curl https://docs-demo.kaia-kairos.quiknode.pro/ \
2
-X POST \
3
-H "Content-Type: application/json" \
4
--data '{
5
"method": "klay_getCommittee",
6
"id": 1,
7
"jsonrpc": "2.0",
8
"params": [
9
"0x6e0431"
10
]
11
}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free