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

# Address

> Swift Enumeration

**Enumeration**

```swift theme={null}
enum Address
```

## Enumeration Cases

| Case          | Description |
| ------------- | ----------- |
| `evm(_:)`     | -           |
| `solana(_:)`  | -           |
| `stellar(_:)` | -           |

## Initializers

### init(address:)

Inherited from `BlockchainAddress.init(address:)`.

```swift theme={null}
init(address: String) throws(BlockchainAddressError)
```

### init(from:)

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

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

## Instance Properties

| Property                 | Type     | Description                                           |
| ------------------------ | -------- | ----------------------------------------------------- |
| `description`            | `String` | Inherited from `CustomStringConvertible.description`. |
| `hiddenPublicKeyAddress` | `String` | -                                                     |

## Instance Methods

### encode(to:)

Inherited from `Encodable.encode(to:)`.

```swift theme={null}
func encode(to encoder: any Encoder) throws
```

## Type Methods

### validateAddressAndReturnAddress(\_:chain:)

```swift theme={null}
static func validateAddressAndReturnAddress(_ address: String, chain: Chain? = nil) -> Address?
```
