TypeScript SDK
Webhook.parse
Parses an incoming Bridge webhook payload.
function parse( payload: string, headers: Record<string, string>, secret: string, tolerance: number, verify?: { destinationChainId?: number; destinationTokenAddress?: string; minDestinationAmount?: bigint; receiverAddress?: string; },