class PendingChange { final String address; final BigInt amount; PendingChange(this.address, this.amount); } mixin PendingTransaction { String get id; String get amountFormatted; String get feeFormatted; String get feeFormattedValue; String? feeRate; String get hex; String? get evmTxHashFromRawHex => null; int? get outputCount => null; PendingChange? change; String get roundedAmountFormatted { if (amountFormatted.split(".").last.length <= 8) { return amountFormatted; } return double.parse(amountFormatted).toStringAsFixed(8); } bool shouldCommitUR() => false; Future commit(); Future> commitUR(); }