
EventStream is now available in every Crypto Chief project. It reads each new block on 14 mainnets and 10 testnets, checks it against the streams you define and delivers every match to your systems: a signed HTTPS webhook, a message in Telegram, Slack, Discord, PagerDuty or email, or a record in Amazon S3, PostgreSQL, Apache Kafka or ClickHouse.
A stream can follow wallet and token transfers, smart contract events and calls, failed transactions, token approvals, protocol actions on TRON and XRP Ledger, or every new block of a network. It runs on the project's API key and API Credits balance, with no separate plan. Pricing, payload examples and a comparison with other webhook providers are on the EventStream page. The API is described in the EventStream documentation.
Without a push service, an application finds on-chain events by polling: it asks a node for each new block, reads the transactions and logs, and keeps the ones that touch its addresses or contracts. On one EVM network that is a loop around eth_blockNumber and eth_getLogs. Every other chain family brings its own decoding rules and its own finality model. A stream takes that work out of your code:
| Task | Polling a node yourself | EventStream |
|---|---|---|
| Follow new blocks | A loop and a saved block cursor per network, plus catch-up after your service restarts | The stream covers every block after it is created; your server only receives events |
| Decode transfers | Separate code for ERC-20 logs, TRC-20 logs and internal TRX transfers, SPL token accounts, jetton wallets and UTXO outputs | One transfer format on every network: asset, amount in base units, sender, receiver and direction |
| Match your addresses | Compare every transfer in every block with your address list | Up to 5,000 addresses per stream and 50,000 per project, matched before delivery |
| Confirmations | Count blocks and apply each network's finality rule | found, confirmed and final stages with per-network defaults; your own confirmation count on EVM, TRON and Bitcoin-family networks |
| Chain reorganizations | Detect replaced blocks and work out what to undo | A reorged event lists the event IDs it cancels |
| Delivery to your services | Your own queue, retries and dead-letter handling | Up to 12 attempts within 24 hours, in order per stream and destination, with a 30-day delivery log |
| What you pay for | RPC calls for every block, with or without a match | Delivered matches only; blocks without matches cost nothing |
Polling still has its place. A stream covers blocks processed after it is created, so history from before that point, current balances and contract state are read on demand through the RPC Gateway with the same project key.
The launch covers six blockchain families. Every network has transfer events and new block events; contract events and calls are available on the EVM networks and TRON.
| Family | Mainnets | Testnets | Event types |
|---|---|---|---|
| EVM | Ethereum, BNB Smart Chain, Polygon, Arbitrum One, OP Mainnet, Avalanche C-Chain | Ethereum Sepolia, BSC Testnet, Polygon Amoy, Arbitrum Sepolia, OP Sepolia, Avalanche Fuji | Native coin transfers in top-level transactions, ERC-20 transfers, ERC-721 and ERC-1155 transfers, token approvals, contract events, contract calls, contract deployments, failed transactions, new blocks |
| TRON | TRON | TRON Nile | TRX transfers, including TRX sent by contracts, TRC-20 and TRC-721 transfers, approvals, contract events, calls and deployments, failed transactions, staking and resource delegation, votes, permission changes, new blocks |
| Solana | Solana | Not offered | SOL, SPL and Token-2022 transfers, inner instructions included, Metaplex, Metaplex Core and compressed NFT transfers, failed transactions, new blocks |
| TON | TON | TON Testnet | GRAM, jetton and NFT transfers, failed transactions, new masterchain blocks |
| XRP Ledger | XRP Ledger | XRP Testnet | XRP and issued-token payments, account, trust line, offer, escrow and NFT changes, failed transactions, new ledgers |
| Bitcoin family | Bitcoin, Litecoin, Dogecoin, Bitcoin Cash | Bitcoin testnet4 | A transfer for each transaction output, with all inputs and outputs of the transaction, new blocks |
Transfer events share one set of fields on every network, and the details of each chain stay in the payload: Bitcoin-family events carry the inputs and outputs, XRP Ledger payments carry the destination tag and the delivered amount, and GRAM transfers on TON carry their text comment. On Solana a token transfer names the owner wallet rather than its token account when the transaction lists the owner. On TON a jetton is selected by its master contract, so you list the token once instead of each holder's jetton wallet. The full matrix is in Networks and Event Types.
Each network also offers block.created: one event per block, per validated ledger on XRP Ledger and per masterchain block on TON. The payload holds the height, hash, parent hash, timestamp and transaction count. Use it to run a job on every block, to check that a chain keeps producing blocks, or to keep your own record of the chain head without polling each network. A stream with block.created covers one network, so following several chains takes one stream per chain. Each block is billed as an event, and a Solana block stream produces millions of events a month.
A stream's selection names the networks and event types, the addresses or watchlists, the token contracts or mints, the direction (incoming, outgoing or between your own addresses) and a minimum amount in base units. For contract monitoring it names up to 50 contracts, the event signatures and functions to follow, and optionally the ABI to decode their arguments. Large address sets live in watchlists that several streams can share.
Rules that a selection cannot express run as scripts in ESJS, a small expression language with exact decimal arithmetic and no loops, clock, network access or shared state. pre_filter and filter return true or false, and transform returns an object that arrives as transformed_payload next to the unchanged payload. A candidate dropped by a filter is neither delivered nor billed.
In a USDT stream with the found and confirmed stages, the filter below sends transfers under 1,000 USDT as soon as they are in a block and holds larger ones until they are confirmed. The transform reduces each event to the fields a queue consumer needs.
// filter
return event.stage !== "found" || num(payload.amount.raw) < num("1000000000");
// transform
return {tx: event.transaction.hash, to: payload.to, amount: payload.amount.raw};Syntax, functions and limits are in Filters with ESJS.
Templates build a stream from a few values: an incoming transfer above a threshold, any outgoing transfer from a wallet, an unlimited token approval granted by a wallet, Transfer or Approval logs of a contract, and failed transactions of a wallet. In Data Suite a new stream starts in Free preview: matches appear in Activity, and nothing is sent or charged until you switch the stream to Send to destinations. Over the API the same mode is delivery_policy.mode: "shadow".
A stream delivers to up to 10 destinations, and a match is billed as one event whatever their number.
For real-time wallet and transfer notifications, the stages map to what you tell the user: found shows a pending deposit, confirmed or final credits it, and reorged reverses an event whose block was replaced. Delivery is at least once, so a receiver stores event_id and skips repeats. Setup of each destination is described in Sink Types.
Every operation is a POST to https://api-eventstream.crypto-chief.com/v1/<operation>, signed with HMAC-SHA256 and the project's API key, the same scheme as the Crypto Processing API. Operations that change data also need an Idempotency-Key header. A typical setup:
capabilities returns the networks, event types, stages and limits available to the project.sinks/create registers a destination. For an HTTPS endpoint the response holds the signing secret, shown once.sinks/test sends a free system.test event, and deliveries/info shows what your endpoint answered.subscriptions/create creates the stream. It starts as pending and becomes active when capture begins.events/list and deliveries/list cover the last 30 days, and deliveries/resend sends a delivery again.This stream sends outgoing transfers of 10,000 USDT or more from a treasury address on Ethereum and Polygon to two destinations, for example PagerDuty and Kafka, as soon as they are in a block:
{
"name": "Treasury USDT outflows",
"selection": {
"networks": ["ETH_MAINNET", "POLYGON_MAINNET"],
"types": ["transfer.token"],
"addresses": [
{"network": "ETH_MAINNET", "address": "0x...treasury"},
{"network": "POLYGON_MAINNET", "address": "0x...treasury"}
],
"directions": ["out"],
"assets": [
{"network": "ETH_MAINNET", "kind": "token", "id": "0xdac17f958d2ee523a2206206994597c13d831ec7"},
{"network": "POLYGON_MAINNET", "kind": "token", "id": "0xc2132d05d31c914a87c6611c10748aeb04b58e8f"}
],
"minimum_raw": "10000000000",
"include_zero": false
},
"stages": ["found", "reorged"],
"confirmations": {},
"scripts": {"language": "esjs/1"},
"enrichment": {},
"sink_ids": ["<pagerduty sink_id>", "<kafka sink_id>"],
"limits": {"events_per_second": 10, "max_events_per_day": "1000", "max_source_credits_per_day": "0"},
"allow_partial_activation": false
}Your First Stream walks through the same calls in JavaScript, PHP, Go, Python and curl, and Verifying Signatures shows how to check a webhook. In Data Suite the same streams are built in a visual editor in the project's EventStream section.
Each project gets 10,000 events free every calendar month (UTC). After that an event costs $0.00005, or 500 API Credits. An event is one match by one stream: its found, confirmed, final and reorged stages count once, retries and test deliveries are free, and streams in Free preview cost nothing. A message to Telegram, Slack, Discord or PagerDuty adds $0.0001 and an email $0.001; webhooks, S3, PostgreSQL, Kafka and ClickHouse add nothing. The same balance pays for the RPC Gateway, Crypto Processing, AML checks and the Swap API. See EventStream pricing for worked examples.
A feed of on-chain events selected by rules you set and pushed to your systems as new blocks arrive. In EventStream a stream names the networks, event types, addresses or contracts and confirmation stages, and each match becomes an event sent to the stream's destinations.
Use a stream for what your application reacts to: deposits, outgoing payments, contract events, new blocks. Use RPC calls for reads on demand: balances, contract state and transactions from before the stream existed. Both work with the same project key.
Yes, up to 20 networks per stream, each with its own addresses and tokens. A stream of block.created events covers one network.
Yes. Each update creates a new revision of the stream. The previous revision covers blocks up to a height H and the new one starts at H+1, so no block is skipped or matched twice.