Flash gRPC
Flash gRPC streams decoded transactions before execution. Use it for early transaction signals while standard gRPC or RPC verifies the outcome.
Plans and endpoints
Pricing is $400 USD monthly or $4,000 USD yearly, per region. Activate Flash gRPC in the dashboard.
| Region | Endpoint |
|---|---|
| New York | https://flash.ny.shreds.xyz |
| Frankfurt | https://flash.fra.shreds.xyz |
| Amsterdam | https://flash.ams.shreds.xyz |
Connect with TLS on port 443 and your Flash service key as x-token metadata. Use a Yellowstone-compatible client and the geyser.Geyser/Subscribe method.
First subscription
With grpcurl installed and matching geyser.proto and solana-storage.proto files in ./proto, set SHREDS_API_KEY to your Flash key. Replace ACCOUNT_OR_PROGRAM_ADDRESS with a Solana public key:
grpcurl -import-path ./proto -proto geyser.proto \
-H "x-token: $SHREDS_API_KEY" \
-d '{"transactions":{"watched":{"accountInclude":["ACCOUNT_OR_PROGRAM_ADDRESS"]}}}' \
flash.ny.shreds.xyz:443 geyser.Geyser/Subscribe
Understand the updates
Updates include a signature, slot, and transaction message. Execution metadata is absent: do not expect fees, logs, balance changes, or success status. Match signatures against executed results before treating observations as confirmed.
Flash has no replay; fromSlot is rejected. Slot filters do not emit updates on this feed. Use standard gRPC for slot tracking and check your service's limits before opening additional streams.
For raw UDP fragments and your own reconstruction pipeline, see Shreds.