klay_getCommittee
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.
Parameters
Name | Type | Description |
---|---|---|
address | 20-byte DATA | Address |
QUANTITY | TAG | block number | (optional) Integer or hexadecimal block number, or the string |
Return Value
Array
- Array of addresses of all validators in the committee, or null
when no committee was found:
Type | Description |
---|---|
Array of 20-byte DATA | Addresses of all validators in the committee. |
Example
Last updated