pub struct DescriptorprocesspsbtParams {
pub psbt: String,
pub descriptors: Vec<Value>,
pub sighashtype: Option<String>,
pub bip32derivs: Option<bool>,
pub finalize: Option<bool>,
}Expand description
Update all segwit inputs in a PSBT with information from output descriptors, the UTXO set or the mempool. Then, sign the inputs we are able to with information from the output descriptors.
Fields§
§psbt: StringThe transaction base64 string
descriptors: Vec<Value>An array of either strings or objects
sighashtype: Option<String>The signature hash type to sign with if not specified by the PSBT. Must be one of “DEFAULT” “ALL” “NONE” “SINGLE” “ALL|ANYONECANPAY” “NONE|ANYONECANPAY” “SINGLE|ANYONECANPAY”
bip32derivs: Option<bool>Include BIP 32 derivation paths for public keys if we know them
finalize: Option<bool>Also finalize inputs if possible
Trait Implementations§
Source§impl Debug for DescriptorprocesspsbtParams
impl Debug for DescriptorprocesspsbtParams
Auto Trait Implementations§
impl Freeze for DescriptorprocesspsbtParams
impl RefUnwindSafe for DescriptorprocesspsbtParams
impl Send for DescriptorprocesspsbtParams
impl Sync for DescriptorprocesspsbtParams
impl Unpin for DescriptorprocesspsbtParams
impl UnwindSafe for DescriptorprocesspsbtParams
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more