pub struct ParityAccounts<T> { /* private fields */ }
Expand description
Parity_Accounts
namespace
Implementations§
Source§impl<T: Transport> ParityAccounts<T>
impl<T: Transport> ParityAccounts<T>
Sourcepub fn parity_kill_account(
&self,
address: &Address,
pwd: &str,
options: CallOptions,
) -> CallFuture<bool, T::Out> ⓘ
pub fn parity_kill_account( &self, address: &Address, pwd: &str, options: CallOptions, ) -> CallFuture<bool, T::Out> ⓘ
Given an address of an account and its password deletes the account from the parity node
Sourcepub fn parity_new_account_from_phrase(
&self,
seed: &str,
pwd: &str,
options: CallOptions,
) -> CallFuture<Address, T::Out> ⓘ
pub fn parity_new_account_from_phrase( &self, seed: &str, pwd: &str, options: CallOptions, ) -> CallFuture<Address, T::Out> ⓘ
Imports an account from a given seed/phrase Retunrs the address of the corresponding seed vinculated account
Sourcepub fn new_account_from_secret(
&self,
secret: &H256,
pwd: &str,
options: CallOptions,
) -> CallFuture<Address, T::Out> ⓘ
pub fn new_account_from_secret( &self, secret: &H256, pwd: &str, options: CallOptions, ) -> CallFuture<Address, T::Out> ⓘ
Imports an account from a given secret key. Returns the address of the corresponding Sk vinculated account.
Sourcepub fn parity_new_account_from_wallet(
&self,
wallet: &str,
pwd: &str,
options: CallOptions,
) -> CallFuture<Address, T::Out> ⓘ
pub fn parity_new_account_from_wallet( &self, wallet: &str, pwd: &str, options: CallOptions, ) -> CallFuture<Address, T::Out> ⓘ
Imports an account from a JSON encoded Wallet file. Returns the address of the corresponding wallet.
Sourcepub fn parity_remove_address(
&self,
address: &Address,
options: CallOptions,
) -> CallFuture<bool, T::Out> ⓘ
pub fn parity_remove_address( &self, address: &Address, options: CallOptions, ) -> CallFuture<bool, T::Out> ⓘ
Removes the address of the Parity node addressbook. Returns true if the operation suceeded.
Trait Implementations§
Source§impl<T: Clone> Clone for ParityAccounts<T>
impl<T: Clone> Clone for ParityAccounts<T>
Source§fn clone(&self) -> ParityAccounts<T>
fn clone(&self) -> ParityAccounts<T>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<T: Debug> Debug for ParityAccounts<T>
impl<T: Debug> Debug for ParityAccounts<T>
Auto Trait Implementations§
impl<T> Freeze for ParityAccounts<T>where
T: Freeze,
impl<T> RefUnwindSafe for ParityAccounts<T>where
T: RefUnwindSafe,
impl<T> Send for ParityAccounts<T>where
T: Send,
impl<T> Sync for ParityAccounts<T>where
T: Sync,
impl<T> Unpin for ParityAccounts<T>where
T: Unpin,
impl<T> UnwindSafe for ParityAccounts<T>where
T: UnwindSafe,
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