Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

/cosmos/staking/v1beta1/pool - Akash

Example code for the cosmos/staking/v1beta1/pool REST method. Complete guide on how to use cosmos/staking/v1beta1/pool REST method in GetBlock Web3 documentation.

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

Endpoint

GET /cosmos/staking/v1beta1/pool

Example

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

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

Response

{
    "pool": {
        "not_bonded_tokens": "14396906293295",
        "bonded_tokens": "91424223477855"
    }
}

Response Fields

Field
Type
Description

pool.bonded_tokens

string

Total bonded tokens

pool.not_bonded_tokens

string

Total not bonded

Use Cases

  • Staking Ratio: Compute the staking ratio

  • Analytics: Track bonded supply

  • Dashboards: Show total staked

Error Handling

Error
Message
Description

400 / Bad request

Bad request

A parameter was invalid

403 / RBAC: access denied

Access denied

The GetBlock access token is missing or incorrect

Last updated

Was this helpful?