Beispiel #1
0
        public LogFilter CreateLogFilter(BlockParameter fromBlock, BlockParameter toBlock,
                                         object address = null, IEnumerable <object> topics = null, bool setId = true)
        {
            var filterId = setId ? GetFilterId() : 0;
            var filter   = new LogFilter(filterId, fromBlock, toBlock,
                                         GetAddress(address), GetTopicsFilter(topics));

            return(filter);
        }