Starkware · AsyncAPI Specification
Starkware Websocket Events
Version
View Spec
View on GitHub
CompanyBlockchainEthereumLayer 2ZK-RollupZero-Knowledge ProofsJSON-RPCCryptographyCairoWeb3ScalingStarknetAsyncAPIWebhooksEvents
AsyncAPI Specification
generated: '2026-07-21'
method: derived
spec_type: Webhooks
source: openrpc/starkware-starknet_ws_api.json
summary: >-
Starknet exposes a real-time event surface via a JSON-RPC WebSocket API
(spec 0.10.4-rc.0). Clients subscribe to on-chain streams and receive
subscription notifications; this is the provider's push/streaming surface
(not HTTP webhooks, not a published AsyncAPI document). Captured here as an
event catalog so the event surface is represented.
transport: websocket-jsonrpc
subscriptions:
- name: newHeads
subscribe_method: starknet_subscribeNewHeads
notification: starknet_subscriptionNewHeads
description: New block headers as they are produced.
- name: events
subscribe_method: starknet_subscribeEvents
notification: starknet_subscriptionEvents
description: Contract events matching an address/keys filter.
- name: transactionStatus
subscribe_method: starknet_subscribeTransactionStatus
notification: starknet_subscriptionTransactionStatus
description: Status transitions for a given transaction hash.
- name: newTransactionReceipts
subscribe_method: starknet_subscribeNewTransactionReceipts
notification: starknet_subscriptionNewTransactionReceipts
description: Receipts for newly included transactions.
- name: newTransactions
subscribe_method: starknet_subscribeNewTransactions
notification: starknet_subscriptionNewTransaction
description: Newly received transactions (mempool).
control:
- {name: reorg, notification: starknet_subscriptionReorg, description: Chain reorganization notice on an active subscription.}
- {name: unsubscribe, method: starknet_unsubscribe, description: Cancel an active subscription by id.}
Work with this as data
Every AsyncAPI spec here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for asyncapi
4 MCP tools reach this
find_asyncapisBrowse and filter every AsyncAPI spec in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This AsyncAPI spec
curl "https://apis.io/api/v1/asyncapis/starkware-websocket-events"
All asyncapi
curl "https://apis.io/api/v1/asyncapis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.