Trait fc_rpc::EthFilterApiServer [−][src]
Eth filters rpc api (polling).
Required methods
pub fn new_filter(&self, Filter) -> Result<U256, Error>
[src]
Returns id of new filter.
pub fn new_block_filter(&self) -> Result<U256, Error>
[src]
Returns id of new block filter.
pub fn new_pending_transaction_filter(&self) -> Result<U256, Error>
[src]
Returns id of new block filter.
pub fn filter_changes(&self, Index) -> Result<FilterChanges, Error>
[src]
Returns filter changes since last poll.
pub fn filter_logs(&self, Index) -> Result<Vec<Log, Global>, Error>
[src]
Returns all logs matching given filter (in a range ‘from’ - ‘to’).
pub fn uninstall_filter(&self, Index) -> Result<bool, Error>
[src]
Uninstalls filter.
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> EthFilterApi for EthFilterApi<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,