Skip to main content

locationClaimToProofGraphNode

@totemsdk/location-proof


@totemsdk/location-proof / locationClaimToProofGraphNode

Function: locationClaimToProofGraphNode()

locationClaimToProofGraphNode(claim): ProofGraphNode

Build a ProofGraphNode for a location claim.

Uses the 'custom' node type (no native proofgraph node type fits a location claim). Node ID is deterministic: "custom:".

Parameters

claim

LocationClaim

Returns

ProofGraphNode