Skip to main content

What is a record? (Streams API)

Written by Iulian Novenschi

A record is the unit used to calculate Moralis Streams usage. Each charged record costs 10 Compute Units (CUs). The x-records-charged header shows how many records a webhook delivery was charged for.

Only a confirmed: true webhook is charged. The earlier confirmed: false delivery has x-records-charged: 0.

  • EVM: A record is a native transaction in txs, a log in logs, or an internal transaction in txsInternal. The record count is the sum of these three arrays. Decoded fields such as erc20Transfers and nftTransfers do not add records.

  • Bitcoin and Solana: A record is a matched transaction; these payloads do not use EVM logs or internal transactions.

Use the current Streams pricing and record guide for examples, chain-specific rules, and the Get Stats endpoint. You can also review usage in the Moralis Dashboard.

Did this answer your question?