isValidSolanaCluster()
isValidSolanaCluster(
cluster):boolean
Defined in: utils/chainsUtils.ts:108
Validates if a string is a Solana cluster moniker with a default RPC URL.
Parameters
cluster
string
Value to check.
Returns
boolean
true for 'mainnet', 'devnet' and 'testnet'.
Last updated on