verifyLocationProof
@totemsdk/location-proof / verifyLocationProof
Function: verifyLocationProof()
verifyLocationProof(
signed,options?):LocationProofVerifyResult
Verify a signed location proof end to end.
Checks:
- the underlying @totemsdk/proof verification (signature, proofId, expiry)
- payload contains a structurally valid LocationClaim
- the claim's claimId matches a recomputation from its stable fields
- the location-claim evidence hash matches the payload claim
- the challenge (if present) has not expired
Anchoring is not required.
Parameters
signed
SignedProof
options?
now?
number