pub enum TxoutType {
NonStandard,
Anchor,
PubKey(PublicKey),
PubKeyHash([u8; 20]),
ScriptHash([u8; 20]),
Multisig {
required_sigs: u8,
keys_count: u8,
keys: Vec<Vec<u8>>,
},
NullData,
WitnessV0ScriptHash([u8; 32]),
WitnessV0KeyHash([u8; 20]),
WitnessV1Taproot([u8; 32]),
WitnessUnknown(Vec<Vec<u8>>),
}Expand description
Transaction output types
Variants§
NonStandard
Anchor
PubKey(PublicKey)
PubKeyHash([u8; 20])
ScriptHash([u8; 20])
Multisig
NullData
WitnessV0ScriptHash([u8; 32])
WitnessV0KeyHash([u8; 20])
WitnessV1Taproot([u8; 32])
WitnessUnknown(Vec<Vec<u8>>)
Trait Implementations§
impl Eq for TxoutType
impl StructuralPartialEq for TxoutType
Auto Trait Implementations§
impl Freeze for TxoutType
impl RefUnwindSafe for TxoutType
impl Send for TxoutType
impl Sync for TxoutType
impl Unpin for TxoutType
impl UnwindSafe for TxoutType
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