Trait ethcore_rpc::v1::traits::parity::Parity []

pub trait Parity: Sized + Send + Sync + 'static {
    type Metadata: Metadata;
    fn accounts_info(&self,
                 Trailing<DappId>)
                 -> Result<BTreeMap<String, BTreeMap<String, String>>, Error>; fn default_account(&self, Self::Metadata) -> BoxFuture<H160, Error>; fn transactions_limit(&self) -> Result<usize, Error>; fn extra_data(&self) -> Result<Bytes, Error>; fn gas_floor_target(&self) -> Result<U256, Error>; fn gas_ceil_target(&self) -> Result<U256, Error>; fn min_gas_price(&self) -> Result<U256, Error>; fn dev_logs(&self) -> Result<Vec<String>, Error>; fn dev_logs_levels(&self) -> Result<String, Error>; fn net_chain(&self) -> Result<String, Error>; fn net_peers(&self) -> Result<Peers, Error>; fn net_port(&self) -> Result<u16, Error>; fn rpc_settings(&self) -> Result<RpcSettings, Error>; fn node_name(&self) -> Result<String, Error>; fn default_extra_data(&self) -> Result<Bytes, Error>; fn gas_price_histogram(&self) -> Result<Histogram, Error>; fn unsigned_transactions_count(&self) -> Result<usize, Error>; fn generate_secret_phrase(&self) -> Result<String, Error>; fn phrase_to_address(&self, String) -> Result<H160, Error>; fn registry_address(&self) -> Result<Option<H160>, Error>; fn list_accounts(&self,
                 u64,
                 Option<H160>,
                 Trailing<BlockNumber>)
                 -> Result<Option<Vec<H160>>, Error>; fn list_storage_keys(&self,
                     H160,
                     u64,
                     Option<H256>,
                     Trailing<BlockNumber>)
                     -> Result<Option<Vec<H256>>, Error>; fn encrypt_message(&self, H512, Bytes) -> Result<Bytes, Error>; fn pending_transactions(&self) -> Result<Vec<Transaction>, Error>; fn future_transactions(&self) -> Result<Vec<Transaction>, Error>; fn pending_transactions_stats(&self)
                              -> Result<BTreeMap<H256, TransactionStats>, Error>; fn local_transactions(&self)
                      -> Result<BTreeMap<H256, LocalTransactionStatus>, Error>; fn signer_port(&self) -> Result<u16, Error>; fn dapps_port(&self) -> Result<u16, Error>; fn dapps_interface(&self) -> Result<String, Error>; fn next_nonce(&self, H160) -> Result<U256, Error>; fn mode(&self) -> Result<String, Error>; fn enode(&self) -> Result<String, Error>; fn consensus_capability(&self) -> Result<ConsensusCapability, Error>; fn version_info(&self) -> Result<VersionInfo, Error>; fn releases_info(&self) -> Result<Option<OperationsInfo>, Error>; fn chain_status(&self) -> Result<ChainStatus, Error>; fn to_delegate(self) -> IoDelegate<Self, Self::Metadata> { ... } }

Parity-specific rpc interface.

Associated Types

Requests metadata

Required Methods

Returns accounts information.

Returns default account for dapp.

Returns current transactions limit.

Returns mining extra data.

Returns mining gas floor target.

Returns mining gas floor cap.

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

Returns latest logs

Returns logs levels

Returns chain name

Returns peers details

Returns network port

Returns rpc settings

Returns node name

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

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 the value of the registrar for this network.

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.

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

Returns all pending transactions from transaction queue.

Returns all future transactions from transaction queue.

Returns propagation statistics on transactions pending in the queue.

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

Returns current Trusted Signer port or an error if signer is disabled.

Returns current Dapps Server port or an error if dapps server is disabled.

Returns current Dapps Server interface address or an error if dapps server is disabled.

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

Get the mode. Results one of: "active", "passive", "dark", "offline".

Get the enode of this node.

Returns information on current consensus capability.

Get our version information in a nice object.

Get information concerning the latest releases if available.

Get the current chain status.

Provided Methods

Transform this into an IoDelegate, automatically wrapping the parameters.

Implementors