Skip to main content

kaia_getRewards RPC Method

Returns the value from a storage position at a given address.

Updated on
Aug 7, 2024

kaia_getRewards RPC Method

Parameters

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

Returns

result
object
The result object with the following fields:
minted
integer
The total amount of tokens minted
totalFee
integer
The total fee collected during the operation
burntFee
integer
The total fee that has been burnt (destroyed)
proposer
integer
The reward allocated to the proposer of the block or transaction
stakers
integer
The total reward distributed to the stakers
kif
integer
The reward allocated under the 'kif' category
kef
integer
The reward allocated under the 'kef' category
rewards
object
An object containing the individual reward distributions to different addresses
address::amount
integer
The reward allocated to the address
Request
1
curl https://docs-demo.kaia-kairos.quiknode.pro/ \
2
-X POST \
3
-H "Content-Type: application/json" \
4
--data '{
5
"method": "kaia_getRewards",
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