Trait fc_rpc::Web3ApiServer [−][src]
Web3 rpc interface.
Required methods
pub fn client_version(&self) -> Result<String, Error>
[src]
Returns current client version.
pub fn sha3(&self, Bytes) -> Result<H256, Error>
[src]
Returns sha3 of the given data
Provided methods
pub fn to_delegate<M>(self) -> IoDelegate<Self, M> where
M: Metadata,
[src]
M: Metadata,
Create an IoDelegate
, wiring rpc calls to the trait methods.
Implementors
impl<B, C> Web3Api for Web3Api<B, C> where
C: ProvideRuntimeApi<B> + AuxStore,
C::Api: EthereumRuntimeRPCApi<B>,
C: HeaderBackend<B> + HeaderMetadata<B, Error = BlockChainError> + 'static,
C: Send + Sync + 'static,
B: BlockT<Hash = H256> + Send + Sync + 'static,
[src]
C: ProvideRuntimeApi<B> + AuxStore,
C::Api: EthereumRuntimeRPCApi<B>,
C: HeaderBackend<B> + HeaderMetadata<B, Error = BlockChainError> + 'static,
C: Send + Sync + 'static,
B: BlockT<Hash = H256> + Send + Sync + 'static,