Struct ethcore_rpc::v1::EthClient [] [src]

pub struct EthClient<C, SN: ?Sized, S: ?Sized, M, EM> where C: MiningBlockChainClient, SN: SnapshotService, S: SyncProvider, M: MinerService, EM: ExternalMinerService { /* fields omitted */ }

Eth rpc implementation.

Methods

impl<C, SN: ?Sized, S: ?Sized, M, EM> EthClient<C, SN, S, M, EM> where C: MiningBlockChainClient, SN: SnapshotService, S: SyncProvider, M: MinerService, EM: ExternalMinerService
[src]

Creates new EthClient.

Trait Implementations

impl<C, SN: ?Sized, S: ?Sized, M, EM> Eth for EthClient<C, SN, S, M, EM> where C: MiningBlockChainClient + 'static, SN: SnapshotService + 'static, S: SyncProvider + 'static, M: MinerService + 'static, EM: ExternalMinerService + 'static
[src]

Requests metadata

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 number of hashes per second that the node is mining with.

Returns current gas_price.

Returns accounts list.

Returns highest block number.

Returns balance of the given account.

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.

Returns an uncles at given block and index.

Returns an uncles at given block and index.

Returns available compilers.

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.

Compiles serpent.

Compiles solidity.

Transform this into an IoDelegate, automatically wrapping the parameters. Read more