How Streams API works

Intro

With the Moralis Streams API, you can stream blockchain data directly into your backend via webhooks.

Ethereum, Polygon, Avalanche, BNB Chain, Fantom, Cronos, Arbitrum, Ronin, and associated testnets are supported, with more networks to be added soon.

Stream Events

The Streams events are composed of 3 types:

  • Native Transaction (txs): Every interaction with the blockchain occurs through a transaction. It includes the total native value transferred and the details of the transaction.
  • Logs (logs): If the transaction above was an interaction with a contract address, the contract could emit logs broadcasting what happened in that interaction; each contract can decide whether or not to emit logs
  • Internal Transactions (txsinternal): During a contract interaction, the contract could be able to transfer additional native value between addresses because of the nature of the execution, the value transferred is not present in the Native Transaction and only be available through the Internal Transaction record

How Streams are priced

See Records and pricing

Streams API Resources

Below you'll find documentation covering how each part of Streams works - perfect if you're just starting out with the Streams API.

Streams API Overview

Learn about common use cases, features, and more in our overview.

Getting started quickly

If you want to try out Streams fast, check out our quickstart guide.