[][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 async fn non_blocking(host: String) -> Result<EOSRPC>[src]

pub async fn non_blocking_ex<'_, '_>(
    host: String,
    abi_abi_js: &'_ str,
    transaction_abi_js: &'_ str
) -> EOSRPC
[src]

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

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

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

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

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

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

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

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

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

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

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

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

pub async 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>,