pub struct EOSRPC {
pub client: Client,
pub host: String,
pub abi_abi_js: String,
pub transaction_abi_js: String,
}Fields§
§client: Client§host: String§abi_abi_js: String§transaction_abi_js: StringImplementations§
Source§impl EOSRPC
impl EOSRPC
pub async fn non_blocking(host: String) -> Result<EOSRPC>
pub async fn non_blocking_ex( host: String, abi_abi_js: &str, transaction_abi_js: &str, ) -> EOSRPC
pub async fn non_blocking_req( &self, url: &str, in_json: Value, ) -> Result<String>
pub async fn get_account(&self, account_name: &str) -> Result<GetAccount>
pub async fn get_abi(&self, account_name: &str) -> Result<GetAbi>
pub async fn get_info(&self) -> Result<GetInfo>
pub async fn get_code_hash(&self, account_name: &str) -> Result<GetCodeHash>
pub async fn get_raw_abi(&self, account_name: &str) -> Result<GetRawABI>
pub async fn get_block_num(&self, block_num: usize) -> Result<GetBlock>
pub async fn get_block_id(&self, block_id: &str) -> Result<GetBlock>
pub async fn get_required_keys( &self, transaction: &TransactionIn, keys: Vec<EOSPublicKey>, ) -> Result<RequiredKeys>
pub async fn get_abi_from_account( &self, abieos_eosio: &ABIEOS, account_name: &str, ) -> Result<ABIEOS>
pub async fn push_transaction( &self, abieos: &ABIEOS, wallet: &Wallet, actions: Vec<ActionIn>, ref_block: &str, exp_time: DateTime<Utc>, ) -> Result<TransactionResponse>
pub async fn get_table_rows( &self, code: &str, scope: &str, table: &str, table_key: &str, lower_bound: &str, upper_bound: &str, limit: usize, key_type: &str, index_position: &str, encode_type: &str, reverse: bool, show_payer: bool, ) -> Result<GetTableRows>
pub async fn get_table_by_scope( &self, code: &str, table: &str, lower_bound: &str, upper_bound: &str, limit: usize, reverse: bool, ) -> Result<GetTableByScope>
Auto Trait Implementations§
impl Freeze for EOSRPC
impl !RefUnwindSafe for EOSRPC
impl Send for EOSRPC
impl Sync for EOSRPC
impl Unpin for EOSRPC
impl !UnwindSafe for EOSRPC
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