pub struct DecoderawtransactionParams {
pub hexstring: String,
pub iswitness: Option<bool>,
}Expand description
Return a JSON object representing the serialized, hex-encoded transaction.
Fields§
§hexstring: StringThe transaction hex string
iswitness: Option<bool>Whether the transaction hex is a serialized witness transaction. If iswitness is not present, heuristic tests will be used in decoding. If true, only witness deserialization will be tried. If false, only non-witness deserialization will be tried. This boolean should reflect whether the transaction has inputs (e.g. fully valid, or on-chain transactions), if known by the caller.
Trait Implementations§
Source§impl Debug for DecoderawtransactionParams
impl Debug for DecoderawtransactionParams
Auto Trait Implementations§
impl Freeze for DecoderawtransactionParams
impl RefUnwindSafe for DecoderawtransactionParams
impl Send for DecoderawtransactionParams
impl Sync for DecoderawtransactionParams
impl Unpin for DecoderawtransactionParams
impl UnwindSafe for DecoderawtransactionParams
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