Function createSettleTx

Create a settlement transaction spending from a previous trigger / update transaction.

Transaction createSettleTx (
  in ref const(geod24.bitblob.BitBlob!(64L)) prev_utxo_hash,
  in const(uint) settle_age,
  in const(Output[]) outputs
) nothrow @safe;

Parameters

NameDescription
prev_utxo_hash the previous UTXO.
settle_age the relative unlock age that the settlement will be encumbered by.
outputs the balance distribution.

Returns

the settlement transaction