Sui.

Post

Share your knowledge.

Dominikus .
Jan 04, 2025
Expert Q&A

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

1
Best Answer
Comments
.

Do you know the answer?

Please log in and share it.

Sui is a Layer 1 protocol blockchain designed as the first internet-scale programmable blockchain platform.

610Posts1335Answers
Sui.X.Peera.

Earn Your Share of 1000 Sui

Gain Reputation Points & Get Rewards for Helping the Sui Community Grow.

Reward CampaignJuly