pub struct Client { /* private fields */ }
Expand description
Client manages interactions with the Elrond network
Implementations§
Source§impl Client
impl Client
Sourcepub fn get_address_nonce(&self, addr_str: &str) -> Result<u64>
pub fn get_address_nonce(&self, addr_str: &str) -> Result<u64>
Get the current nonce associated with an address
Sourcepub fn post_signed_transaction(
&self,
signed_tx: SignedTransaction,
) -> Result<String>
pub fn post_signed_transaction( &self, signed_tx: SignedTransaction, ) -> Result<String>
Post signed transaction to Elrond network and return hash of transaction
Sourcepub fn get_address_balance(
&self,
addr_str: &str,
) -> Result<ElrondCurrencyAmount>
pub fn get_address_balance( &self, addr_str: &str, ) -> Result<ElrondCurrencyAmount>
Get the balance associated with an Elrond address
Auto Trait Implementations§
impl Freeze for Client
impl RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl UnwindSafe for Client
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