Skip to main content
2 of 2
clarify
eth
  • 86.5k
  • 53
  • 287
  • 411

Filters: what's "latest" and "pending"?

I want to monitor accounts for incoming transactions (RPC/IPC API) and call a function whenever any one of a number of monitored accounts receives ether which is "confirmed", as in, "sufficiently many blocks ago that the chances of double-spending are negligible".

Is there a reference implementation of this?

I'm looking into filters and the words "pending" and "latest" keep cropping up. What do they mean?

spraff
  • 645
  • 1
  • 10
  • 22