Trait psbt::InputDeduce[][src]

pub trait InputDeduce {
    fn composite_descr_type(
        &self,
        txin: &TxIn
    ) -> Result<CompositeDescrType, DeductionError>; }
Expand description

Extension trait for deducing information about spendings from PSBT input

Required methods

Deduction of a descriptor type from a scriptPubkey data and data inside redeem script and witness scripts.

Errors

The function may DeductionError

Panics

Panics if PSBT integrity is broken and current input does not have an associated previous output data or these data are incorrect.

Implementors