본문으로 건너뛰기

[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​

Integer - The size of the council, or -1 when no council was found

페이지를 개선해 주세요