Endpoint
Subscription types
You can subscribe to four types of data streams on a single connection.| Type | What you receive |
|---|---|
| Account | Real-time account data changes |
| Transaction | Filtered transaction streams by program or account |
| Block | Full block data as slots are confirmed |
| Slot | Slot progression updates |
Connections per plan
Each plan includes a number of concurrent gRPC connections.| Plan | Included connections |
|---|---|
| Free | 0 |
| Dev | 0 |
| Pro | 1 |
| Ultra | 5 |
| Shared Metal | 10 |
Extra connections
If you need more connections than your plan includes, you can purchase them individually.| Billing period | Price per connection |
|---|---|
| Daily | $10/day |
| Monthly | $100/month |
Usage example
This example uses thesolami Rust crate to subscribe to confirmed transactions for a given account.
The
solami::from_env() builder reads your SOLAMI_API_KEY environment variable automatically. Store your key there rather than hardcoding it.main.rs
"11111111111111111111111111111111" with the account address you want to monitor.
Next steps
Streaming data guide
Learn when to use gRPC vs WebSocket and how to filter streams.
WebSocket
Simpler subscriptions for lower-volume use cases.
Add-ons
Purchase extra gRPC connections.
Regions
See which regions support gRPC.