/cosmos/staking/v1beta1/pool - Cronos

Returns the staking pool totals: the amount of tokens currently bonded and not bonded across the whole network.

Endpoint

httpGET /cosmos/staking/v1beta1/pool

Example

bashexport CRONOS_REST=https://shared.eu-central-1.getblock.io/<ACCESS-TOKEN>/

curl "${CRONOS_REST}cosmos/staking/v1beta1/pool"

Response

json{
    "pool": {
        "not_bonded_tokens": "1000000000000000000000000",
        "bonded_tokens": "15000000000000000000000000000"
    }
}

Response Fields

FieldTypeDescription
pool.bonded_tokensstringTotal tokens bonded to validators
pool.not_bonded_tokensstringTotal tokens not bonded

Use Cases

  • Staking Ratio: Compute the network staking ratio
  • Analytics: Track bonded supply over time
  • Dashboards: Show total staked on a stats page

Error Handling

ErrorMessageDescription
500 / internalInternal errorThe node failed to return the pool
403 / RBAC: access deniedAccess deniedThe GetBlock access token is missing or incorrect