setDust method

TxBuilder setDust([
  1. int? dust
])

Sometimes one of your outputs or the change output will be less than dust. Values less than dust cannot be broadcast. If you are OK with sending dust amounts to fees, then set this value to true.

Implementation

TxBuilder setDust([int? dust]) {
  this.dust = dust ?? Globals.network.txBuilderDust;
  return this;
}