[][src]Struct eosio_client_api::json_rpc::EOSRPC

pub struct EOSRPC {
    pub client: Client,
    pub host: String,
    pub abi_abi_js: String,
    pub transaction_abi_js: String,
}

Fields

client: Clienthost: Stringabi_abi_js: Stringtransaction_abi_js: String

Implementations

impl EOSRPC[src]

pub fn blocking(host: String) -> Result<EOSRPC>[src]

pub fn blocking_ex(
    host: String,
    abi_abi_js: &str,
    transaction_abi_js: &str
) -> EOSRPC
[src]

pub fn blocking_req(&self, url: &str, in_json: Value) -> Result<String>[src]

pub fn get_account(&self, account_name: &str) -> Result<GetAccount>[src]

pub fn get_abi(&self, account_name: &str) -> Result<GetAbi>[src]

pub fn get_info(&self) -> Result<GetInfo>[src]

pub fn get_code_hash(&self, account_name: &str) -> Result<GetCodeHash>[src]

pub fn get_raw_abi(&self, account_name: &str) -> Result<GetRawABI>[src]

pub fn get_block_num(&self, block_num: usize) -> Result<GetBlock>[src]

pub fn get_block_id(&self, block_id: &str) -> Result<GetBlock>[src]

pub fn get_required_keys(
    &self,
    transaction: &TransactionIn,
    keys: Vec<EOSPublicKey>
) -> Result<RequiredKeys>
[src]

pub fn get_abi_from_account(
    &self,
    abieos_eosio: &ABIEOS,
    account_name: &str
) -> Result<ABIEOS>
[src]

pub fn push_transaction(
    &self,
    abieos: &ABIEOS,
    wallet: &Wallet,
    actions: Vec<ActionIn>,
    ref_block: &str,
    exp_time: DateTime<Utc>
) -> Result<TransactionResponse>
[src]

pub 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>
[src]

pub fn get_table_by_scope(
    &self,
    code: &str,
    table: &str,
    lower_bound: &str,
    upper_bound: &str,
    limit: usize,
    reverse: bool
) -> Result<GetTableByScope>
[src]

Auto Trait Implementations

impl !RefUnwindSafe for EOSRPC

impl Send for EOSRPC

impl Sync for EOSRPC

impl Unpin for EOSRPC

impl !UnwindSafe for EOSRPC

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,