pub struct OutputMap {
pub redeem_script: Option<Vec<u8>>,
pub witness_script: Option<Vec<u8>>,
pub bip32_derivation: BTreeMap<Vec<u8>, KeySource>,
pub tap_internal_key: Option<Vec<u8>>,
pub tap_tree: Option<Vec<u8>>,
pub tap_bip32_derivation: BTreeMap<Vec<u8>, Vec<u8>>,
pub amount: Option<u64>,
pub script: Option<Vec<u8>>,
pub proprietary: ProprietaryFields,
pub unknown: UnknownFields,
}Expand description
PSBT output map
Fields§
§redeem_script: Option<Vec<u8>>Redeem script (for P2SH outputs)
witness_script: Option<Vec<u8>>Witness script (for P2WSH outputs)
bip32_derivation: BTreeMap<Vec<u8>, KeySource>BIP32 derivation paths (pubkey -> key source)
tap_internal_key: Option<Vec<u8>>Taproot internal key
tap_tree: Option<Vec<u8>>Taproot tree
tap_bip32_derivation: BTreeMap<Vec<u8>, Vec<u8>>Taproot BIP32 derivation
amount: Option<u64>PSBT v2: Output amount
script: Option<Vec<u8>>PSBT v2: Output script
proprietary: ProprietaryFieldsProprietary fields
unknown: UnknownFieldsUnknown fields
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for OutputMap
impl RefUnwindSafe for OutputMap
impl Send for OutputMap
impl Sync for OutputMap
impl Unpin for OutputMap
impl UnwindSafe for OutputMap
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