Skip to main content

klay_getStakingInfo RPC Method

Returns staking information at a specific block.

Updated on
Aug 7, 2024

klay_getStakingInfo RPC Method

Parameters

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

Returns

result
object
The result object which contains the following fields:
blockNum
integer
The block number at which the data was fetched
councilNodeAddrs
array
An array of addresses representing the council nodes
councilStakingAddrs
string
An array of addresses used for staking by the council members
councilRewardAddrs
string
An array of addresses used for receiving rewards by the council members
kefAddr
string
The address of the Klaytn Economic Fund (KEF)
kifAddr
string
The address of the Klaytn Improvement Fund (KIF)
useGini
boolean
A boolean indicating whether the Gini coefficient is used
gini
integer
The Gini coefficient, a measure of inequality among values of a frequency distribution
councilStakingAmounts
integer
An array of staking amounts corresponding to each address in the councilStakingAddrs array
KIRAddr
string
The address of the Klaytn Improvement Reserve (KIR)
PoCAddr
string
The address of the Proof of Contribution (PoC)
kcfAddr
string
The address of the Klaytn Community Fund (KCF)
kffAddr
string
The address of the Klaytn Foundation Fund (KFF)
Request
1
curl https://docs-demo.kaia-kairos.quiknode.pro/ \
2
-X POST \
3
-H "Content-Type: application/json" \
4
--data '{
5
"method": "klay_getStakingInfo",
6
"id": 1,
7
"jsonrpc": "2.0",
8
"params": [
9
"latest"
10
]
11
}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free