Skip to main content
Enum Supported Crossmint blockchain chains.
This enum mirrors the chain identifiers used by the Crossmint API and the official TypeScript SDK. Each value carries an apiValue string sent over the wire, a family discriminator (evm / solana / stellar), and a flag indicating whether it targets a testnet. Environment-aware validation is available via CrossmintChain.validateForEnvironment.

Constructors

CrossmintChain

Properties

apiValue

The string value sent to the Crossmint API (e.g. 'base-sepolia').

family

Top-level chain family (evm, solana, stellar).

isTestnet

Whether this chain targets a test network.

isEvm

true when this chain is an EVM network.

isSolana

true when this chain is a Solana network.

isStellar

true when this chain is a Stellar network.

Static Methods

fromApiValue

Reverse-lookup from an API string (e.g. 'polygon-amoy').

tryFromApiValue

Tries to parse an API string, returning null on failure.

Functions

ethereum

validateForEnvironment

Returns the chain adjusted for the given environment.

toString