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
Jun 13, 2025

starknet_subscribePendingTransactions RPC Method

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