{blockchain}.broadcast.transactions
The {blockchain}.broadcast.transactions subscription provides real-time notifications for transactions broadcasted to the Solana blockchain via a WebSocket connection.
Subscription Overview
Connection Address:
wss://stream.saturnx.dev/skt
Type: WebSocket Subscription
Topic:
{blockchain}.broadcast.transactions
Purpose: Receive real-time transaction data broadcasted on the Solana network.
Response Type: JSON object containing transaction details.
Subscription Setup
Connection Details
Endpoint:
wss://stream.saturnx.dev/skt
Protocol: WebSocket (WSS for secure connection)
Authentication: Requires an
apiKey
in the subscription request.
Subscription Request
To subscribe, send the following JSON message after establishing the WebSocket connection:
Field
Type
Required
Description
Example Value
type
String
Yes
Action type (must be "subscribe")
subscribe
topic
String
Yes
Subscription topic
{blockchain}.broadcast.transactions
apiKey
String
Yes
API key for authentication
Response FormatOnce subscribed, the server will push real-time transaction data in the following JSON format:json
Field
Type
Description
blockTime
String
UTC timestamp of the transaction’s block in ISO 8601 format (e.g.,YYYY-MM-DDThh:mm:ssZ).
dexAddress
String
Address of the decentralized exchange (DEX) involved in the transaction.
dexName
String
Name of the DEX (e.g., "raydium_amm").
dexProtocol
String
Protocol used by the DEX (e.g., "Raydium").
inputAmount
String
Amount of the input token in the transaction, as a string for precision.
inputName
String
Name of the input token (e.g., "NEW SOLANA PUPPY").
inputPrice
String
Price per unit of the input token, as a string for precision.
inputPriceUsd
String
USD value of the input token at the time of the transaction.
inputSymbol
String
Ticker symbol of the input token (e.g., "TEDDY").
inputToken
String
Address of the input token on the blockchain.
isSuccess
Boolean
Indicates if the transaction was successful (true) or failed (false).
outputAmount
String
Amount of the output token in the transaction, as a string for precision.
outputName
String
Name of the output token (e.g., "Wrapped Solana").
outputPrice
String
Price per unit of the output token, as a string for precision.
outputPriceUsd
String
USD value of the output token at the time of the transaction.
outputSymbol
String
Ticker symbol of the output token (e.g., "WSOL").
outputToken
String
Address of the output token on the blockchain.
outputTokenFromAccount
String
Account from which the output token was sourced.
ownerAccount
String
Account that initiated or owns the transaction.
signature
String
Unique cryptographic signature of the transaction for verification.
Last updated