Sui.

Post

Share your knowledge.

Dominikus .
Jan 04, 2025
Discussion

How to watch contract events fast like Ethereum?

I've been trying to find a way to watch emitting events in my contract as quickly on another blockchain as it is on Ethereum. I am exploring options like using websockets for real-time tracking. Is there any solution or alternative available?

  • Sui
0
1
Share
Comments
.

Answers

1
LargeCappWithTwo.
Jan 4 2025, 15:22

We recommend polling for events. Websockets are disabled by default on the Mysten public nodes, but there might be some other RPCs which still offer websockets. You can start by checking different RPC providers. Here's a useful link to explore a list of RPCs: https://sui.io/developers

0
Comments
.

Do you know the answer?

Please log in and share it.

We use cookies to ensure you get the best experience on our website.
More info