Query Distribution Parameters
To check current distribution parameters, run:
secretcli q distribution params
# secretcli q distribution params | jq
{
"community_tax": "0.020000000000000000",
"base_proposer_reward": "0.010000000000000000",
"bonus_proposer_reward": "0.040000000000000000",
"withdraw_addr_enabled": true,
"secret_foundation_tax": "0.000000000000000000",
"secret_foundation_address": ""
}
To query all coins in the community pool under Governance control:
secretcli q distribution community-pool
# secretcli q distribution community-pool | jq
{
"pool": [
{
"denom": "uscrt",
"amount": "1137703297907070.071620483588359560"
}
]
}
Query Outstanding Validator rewards
To check current outstanding (un-withdrawn) rewards, run:
secretcli q distribution validator-outstanding-rewards <validator-address>
# secretcli q distribution validator-outstanding-rewards <validator-address> | jq
{
"rewards": []
}
Query Validator Commission
To check current outstanding commission for a validator, run:
secretcli q distribution commission <validator-operator-address>
# secretcli q distribution commission <validator-operator-address> | jq
{
"commission": []
}
Query Validator Slashes
To check historical slashes for a validator, run:
secretcli q distribution slashes <validator-operator-address> <start-height> <end-height>
# secretcli q distribution slashes secretvaloper1t5wtcuwjkdct9qkw2h6m48zu2hectpd6ulmekk 1000 10000 | jq
{
"slashes": [],
"pagination": {
"next_key": null,
"total": "0"
}
}
Query Delegator Rewards
To check current rewards for a delegation (were they to be withdrawn), run:
secretcli q distribution rewards <delegator-address> <validator-address>
# secretcli q distribution rewards secret1kcy20p0cs2wakeqz00xgs5m0cmj65283xqmvfs secretvaloper1gutgtpw0caqfsp8ja0r5yecv8jxz2y8vxxa9mw | jq
{
"rewards": [
{
"denom": "uscrt",
"amount": "0.000355436247820000"
}
]
}
Query All Delegator Rewards
To check all current rewards for a delegation (were they to be withdrawn), run:
secretcli q distribution rewards <delegator-address>
# secretcli q distribution rewards secret1kcy20p0cs2wakeqz00xgs5m0cmj65283xqmvfs | jq
{
"rewards": [],
"total": []
}
Last updated