[Block] klay_getCouncilSize
Returns the size of the council at the specified block. If the parameter is not set, returns the size of the council at the latest block.
NOTE: In versions earlier than Kaia v1.7.0, only integer block number, the string "earliest" and "latest" are available.
On permissionless networks, this method reads the council from the state at the queried block. Non-archive (pruned) nodes only retain recent state, so querying historical blocks requires an archive node; otherwise it fails with a "missing trie node" error.
JSONRPC: klay_getCouncilSize
Request
Responses
- 200
Integer - The size of the council, or -1 when no council was found