Function TransactionBuilder.refund
Resets the state and changes the address of the refund transaction
Ideally one should provide the correct address for the refund
transaction in the constructor, however if for some reason it is not
known in advance, or if the Output
or Transaction
overload is used,
this function provides a convenient mean to change the refund address.
Parameters
Name | Description |
---|---|
toward | Refund address to use for the transaction being built |
Returns
Reference to this
for easy chaining