Package org.web3j.protocol.core.filters
Class BlockFilter
Handler 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 void
process
(List<EthLog.LogResult> logResults) protected EthFilter
Methods inherited from class org.web3j.protocol.core.filters.Filter
cancel, run, uninstallFilter
-
Constructor Details
-
BlockFilter
-
-
Method Details
-
sendRequest
- Specified by:
sendRequest
in classFilter<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:
getFilterLogs
in classFilter<String>
- Parameters:
filterId
- Id of the filter for which the historic log should be retrieved- Returns:
- Optional.empty()
-