pub struct EthClient<C, SN: ?Sized, S: ?Sized, M, EM> where
    C: BlockChainClient + BlockChainClient,
    SN: SnapshotService,
    S: SyncProvider,
    M: MinerService,
    EM: ExternalMinerService
{ /* private fields */ }
Expand description

Eth rpc implementation.

Implementations

Creates new EthClient.

Trait Implementations

Returns protocol version encoded as a string (quotes are necessary).

Returns an object with data about the sync status or false. (wtf?)

Returns block author.

Returns true if client is actively mining new blocks.

Returns the chain ID used for transaction signing at the current best block. None is returned if not available. Read more

Returns the number of hashes per second that the node is mining with.

Returns current gas_price.

Returns current max_priority_fee

Returns transaction fee history.

Returns accounts list.

Returns highest block number.

Returns balance of the given account.

Returns the account- and storage-values of the specified account including the Merkle-proof

Returns content of the storage at given address.

Returns the number of transactions sent from given address at given time (block number).

Returns the number of transactions in a block with given hash.

Returns the number of transactions in a block with given block number.

Returns the number of uncles in a block with given hash.

Returns the number of uncles in a block with given block number.

Returns the code at given address at given time (block number).

Returns block with given hash.

Returns block with given number.

Get transaction by its hash.

Returns transaction at given block hash and index.

Returns transaction by given block number and index.

Returns transaction receipt by transaction hash.

Returns an uncles at given block and index.

Returns an uncles at given block and index.

Returns available compilers. @deprecated Read more

Returns logs matching given filter object.

Returns the hash of the current block, the seedHash, and the boundary condition to be met.

Used for submitting a proof-of-work solution.

Used for submitting mining hashrate.

Sends signed transaction, returning its hash.

@alias of eth_sendRawTransaction.

Call contract, returning the output data.

Estimate gas needed for execution of given contract.

Compiles lll code. @deprecated Read more

Compiles serpent. @deprecated Read more

Compiles solidity. @deprecated 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.