Function Signature
Description
Exports key offline without requiring server communication. This function is useful for scenarios where you need to export keys without network connectivity.Parameters
Required Parameters
chainName
(string
) - The chain name (e.g., ‘solana’)keyShares
(any[]
) - Array of key shares
Optional Parameters
derivationPath
(string
) - Derivation path for the key (e.g., “m/44’/501’/0’/0’” for Solana)
Returns
Promise<any>
- The exported key data
Example
Error Handling
Related Functions
exportKey()
- Export key with server communicationofflineExportPrivateKey()
- Export private key offline