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

# Address

> Swift Enumeration

**Enumeration**

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

## Enumeration Cases

### Address.evm(\_:)

```swift theme={null}
case evm(EVMAddress)
```

### Address.solana(\_:)

```swift theme={null}
case solana(SolanaAddress)
```

### Address.stellar(\_:)

```swift theme={null}
case stellar(StellarAddress)
```

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

### description

Inherited from `CustomStringConvertible.description`.

```swift theme={null}
var description: String { get }
```

### hiddenPublicKeyAddress

```swift theme={null}
var hiddenPublicKeyAddress: String { get }
```

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