Kaldera gRPC
Yellowstone gRPC streams for accounts, transactions, slots, blocks and entries.
Kaldera is constant-k's Yellowstone (Geyser) gRPC service. Any Yellowstone client works against it without code changes, given a Kaldera endpoint and your API key as x-token.
Endpoints
| Region | Endpoint |
|---|---|
https://kaldera-newyork.constant-k.com:8443 (port 8443) | |
https://kaldera-frankfurt.constant-k.com:8443 (port 8443) | |
https://kaldera-amsterdam.constant-k.com:8443 (port 8443) |
Connections use TLS. See Authentication.
Server version and protocol files
Kaldera runs yellowstone-grpc v17.0.3+solana.4.4.2, the upstream release with no local changes. A client generated from the protocol files of that release matches the server field for field. GetVersion reports the running release, its protocol version and the Agave version behind it.
| Protocol file | Source |
|---|---|
geyser.proto | rpcpool/yellowstone-grpc at v17.0.3+solana.4.4.2 |
solana-storage.proto | rpcpool/yellowstone-grpc at v17.0.3+solana.4.4.2 |
Client packages for that release: yellowstone-grpc-client 17.0.0 and yellowstone-grpc-proto 14.0.1 on tonic 0.14, or @triton-one/yellowstone-grpc 10.0.0 for TypeScript.
Methods
The geyser.Geyser service defines ten RPCs. The table records what each returns on Kaldera, measured against a live endpoint.
| RPC | On Kaldera |
|---|---|
Subscribe | Included in the Blade Runner and Nexus plans, on every Kaldera endpoint |
SubscribeDeshred | Included in the Blade Runner and Nexus plans, on every Kaldera endpoint, the Turbo Kaldera ones included |
SubscribeReplayInfo | Served. Returns first_available, the oldest slot that region can replay. See Replay. |
Ping | Served. Confirms the token and the route without opening a stream. |
GetVersion | Served. Returns the running release, protocol version and Agave version. |
SubscribeGossip | UNIMPLEMENTED (12) |
GetSlot, GetBlockHeight, GetLatestBlockhash, IsBlockhashValid | UNIMPLEMENTED (12), with the detail use RPC. These chain queries belong on the Solana RPC endpoint. |
What Kaldera adds to Yellowstone
| Feature | Behaviour |
|---|---|
| Shred acceleration | Updates can reach your stream ahead of a stream fed by completed blocks alone. |
| Isolated streams | Each subscription is served on its own. A slow consumer elsewhere cannot stall yours, and your bandwidth allowance is yours alone. |
| Replay | A reconnect that carries fromSlot resumes where the stream stopped, within a window of up to 24 hours. See Replay. |
| Pre-execution path | Turbo Kaldera serves the same Subscribe call with decoded pre-execution transactions. |
Streams and limits
Kaldera accepts every Yellowstone filter type: accounts, transactions, transaction status, slots, blocks, block meta and entries. Each subscription picks one commitment level: PROCESSED, CONFIRMED or FINALIZED. An account set can also be sent as a compressed filter rather than a list, which is how a set larger than the list limits is tracked. See Filters for every option, the per-stream filter limits and the gRPC status returned when a subscription is refused.
Kaldera is included in the Blade Runner and Nexus plans. Limits apply per region.
| Blade Runner | Nexus | |
|---|---|---|
Concurrent Subscribe streams | 75 | 200 |
Subscribe bandwidth | 37.5 MB/s | 150 MB/s |
| Compression | gzip, zstd | gzip, zstd |
A stream that goes over its plan's bandwidth limit is throttled. The limit is per API key, per region, and every stream of the key shares it. A stream that falls behind or is over its key's limit keeps up to 64 MB of queued updates; only when that 64 MB is full are its oldest updates dropped.
Streams with different requests share the limit and are all buffered. When several streams of a key make the exact same request, the first one is served first while it fits under the limit; the later copies get only what is left and are cut first. The full tables are on Plans & Limits.
The x-feed header sets a stream's place in that order.
| Header | x-feed |
| Value | A whole number from 1 to the plan's concurrent stream limit |
| Effect | Among streams with the exact same request, the lowest number is served first; x-feed: 1 marks the primary stream |
A reconnect that carries the same number takes its place back at once: a newer stream holding a number replaces an older one that held it. Streams without the header keep today's order, oldest first, after every numbered stream. The header is sent as gRPC metadata, like x-token:
grpcurl \
-import-path yellowstone-grpc/yellowstone-grpc-proto/proto \
-proto geyser.proto \
-H "x-token: YOUR_API_KEY" \
-H "x-feed: 1" \
-d '{"slots": {"tip": {}}}' \
kaldera-newyork.constant-k.com:8443 geyser.Geyser/SubscribeThe header works on every Kaldera endpoint. A value that is not a whole number, 0, above the plan's stream limit, or the header sent twice, is refused at stream start with INVALID_ARGUMENT (3). The message names the plan's limit: x-feed must be a whole number from 1 to N for your plan.
Per-stream compression
The x-compression header sets whether one stream is compressed. It applies to Subscribe requests on Kaldera and Turbo Kaldera endpoints. Values are not case-sensitive.
| Value | Behaviour |
|---|---|
none or identity | The stream is sent uncompressed, even when the client's gRPC library offers gzip or zstd |
auto, or no header | Compressed when the client offers gzip or zstd, which most gRPC libraries do by default; uncompressed when it offers neither |
grpcurl \
-import-path yellowstone-grpc/yellowstone-grpc-proto/proto \
-proto geyser.proto \
-H "x-token: YOUR_API_KEY" \
-H "x-compression: none" \
-d '{"slots": {"tip": {}}}' \
kaldera-newyork.constant-k.com:8443 geyser.Geyser/SubscribeAny other value, or the header sent twice, is refused at stream start with INVALID_ARGUMENT (3).
An uncompressed stream skips decompression on the client, which lowers latency on small, frequent updates such as filtered transaction streams. Bandwidth limits are measured on uncompressed bytes, so an uncompressed stream counts against a plan's limit exactly as a compressed one does.
Full block streams (a blocks filter that includes transactions or accounts) and firehose streams (match-all transactions or accounts) are always compressed. On those streams x-compression: none is ignored. A client that offers no compression at all still receives uncompressed data, as before.
A resubscribe on an uncompressed stream that would turn it into a full block or firehose stream is refused with INVALID_ARGUMENT (3) and the message full block and firehose streams are always compressed; reconnect without x-compression: none. The stream keeps its old filter.
Compression
Compression lowers bandwidth, which matters most on streams carrying many accounts and on streams close to their plan's bandwidth limit.
import Client from "@triton-one/yellowstone-grpc";
const client = new Client(
"https://kaldera-newyork.constant-k.com:8443",
process.env.CK_API_KEY,
{
grpcDefaultCompressionAlgorithm: 1, // 0 = gzip, 1 = zstd
grpcMaxDecodingMessageSize: 64 * 1024 * 1024, // room for large account updates
},
);
await client.connect();Clients
| Language | Package | Version Kaldera runs |
|---|---|---|
| TypeScript | @triton-one/yellowstone-grpc | 10.0.0 |
| Rust | yellowstone-grpc-client with yellowstone-grpc-proto | 17.0.0 with 14.0.1 |
| Other | A client generated from the protocol files | None |
Minimum versions for transaction v1
Mainnet carries version 1 transactions as well as legacy and version 0. Nothing about Kaldera changes for them: the same endpoints, the same x-token key, the same SubscribeRequest and the same filters. The client changes: a proto that does not know the new fields cannot read a version 1 transaction that arrives on a stream you already hold.
| Crate | Minimum for version 1 | Version Kaldera runs |
|---|---|---|
yellowstone-grpc-client | 13.3.0 | 17.0.0 |
yellowstone-grpc-proto | 12.6.0 | 14.0.1 |
The two crates are versioned separately and must move together
Pinning yellowstone-grpc-client and letting yellowstone-grpc-proto resolve on its own produces a build with a proto that cannot parse a version 1 transaction. Both belong in your Cargo.toml.
In other languages, the newest client release carries the fields. A self-generated client needs protocol files at yellowstone-grpc-proto 12.6.0 or later; the files above are 14.0.1. See Transaction v1.
Kaldera, Turbo Kaldera, ShredPrism or WebSockets
| Kaldera | Turbo Kaldera | ShredPrism | WebSockets | |
|---|---|---|---|---|
| Data | Executed accounts, transactions, slots | Decoded pre-execution transactions | Serialized entries, from the block the leader is producing | Accounts, logs, signatures, slots |
| Execution results (fees, logs, status) | Yes | No | No | Yes |
| Filtering | Rich, server-side | Account filters on transactions | None: the full feed | Per subscription |
| Protocol | Yellowstone gRPC | Yellowstone gRPC | gRPC | Solana PubSub |
| Plans | Blade RunnerNexus | Nexus, or Blade Runner through SubscribeDeshred | Nexus | OperatorBlade RunnerNexus |
Data Stages sets out the pipeline these four sit on, and the stage each one delivers at. The Benchmarks page compares Kaldera with another Yellowstone provider in each region and publishes the results live.