pub struct Personal<T> { /* private fields */ }
Expand description

Personal namespace

Implementations

Returns a list of available accounts.

Creates a new account and protects it with given password. Returns the address of created account.

Unlocks the account with given password for some period of time (or single transaction). Returns true if the call was successful.

Sends a transaction from locked account. Returns transaction hash.

Signs an Ethereum specific message with sign(keccak256("\x19Ethereum Signed Message: " + len(data) + data)))

The account does not need to be unlocked to make this call, and will not be left unlocked after. Returns encoded signature.

Signs a transaction without dispatching it to the network. The account does not need to be unlocked to make this call, and will not be left unlocked after. Returns a signed transaction in raw bytes along with it’s details.

Imports a raw key and protects it with the given password. Returns the address of created account.

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Creates new API namespace
Borrows a transport.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.