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

API Suggestions #91

Open
Slixe opened this issue Aug 28, 2022 · 0 comments
Open

API Suggestions #91

Slixe opened this issue Aug 28, 2022 · 0 comments

Comments

@Slixe
Copy link
Contributor

Slixe commented Aug 28, 2022

To facilitate the development of dApps / services and others, the implementation of a WebSocket in the API would allow to create even-based applications / services.

We connect to the WebSocket of the daemon API, and we send a message in json format with the name of the event to which we want to subscribe.

The available events would be:

  • the appearance of a new confirmed block on the network
  • A transaction added in the mempool / regpool

The API by WebSocket should also be available on the wallet API, in order to have the following events:

  • Detection of a new incoming transaction
  • Detection of a new block height
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

1 participant