cosmos.bank.v1beta1.Query/TotalSupply - Cronos

Returns the total supply of every denom, paginated. The gRPC equivalent of the REST supply query.

Service Method

cosmos.bank.v1beta1.Query/TotalSupply

Message Fields

FieldTypeDescription
paginationobjectOptional pagination (limit, key)

Example

bashgrpcurl \
  -H "x-api-key: <ACCESS-TOKEN>" \
  -d '{}' \
  shared.eu-central-1.getblock.io:443 \
  cosmos.bank.v1beta1.Query/TotalSupply

Response

json{
    "supply": [
        {
            "denom": "basecro",
            "amount": "30000000000000000000000000000"
        }
    ],
    "pagination": {
        "total": "1"
    }
}

Response Fields

FieldTypeDescription
supplyarrayTotal supply per denom

Use Cases

  • Tokenomics: Read total supply
  • Analytics: Track supply over time
  • Backends: Typed supply reads

Error Handling

ErrorMessageDescription
InternalInternal errorThe node failed to return supply
403 / RBAC: access deniedAccess deniedThe GetBlock access token is missing or incorrect