public class BlockFilter extends Filter<java.lang.String>
Constructor and Description |
---|
BlockFilter(Web3j web3j,
Callback<java.lang.String> callback) |
Modifier and Type | Method and Description |
---|---|
protected java.util.Optional<Request<?,EthLog>> |
getFilterLogs(java.math.BigInteger filterId)
Since the block filter does not support historic filters, the filterId is ignored
and an empty optional is returned.
|
protected java.util.Optional<Request<?,EthLog>> getFilterLogs(java.math.BigInteger filterId)
getFilterLogs
in class Filter<java.lang.String>
filterId
- Id of the filter for which the historic log should be retrieved