> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mpcvault.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Balance

> Get a native coin or token balance for a wallet address.

Get a native coin or token balance for a wallet address.

## Endpoint

```
rpc GetBalance
```

Request message: `mpcvault.platform.v1.GetBalanceRequest`

## Request

| Field | Type | Required | Description |
| - | - | - | - |
| network\_type | mpcvault.platform.v1.NetworkType | - | network\_type is the type of the network. |
| chain\_id | google.protobuf.Int64Value | - | (optional) chain\_id is the chain id of the network. |
| wallet\_address | string | - | wallet\_address this is the wallet address. |
| token\_address | google.protobuf.StringValue | - | Token identifier; omit for the native coin. For Stellar issued assets, use `CODE-ISSUER`. |

## Response

Response message: `mpcvault.platform.v1.GetBalanceResponse`

| Field | Type | Required | Description |
| - | - | - | - |
| balance | string | - | Balance as a decimal string in whole native coin or token units. For example, `"1.2"` means `1.2 USDC`. |
| error | mpcvault.platform.v1.Error | - | - |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.