/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_poolExample
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
Previous/cosmos/tx/v1beta1/txs - Axelar
Next/cosmos/distribution/v1beta1/delegators/{delegator_addr}/rewards - Axelar
Last updated
Was this helpful?