Swagger stuff:
/cosmos/auth/v1beta1/accounts/{address}
/cosmos/auth/v1beta1/params
/cosmos/bank/v1beta1/balances/{address}
/cosmos/bank/v1beta1/params
/cosmos/bank/v1beta1/supply
/cosmos/bank/v1beta1/supply/{denom}
/cosmos/base/tendermint/v1beta1/blocks/latest
/cosmos/base/tendermint/v1beta1/blocks/{height}
/cosmos/base/tendermint/v1beta1/node_info
/cosmos/base/tendermint/v1beta1/syncing
/cosmos/base/tendermint/v1beta1/validatorsets/latest
/cosmos/base/tendermint/v1beta1/validatorsets/{height}
/cosmos/distribution/v1beta1/community_pool
/cosmos/distribution/v1beta1/delegators/{delegator_address}/rewards
/cosmos/distribution/v1beta1/delegators/{delegator_address}/rewards/{validator_address}
/cosmos/distribution/v1beta1/delegators/{delegator_address}/validators
/cosmos/distribution/v1beta1/delegators/{delegator_address}/withdraw_address
/cosmos/distribution/v1beta1/params
/cosmos/distribution/v1beta1/validators/{validator_address}/commission
/cosmos/distribution/v1beta1/validators/{validator_address}/outstanding_rewards
/cosmos/distribution/v1beta1/validators/{validator_address}/slashes
/cosmos/evidence/v1beta1/evidence
/cosmos/evidence/v1beta1/evidence/{evidence_hash}
/cosmos/gov/v1beta1/params/{params_type} voting/deposit/tallying
/cosmos/gov/v1beta1/proposals
/cosmos/gov/v1beta1/proposals/{proposal_id}
/cosmos/gov/v1beta1/proposals/{proposal_id}/deposits
/cosmos/gov/v1beta1/proposals/{proposal_id}/deposits/{depositor}
/cosmos/gov/v1beta1/proposals/{proposal_id}/tally
/cosmos/gov/v1beta1/proposals/{proposal_id}/votes
/cosmos/gov/v1beta1/proposals/{proposal_id}/votes/{voter}
/cosmos/mint/v1beta1/annual_provisions
/cosmos/mint/v1beta1/inflation
/cosmos/mint/v1beta1/params
/cosmos/params/v1beta1/params (not working)
/cosmos/slashing/v1beta1/params
/cosmos/slashing/v1beta1/signing_infos
/cosmos/slashing/v1beta1/signing_infos/{cons_address}
/cosmos/staking/v1beta1/delegations/{delegator_addr}
/cosmos/staking/v1beta1/delegators/{delegator_addr}/redelegations
/cosmos/staking/v1beta1/delegators/{delegator_addr}/unbonding_delegations
/cosmos/staking/v1beta1/delegators/{delegator_addr}/validators
/cosmos/staking/v1beta1/delegators/{delegator_addr}/validators/{validator_addr}
/cosmos/staking/v1beta1/historical_info/{height}
/cosmos/staking/v1beta1/params
/cosmos/staking/v1beta1/pool
/cosmos/staking/v1beta1/validators
/cosmos/staking/v1beta1/validators/{validator_addr}
/cosmos/staking/v1beta1/validators/{validator_addr}/delegations
/cosmos/staking/v1beta1/validators/{validator_addr}/delegations/{delegator_addr}
/cosmos/staking/v1beta1/validators/{validator_addr}/delegations/{delegator_addr}/unbonding_delegation
/cosmos/staking/v1beta1/validators/{validator_addr}/unbonding_delegations
/cosmos/tx/v1beta1/simulate
/cosmos/tx/v1beta1/txs
/cosmos/tx/v1beta1/txs/{hash}
/cosmos/upgrade/v1beta1/applied_plan/{name}
/cosmos/upgrade/v1beta1/current_plan
/cosmos/upgrade/v1beta1/upgraded_consensus_state/{last_height}
Staking APR Calculation
Staking APR =
[Inflation * (1-Community Tax)] / Bonded Tokens Ratio
Annual Provision =
(Current Total Supply) * (Inflation Rate)
Actual Staking APR =
(Nominal APR) * [(Actual Annual Provision) / (Annual Provision)]
Final Staking APR = (Actual Staking APR) * (1-Validator’s commission)
Inflation Calculation
Inflation Rate = min(max(params.InflationMin, currentInflation + ((1 - bondedRatio / params.GoalBonded) * params.InflationRateChange / params.BlocksPerYear)), params.InflationMax)
Example Data
{
"annual_provisions": "100666242664133902.586000000000000000"
}
{
"inflation": "0.037000000000000000"
}
{
"params": {
"mint_denom": "basecro",
"inflation_rate_change": "0.100000000000000000",
"inflation_max": "0.037000000000000000",
"inflation_min": "0.012000000000000000",
"goal_bonded": "0.600000000000000000",
"blocks_per_year": "6311520"
}
{
"pool": {
"not_bonded_tokens": "157667664503279440",
"bonded_tokens": "1011118155289452205"
}
{
"supply": [
{
"denom": "basecro",
"amount": "2720709994874674541"
},
{
"distribution": {
"params": {
"community_tax": "0.020000000000000000",
"base_proposer_reward": "0.010000000000000000",
"bonus_proposer_reward": "0.040000000000000000",
"withdraw_addr_enabled": true
},