[][src]Struct eosio_client_api::wallet_types::Wallet

pub struct Wallet { /* fields omitted */ }

Implementations

impl Wallet[src]

pub fn create(keos: EOSRPC) -> Wallet[src]

pub fn create_with_chain_id(keos: EOSRPC, chain_id: &str) -> Wallet[src]

pub async fn list<'_>(&'_ self) -> Result<Vec<String>>[src]

pub async fn keys<'_>(&'_ self) -> Result<Vec<EOSPublicKey>>[src]

pub async fn private_keys<'_, '_, '_>(
    &'_ self,
    wallet: &'_ str,
    pass: &'_ str
) -> Result<Vec<(EOSPublicKey, EOSPrivateKey)>>
[src]

pub async fn unlock<'_, '_, '_>(
    &'_ self,
    wallet: &'_ str,
    pass: &'_ str
) -> Result<bool>
[src]

pub async fn sign_transaction<'_>(
    &'_ self,
    transaction: TransactionIn,
    pubkey: Vec<EOSPublicKey>
) -> Result<TransactionInSigned>
[src]

pub async fn sign_digest<'_, '_, '_>(
    &'_ self,
    digest: &'_ [u8],
    pubkey: &'_ EOSPublicKey
) -> Result<String>
[src]

Auto Trait Implementations

impl !RefUnwindSafe for Wallet

impl Send for Wallet

impl Sync for Wallet

impl Unpin for Wallet

impl !UnwindSafe for Wallet

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