Type Alias
ImportStrategyOptions
ImportStrategyOptions:
| { forceSignature: true; originAccountId?: Buffer }
| { forceSignature?: false; originAccountId?: never }Options for the import strategy.
Remarks
This type allows configuring whether a signature is required and optionally specifying the origin account ID.
- If
forceSignatureistrue, a signature will always be required. - If
forceSignatureisfalseor undefined, the function will try to import without a signature if possible, reverting to signing if needed. - If
originAccountIdis provided, it specifies the account ID to import. If not provided, the account ID will be inferred from the signers of the main auth descriptor.