Sealed Interfaces
SolanaChain
Kotlin Sealed Interface
Sealed Interface
Returns true if this chain should be used in the given environment (mainnet chains for production, testnets otherwise).
Was this page helpful?
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Kotlin Sealed Interface
sealed interface SolanaChain : Chain
| Property | Type | Description |
|---|---|---|
chainType | ChainType | The technology family this chain belongs to |
isTestnet | Boolean | True if this is a test network |
name | String | The canonical lowercase string identifier for this chain (e.g. “ethereum”, “base-sepolia”) |
| Function | Description |
|---|---|
isValid | Returns true if this chain should be used in the given environment (mainnet chains for production, testnets otherwise). |
open fun isValid(isProductionEnvironment: Boolean): Boolean
Was this page helpful?
