pub struct ParityClient<C, M> where
    C: PrometheusMetrics
{ /* private fields */ }
Expand description

Parity implementation.

Implementations

Creates new ParityClient.

Trait Implementations

Returns current transactions limit.

Returns minimal gas price for transaction to be included in queue.

Returns mining extra data.

Returns mining gas floor target.

Returns mining gas floor cap.

Returns latest logs

Returns logs levels

Returns chain name - DEPRECATED. Use parity_chainName instead.

Get the chain name. Returns one of the pre-configured chain names or a filename.

Returns peers details

Returns network port

Returns node name

Returns the value of the registrar for this network.

Returns rpc settings

Returns default extra data

Returns distribution of gas price in latest blocks.

Returns number of unsigned transactions waiting in the signer queue (if signer enabled) Returns error when signer is disabled Read more

Returns a cryptographically random phrase sufficient for securely seeding a secret key.

Returns whatever address would be derived from the given phrase if it were to seed a brainwallet.

Returns all addresses if Fat DB is enabled (--fat-db), or null if not.

Returns all storage keys of the given address (first parameter) if Fat DB is enabled (--fat-db), or null if not. Read more

Encrypt some data with a public key under ECIES. First parameter is the 512-byte destination public key, second is the message. Read more

Returns all pending transactions from transaction queue.

Returns all transactions from transaction queue. Read more

Same as parity_allTransactions, but return only transactions hashes.

Returns all future transactions from transaction queue (deprecated)

Returns propagation statistics on transactions pending in the queue.

Returns propagation statistics on transactions recently added into the queue.

Returns a list of current and past local transactions with status details.

Returns current WS Server interface and port or an error if ws server is disabled.

Returns next nonce for particular sender. Should include all transactions in the queue.

Get the mode. Returns one of: “active”, “passive”, “dark”, “offline”.

Get the enode of this node.

Get the current chain status.

Get node kind info.

Get block header. Same as eth_getBlockByNumber but without uncles and transactions. Read more

Get block receipts. Allows you to fetch receipts from the entire block at once. If no parameter is provided defaults to latest. Read more

Call contract, returning the output data.

Used for submitting a proof-of-work solution (similar to eth_submitWork, but returns block hash on success, and returns an explicit error message on failure). Read more

Returns the status of the node. Used as the health endpoint. Read more

Extracts Address and public key from signature using the r, s and v params. Equivalent to Solidity erecover as well as checks the signature for chain replay protection Read more

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.