-
Notifications
You must be signed in to change notification settings - Fork 5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How can I subscribe to all ether transaction events #1145
Comments
Ok, I think the answer was this one
Got confused due to #1144 |
This doesn't seem to work for me using geth 1.7.2 stable version. I get the following error after running this via node
My script is
|
how did you get it to work @kot-begemot ? |
@raahil190 you might be missing core cors for ws port. Here is how I start my client
|
@kot-begemot I can't seem to get it to work without the |
@raahil190 Depends on your setup. Do you plan to make it available to whole internet? |
No - I plan to use it myself only. But if I don't use |
Maybe same error, when I start geth in docker. Without "--wsorigins *", I got |
web3.js
version: 1.0.0-beta.24
I want to listen all ether transaction events and then write them into database once transferred value is bigger than 0. I went multiple times though the (documentation)[https://web3js.readthedocs.io/en/1.0/web3-eth.html#id56]. Can you point me the a page or tell where can I find any info about that?
The text was updated successfully, but these errors were encountered: