Skip to main content

buildDisputePayload

@totemsdk/omnia-factory


@totemsdk/omnia-factory / buildDisputePayload

Function: buildDisputePayload()

buildDisputePayload(factory, evidence): FactoryDisputePayload

Build a unilateral factory close (dispute) payload.

Includes the full stateLog (with monotonically increasing sequence entries) for on-chain or arbitration verification. Virtual channels still open at dispute time are included by ID so the dispute resolver can adjudicate their balances independently.

Parameters

factory

ChannelFactory

evidence

string

Returns

FactoryDisputePayload