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

# Chain

> Swift Enumeration

**Enumeration**

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

## Enumeration Cases

| Case | Description |
| - | - |
| `apechain` | - |
| `apex` | - |
| `arbitrum` | - |
| `arbitrumSepolia` | - |
| `arbitrumnova` | - |
| `astarZkevm` | - |
| `avalanche` | - |
| `avalancheFuji` | - |
| `barretTestnet` | - |
| `base` | - |
| `baseGoerli` | - |
| `baseSepolia` | - |
| `boss` | - |
| `bsc` | - |
| `bscTestnet` | - |
| `chiliz` | - |
| `chilizSpicyTestnet` | - |
| `coti` | - |
| `cotiTestnet` | - |
| `curtis` | - |
| `ethereum` | - |
| `ethereumGoerli` | - |
| `ethereumSepolia` | - |
| `hypersonicTestnet` | - |
| `lightlink` | - |
| `lightlinkPegasus` | - |
| `mode` | - |
| `modeSepolia` | - |
| `optimism` | - |
| `optimismGoerli` | - |
| `optimismSepolia` | - |
| `polygon` | - |
| `polygonAmoy` | - |
| `polygonMumbai` | - |
| `rari` | - |
| `rariTestnet` | - |
| `scroll` | - |
| `scrollSepolia` | - |
| `seiAtlantic2Testnet` | - |
| `seiPacific1` | - |
| `shape` | - |
| `shapeSepolia` | - |
| `skaleNebula` | - |
| `skaleNebulaTestnet` | - |
| `solana` | - |
| `soneium` | - |
| `soneiumMinatoTestnet` | - |
| `space` | - |
| `spaceTestnet` | - |
| `stellar` | - |
| `story` | - |
| `storyTestnet` | - |
| `unknown(name:)` | - |
| `verifyTestnet` | - |
| `viction` | - |
| `victionTestnet` | - |
| `xai` | - |
| `xaiSepoliaTestnet` | - |
| `zenchainTestnet` | - |
| `zkatana` | - |
| `zkyoto` | - |
| `zora` | - |
| `zoraGoerli` | - |
| `zoraSepolia` | - |

## Initializers

### init(\_:)

```swift theme={null}
init(_ from: String)
```

## Instance Properties

| Property | Type | Description |
| - | - | - |
| `chainType` | `ChainType` | Inherited from `AnyChain.chainType`. |
| `name` | `String` | Inherited from `AnyChain.name`. |

## Instance Methods

### isValid(isProductionEnvironment:)

Inherited from `AnyChain.isValid(isProductionEnvironment:)`.

```swift theme={null}
func isValid(isProductionEnvironment: Bool) -> Bool
```

## Type Methods

### fromName(\_:)

```swift theme={null}
static func fromName(_ name: String) -> Chain?
```
