Solana RPC: JSON-RPC and WebSocket
ZeroCopy's Solana RPC is waitlist only. It is planned as standard Solana JSON-RPC over HTTPS for account, block and transaction reads, with WebSocket subscriptions that push changes as they happen. No endpoint is published yet.
This product is waitlist only. Create a team in the console, then send a product request from Requests. We reply there.
What a Solana RPC endpoint does
Applications read Solana through RPC nodes. A node follows the cluster, replays each block and answers JSON-RPC 2.0 requests about the state it holds: balances, account data, blocks, transactions, fees, epochs and the leader schedule. Wallets, explorers, bots and backends all depend on one, since a signed transaction needs a recent blockhash and a sender needs to learn whether it landed.
The same node serves a WebSocket interface. A client that would otherwise poll an account every few hundred milliseconds subscribes once, and the node sends a notification each time the account changes at the commitment the client asked for.
ZeroCopy plans to run both interfaces as one product with the standard Solana method names, parameters and response shapes. A client written for Solana JSON-RPC, whether @solana/kit or a plain HTTP call, would only need a new URL and API key.
How reads and subscriptions work
A node answers every read from its own view of the chain at the commitment level you request, and most responses carry the context slot they were answered at. Solana has three levels.
Over HTTPS, a request is a POST with a JSON body. Over WebSocket, a subscribe call returns a subscription id, notifications arrive under that id, and the matching unsubscribe call ends them. signatureSubscribe ends by itself once the signature reaches the requested commitment.
processed
The node has processed the block. It is the newest view, and it can still roll back if the block ends up on an abandoned fork.
confirmed
A supermajority of active stake has voted on the block. Use it when a rollback would be costly but the answer still has to be recent.
finalized
The strongest commitment the network gives, reached at maximum vote lockout. Settlement, accounting and anything you cannot undo should wait for it.
Planned JSON-RPC methods
The preview lists 53 JSON-RPC methods. They run from getAccountInfo and getMultipleAccounts to getProgramAccounts with memcmp and dataSize filters, getSignatureStatuses, getLatestBlockhash and simulateTransaction.
The request below asks for the lamports one account holds. ZEROCOPY_RPC_URL stands for an endpoint that is published at launch.
Planned interface: getBalance
curl -sS "$ZEROCOPY_RPC_URL" \
-H 'content-type: application/json' \
--data '{"jsonrpc":"2.0","id":1,"method":"getBalance",
"params":["83astBRguLMdt2h5U1Tpdq5tjFoJ6noeGwaY3mDLVcri"]}'
{"jsonrpc":"2.0","id":1,
"result":{"context":{"slot":331027404},"value":2039280}}Planned WebSocket subscriptions
The preview lists 7 subscriptions, among them accountSubscribe, programSubscribe with server-side filters, logsSubscribe and signatureSubscribe.
The example uses @solana/kit to read a balance over HTTPS, then follows the same account over WebSocket at confirmed commitment.
Planned interface: accountNotifications
import { address, createSolanaRpc, createSolanaRpcSubscriptions } from '@solana/kit'
const rpc = createSolanaRpc(process.env.ZEROCOPY_RPC_URL)
const rpcSubscriptions = createSolanaRpcSubscriptions(process.env.ZEROCOPY_WSS_URL)
const wallet = address('83astBRguLMdt2h5U1Tpdq5tjFoJ6noeGwaY3mDLVcri')
const { value: lamports } = await rpc
.getBalance(wallet, { commitment: 'confirmed' })
.send()
const notifications = await rpcSubscriptions
.accountNotifications(wallet, { commitment: 'confirmed', encoding: 'base64' })
.subscribe({ abortSignal: AbortSignal.timeout(60_000) })
for await (const { context, value } of notifications) {
console.log(context.slot, value.lamports)
}API keys and access rules
Read products are planned to use the same console API keys as SWQoS, and each key lists the products it may call. The console already holds per-key rules for read products, which take effect once one is served: which source IPs may use a key, which browser origins it accepts and which methods it allows or denies.
With method rules, a key shipped in a frontend could read accounts and still be refused getProgramAccounts, and a backend key could be kept off sendTransaction.
Availability and price
JSON-RPC and WebSocket are waitlist only. ZeroCopy has published no endpoint, launch date, price or list of metros for them, and the planned method list can change before launch.
SWQoS is live today for sending signed transactions to upcoming leaders over stake-weighted QUIC. It is send-only, so you pair it with a read RPC for blockhashes, simulation and confirmation. Raw Shredstream is available on request.
Interface and access
- Status
- Waitlist only
- Interface
- JSON-RPC 2.0, WebSocket
- Transport
- HTTPS, WSS
- Planned methods
- JSON-RPC: 53, WebSocket: 7
- Network
- Solana mainnet
- Endpoint
- Published at launch
- Price
- Published at launch
- Access
- Waitlist request in the console
Common questions
Can I use ZeroCopy as my Solana RPC today?
No. JSON-RPC and WebSocket are waitlist only and answer no requests yet. SWQoS transaction sending is live, and Shredstream is available on request.
Can the SWQoS endpoint answer reads?
No. SWQoS is send-only. It accepts sendTransaction and sendBundle, plus getTipAccounts, getTipFloor, getHealth and getSlot, and returns unknown_method for any other method. Fetch blockhashes, simulate and confirm signatures through a separate RPC.
Which methods are planned?
The preview lists 53 JSON-RPC methods and 7 WebSocket subscriptions under their standard Solana names and parameters. They cover accounts, blocks, transactions, fees, epochs, staking and tokens, and the list can change before launch. Digital asset queries are planned as a separate product, the DAS API, and old ledger data as History.
Which commitment level should I request?
Use processed when you can tolerate a rollback, confirmed when a supermajority vote is enough, and finalized for anything you cannot undo. Reads and subscriptions both take a commitment parameter.
Should I use WebSocket or Yellowstone gRPC?
WebSocket subscriptions speak JSON-RPC, so any Solana client library can use them, and each subscription follows one target, such as an account, a program or a signature. Yellowstone gRPC sends binary protobuf updates and combines several named filters in one stream, which suits pipelines that follow whole programs. Both are planned and both are waitlist only.
How do I join the waitlist?
The Request waitlist access button opens the ZeroCopy console. Sign in or create a team, then send a product request under Requests that names JSON-RPC and WebSocket and says how your team would use it. We reply to the request in the console.
What will it cost?
We will publish the price of JSON-RPC and WebSocket when it launches, and we quote nothing before then. The only public prices today are for SWQoS, with a default minimum tip of 0.001 SOL paid only when the transaction succeeds, and for Shredstream, at $449 per receiver IP per metro for 30 days, billed per IP-day.
The rest of the stack
- SWQoS
Transactions to the next leaders over stake-weighted QUIC.
Available - Shredstream
Raw shreds over UDP to your own receivers.
On request - Yellowstone gRPC
Account, transaction, slot and block streams with filters.
Waitlist only - Decoded shreds
Transactions decoded from shreds, before execution.
Waitlist only - DAS API
Digital Asset Standard lookups for NFTs and tokens.
Waitlist only - History
Blocks and transactions from any epoch, by range.
Waitlist only
Tell us what you need
Name the product, the workload and the metros your application uses. Request access through your team in the console.