Skip to main content

spatialClaimEvidenceRefs

@totemsdk/spatial-proof


@totemsdk/spatial-proof / spatialClaimEvidenceRefs

Function: spatialClaimEvidenceRefs()

spatialClaimEvidenceRefs(claim, obj, subjectGeometry?): EvidenceRef[]

Build the evidence ref list for a spatial proof.

Always includes the relation claim hash and spatial object hash. Optionally adds the subject geometry hash, subject proof ID, location claim ID, and raster manifest ID when present on the claim.

Parameters

claim

SpatialRelationClaim

obj

SpatialObject

subjectGeometry?

GeoGeometry

Returns

EvidenceRef[]