use of org.bcos.web3j.protocol.core.filters.LogFilter in project web3sdk by FISCO-BCOS.
the class JsonRpc2_0Rx method ethLogObservable.
public Observable<Log> ethLogObservable(org.bcos.web3j.protocol.core.methods.request.EthFilter ethFilter, long pollingInterval) {
return Observable.create((Subscriber<? super Log> subscriber) -> {
LogFilter logFilter = new LogFilter(web3j, subscriber::onNext, ethFilter);
run(logFilter, subscriber, pollingInterval);
});
}
Aggregations