> ## Documentation Index
> Fetch the complete documentation index at: https://crossmint-devin-1787949784-wallet-docs-two-concept-model.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# ChainBalances

> Swift Structure

**Structure**

```swift theme={null}
struct ChainBalances
```

## Instance Properties

| Property        | Type                | Description |
| --------------- | ------------------- | ----------- |
| `chainBalances` | `[Chain : Decimal]` | -           |
| `decimals`      | `Int`               | -           |
| `total`         | `Decimal`           | -           |

## Instance Methods

### convertToBaseUnits(\_:)

```swift theme={null}
func convertToBaseUnits(_ value: String) -> String?
```

### merge(with:)

```swift theme={null}
func merge(with other: ChainBalances?) -> ChainBalances
```

## Subscripts

### subscript(\_:)

```swift theme={null}
subscript(chain: Chain) -> Decimal { get }
```
