| 1 | import 'package:cw_bitcoin/bitcoin_transaction_priority.dart'; |
| 2 | import 'package:cw_core/output_info.dart'; |
| 3 | import 'package:cw_core/unspent_coin_type.dart'; |
| 4 | |
| 5 | class BitcoinTransactionCredentials { |
| 6 | BitcoinTransactionCredentials( |
| 7 | this.outputs, { |
| 8 | required this.priority, |
| 9 | this.feeRate, |
| 10 | this.coinTypeToSpendFrom = UnspentCoinType.any, |
| 11 | this.payjoinUri, |
| 12 | }); |
| 13 | |
| 14 | final List<OutputInfo> outputs; |
| 15 | final BitcoinTransactionPriority? priority; |
| 16 | final int? feeRate; |
| 17 | final UnspentCoinType coinTypeToSpendFrom; |
| 18 | final String? payjoinUri; |
| 19 | } |