determineTransactionTarget function

String? determineTransactionTarget(
  1. List<ElectrumOutput> outputs,
  2. TransactionTransferMethod transferMethod,
  3. UTXONetworkType type,
  4. 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);
}