I would like to get all Transfer events for a specific interval of blocks.
When I call
GetAllChanges with the following parameters, I get this error message:
'Number of indexes don't match the number of topics. Indexed Properties 2, Topics : 0'
Event<TransferEventDTO> transferEvent = new Event<TransferEventDTO>(_web3.Client); filterTransferEvents = transferEvent.CreateFilterInput(new BlockParameter(6_500_000), new BlockParameter(6_500_001)); var ethNodeResp = transferEvent.GetAllChanges(filterTransferEvents).GetAwaiter().GetResult();
If I however instead call this function on another range, then it works.
filterTransferEvents = transferEvent.CreateFilterInput(new BlockParameter(509_000), new BlockParameter(510_000));
I use Netehereum.Web3 version 3.2.0 and it talks with a Parity wallet version 2.4.1 in full archive mode
Does this have something to do with indexes not being set consitently on the Transfer events? What can I do to fix this?