We need to define a PendingChange type that can handle responses from eth_getFilterChanges for pending blocks, defined here
We also need to figure out how this fits into the Filter type, or doesnt -- maybe we need a Pending filter type wrapper?
then we can use pollFilter' to get pending changes. IMO this process should only accept a Pending to Pending block range, because all other cases are handled by event'
We need to define a
PendingChange
type that can handle responses frometh_getFilterChanges
for pending blocks, defined hereWe also need to figure out how this fits into the
Filter
type, or doesnt -- maybe we need aPending
filter type wrapper?then we can use pollFilter' to get pending changes. IMO this process should only accept a
Pending
toPending
block range, because all other cases are handled byevent'