oc · docs
documentation

@orangecheck/wallet-adapter


@orangecheck/wallet-adapter / SignOptions

Interface: SignOptions

Defined in: wallet-adapter/src/types.ts:35

Properties

PropertyTypeDescriptionDefined in
<a id="property-address"></a> addressstringBitcoin address the caller expects to sign under. Every signature is verified against it before it is returned (WrongAccountError if not).wallet-adapter/src/types.ts:40
<a id="property-manualprompt"></a> manualPrompt?stringPrompt text for the deprecated window.prompt fallback of the manual adapter. Ignored when onManualSign is given.wallet-adapter/src/types.ts:52
<a id="property-onmanualsign"></a> onManualSign?(message: string) => Promise&lt;string>How the manual adapter gets a signature: show message to the user (a copy button and a paste field, say) and resolve with what they paste. Reject, or resolve empty, to cancel. Without it, manual falls back to window.prompt, which is deprecated and will be removed.wallet-adapter/src/types.ts:47