Package org.web3j.protocol.core.filters
Class BlocksFilter
Handler hashes for working with block filter requests
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetFilterLogs(BigInteger filterId) Since the block filter does not support historic filters, the filterId is ignored and an empty optional is returned.protected voidprocess(List<EthLog.LogResult> logResults) protected EthFilterMethods inherited from class org.web3j.protocol.core.filters.Filter
cancel, run, uninstallFilter
-
Constructor Details
-
BlocksFilter
-
-
Method Details
-
sendRequest
- Specified by:
sendRequestin classFilter<List<String>>- Throws:
IOException
-
process
-
getFilterLogs
Since the block filter does not support historic filters, the filterId is ignored and an empty optional is returned.- Specified by:
getFilterLogsin classFilter<List<String>>- Parameters:
filterId- Id of the filter for which the historic log should be retrieved- Returns:
- Optional.empty()
-