Class SpendableOutputDescriptor.StaticOutput

  • Enclosing class:
    SpendableOutputDescriptor

    public static final class SpendableOutputDescriptor.StaticOutput
    extends SpendableOutputDescriptor
    An output to a script which was provided via [`SignerProvider`] directly, either from [`get_destination_script`] or [`get_shutdown_scriptpubkey`], thus you should already know how to spend it. No secret keys are provided as LDK was never given any key. These may include outputs from a transaction punishing our counterparty or claiming an HTLC on-chain using the payment preimage or after it has timed out. [`get_shutdown_scriptpubkey`]: SignerProvider::get_shutdown_scriptpubkey [`get_destination_script`]: SignerProvider::get_shutdown_scriptpubkey
    • Field Detail

      • outpoint

        public final OutPoint outpoint
        The outpoint which is spendable.
      • output

        public final TxOut output
        The output which is referenced by the given outpoint.