Skip to main content

computeMovementTrailId

@totemsdk/location-proof


@totemsdk/location-proof / computeMovementTrailId

Function: computeMovementTrailId()

computeMovementTrailId(input): string

Compute a stable URI-style movement trail ID: "totem:movement:". Derived fields (maxComputedSpeedMps, impossibleJumpDetected) and metadata are excluded so the ID depends only on the trail content.

Parameters

input

Omit<MovementTrail, "trailId">

Returns

string