Notify Custom Webhooks - Real-Time Data with Moralis Streams

March 14, 2023

Notify Custom Webhooks – Real-Time Data with Moralis Streams

Check out Moralis’ Streams API for the best way to work with real-time blockchain data!

With Moralis Streams, developers can easily get real-time blockchain data. This free tool especially shines when compared to similar, more limited options, such as Alchemy’s Notify Custom Webhooks. But don’t just take our word for it. In this article, discover why Moralis Streams is the premier Web3 real-time data listener. Also, learn how to leverage this enterprise-grade Web3 API to set up streams in minutes! Here is an example illustrating how easy Streams makes it to monitor wallet activity based on an address:

import Moralis from 'moralis';
import { EvmChain } from "@moralisweb3/common-evm-utils";

Moralis.start({
    apiKey: 'YOUR_API_KEY',
});

const stream = {
    chains: [EvmChain.ETHEREUM, EvmChain.POLYGON], // List of blockchains to monitor
    description: "monitor Bob’s wallet", // Your description
    tag: "bob", // Give it a tag
    webhookUrl: "https://YOUR_WEBHOOK_URL", // Webhook URL to receive events
}

const newStream = await Moralis.Streams.add(stream);
const { id } = newStream.toJSON(); // { id: 'YOUR_STREAM_ID', ...newStream }

// Now we attach Bobs address to the stream
const address = "0x68b3f12d6e8d85a8d3dbbc15bba9dc5103b888a4";
await Moralis.Streams.addAddress({ address, id });

Moralis Streams offers all the functionality of Notify webhooks. Plus, it doesn’t require you to request beta access. Moreover, Moralis Streams has already proven to be a reliable Web3 data tool powering some of the industry’s biggest projects since its launch in mid-2022! This means you can rest safely knowing Moralis Streams offer all the functionality of Notify Custom Webhooks in a reliable package that works for real-world use cases! Therefore, if you’ve been interested in Notify Custom Webhooks, you should make sure to sign up for Moralis Streams!

Overview

This article will start by diving into the intricacies of Notify Custom Webhooks from Alchemy, which currently remains in beta testing. From there, we take the following section to explore the best Notify Custom Webhooks alternative: Moralis Streams! In combination with exploring both options, we will also compare Moralis Streams vs Notify Custom Webhooks. This will highlight the differences between the alternatives and some of the reasons why seasoned devs prefer using Web3 streams vs Notify webhooks, according to a wealth of testimonials.

What is Notify Custom Webhooks?

Notify Custom Webhooks is Alchemy’s recently announced real-time data solution within the Notify suite. The Notify Custom Webhooks solution remains in beta, and through this service, Alchemy suggests that users can track smart contract or marketplace activity, monitor oracle updates or contract creation, and apply filters to get the data they are looking for.

According to Alchemy’s website, this Notify webhooks solution is their answer to the challenges associated with Web3 data. Blockchain data is central to Web3 development; however, accessing this information and getting the specific data you are after can be challenging. So, how is Alchemy looking to solve this problem?

Alchemy suggests that the Notify Custom Webhooks solution tackle the blockchain data accessibility challenges through two central dimensions: control and flexibility. Let’s take a closer look at these:

Access Data with Notify Custom Webhooks

With a better understanding of what a Notify Custom Webhooks solution entails, let us look closer at the data you can acquire and how it can be used. Here are three examples of on-chain data you can get:

  1. Token Activity – You will be able to get token-related activity through Notify webhooks. This includes staking, transfers, mints, burns, etc.
  2. Marketplace Activity – In the future, you can track marketplace activity at the level of detail that suits your projects.
  3. Data Ingestion – You will be able to ingest any useful data stream for your project.

Notify Custom Webhooks vs Moralis Streams

Through the Notify Custom Webhooks real-time data solution, Alchemy is looking to provide a similar service to Moralis Streams. Moralis Streams is the premier Web3 real-time data listener. With the Web3 Streams API, you can seamlessly set up streams to funnel blockchain data into the backend of all your projects via Web3 webhooks. This means you can receive instant, customizable updates when important events trigger on-chain!

Moralis Streams support all types of events, NFTs, fungible tokens, DeFi transfers, smart contracts, wallets, and much more! Here are five examples of Moralis Streams’ most prominent features:

Moralis Streams Use Cases

With a more profound understanding of the premier Moralis Streams real-time data solution, let us explore three prominent use cases:

  1. Get User Asset Transfers – With Moralis Streams, you can effortlessly monitor and track your users’ balances and transactions. Stream any on-chain event, including NFTs, DeFi transactions, tokens, etc.
  2. Notify Users Automatically– Optimize user engagement with real-time notifications. Stay ahead of your competitors with seamless real-time notifications and updates for wallets or users. What’s more, set up filters to only monitor relevant blockchain events.
  3. The Fastest Way to Get Smart Contract Events – Track particular on-chain events and contracts seamlessly. All you need to do is input the contract you are interested in, add your ABI, and set up custom data filters on metadata and topics to receive events, addresses, interactions, and much more!

Benefits of Moralis Streams

By opting for the Streams API, Moralis does all the heavy lifting for you. Consequently, you can save both valuable time and resources. Here are three ways in which Moralis Streams benefit you:

Alchemy’s Notify Custom Webhooks and Web3 Tools Comparison

First of all, the most significant difference between Notify webhooks from Alchemy and Moralis Streams is that the latter is fully up and running. As we mentioned in the introduction, Notify webhooks are still in beta. On the other hand, Moralis Streams launched last year in October and has been operational since. So, if you want to access real-time blockchain data today, your best option is, without a doubt, Moralis Streams!

To summarize, Moralis Streams offers all the functionality of Notify webhooks, does not require you to request beta access, and Moralis has been around since last year. Consequently, by opting for Moralis, you can be confident in knowing Moralis Streams provide all the functionality of Notify Custom Webhooks in a trusted and tested package that works for real-world use cases and several additional blockchain networks!