AsyncAPI channel · Starknet · Starknet WebSocket RPC API

starknet_subscribeTransactionStatus

Creates a WebSocket stream that first emits the current known status of the supplied `transaction_hash` and then emits an event for every subsequent status change, until the transaction is final (ACCEPTED_ON_L1) or the subscription is closed. Notifications are delivered via `starknet_subscriptionTransactionStatus`.

Provider: Starknet AsyncAPI: v2.6.0 Spec: Starknet WebSocket RPC API Operations: 2 Messages: 5

Channel address

starknet_subscribeTransactionStatus

Operations

publish
subscribeTransactionStatus
Subscribe to status updates for a specific transaction hash.
onSubscribeTransactionStatusResponse
Receive subscription id, status notifications, or reorg notifications.

Messages

SubscribeTransactionStatusRequest
JSON-RPC request opening a transaction-status subscription.
Content-Type: application/json
SubscriptionIdResponse
Returned by the server in response to any successful `starknet_subscribe*` request; the `result` is the assigned `subscription_id` which is echoed in every subsequent notification.
Content-Type: application/json
SubscriptionTransactionStatusNotification
Server-pushed notification carrying an updated transaction status.
Content-Type: application/json
SubscriptionReorgNotification
Server-pushed notification that the chain has reorganized. Can be emitted on subscriptions of type newHeads, Events, TransactionStatus, NewTransactionReceipts, and NewTransactions.
Content-Type: application/json
JsonRpcErrorResponse
Returned when a `starknet_subscribe*` or `starknet_unsubscribe` request fails. Error codes defined by the WebSocket spec include INVALID_SUBSCRIPTION_ID (66), TOO_MANY_ADDRESSES_IN_FILTER (67), and TO
Content-Type: application/json

About AsyncAPI

The AsyncAPI specification describes event-driven APIs the way OpenAPI describes request/response APIs. A channel is the named pipe — a webhook URL, a Kafka topic, a WebSocket route, an MQTT subject — that producers and consumers publish or subscribe to. Each channel carries one or more messages with structured payloads, and an operation declares whether a given party sends or receives on that channel.

Browse every event-driven channel on the APIs.io network or compare with the broader Naftiko capability, Agent Skill, and MCP server surfaces of the same providers.