[][src]Function miniscript::psbt::extract

pub fn extract<C: Verification>(
    psbt: &Psbt,
    secp: &Secp256k1<C>
) -> Result<Transaction, Error>

Psbt extractor as defined in BIP174 that takes in a psbt reference and outputs a extracted bitcoin::Transaction Also does the interpreter sanity check Will error if the final ScriptSig or final Witness are missing or the interpreter check fails.