Exports a key for a specific chain using external server key shares
accountAddress
(string
) - The wallet address to export key for (must include 0x
prefix)externalServerKeyShares
(any[]
) - Array of external server key shareschainName
(string
) - The name of the blockchain chain (e.g., ‘base-sepolia’)password
(string
) - Wallet password (if wallet is password-protected)Promise<string>
- The exported key as a hex stringexportPrivateKey()
- Export private keyofflineExportKey()
- Export key offline