Function TransactionBuilder.deduct

Deduct a certain amount

ref TransactionBuilder deduct (
  Amount amount
) nothrow return @safe;

Useful when trying to deduct fees from outputs

Parameters

NameDescription
amount Amount to deduct

Returns

Reference to this for easy chaining