Function FlashControlAPI.beginCollaborativeClose

Begin a collaborative closure of a channel with the counter-party for the given channel ID.

abstract Result!(bool) beginCollaborativeClose (
  PublicKey reg_pk,
  geod24.bitblob.BitBlob!(64L) chan_id
) @safe;

Parameters

NameDescription
reg_pk the registered public key. If this key is not managed by this Flash node then an error will be returned.
chan_id the ID of the channel to close

Returns

true if this channel ID exists and may be closed, else an error