If I create a filter with the same parameters twice in a row, I get different filter IDs. Is the ID deterministic? If so, how is it generated?


The filter ID is an integer, and is incremented for each newly created filter, regardless of the parameters it's created with.

See also the following previous thread: What's the maximum number of filters geth can hold and what happens when this maximum is met?

  • very well versed answer on filters, thank you for that. Would you happen to notice what I am doing wrong with my filter code on this question?: ethereum.stackexchange.com/questions/22954/…
    – Webeng
    Jul 24 '17 at 22:38
  • Apologies for the late reply on this - did you solve the filter issue in the end? Jul 30 '17 at 15:25
  • Hey sorry for the late reply to your reply :P, no I didn't solve the issue, wrote different questions trying to debug it with different angles, but no solution yet. Would you happen to know what it might be?
    – Webeng
    Aug 2 '17 at 15:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.