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

# 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

### isEmpty

```swift theme={null}
var isEmpty: Bool { get }
```

### tokens

```swift theme={null}
var tokens: [CryptoCurrency] { get }
```

## 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 }
```
