@orangecheck/sdk / verifyChallenge
Function: verifyChallenge()
function verifyChallenge(opts: VerifyChallengeOptions): Promise<VerifyChallengeResult>;
Defined in: challenge.ts:234
Verify a signed challenge. Returns the proven address on success.
The caller is responsible for nonce replay prevention — pass expectedNonce
with the value you stashed at issue time.
Parameters
| Parameter | Type |
|---|---|
opts | VerifyChallengeOptions |
Returns
Promise<VerifyChallengeResult>