Function TransactionBuilder.sign
Finalize the transaction, signing the input, and reset the builder
Transaction sign
(
in const(OutputType) outputs_type = OutputType .Payment,
uint unlock_age = 0u,
Amount freeze_fee = coins(10000LU)
) nothrow @safe;
Parameters
Name | Description |
---|---|
outputs_type | sets the outputs to Payment (default), Freeze or
Coinbase . In case of Freeze a single refund Payment output
will be created with any leftover. |
unlock_age | the unlock age for each input in the transaction |
Returns
The finalized & signed Transaction
.