Interface WalletSource.WalletSourceInterface

  • Enclosing class:
    WalletSource

    public static interface WalletSource.WalletSourceInterface
    • Method Detail

      • list_confirmed_utxos

        Result_CVec_UtxoZNoneZ list_confirmed_utxos()
        Returns all UTXOs, with at least 1 confirmation each, that are available to spend.
      • get_change_script

        Result_CVec_u8ZNoneZ get_change_script()
        Returns a script to use for change above dust resulting from a successful coin selection attempt.
      • sign_tx

        Result_TransactionNoneZ sign_tx​(byte[] tx)
        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`]).