T402 API Reference - v2.9.0
    Preparing search index...

    Function buildFacilitatorResolution

    • Helper for facilitators: given a SignedDispute and a policy verdict, produce the resolution in one call. Useful when the verdict has been pre-decided by an off-chain arbitration process.

      Parameters

      • handler: DisputeFacilitatorHandler

        The facilitator handler.

      • _dispute: SignedDispute
      • disputeHash: string

        EIP-712 hash of the signed dispute.

      • verdict: DisputeVerdict

        The verdict to issue.

      • settledAmount: string

        The refund amount (must satisfy the verdict↔amount consistency rule — see specs/extensions/dispute.md §Verification).

      • OptionalrefundTransaction: string

        Optional on-chain or off-chain refund reference.

      Returns Promise<SignedResolution>