pub struct WalletTx { /* private fields */ }
Expand description
Wrapper of lwk_wollet::WalletTx
Implementations§
Source§impl WalletTx
impl WalletTx
pub fn tx(&self) -> Transaction
pub fn height(&self) -> Option<u32>
pub fn balance(&self) -> Result<JsValue, Error>
pub fn txid(&self) -> Txid
pub fn fee(&self) -> u64
pub fn tx_type(&self) -> String
pub fn timestamp(&self) -> Option<u32>
pub fn inputs(&self) -> Vec<OptionWalletTxOut>
pub fn outputs(&self) -> Vec<OptionWalletTxOut>
pub fn unblinded_url(&self, explorer_url: &str) -> String
Trait Implementations§
Source§impl FromWasmAbi for WalletTx
impl FromWasmAbi for WalletTx
Source§impl IntoWasmAbi for WalletTx
impl IntoWasmAbi for WalletTx
Source§impl LongRefFromWasmAbi for WalletTx
impl LongRefFromWasmAbi for WalletTx
Source§impl OptionFromWasmAbi for WalletTx
impl OptionFromWasmAbi for WalletTx
Source§impl OptionIntoWasmAbi for WalletTx
impl OptionIntoWasmAbi for WalletTx
Source§impl RefFromWasmAbi for WalletTx
impl RefFromWasmAbi for WalletTx
Source§impl RefMutFromWasmAbi for WalletTx
impl RefMutFromWasmAbi for WalletTx
Source§impl TryFromJsValue for WalletTx
impl TryFromJsValue for WalletTx
Source§impl VectorFromWasmAbi for WalletTx
impl VectorFromWasmAbi for WalletTx
Source§impl VectorIntoWasmAbi for WalletTx
impl VectorIntoWasmAbi for WalletTx
impl SupportsConstructor for WalletTx
impl SupportsInstanceProperty for WalletTx
impl SupportsStaticProperty for WalletTx
Auto Trait Implementations§
impl Freeze for WalletTx
impl RefUnwindSafe for WalletTx
impl Send for WalletTx
impl Sync for WalletTx
impl Unpin for WalletTx
impl UnwindSafe for WalletTx
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::Abi
Source§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
.