Trait ethcore_rpc::v1::traits::personal::Personal []

pub trait Personal: Sized + Send + Sync + 'static {
    type Metadata: Metadata;
    fn accounts(&self) -> Result<Vec<H160>, Error>;
    fn new_account(&self, String) -> Result<H160, Error>;
    fn unlock_account(&self, H160, String, Option<U128>) -> Result<bool, Error>;
    fn send_transaction(&self,
                    Self::Metadata,
                    TransactionRequest,
                    String)
                    -> BoxFuture<H256, Error>; fn to_delegate(self) -> IoDelegate<Self, Self::Metadata> { ... } }

Personal rpc interface. Safe (read-only) functions.

Associated Types

Requests metadata

Required Methods

Lists all stored accounts

Creates new account (it becomes new current unlocked account) Param is the password for the account.

Unlocks specified account for use (can only be one unlocked account at one moment)

Sends transaction and signs it in single call. The account is not unlocked in such case.

Provided Methods

Transform this into an IoDelegate, automatically wrapping the parameters.

Implementors