Transaction Streamer

The StreamTransactions method is a gRPC-based stream that returns all transactions on the Solana network in real-time. It supports optional filtering by account addresses.

This method is ideal for users who want access to all observed transactions (or transactions involving specific accounts) for monitoring, analytics, or MEV use cases.

The Transaction Streamer is available to Enterprise-Elite and Ultra tiers

Available Endpoints

Select the DNS that corresponds to the region closest to you:

  • Amsterdam: amsterdam.solana-txs.blxrbdn.com:50051

  • Frankfurt: frankfurt.solana-txs.blxrbdn.com:50051

  • New York: ny.solana-txs.blxrbdn.com:50051

  • Tokyo: tokyo.solana-txs.blxrbdn.com:50051

Request

The StreamTransactions method is invoked over gRPC using the proto definition available in the solana-tx-streamer-proto GitHub repository.

Parameters

Name
Type
Required
Description

accounts

string[]

No

Optional list of Solana account addresses (base58). If provided, the stream returns only transactions involving these accounts. If omitted, all transactions are streamed.

Headers

Header
Value
Required
Description

authorization

<AUTH_HEADER>

Yes

Authorization header

Example Request, with account filtering

grpcurl \
  -H 'authorization: <AUTH_HEADER>' \
  -proto proto/tx_streamer.proto \
  -d '{
    "accounts": [
      "srmqPvymJeFKQ4zGQed1GFppgkRHL9kaELCbyksJtPX",
      "675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8",
      "5Q544fKrFoe6tsEbD7S8EmxGTJYAKtTVhAW5Q5pge4j1"
    ]
  }' \
  -plaintext \
  frankfurt.solana-txs.blxrbdn.com:50051 \
  tx_streamer.TxStreamerService/StreamTransactions

Example Request, without account filtering (receive all transactions)

grpcurl \
  -H 'authorization: <AUTH_HEADER>' \
  -proto proto/tx_streamer.proto \
  -plaintext \
  frankfurt.solana-txs.blxrbdn.com:50051 \
  tx_streamer.TxStreamerService/StreamTransactions

Response

Field Name
Description

signature

Transaction signature

data

Raw transaction bytes in base 64 encoding format

slot

Slot number

unverified_match

Boolean flag indicating that the streamer can not precisely confirm this message matches the provided filter (e.g. accounts). If true, the transaction might still meet the filter condition, but the streamer cannot yet verify it due to incomplete data or timing. If false, the streamer has confirmed the transaction meets the filter condition.

The response is a stream of raw Solana transactions serialized according to the .proto schema. These can be parsed using the Solana SDK or other compatible decoding tools. More information about the response message format can be found in the tx_streamer.proto file.

Last updated