derohe
derohe copied to clipboard
API Suggestions
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