Skip to main content

starknet_subscribePendingTransactions RPC Method

Creates a WebSocket stream which will fire events when a new pending transaction is added. While there is no mempool, this notifies of transactions in the pending block.

Updated on
Jul 30, 2026

Deprecation Notice: This method was removed in Starknet JSON-RPC 0.9 and now returns -32601 Method not found. The specification replaces it with starknet_subscribeNewTransactions and starknet_subscribeNewTransactionReceipts, which are not yet available on Quicknode endpoints.

Parameters

transaction_details
boolean

Get all transaction details, and not only the hash. If not provided, only hash is returned. Default is false

sender_address
array

Filter transactions to only receive notification from address list

Returns

SUBSCRIPTION_ID
string

An identifier for this subscription stream used to associate pending transaction events with this subscription

Request
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free