> ## 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.

# Balances

> Swift Structure

**Structure**

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

## Initializers

### init(from:)

Inherited from `Decodable.init(from:)`.

```swift theme={null}
init(from decoder: any Decoder) throws
```

## Instance Properties

| Property  | Type               | Description |
| --------- | ------------------ | ----------- |
| `isEmpty` | `Bool`             | -           |
| `tokens`  | `[CryptoCurrency]` | -           |

## Instance Methods

### filter(\_:)

```swift theme={null}
func filter(_ isIncluded: (CryptoCurrency, ChainBalances) -> Bool) -> Balances
```

### nonZeroBalances()

```swift theme={null}
func nonZeroBalances() -> Balances
```

## Subscripts

### subscript(\_:)

```swift theme={null}
subscript(currency: CryptoCurrency) -> ChainBalances? { get }
```
