Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to listen event at javascript client? #33

Closed
lwgo2050 opened this issue May 11, 2018 · 1 comment
Closed

how to listen event at javascript client? #33

lwgo2050 opened this issue May 11, 2018 · 1 comment

Comments

@lwgo2050
Copy link

Write Smart Constract like this Event.trigger(...),but how to listen the event?
does there have method like solididy "event.watch()"?

@yupnano
Copy link
Contributor

yupnano commented May 11, 2018

you can use GetEventsByHash to fetch the event of this transaction. Or use Subscribe to subscribe for events of a specified event topic.

@yupnano yupnano closed this as completed May 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants