pub struct PersonalClient<D: Dispatcher> { /* private fields */ }
Expand description

Account management (personal) rpc implementation.

Implementations

Creates new PersonalClient

Trait Implementations

RPC Metadata

Lists all stored accounts

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

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

Signs the hash of data with given account signature using the given password to unlock the account during the request. Read more

Signs an arbitrary message based on the version specified

Produces an EIP-712 compliant signature with given account using the given password to unlock the account during the request. Read more

Returns the account associated with the private key that was used to calculate the signature in personal_sign. Read more

Signs transaction. The account is not unlocked in such case.

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

@deprecated alias for personal_sendTransaction.

Create an IoDelegate, wiring rpc calls to the trait methods.

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