Replies: 2 comments
-
This is not a valid event type in v5. In v4 this was possible, but the method was not reliable, as it simply polled for balance changes on each block, but if an equal amount was sent and received within the same block, this would not trigger. If you need this functionality, you can do the same; set up a handler for Does that make sense? |
Beta Was this translation helpful? Give feedback.
0 replies
-
I did exaclty the same logic, as you advised before the issue ;) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Note: Not all sections may be relevant, but please be as thorough while remaining concise as possible. Remove this Notice and any sections that don't feel pertinent.
If you are unsure if something is a bug, start a thread in the "discussions" tab above..
Describe the bug
A clear and concise description of what the bug is.
When using ethers.providers.WebSocketProvider as a provider, and setting up listener to catch a address balance change, the callback never fires
Reproduction steps
Please include code snippets, with console.log output, any contract ABI, contract address, network and the full error.
create any wallet, setup an event listener
Environment:
Please include anything that may be useful in diagnosing the issue. Node vs Browser? Geth vs Parity vs Ganache? Third Party tools, like Hardhat? Mobile vs. Desktop?
Chrome, Geth (with WebSocket support)
Search Terms
Often similar issues have come up before. Include any search terms you have tried in this repository's Issues (including closed issues) and "Discussions", so if there are matching issues, we can be sure to add those keywords and link this issue to it, making it easier for people to find in the future.
Beta Was this translation helpful? Give feedback.
All reactions