Skip to main content

attachCounterpartySignature

@totemsdk/omnia


@totemsdk/omnia / attachCounterpartySignature

Function: attachCounterpartySignature()

attachCounterpartySignature(channel, partialState, counterPartyId, counterSignature, counterIndices, counterClosePackage?): object

Parameters

channel

OmniaChannel

partialState

Partial<SignedChannelState>

counterPartyId

string

counterSignature

ChannelSignature

counterIndices

SigningIndices

counterClosePackage?

SignedClosePackage

Returns

object

channel

channel: OmniaChannel

signedState

signedState: SignedChannelState