Connect a Pulse gRPC Client with raiden_binary
Register your IP, connect to port 16000 over plaintext gRPC and subscribe with raiden_binary.proto
Raiden Pulse streams transactions decoded from Solana shreds over gRPC, filtered by account on Raiden’s side, before the block is confirmed. Product page: decoded shreds (Raiden Pulse) .
1. Get Access
Open the Pulse page of the dashboard (sign in with Discord), pick a region (FRA, AMS or NYC) and enter the public IP your client will connect from. Then either:
- Start a free trial: 3 hours, once per region per account, no payment. Every trial request is reviewed by hand: after submitting it, open a ticket on Discord . The 3 hours start once the trial is approved. An IP that another account already used for a trial can’t start a new one, and there is no trial in a region where you already hold a live subscription.
- Buy a pass: 1 day, 7 days or 30 days per region, paid in USDC on Solana. See Pricing.
Plans and trial terms: Solana shred stream pricing and free trial .
2. Get Your Endpoint
| Region | Endpoint |
|---|---|
| FRA | http://fra.pulse.raiden.wtf:16000 |
| AMS | http://ams.pulse.raiden.wtf:16000 |
| NYC | http://nyc.pulse.raiden.wtf:16000 |
Each region requires a separate subscription. Port 16000 serves plaintext gRPC: use the http:// scheme in clients that take a URI (Rust), grpc.insecure_channel in Python and credentials.createInsecure() in Node. A TLS connection fails the handshake.
3. Authorisation
Pulse authorises by source IP. The IP you register in the dashboard is allowlisted on that region’s gateway: there is no token and no auth metadata to send.
- Connect from the registered IP, not through a NAT, proxy or VPN that changes it.
- A subscription covers one IP in one region, and an IP can carry only one active Pulse subscription.
- You can change the registered IP from the dashboard. There is a 60-second cooldown between changes.
An unregistered source IP gets PERMISSION_DENIED: ip <your IP> not whitelisted; see Troubleshooting.
4. Protocol
- Proto:
raiden_binary.proto, printed in full below. Save it asproto/raiden_binary.proto. - Service:
raiden_binary.RaidenBinaryService - RPC:
SubscribeBinaryTransactions, bidirectional streaming. Send your filters as the first request and keep the request side open: a request stream that ends half-closes the subscription. - Filters: named entries in the
transactionsmap, each withaccount_include,account_excludeandaccount_required. - Payload:
binary_transaction, a bincode-encoded SolanaVersionedTransaction, with itssignatures, theslot, the accounts resolved from address lookup tables and the names of the filters it matched.
Pulse no longer serves shreder_binary.ShrederBinaryService. A client generated from shreder_binary.proto gets UNIMPLEMENTED: see Migrating.
5. Connect
Each sample subscribes to transactions that touch the pump.fun program (6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P) in FRA. Run it from your registered IP.
Rust (tonic)
Cargo.toml:
[dependencies]
tonic = "0.12"
prost = "0.13"
prost-types = "0.13"
tokio = { version = "1", features = ["rt-multi-thread", "macros"] }
tokio-stream = "0.1"
bs58 = "0.5"
[build-dependencies]
tonic-build = "0.12"
protox = "0.7"build.rs:
fn main() -> Result<(), Box<dyn std::error::Error>> {
// protox compiles the .proto in pure Rust, so no protoc install is needed
let fds = protox::compile(["proto/raiden_binary.proto"], ["proto"])?;
tonic_build::configure().build_server(false).compile_fds(fds)?;
Ok(())
}src/main.rs:
pub mod raiden_binary {
tonic::include_proto!("raiden_binary");
}
use raiden_binary::{
raiden_binary_service_client::RaidenBinaryServiceClient, SubscribeBinaryTransactionsRequest,
SubscribeRequestFilterBinaryTransactions,
};
use std::collections::HashMap;
use tokio_stream::StreamExt;
#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
// plaintext gRPC: your registered source IP is the credential
let mut client = RaidenBinaryServiceClient::connect("http://fra.pulse.raiden.wtf:16000").await?;
let filter = SubscribeRequestFilterBinaryTransactions {
account_include: vec![],
account_exclude: vec![],
account_required: vec!["6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P".into()], // pump.fun
};
let request = SubscribeBinaryTransactionsRequest {
transactions: HashMap::from([("pumpfun".to_string(), filter)]),
};
// send one request, then keep the request stream open (closing it ends the subscription)
let outbound = tokio_stream::iter(vec![request]).chain(tokio_stream::pending());
let mut stream = client.subscribe_binary_transactions(outbound).await?.into_inner();
while let Some(resp) = stream.message().await? {
let Some(update) = resp.transaction else { continue };
let Some(tx) = update.transaction else { continue };
let sig = tx.signatures.first().map(|s| bs58::encode(s).into_string()).unwrap_or_default();
// tx.binary_transaction is one bincode-serialized VersionedTransaction
println!(
"slot={} sig={} filters={:?} bytes={} alt_writable={} alt_readonly={}",
update.slot,
sig,
resp.filters,
tx.binary_transaction.len(),
update.loaded_writable_addresses.len(),
update.loaded_readonly_addresses.len(),
);
}
Ok(())
}Pin these versions: tonic 0.14 moved code generation to tonic-prost-build, and this build.rs does not build with it.
Python (grpcio + protobuf)
pip install grpcio grpcio-tools solders
python -m grpc_tools.protoc -Iproto --python_out=. --grpc_python_out=. proto/raiden_binary.protoimport queue
import grpc
from solders.transaction import VersionedTransaction
from raiden_binary_pb2 import SubscribeBinaryTransactionsRequest, SubscribeRequestFilterBinaryTransactions
from raiden_binary_pb2_grpc import RaidenBinaryServiceStub
PUMPFUN = "6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P"
requests = queue.Queue()
requests.put(SubscribeBinaryTransactionsRequest(transactions={
"pumpfun": SubscribeRequestFilterBinaryTransactions(account_required=[PUMPFUN]),
}))
def request_iter():
# keep the request stream open: returning from this generator ends the subscription
while True:
yield requests.get()
# plaintext gRPC: your registered source IP is the credential
stub = RaidenBinaryServiceStub(grpc.insecure_channel("fra.pulse.raiden.wtf:16000"))
try:
for resp in stub.SubscribeBinaryTransactions(request_iter()):
if not resp.HasField("transaction") or not resp.transaction.HasField("transaction"):
continue
upd = resp.transaction
# binary_transaction is one bincode-serialized VersionedTransaction
tx = VersionedTransaction.from_bytes(upd.transaction.binary_transaction)
print(upd.slot, list(resp.filters), tx.signatures[0],
len(upd.loaded_writable_addresses), len(upd.loaded_readonly_addresses))
except grpc.RpcError as e:
print("rpc error:", e.code().name, e.details())TypeScript (@grpc/grpc-js)
npm i @grpc/grpc-js @grpc/proto-loader bs58
npx proto-loader-gen-types --keepCase --longs=String --defaults --grpcLib=@grpc/grpc-js --includeDirs=proto --outDir=generated raiden_binary.protopulse.ts:
import * as grpc from '@grpc/grpc-js';
import * as protoLoader from '@grpc/proto-loader';
import bs58 from 'bs58';
import type { ProtoGrpcType } from './generated/raiden_binary';
import type { SubscribeBinaryTransactionsResponse__Output } from './generated/raiden_binary/SubscribeBinaryTransactionsResponse';
const def = protoLoader.loadSync('raiden_binary.proto', { includeDirs: ['proto'], keepCase: true, longs: String, defaults: true });
const proto = grpc.loadPackageDefinition(def) as unknown as ProtoGrpcType;
// plaintext gRPC: your registered source IP is the credential
const client = new proto.raiden_binary.RaidenBinaryService('fra.pulse.raiden.wtf:16000', grpc.credentials.createInsecure());
const stream = client.SubscribeBinaryTransactions();
stream.on('data', (resp: SubscribeBinaryTransactionsResponse__Output) => {
const update = resp.transaction;
const tx = update?.transaction;
if (!update || !tx) return;
const sig = tx.signatures.length ? bs58.encode(tx.signatures[0]) : '-';
// tx.binary_transaction is one bincode-serialized VersionedTransaction
console.log(`slot=${update.slot} sig=${sig} filters=${resp.filters} bytes=${tx.binary_transaction.length} alt_writable=${update.loaded_writable_addresses.length}`);
});
stream.on('error', (e: grpc.ServiceError) => console.error('rpc error:', grpc.status[e.code], e.details));
// send one request and leave the stream open: ending it closes the subscription
stream.write({ transactions: { pumpfun: { account_required: ['6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P'] } } });Set "type": "module" in package.json and run it with npx tsx pulse.ts, or with node pulse.ts on Node 23.6 or later. To type-check with tsc, use "moduleResolution": "bundler": the generated files import each other without file extensions, which nodenext rejects. Always attach the error listener: without it, a PERMISSION_DENIED ends the process.
6. Filtering
Every subscription needs at least one named entry in the transactions map. The name is yours (e.g. "pumpfun", "jupiter-swaps"), and each entry carries:
| Field | A transaction passes when it |
|---|---|
account_required | touches every listed account |
account_include | touches at least one listed account |
account_exclude | touches none of the listed accounts |
Filtering happens server-side, so traffic a filter drops never costs you bandwidth. Each response lists in filters the names it matched, so one connection can serve several strategies.
7. Decoding the Payload
Each binary_transaction is a bincode-encoded Solana VersionedTransaction. Deserializing it is the only decoding left to you; there is no deshredding or FEC recovery on your side.
| Language | Call |
|---|---|
| Rust (bincode 1.x) | bincode::deserialize::<VersionedTransaction>(&bytes) |
| Python (solders) | VersionedTransaction.from_bytes(bytes) |
| TypeScript (@solana/web3.js 1.x) | VersionedTransaction.deserialize(bytes) |
For a V0 transaction, the full account set is the static keys inside binary_transaction plus loaded_writable_addresses and loaded_readonly_addresses, which Pulse resolves from the address lookup tables on its side. Both lists are empty for legacy transactions.
8. Limits
| Limit | Value |
|---|---|
| Concurrent connections | 10 |
| Named filters | 35 per connection |
| Account filters | 5,000 per named filter |
The limits are the same at every pass duration. A named filter carrying more than 5,000 accounts is rejected. If you need to watch more, split them across filters, and across connections once you pass 35.
The raiden_binary proto
syntax = "proto3";
package raiden_binary;
import "google/protobuf/timestamp.proto";
service RaidenBinaryService {
rpc SubscribeBinaryTransactions(stream SubscribeBinaryTransactionsRequest)
returns (stream SubscribeBinaryTransactionsResponse);
}
message SubscribeBinaryTransactionsRequest {
map<string, SubscribeRequestFilterBinaryTransactions> transactions = 3;
}
message SubscribeBinaryTransactionsResponse {
repeated string filters = 1;
SubscribeUpdateBinaryTransaction transaction = 4;
google.protobuf.Timestamp created_at = 11;
}
message SubscribeUpdateBinaryTransaction {
BinaryTransaction transaction = 1;
uint64 slot = 2;
// ALT-resolved accounts. Empty for legacy transactions.
repeated bytes loaded_writable_addresses = 3;
repeated bytes loaded_readonly_addresses = 4;
}
message SubscribeRequestFilterBinaryTransactions {
repeated string account_include = 3;
repeated string account_exclude = 4;
repeated string account_required = 6;
}
message BinaryTransaction {
repeated bytes signatures = 1;
// Serialized VersionedTransaction
bytes binary_transaction = 3;
}Migrating from shreder_binary.proto
Pulse no longer serves shreder_binary.ShrederBinaryService, the proto of the third-party shreder-rust-example client: a client generated from it gets UNIMPLEMENTED in every region. The two protos share the request, filter and message fields and their numbers, so moving over is a rename:
- Regenerate bindings from
raiden_binary.proto, then replace the packageshreder_binarywithraiden_binaryand the serviceShrederBinaryServicewithRaidenBinaryService(ShrederBinaryServiceClientbecomesRaidenBinaryServiceClient,ShrederBinaryServiceStubbecomesRaidenBinaryServiceStub). - Your filter map and your decoding stay as they are:
binary_transactionis still a bincode-encodedVersionedTransaction, andslot,signatures,filtersandcreated_atkeep their places. - New in
raiden_binary:loaded_writable_addressesandloaded_readonly_addresseson the update, the lookup-table accounts resolved server-side. With them you no longer need your own address lookup table cache to know which accounts a V0 transaction touches.
Reconnecting
If the stream drops, reconnect and send your filters again. The request has no replay option, so transactions published while you were disconnected are not sent again; backfill from RPC if your job cannot miss any.
Troubleshooting
| Symptom | Cause | Fix |
|---|---|---|
UNIMPLEMENTED (gRPC status 12) as soon as the stream opens | Client generated from shreder_binary.proto (shreder_binary.ShrederBinaryService), which Pulse no longer serves | Regenerate from raiden_binary.proto and use RaidenBinaryService; see Migrating |
PERMISSION_DENIED: ip <addr> not whitelisted (gRPC status 7); the connection itself succeeds | The gateway sees a source IP that isn’t registered, or not yet active, for that region | Compare the IP in the message with the one you registered; check NAT, proxy, VPN or a second network interface. A trial works only once it is approved |
TLS handshake error, UNAVAILABLE | https://, grpc.secure_channel or credentials.createSsl() against the plaintext port | Use http://<region>.pulse.raiden.wtf:16000, grpc.insecure_channel or credentials.createInsecure() |
Rust connect fails with an invalid URI or transport error | Endpoint without a scheme (fra.pulse.raiden.wtf:16000) | Use the full http://fra.pulse.raiden.wtf:16000 |
Rust build fails in build.rs | tonic 0.14 moved code generation to tonic-prost-build | Pin tonic 0.12, tonic-build 0.12 and prost 0.13 as above |
tsc reports TS2835 in generated/ | "moduleResolution": "nodenext" requires file extensions the generator does not write | Use "moduleResolution": "bundler", or run with tsx |
| Connected, no error, no messages | The filter matches nothing: a wrong address, or account_required accounts that rarely appear together | Test with a busy program such as pump.fun, or move accounts to account_include |
Node exits on an unhandled 'error' event | No error listener on the stream | Attach stream.on('error', ...) as in the sample |
Pricing
$70 per day, $280 per week or $700 per 30 days, per region ($350 per 30 days during Black Raiden, from 20 November 2026, 12:00 UTC), paid in USDC on Solana from the dashboard. Full rate card: Pricing. Plans and trial terms: Solana shred stream pricing and free trial .