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

    Variable DISPUTE_TYPESConst

    DISPUTE_TYPES: {
        Dispute: readonly [
            { name: "version"; type: "uint256" },
            { name: "receiptHash"; type: "bytes32" },
            { name: "reason"; type: "string" },
            { name: "requestedAmount"; type: "uint256" },
            { name: "validUntil"; type: "uint256" },
            { name: "evidence"; type: "string[]" },
        ];
    } = ...

    EIP-712 typed data types for Dispute. reason is string (not enum) in the typed data to allow x_* namespace extension without spec rev; validators MUST parse it against the enum at deserialize time.

    Type Declaration

    • ReadonlyDispute: readonly [
          { name: "version"; type: "uint256" },
          { name: "receiptHash"; type: "bytes32" },
          { name: "reason"; type: "string" },
          { name: "requestedAmount"; type: "uint256" },
          { name: "validUntil"; type: "uint256" },
          { name: "evidence"; type: "string[]" },
      ]