Skip to content

Validate and return an exact 4-field allowlisted handoff event, or null if anything is out of bounds.

sanitizeHandoffEvent(input): HandoffEvent | null

Defined in: packages/bitbadgesjs-sdk/src/core/handoff-telemetry.ts:52

Validate and return an exact 4-field allowlisted handoff event, or null if anything is out of bounds.

Parameters

input

unknown

Returns

HandoffEvent | null

Edit this page on GitHub