Yellowstone gRPC Quickstart
Quickstart Guide
This guide will walk you through making your first Yellowstone gRPC connection and streaming real-time Solana data.
Prerequisites
Before you begin, ensure you have:
- Alchemy Team with PAYG or Enterprise Plan: Yellowstone gRPC is only available to PAYG (Pay-As-You-Go) and Enterprise teams
- Create an Alchemy App: You’ll need to create an app in your Alchemy dashboard to get your endpoint URL and API key
- Get your API Key: Your Alchemy API key will be used as the
X-Token
header for authentication - Basic understanding of gRPC concepts
- Understanding of Solana’s slot and commitment level concepts
Authentication
Get your endpoint URL and API key from your Alchemy dashboard.
Important: Your Alchemy API Key must be passed as the X-Token
header in your gRPC requests (not in the URL).
Your First Connection
Rust Example
Below is a basic example of connecting to Yellowstone gRPC with Rust and streaming all transactions.
Other Languages
Yellowstone gRPC supports multiple programming languages. Choose the client that fits your stack:
Official Examples Available:
- Rust - Official Rust Example
- Python - Official Python Example
- TypeScript/JavaScript - Official TypeScript Example
- Go - Official Go Example
Next Steps
Now that you’ve established your first connection, explore:
- API Reference - Detailed documentation of all filters and options
- Code Examples - See complete working examples
- Best Practices - Learn production patterns and optimization tips