[Application Development] How to enable "eth_subscribe" interface? #144
Replies: 2 comments
-
|
You can't use eth_subscribe on an |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Thanks @mslipper , I could use it now :) |
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.
-
Did you check the documentation?
Did you check for duplicate questions?
Issue Description
I tried "eth_subscribe" interface in my private deployed OP Stack rollup, it replyed "notifications not supported", Is there anyway I can enable this interface? thanks.
Additional Information
Here's the interactions:
Request:
curl -X POST -H "Content-Type: application/json" --data '{ "id": 1, "jsonrpc": "2.0", "method": "eth_subscribe", "params": ["newHeads"] }' http://xx.xx.xx.xx:8545
Response:
{"jsonrpc":"2.0","id":1,"error":{"code":-32601,"message":"notifications not supported"}}
Feedback
No response
Beta Was this translation helpful? Give feedback.
All reactions