isSolanaChain()
isSolanaChain(
chainId):boolean
Defined in: packages/orbit-core/src/utils/сhainHelpers.ts:8
Checks whether the given chain ID belongs to a Solana network. Supports common Solana network names: ‘devnet’, ‘testnet’, ‘mainnet-beta’, ‘mainnet’.
Parameters
chainId
The chain ID or chain name.
string | number
Returns
boolean
- True if the chain ID corresponds to a Solana network, false otherwise.
Last updated on