swigId,
the id it was minted with by createSolanaSwigId(), is required. On an
account that also manages EVM, the Swig derived from the EVM account needs
no id; any other Swig still needs its saved one. An id that does not derive
the configured swig is refused before anything is sent.
A Swig that already exists resolves true without creating anything. Its
root authority is not checked, and a Swig whose root is not the configured
owner cannot be spent by it.
Method on an account instance returned by createAccount. Requires a standalone Solana account.
Usage
Parameters
'solana'
required
'solana'SolanaChain
required
Solana cluster to create the Swig on (
solanaDevnet or solanaMainnet)Required<SolanaDeployOptions>
required
swigId, the 32-byte hex id saved with the configured swig; optional only for the Swig derived from a managed EVM accountReturns
boolean
true once the Swig existsSee also
- createSolanaSwigId to mint an independent Swig