pub async fn account_state_info(
        &self,
        address: Address,
    ) -> Result<AccountInfoResp, failure::Error> {
        let msg = JsonRpcRequest::account_state(address);

        let ret = self.post(&msg).await?;
        let account_state =
            serde_json::from_value(ret).expect("failed to parse account request response");
        Ok(account_state)
    }
/// Requests and returns information about a ZKSync account given its address.
Requests and returns information about a ZKSync account given its address.
Requests and returns information about a ZKSync account given its address .
pub async fn account_state_info(
        &self,
        address: Address,
    ) -> Result<AccountInfoResp, failure::Error> {
        let msg = JsonRpcRequest::account_state(address);
        let ret = self.post(&msg).await?;
        let account_state =
            serde_json::from_value(ret).expect("failed to parse account request response");
        Ok(account_state)
    }
pub async fn account_state_info ( & self , address : Address , ) -> Result < AccountInfoResp , failure :: Error > { let msg = JsonRpcRequest :: account_state ( address ) ; let ret = self . post ( & msg ) . await ? ; let account_state = serde_json :: from_value ( ret ) . expect ( " " ) ; Ok ( account_state ) }
Requests and returns information about a ZKSync account given its address.
Requests and returns information about a ZKSync account given its address .
&self
address
Address