+
+
+/** An implementation of WalletSource */
+public interface WalletSourceInterface {
+ /**Returns all UTXOs, with at least 1 confirmation each, that are available to spend.
+ */
+ Result_CVec_UtxoZNoneZ list_confirmed_utxos();
+ /**Returns a script to use for change above dust resulting from a successful coin selection
+ * attempt.
+ */
+ Result_CVec_u8ZNoneZ get_change_script();
+ /**Signs and provides the full [`TxIn::script_sig`] and [`TxIn::witness`] for all inputs within
+ * the transaction known to the wallet (i.e., any provided via
+ * [`WalletSource::list_confirmed_utxos`]).
+ */
+ Result_TransactionNoneZ sign_tx(byte[] tx);
+}
+