@orangecheck/wallet-adapter / assertSignedBy
Function: assertSignedBy()
function assertSignedBy(
message: string,
signature: string,
address: string): Promise<void>;
Defined in: wallet-adapter/src/sign.ts:34
Throw WrongAccountError unless signature is a valid BIP-322 (or legacy)
signature of message by address. Every signer runs this before returning.
Parameters
| Parameter | Type |
|---|---|
message | string |
signature | string |
address | string |
Returns
Promise<void>