Displaying data from the site through the StreamElements overlay

Viewed 11

There is a task to get data from a statistics site, namely numbers, from a new block and display them in an overlay (as a notification, for a few seconds)

Statistics website https://tonwhales.com/explorer/address/ (maybe there are better ones)

This is probably the only service where you do not need to refresh the page to get a new block

In the image below, what the data looks like (only the numbers from the new 0.15 block are needed)

Statistics site

These numbers need to be shown via Custom widget - HTML, CSS and JavaScript

In the image below, what the StreamElements widget looks like

StreamElements menu

Custom widget

We need at least some code example that will show numbers from new blocks (0.15 new, 0.05 old), or an understanding that this can really work. The image below shows the final result (but only the numbers are needed for now)

Final result

Will help any information which statistics service is better, or which services have ready-made requests for receiving data, and whether it is possible to receive notifications in overlay StreamElements (is the overlay / widget itself capable of this)

0 Answers
Related