verifyProof
@totemsdk/proof / verifyProof
Function: verifyProof()
verifyProof(
signedProof,options?):ProofVerifyResult
Full combined proof verification: signature + payload constraints.
Checks performed:
- signature object is present with address, publicKey, signature fields
- proofId matches a recomputation from the unsigned fields
- WOTS signature is valid over the canonical unsigned proof
- expiresAt is not in the past (with configurable graceMs)
Parameters
signedProof
options?
graceMs?
number
now?
number