determineTransactionTarget function
- List<
ElectrumOutput> outputs, - TransactionTransferMethod transferMethod,
- UTXONetworkType type,
- AddressType addressType,
Implementation
String? determineTransactionTarget(
List<ElectrumOutput> outputs,
TransactionTransferMethod transferMethod,
UTXONetworkType type,
AddressType addressType,
) {
final mainOutput = _findMainOutput(outputs, transferMethod);
return mainOutput?.getAddress(type, addressType: addressType);
}