pub struct DecodePsbtResponse {
pub fee: Option<Amount>,
pub global_xpubs: Value,
pub inputs: Value,
pub outputs: Value,
pub proprietary: Value,
pub psbt_version: u64,
pub tx: Value,
pub unknown: Value,
}Expand description
Response for the DecodePsbt RPC method
Fields§
§fee: Option<Amount>The transaction fee paid if all UTXOs slots in the PSBT have been filled.
global_xpubs: Value§inputs: Value§outputs: Value§proprietary: ValueThe global proprietary map
psbt_version: u64The PSBT version number. Not to be confused with the unsigned transaction version
tx: ValueThe decoded network-serialized unsigned transaction.
unknown: ValueThe unknown global fields
Trait Implementations§
Source§impl Clone for DecodePsbtResponse
impl Clone for DecodePsbtResponse
Source§fn clone(&self) -> DecodePsbtResponse
fn clone(&self) -> DecodePsbtResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DecodePsbtResponse
impl Debug for DecodePsbtResponse
Source§impl<'de> Deserialize<'de> for DecodePsbtResponse
impl<'de> Deserialize<'de> for DecodePsbtResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for DecodePsbtResponse
impl PartialEq for DecodePsbtResponse
Source§impl Serialize for DecodePsbtResponse
impl Serialize for DecodePsbtResponse
impl StructuralPartialEq for DecodePsbtResponse
Auto Trait Implementations§
impl Freeze for DecodePsbtResponse
impl RefUnwindSafe for DecodePsbtResponse
impl Send for DecodePsbtResponse
impl Sync for DecodePsbtResponse
impl Unpin for DecodePsbtResponse
impl UnwindSafe for DecodePsbtResponse
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