pub struct Client { /* private fields */ }Implementations§
source§impl Client
impl Client
pub fn new(network: Network) -> Self
pub fn to_signing_client( &self, signing_key: SigningKey, account_prefix: &str ) -> SigningClient
pub async fn account(&self, address: &str) -> Result<BaseAccount>
pub async fn simulate(&self, tx_bytes: Vec<u8>) -> Result<GasInfo>
pub async fn query_smart( &self, address: String, query_data: Vec<u8> ) -> Result<Vec<u8>>
pub async fn proposal(&self, proposal_id: &u64) -> Result<Proposal>
pub async fn gov_params_deposit(&self) -> Result<DepositParams>
Trait Implementations§
Auto Trait Implementations§
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
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request