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

RegionEndpoint
United States flag New Yorkhttps://kaldera-newyork.constant-k.com:8443 (port 8443)
Germany flag Frankfurthttps://kaldera-frankfurt.constant-k.com:8443 (port 8443)
Netherlands flag Amsterdamhttps://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.

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.

RPCOn Kaldera
SubscribeIncluded in the Blade Runner and Nexus plans, on every Kaldera endpoint
SubscribeDeshredIncluded in the Blade Runner and Nexus plans, on every Kaldera endpoint, the Turbo Kaldera ones included
SubscribeReplayInfoServed. Returns first_available, the oldest slot that region can replay. See Replay.
PingServed. Confirms the token and the route without opening a stream.
GetVersionServed. Returns the running release, protocol version and Agave version.
SubscribeGossipUNIMPLEMENTED (12)
GetSlot, GetBlockHeight, GetLatestBlockhash, IsBlockhashValidUNIMPLEMENTED (12), with the detail use RPC. These chain queries belong on the Solana RPC endpoint.

What Kaldera adds to Yellowstone

FeatureBehaviour
Shred accelerationUpdates can reach your stream ahead of a stream fed by completed blocks alone.
Isolated streamsEach subscription is served on its own. A slow consumer elsewhere cannot stall yours, and your bandwidth allowance is yours alone.
ReplayA reconnect that carries fromSlot resumes where the stream stopped, within a window of up to 24 hours. See Replay.
Pre-execution pathTurbo 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 RunnerNexus
Concurrent Subscribe streams75200
Subscribe bandwidth37.5 MB/s150 MB/s
Compressiongzip, zstdgzip, 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.

Headerx-feed
ValueA whole number from 1 to the plan's concurrent stream limit
EffectAmong 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/Subscribe

The 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.

ValueBehaviour
none or identityThe stream is sent uncompressed, even when the client's gRPC library offers gzip or zstd
auto, or no headerCompressed 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/Subscribe

Any 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

LanguagePackageVersion Kaldera runs
TypeScript@triton-one/yellowstone-grpc10.0.0
Rustyellowstone-grpc-client with yellowstone-grpc-proto17.0.0 with 14.0.1
OtherA client generated from the protocol filesNone

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.

CrateMinimum for version 1Version Kaldera runs
yellowstone-grpc-client13.3.017.0.0
yellowstone-grpc-proto12.6.014.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

KalderaTurbo KalderaShredPrismWebSockets
DataExecuted accounts, transactions, slotsDecoded pre-execution transactionsSerialized entries, from the block the leader is producingAccounts, logs, signatures, slots
Execution results (fees, logs, status)YesNoNoYes
FilteringRich, server-sideAccount filters on transactionsNone: the full feedPer subscription
ProtocolYellowstone gRPCYellowstone gRPCgRPCSolana PubSub
PlansBlade RunnerNexusNexus, or Blade Runner through SubscribeDeshredNexusOperatorBlade 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.

On this page