/cosmos/staking/v1beta1/pool - Axelar

Returns the staking pool totals: bonded and not-bonded tokens across the network.

Endpoint

httpGET /cosmos/staking/v1beta1/pool

Example

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

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

Response

json{
    "pool": {
        "not_bonded_tokens": "5000000000000",
        "bonded_tokens": "190000000000000"
    }
}

Response Fields

FieldTypeDescription
pool.bonded_tokensstringTotal bonded tokens
pool.not_bonded_tokensstringTotal not bonded

Use Cases

  • Staking Ratio: Compute the staking ratio
  • Analytics: Track bonded supply
  • Dashboards: Show total staked

Error Handling

ErrorMessageDescription
400 / Bad requestBad requestA parameter was invalid
403 / RBAC: access deniedAccess deniedThe GetBlock access token is missing or incorrect