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

# ChainBalances

> Swift Structure

**Structure**

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

## Instance Properties

### chainBalances

```swift theme={null}
let chainBalances: [Chain : Decimal]
```

### decimals

```swift theme={null}
let decimals: Int
```

### total

```swift theme={null}
let 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 }
```
