Skip to content

@lelantos-org/sdk / index / KeyOptions

Type Alias: KeyOptions ​

ts
type KeyOptions = 
  | Only<{
  account?: number;
  mnemonic: string;
  passphrase?: string;
}, KeyKeys>
  | Only<{
  signature: Hex;
}, KeyKeys>
  | Only<{
  nsk: bigint;
}, KeyKeys>;

Defined in: @lelantos-org/sdk/dist/wallet/connect/options.d.ts:43

Where the shielded spending key comes from. At most one.

May be omitted when the chain group can derive one (privateKey, signer, provider); see ConnectOptions.