Documentation Index
Fetch the complete documentation index at: https://helius-codex-token-transfer-filter-docs.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
What is transactionSubscribe?
The transactionSubscribe Enhanced WebSocket method enables real-time transaction events.
To use it, provide a TransactionSubscribeFilter and optionally include TransactionSubscribeOptions for further customization.
TransactionSubscribeFilter
vote: boolean flag to include/exclude vote-related transactionsfailed: boolean flag to include/exclude transactions that failedsignature: filters updates to a specific transaction based on its signatureaccountInclude: list of accounts for which you want to receive transaction updates. Only one of the accounts must be included in the transaction updates (e.g., Account 1 OR 2).accountExclude: list of accounts you want to exclude from transaction updatesaccountRequired: transactions must include all of the specified accounts to be included in updates (e.g., Account 1 AND 2)
TransactionSubscribeOptions (Optional)
commitment: commitment level for fetching data (processed,confirmed, orfinalized)encoding: encoding format of the returned data (base58,base64, orjsonParsed)transactionDetails: level of detail for the returned data (full,signatures,accountsandnone)showRewards: boolean flag indicating if reward data should be included in the updatesmaxSupportedTransactionVersion: specifies the highest version of transactions you want to receive updates from. To get both legacy and v0 transactions, set the value to0.
maxSupportedTransactionVersion is required to return the accounts and full-level details of a given transaction (i.e., transactionDetails: "accounts" | "full").Transaction Subscribe Example
In this example, we are subscribing to transactions that contain the Raydium account675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8.
When a transaction occurs that contains 675k...1Mp8 account in the accountKeys of the transaction, we will receive a WSS notification.
Based on the subscription options, the transaction notification will be sent at the processed commitment level,jsonParsed encoding, full transaction details, and will show rewards.
Example Notification
Monitoring new Jupiter DCAs
Jupiter DCA, or Dollar Cost Averaging, is a way to schedule recurring trades on Solana. Because these scheduled buy/sell orders are recorded on-chain, traders can use thetransactionSubscribe method and getAsset to listen for new orders.
Example Notification

Monitoring new pump.fun tokens
Example Notification

Managing Subscriptions
Subscription IDs
WhentransactionSubscribe succeeds, the server returns a subscription ID in the result field. This is the same number that appears in params.subscription on every notification from that subscription:
Unsubscribing
To stop receiving notifications, calltransactionUnsubscribe with the subscription ID. Each transactionSubscribe call on the same connection creates a separate subscription with its own ID, so make sure to unsubscribe before resubscribing to avoid receiving duplicate notifications.
transactionUnsubscribe. This is expected behavior.