At Anyblock Analytics, we understand that sometimes you need to monitor a blockchain constantly for a particular event. Whether an app developer or an enterprise, you need a flexible solution for real-time blockchain alerting and notifications.

That is why we created our smart alerting feature for you. Our alerting gives you the flexibility to monitor smart contracts and enable fully configurable push notifications.

If you’d rather watch than read, here’s the link to a video walk-through.

Now, let’s dive deep into our alerting feature.

How to turn on our blockchain alerting

Our alerting feature is accessible for everyone who has an account at Anyblock. The first step is to create an account if you haven’t done it already. Setting up a profile is easy via our web interface – fill out the details requested in the form. Your privacy is our main concern, and we protect it by all means.

The basic functionalities for our alerting feature are available for free, but having a paid account is recommended to unlock the full potential of this feature.

Within your profile, you can find the alerting feature in the top-right corner of your control panel. To add a new alert, simply click on the NEW button.

How to configure your blockchain alerting to your needs

Anyblock’s alerting is versatile and adjusts to your needs. You have to define some essential elements to set up a new alert.

First, give your alert a name – the function comes in handy if you have multiple alerts connected to your account.

Second, set the network of your choice. All of our alerts are attached to one specific network. Pick your preferred one from the dropdown menu of available networks. We are constantly onboarding new networks to our system.

Third, define the confirmation count, which is the block distance to trigger the alert. We recommend you set the counter to at least five (5) to avoid potentially misleading alerting in the case of blockchain reorganizations.

Lastly, set the status of your alert. You can predefine if you want to go live with your alert and receive notifications immediately or not. You are now ready to define the alert’s code via our web interface or API.

Working with alerting examples

Now that you configured the basics of your alerting, you need to create the code. You can do it via our simple graphical user interface or through our API. The two options have separate documentation: Alerting documentation and Alerting JSON Schema. For your convenience, we have also placed the links to the relevant documentation underneath the top of the editor.

Let’s focus on the alerting examples which we provide. Click on the documentation link and find the alerting examples section. Our alerting can track any token or other use cases, such as smart contract gas balances. The webhook notifications are generally the preferred way for developers, as it enables triggering IT workflows in existing systems or dapps. In addition to a webhook, your free account lets you receive notifications via Slack as well. If you want to receive email notifications, you must upgrade to a premium account at Anyblock.

To illustrate how you can work with the code, let’s look at the ERC-20 example which is an email alerting example. Find the ERC-20 alerting example in the documentation, check the sample code, and copy it to your clipboard. Go back to your alerting editor and paste the code.

First, you need to edit the email address as this will be where you will receive the notifications. Then edit the address hash to your needs – in our explainer video, we use Chainlink as a token example. Lastly, edit the wallet information. We use a node operator wallet in our video, but of course, you would use your address most often – any address can work, though.

If there is anything wrong with your code, the editor immediately lets you know with an error message. If everything seems fine to you, hit save and set your alert live. Once you have saved your code, your alert should appear on your alerting notifications list.

Monitoring your alerting

Once you have a saved alert, you can monitor its work via our interface.

You can turn the alert off, delete it entirely or edit it further. You can also track the number of transmitted alerts since it went live, the number of pending alerts, and the number of retried alerts. You will also receive the notifications on your preferred platform, in our ERC-20 example case, in your mailbox. The notification will contain the information specified as the payload in your configuration.

 

Video: How to work with Anyblock Blockchain Alerts?

Recap

In short, Anyblock offers a highly flexible and versatile alerting to those who want to monitor on-chain events in real-time for various purposes.

To set up a new alert, you have to sign up for an account at Anyblock. A free account lets you receive notifications via a webhook or Slack. For email alerts, you have to have a premium account.

You can configure the alerting to your needs via our graphical user interface or our API. To overcome the schema complexity, we have provided you with complete documentation, including alerting examples for different use cases.

If you have any questions, feel free to contact us. Our basic alerting feature is free to use.

Interested or questions?

 

Freddy Zwanzger
(Co-Founder & Chief Data Officer)
freddy@anyblockanalytics.com
+49 6131 3272372

    

Looking to create an Anyblock account? Takes seconds and it's free!

>> You can also browse related posts below or go back to all posts.

Pin It on Pinterest