@tuwaio/satellite-connect-monorepo
setChainId()
setChainId(
chainId
):string
|number
Defined in: packages/orbit-core/src/utils/сhainHelpers.ts:21
Sets the chain ID to a Solana-specific format if the chain is a Solana network.
Parameters
chainId
The original chain ID or name.
string
| number
Returns
string
| number
- The formatted chain ID prefixed with ‘solana:’ if Solana, otherwise the original.
Last updated on