Skip to main content

kaia_getCouncil RPC Method

Returns a list of all validators of the council at the specified block. If the parameter is not set, returns a list of all validators of the council at the latest block.

Updated on
Aug 7, 2024

kaia_getCouncil RPC Method

Parameters

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

Returns

result
array
The addresses of all validators of the council
Request
1
curl https://docs-demo.kaia-kairos.quiknode.pro/ \
2
-X POST \
3
-H "Content-Type: application/json" \
4
--data '{
5
"method": "kaia_getCouncil",
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