Skip to main content
Class
class ChainType

Entries

EVM

Ethereum Virtual Machine compatible chains

SOLANA

Solana blockchain

STELLAR

Stellar blockchain

UNKNOWN

Unknown or unsupported chain type

Properties

chainName

val chainName: String

entries

val entries: EnumEntries<ChainType>
Returns a representation of an immutable list of all enum entries, in the order they’re declared.

name

val name: String

ordinal

val ordinal: Int

Functions

valueOf

fun valueOf(value: String): ChainType
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

values

fun values(): Array<ChainType>
Returns an array containing the constants of this enum type, in the order they’re declared.