sendingAmount property

int get sendingAmount

Get the sending amount of the transaction.

Implementation

int get sendingAmount => () {
      int sendingAmount = 0;
      for (PsbtOutput output in outputs) {
        if (output.derivationPath != null && output.isChange) continue;
        sendingAmount += output.amount!;
      }

      return sendingAmount;
    }();