staking pool - Stable

Returns the staking pool: the total bonded and not-bonded token amounts.

Endpoint

httpGET /cosmos/staking/v1beta1/pool

Example

bashexport STABLE_REST=https://shared.ap-southeast-1.getblock.io/<ACCESS-TOKEN>/

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

Response

json{
    "pool": {
        "not_bonded_tokens": "20000000000000",
        "bonded_tokens": "280000000000000"
    }
}

Response Fields

FieldTypeDescription
pool.bonded_tokensstringTotal bonded (staked) tokens in ausdt0
pool.not_bonded_tokensstringTotal not-bonded tokens in ausdt0

Use Cases

  • Staking ratio: Compute bonded vs. total supply
  • Network health: Track staking participation

Error Handling

ErrorMessageDescription
400 / Bad requestBad requestA path, query, or body parameter was invalid
404 / Not foundNot foundThe account, validator, proposal, or resource does not exist
403 / RBAC: access deniedAccess deniedThe GetBlock access token is missing or incorrect