# cosmos.bank.v1beta1.Query/TotalSupply - Cronos

> Example code for the cosmos.bank.v1beta1.Query/TotalSupply gRPC method. Complete guide on how to use cosmos.bank.v1beta1.Query/TotalSupply gRPC method in GetBlock Web3 documentation.

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

| Field | Type | Description |
| --- | --- | --- |
| pagination | object | Optional pagination (limit, key) |

## Example

```bash
grpcurl \
  -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

| Field | Type | Description |
| --- | --- | --- |
| supply | array | Total supply per denom |

## Use Cases

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

## Error Handling

| Error | Message | Description |
| --- | --- | --- |
| Internal | Internal error | The node failed to return supply |
| 403 / RBAC: access denied | Access denied | The GetBlock access token is missing or incorrect |
