how to listen to real-time events on Sui #19494
Unanswered
NgocChung1998
asked this question in
Q&A
Replies: 0 comments
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.
-
Let me ask, how can I listen to real-time events on Sui? The documentation for Sui events is no longer usable. Is there an alternative method I can use? Thank you, everyone! I use nodejs
let unsubscribe = await client.subscribeEvent({
filter: {
MovePackagePublished: {
package: Package,
},
},
onMessage: (event) => {
console.log("subscribeEvent", JSON.stringify(event, null, 2));
},
});
Beta Was this translation helpful? Give feedback.
All reactions