MultiversX Tracker is Live!

How to get events pushed instead of polling in Ethereum?

Etherum Reddit

More / Etherum Reddit 111 Views

I am trying to see how I can subscribe to an events on the Ethereum blockchain and I can only see polling mechanism and no push mechansim

I am look at the documentation for the JSON RPC endpoints here https://ethereum.github.io/execution-apis/api-documentation/

I can see given the combination of eth_newFilter, eth_getFilterChanges, eth_getFilterLogs, it is possible to register a filter on an RPC node and poll for changes.

What if I dont want to poll but require a push mechanism? How can that be done? I dont see any endpoint with names containing things like subscribe, listen etc so not sure how to go about this.

submitted by /u/finlaydotweber
[link] [comments]
Get BONUS $200 for FREE!

You can get bonuses upto $100 FREE BONUS when you:
πŸ’° Install these recommended apps:
πŸ’² SocialGood - 100% Crypto Back on Everyday Shopping
πŸ’² xPortal - The DeFi For The Next Billion
πŸ’² CryptoTab Browser - Lightweight, fast, and ready to mine!
πŸ’° Register on these recommended exchanges:
🟑 Binance🟑 Bitfinex🟑 Bitmart🟑 Bittrex🟑 Bitget
🟑 CoinEx🟑 Crypto.com🟑 Gate.io🟑 Huobi🟑 Kucoin.



Comments