kaia_getCommitteeSize
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.
Parameters
Name
Type
Description
Return Value
Type
Description
Example
// Request
curl -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0", "method":"kaia_getCommitteeSize", "params":["0x1b4"],"id":73}' http://kaia.blockpi.network/v1/rpc/your-api-key
// Result
{
"jsonrpc":"2.0",
"id":73,
"result":4
}Last updated
Was this helpful?