Function miniscript::psbt::extract [−][src]
pub fn extract<C: Verification>(
psbt: &Psbt,
secp: &Secp256k1<C>
) -> Result<Transaction, Error>
Expand description
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.