verifySpatialProof
@totemsdk/spatial-proof / verifySpatialProof
Function: verifySpatialProof()
verifySpatialProof(
signed):SpatialProofVerifyResult
Verify a signed spatial proof end to end.
Checks:
- the underlying @totemsdk/proof verification (signature, proofId, expiry)
- payload contains a structurally valid SpatialRelationClaim
- the relation's claimId matches a recomputation from its fields
- the relation evidence hash matches the payload claim
- the spatial-object evidence hash matches the payload claim inputs
- any subject geometry evidence hash is present when claimed
Anchoring is not required.
Parameters
signed
SignedProof