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

/cosmos/distribution/v1beta1/community_pool - Axelar

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

Returns the coins held in the community pool.

Endpoint

GET /cosmos/distribution/v1beta1/community_pool

Example

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

curl "${AKASH_REST}cosmos/distribution/v1beta1/community_pool"

Response

{
    "pool": [
        {
            "denom": "uaxl",
            "amount": "5000000000.0"
        }
    ]
}

Response Fields

Field
Type
Description

pool

array

Community pool coins

Use Cases

  • Treasury: Read the community pool

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?