How to get a Zcash RPC endpoint (2026 guide)

TL;DR
Point a zcashd-era integration at a Zcash endpoint today and z_sendmany, z_getbalance and listunspent simply do not exist: zcashd halted for good on July 18, 2026, and its replacement, Zebra, is a node without a wallet. Since the NU7 upgrade on November 6, 2026, blocks also arrive every 25 seconds instead of 75, and Zebra serves JSON-RPC over HTTP only, so there is no WebSocket and every “new block” check is a poll. The rest of this guide covers what a Zcash RPC endpoint can and cannot do, why you will not find an official public URL to start from, and how to deploy a private Mainnet or Testnet endpoint on Chainstack.
Short answer: use a private, Zebra-backed endpoint. Chainstack deploys one on Global Nodes in six console steps on the free Developer plan (3M RU a month, 25 RPS), and you follow new blocks by polling over HTTPS.
| Option | What it serves | Setup | Best for |
|---|---|---|---|
| Community lightwalletd server | Light-wallet gRPC, not Zebra JSON-RPC | None | Light wallets and experiments |
| Self-hosted Zebra | JSON-RPC you operate yourself | 4 CPU cores, 16 GB of RAM, 300 GB of disk, a sync that takes days, an upgrade before each release’s end of support | Full control of the node |
| Private endpoint on Chainstack | Zebra JSON-RPC over HTTPS, address index and shielded tree state | Six console steps, free Developer plan | Production workloads |
What is a Zcash RPC endpoint?
A Zcash RPC endpoint is the HTTPS URL your application uses to talk to a Zebra node. Zcash is a UTXO chain, not an EVM chain, so the API is Bitcoin-style JSON-RPC (getblockchaininfo, getrawtransaction) plus a few Zcash additions, not eth_* calls. For a primer on the chain itself, see What is Zcash? on the Chainstack blog.
What your application can do through the endpoint:
- Read blocks and transactions:
getblock,getrawtransaction,getblockchaininfo - Look up transparent addresses without running an indexer:
getaddressbalance,getaddresstxids,getaddressutxos - Fetch the shielded pool state that wallets need to sync, for the Sapling, Orchard and Ironwood pools:
z_gettreestate,z_getsubtreesbyindex - Broadcast transactions that were built and signed elsewhere:
sendrawtransaction - Check mempool and fee data:
getrawmempool,getmempoolinfo,getstandardfee
You can review the full list of supported JSON-RPC methods in the Zebra RPC reference.
The endpoint can only serve what is on the chain, and a shielded balance is not readable there: a wallet holding the viewing key scans the blocks and works it out, so a slow or stale endpoint shows up as a wallet that syncs late.
How Zcash RPC differs from EVM RPC
Zcash has none of the tools an EVM developer reaches for. There is no eth_getLogs, no ethers or viem provider, no contract calls and no WebSocket subscriptions. What replaces them:
- Bitcoin-style requests. Chainstack’s docs send
jsonrpc: "1.0"requests, and any Bitcoin-style JSON-RPC client works. - Two address families. Transparent addresses (
t1andt3on Mainnet,tmandt2on Testnet) can be queried through the address index. Shielded and unified addresses cannot: balances and history stay private to the viewing key. - Amounts in zatoshis. One ZEC is 100,000,000 zatoshis. Transaction outputs report both
valuein ZEC andvalueZat, the address index reports zatoshis only, andgetaddressutxosnames its fieldsatoshis. - No wallet. Zebra holds no keys, so you build and sign transactions with a wallet or library and broadcast the result with
sendrawtransaction. Wallet methods now belong to Zallet, which is still in beta. - No network check on addresses. The address index methods return an empty result, not an error, for an address from the other network.
The differences above matter for provider selection because an endpoint that is missing the address index or the z_* tree-state methods forces you to run your own indexer before a wallet or exchange integration works at all.
Public vs private vs self-hosted Zcash RPC endpoints
Public community servers vs a private endpoint
Zcash has no official public JSON-RPC endpoint to fall back on, which makes the public-versus-private choice a choice between running Zebra yourself and renting a managed endpoint. We found no official public Zcash RPC URL in Zebra’s documentation, and Zebra ships with its RPC server switched off: you set a listen_addr in zebrad.toml, the standard ports are 8232 on Mainnet and 18232 on Testnet, and since Zebra 2.0.0 cookie authentication is on by default.
The free public servers you will find are community-run lightwalletd instances such as zec.rocks, and they exist for light wallets that sync shielded notes over gRPC. A ZecHub page that lists such servers tells readers to check a health dashboard first, because operators come and go.
Warning: Do not bind Zebra’s RPC port to a public address to share it: Zebra’s own RPC documentation says anyone on the internet could then send transactions through your node and query its state. The Zebra lightwalletd guide turns cookie authentication off because lightwalletd does not support it, and its example keeps the RPC port on
127.0.0.1.
| Public community servers | Private endpoint (Chainstack) | |
|---|---|---|
| Access | Free and open | Restricted access: key or password in the URL |
| Resources | Shared community infrastructure | Managed capacity per plan |
| Best use case | Light wallets and experiments | Production workloads |
| Protocol | lightwalletd gRPC for wallets | Zebra JSON-RPC over HTTPS |
| Address index and tree state | Through the wallet protocol only | getaddress* and z_* methods |
| Limits | Set by each operator | Per plan, from 25 RPS |
Running Zebra yourself
Running Zebra yourself is the third path, and it costs real operations work: the recommended hardware is 4 CPU cores, 16 GB of RAM and 300 GB of disk, a first sync from genesis takes days on Mainnet, and every Zebra release has a limited support window, typically about eight weeks, after which the node shuts down and refuses to start until you upgrade. Zebra 7.1.0, released on November 16, 2026, gets only 24 days: it is supported until around December 10. The release fixed ten security advisories, one of which let concurrent getaddressbalance requests run a node out of memory. A managed endpoint hands that upgrade routine to someone else.
Full node vs archive Zcash node
Zcash has no archive class on Chainstack, so what matters is whether your provider serves transparent history from block 1. Global Nodes for Zcash run in Full mode and serve transparent transaction history from the first block, and every request costs 1 RU with no archive multiplier. Because there is no separate archive tier, the archive data feature that other chains use does not apply to Zcash.
| What you need | Served on Full mode |
|---|---|
| Deposit detection by transparent address | Yes, getaddresstxids and getaddressutxos |
| Old transaction lookups for audits | Yes, getrawtransaction back to block 1 |
| Note commitment tree state for wallet sync | Yes, z_gettreestate and z_getsubtreesbyindex |
| Shielded balances or shielded history | No, only a wallet with the viewing key can read them |
For compliance and analytics work, the transparent side is fully reconstructable from the endpoint, and the shielded side is limited to what the chain exposes: the pool totals that getblockchaininfo reports in valuePools.
HTTPS vs WebSockets
Zebra serves JSON-RPC over HTTP, so Chainstack Zcash endpoints are HTTPS only: there is no WebSocket endpoint and no subscriptions. To follow new blocks you poll getbestblockhash or getblockcount. Measured from block timestamps on the Zcash Explorer, Mainnet averaged about 25.1 seconds per block between block 3,543,405 (November 6, 2026, 02:34 UTC) and block 3,585,302 (November 18, 06:43 UTC), so the poll interval sets both how late you see a block and how many requests you spend. Each poll is 1 RU, so the cost of following the tip on one endpoint is simple arithmetic:
| Poll interval | Requests per day | RU per 30 days | Share of the free Developer plan (3M RU) |
|---|---|---|---|
| 25 s (one per block) | 3,456 | 103,680 | 3.5% |
| 10 s | 8,640 | 259,200 | 8.6% |
| 5 s | 17,280 | 518,400 | 17.3% |
| 1 s | 86,400 | 2,592,000 | 86.4% |
A poll every 5 seconds is a sensible default: you see a new block within 5 seconds of it being mined, and the poll uses under a fifth of the free plan. Polling every second buys little on a 25-second chain and eats most of the free allowance. If you are building light wallet support, Dedicated Nodes can also run lightwalletd, per Chainstack’s docs.
How to get a private Zcash RPC endpoint with Chainstack
Chainstack serves Zcash RPC on Mainnet and Testnet through Global Nodes running Zebra, available on every plan including the free Developer plan.
- Log in to the Chainstack console (or create an account).
- Create a new project
- Select Zcash as your blockchain protocol
- Choose network: Zcash Mainnet or Zcash Testnet
- Deploy the node
- Open Access and credentials and copy your HTTPS endpoint
There is no WebSocket endpoint to copy. Dedicated Nodes give you single-tenant Zebra resources from the Pro plan.
Need testnet TAZ? Chainstack’s Zcash tooling docs list the Valar Group testnet faucet, which says it pays 0.125 TAZ per IP address every 24 hours and accepts unified, Sapling and transparent testnet addresses.
The snippet below runs on Node.js 18 or later as an ES module, with no packages to install. Replace the placeholders with your endpoint and a transparent address from the matching network:
const ENDPOINT = "YOUR_CHAINSTACK_ENDPOINT";
async function rpc(method, params = []) {
const res = await fetch(ENDPOINT, {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ jsonrpc: "1.0", id: 1, method, params }),
});
const body = await res.json();
if (body.error) throw new Error(body.error.message);
return body.result;
}
const info = await rpc("getblockchaininfo");
console.log(info.chain, info.blocks); // "main" on Mainnet, "test" on Testnet
const bal = await rpc("getaddressbalance", [{ addresses: ["YOUR_TRANSPARENT_ADDRESS"] }]); // zatoshis
console.log(bal.balance / 100_000_000, "ZEC");
For the full integration guide, including how to send credentials for a password-protected endpoint (Node’s built-in
fetchrejects credentials in the URL), see the Chainstack Zcash tooling documentation.
You can also access Chainstack Zcash RPC directly from Claude, Cursor, Codex, Windsurf, Gemini CLI, GitHub Copilot, Antigravity, Claude.ai, or ChatGPT using Chainstack MCP. For the full agent stack, including MCP, the Chainstack skill, llms.txt and WebMCP, see the Chainstack Agents page.
Chainlist is EVM-only and does not apply to Zcash; the endpoint you copy from the console is the one to use.
Chainstack pricing and free tier for Zcash RPC
Every Zcash request on Chainstack is 1 RU, whatever the method, so the bill is your request count and nothing else. Prices below were checked against the Chainstack pricing page on November 18, 2026; see it for plan details and overage rates.
| Plan | Cost | Requests/Month | RPS | Overage (per 1M extra) |
|---|---|---|---|---|
| Developer | $0/mo | 3M | 25 | $20 |
| Growth | $49/mo ($40/mo annual) | 20M | 250 | $15 |
| Pro | $199/mo ($166/mo annual) | 80M | 400 | $12.5 |
| Business | $499/mo ($416/mo annual) | 200M | 600 | $10 |
| Enterprise | from $990/mo ($825/mo annual) | 400M | Unlimited | $5 |
Advanced options:
- Unlimited Node add-on, from the Growth plan: a flat monthly fee tied to an RPS tier instead of per-request billing
- Dedicated Nodes, from the Pro plan: compute from $0.50 per hour per node, plus storage at $0.01 per 20 GB per hour
How to estimate monthly cost
- Forecast average and peak requests per day.
- Convert to monthly request units: requests per day times 30.
- Add a 20-30% buffer for spikes.
- Check that the plan’s RPS limit covers your peak.
- Count the cost of following the chain: at 25-second blocks there are about 3,456 blocks a day, roughly 103,680 a month. Reading every block with
getblockis 1 RU each, and an indexer that then fetches each transaction withgetrawtransactionadds 1 RU per transaction, so budget for the busiest blocks, not the average one.
If your traffic is a steady, high-volume poll, compare the plan overage with the flat fee of the Unlimited Node add-on.
Production readiness checklist
- Primary and fallback RPC provider configured
- Request timeout policy set
- Retry logic with exponential backoff implemented
- Credentials stored in an env variable or secret manager, never hardcoded
- Monitoring for latency, error rate and throttling
- Alerts for sustained degradation
- Network checked at startup:
getblockchaininforeturnsmainortest, so a Testnet URL never ends up in a Mainnet config - Addresses passed through
validateaddressbefore any address-index call, because the index returns an empty result for a wrong-network address - Confirmation thresholds and polling intervals reviewed for 25-second blocks, since the same count of confirmations now covers a third of the time
- No dependency on zcashd wallet methods, and transactions built as version 5 or version 6, because NU7 made version 4 transactions invalid
Troubleshooting Zcash RPC issues and rate limits
| Issue | Likely cause | How to fix |
|---|---|---|
429 Too Many Requests | Request rate above the plan’s RPS limit | Reduce polling frequency, batch work, or move to a higher plan or an Unlimited Node |
| HTTP 403 with error code -32601 | You called a blocked method such as getblocktemplate, submitblock, stop, addnode, generate, invalidateblock or reconsiderblock | Remove the call: mining and node-control methods are not available on managed endpoints |
z_sendmany, z_getbalance or listunspent fail | Zebra has no wallet; these were zcashd methods | Build and sign with a wallet library or Zallet, then broadcast with sendrawtransaction |
| Balance is zero for an address that should have funds | The address is from the other network, and the address index returns an empty result instead of an error | Run validateaddress first, and check chain in getblockchaininfo |
| Shielded balance cannot be found through the endpoint | Shielded balances are visible only to the viewing-key holder | Scan the chain with a wallet; use z_gettreestate and z_getsubtreesbyindex only for sync state |
| Block hash looks like an array of numbers | getbestblockheightandhash returns the hash as 32 bytes in reverse order, not hex | Call getbestblockhash for a hex string |
| Confirmations arrive faster than your logic expects, or a transaction is rejected | Code still assumes 75-second blocks, or a client builds version 4 transactions that NU7 made invalid | Retune polling and thresholds for 25 seconds; update the client to build version 5 or 6 transactions |
| Testnet results differ from an explorer | Software without NU7 support stayed on a chain that split from Testnet at block 4,465,026 | Compare the block hash at height 4,465,026 with your endpoint before debugging further |
Conclusion
The expensive Zcash mistakes are the quiet ones. A wrong-network address returns a zero balance instead of an error, and a confirmation rule tuned for 75-second blocks now accepts payments a third as deep as you intended. Both look like a working integration until money is involved, and the zcashd-era wallet calls that no longer exist are the loud failure that is easy to spot by comparison.
The pattern that works is to treat the endpoint as a data and broadcast interface and nothing more. Start on a Testnet endpoint with the free tier, validate every address and the network at startup, poll at an interval matched to 25-second blocks, keep wallet logic in a wallet library, and run a fallback provider before launch.
Chainstack’s free Developer plan gives you 3M requests a month to test this, and Dedicated Nodes are there when you need single-tenant Zebra resources.
FAQ
Can I read a shielded balance through a Zcash RPC endpoint? No. Shielded balances and history are visible only to the holder of the viewing key, through a wallet that scans the chain. The endpoint serves blocks, transparent address data and the note commitment tree state that a wallet needs to sync.
Which Zcash RPC methods replaced the zcashd wallet methods? None on the node: Zebra has no wallet, so z_sendmany, z_getbalance and listunspent do not exist there. Wallet methods now belong to Zallet, which is in beta, or to a wallet library. The Zebra book’s zcashd API migration guide, linked below, records which component owns each zcashd method.
Does Chainstack offer a WebSocket endpoint for Zcash? No. Zebra serves JSON-RPC over HTTP, so there is no WebSocket and no subscriptions. Follow new blocks by polling getbestblockhash or getblockcount, and size the poll interval for the 25-second block time.
What SDK should I use for Zcash? Chainstack’s Zcash docs use plain fetch in JavaScript and requests in Python, and any Bitcoin-style JSON-RPC client works. The EVM libraries ethers and viem do not apply. For building and signing transactions, use a Zcash wallet library, because the node will not do it for you.
Is Zcash Testnet enough for staging? Yes for integration testing: the same calls work on Mainnet and Testnet, and a Testnet node serves the transparent history from the first block too. Check the block hash at height 4,465,026 against your endpoint when results disagree with an explorer, because Testnet split at that height for software without NU7 support.
How does NU7 change a Zcash integration? Blocks are targeted every 25 seconds instead of 75, so polling intervals and confirmation counts need review, and version 4 transactions are invalid, so clients must build version 5 or 6 transactions. The Chainstack blog guide to Zcash covers the upgrade in more detail.
Additional resources
- Zcash tooling
- Chainstack introduces Zcash Global Nodes support
- More Zcash tutorials and articles on the Chainstack Blog
- Request units
- zcashd API migration guide in the Zebra book
Changelog
- November 18, 2026: first version. Last checked on this date against Zebra 7.1.0 (released November 16), the Chainstack Zcash tooling docs, the Chainstack pricing page and Mainnet block timestamps from block 3,543,405 to block 3,585,302.