I have referred, Web3 Events, but filters object is not working for me, I've got the same result for events before and after applying filter object.
Here's the code:
instance.getPastEvents(
"Transfer",
{filter: {value: [117,50]}},
{ fromBlock: 0 , toBlock: "latest" },
(errors, events) => {
if (!errors) {
console.log(events);
}
}
);
What does that filter object really means, According to documentations and references it is custom fields but it must be object parameters.
Suggestion needed to correct the filters use.