KMD Rewards Info
API-v1kmd_rewards_info
The kmd_rewards_info
method returns information about the active user rewards that can be claimed by an address's unspent outputs.
This method only works when the KMD coin is activated.
Parameter | Type | Required | Description |
---|---|---|---|
(none) | - | This method does not take any parameters. |
Parameter | Type | Description |
---|---|---|
result | array of objects | The rewards info; each element corresponds to an unspent output and contains detailed information about the active user rewards corresponding to it |
tx_hash | string | The hash of the transaction |
height | number (integer, optional) | The height of the block in which the transaction was included (empty if the tx is not mined yet) |
output_index | number (integer) | The zero-based index of the output in the transaction's list of outputs |
amount | string (numeric) | The transaction output's value |
locktime | number (integer) | The transaction output's locktime |
accrued_rewards | object | An AccruedRewards object representing the amount of accrued rewards or the reason for their non-existence |
accrue_start_at | number (integer, optional) | The rewards start to accrue at this time for the given transaction (empty if the rewards will never accrue to it) |
accrue_stop_at | number (integer, optional) | The rewards stop to accrue at this time for the given transaction (empty if the tx is not mined yet or if rewards will never accrue to it) |
kmd_rewards_info
POST
kmd_rewards_info{
"userpass": "RPC_UserP@SSW0RD",
"method": "kmd_rewards_info"
}