Skip to main content

kaia_getCommitteeSize RPC Method

Returns the size of the committee at the specified block. If the parameter is not set, returns the size of the committee at the latest block.

Updated on
Aug 7, 2024

kaia_getCommitteeSize RPC Method

Parameters

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

Returns

result
integer
The size of 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": "kaia_getCommitteeSize",
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