Chainstack GEN 2.0 is live: lower latency for Solana, Ethereum, Base, and every chain on Global Nodes. See what’s new
  • Agents
  • Pricing

ZKsync Era RPC endpoints for smart wallets and DeFi

Read ZKsync state, build smart-account flows, and send transactions with reliable, high-performance ZKsync Era RPC infrastructure.

ZKsync Era
https://zksync-mainnet.core.chainstack.com/YOUR_ENDPOINT_ID
Create endpoint
Homepage Widget Stars logo
get mcp.chainstack.com, deploy ZKsync Era mainnet RPC node and give me the HTTPS endpoint
ThorFiShrapnelRFOXOdosTradingViewRippleCirclePendleTrust WalletBinanceGoldskyCertiKBlockpourNumioBanditNexoCoinGeckoUniDexVaiVLaunchWorkinmanZapperBitgetTrust WalletAoriArgentKaikoQuantstamp

Fast ZKsync Era RPC, right where you need it

Global Node

Geo-balanced RPCBuilt for DeFi

Connect to ZKsync Era Mainnet or Sepolia over HTTPS and WebSocket. Use Ethereum JSON-RPC alongside ZKsync-specific APIs for batches, fees, and transaction details.

Illustration of a global blockchain node network

Your full development stack for ZKsync Era

Build ZKsync Era applications with historical state, native ZKsync APIs, and predictable RPC capacity.

Unlimited node icon

Unlimited Node

Run ZKsync Era indexers and application backends with unlimited requests within your selected RPS tier. Keep monthly RPC costs predictable as request volume grows.

25 requests / second
$ 149 /mo
25100250500
Svg+xml;base64,phn2zyb3awr0ad0imjqiighlawdodd0imjqiihzpzxdcb3g9ijagmcayncayncigzmlsbd0ibm9uzsigeg1sbnm9imh0dha6ly93d3cudzmub3jnlziwmdavc3znij4kphbhdgggzd0ittiwlji1idyunzvimtiumjuwm0w5ljy0oty5idquoem5ljm4oty3idqunja1otkgos4wnzqxmsa0ljuwmdggoc43ndk2osa0ljvimy43numzljm1mje4idqunsayljk3mdy0idqunju4mdqgmi42odkznca0ljkzotm0qziunda4mdqgns4ymja2ncaylji1iduunjaymtggmi4ynsa2vje4ljc1qziumjugmtkumtq3ocayljqwoda0ide5ljuyotqgmi42odkzncaxos44mta3qziuotcwnjqgmjaumdkyidmumzuymtggmjaumjugmy43nsaymc4ynugymc4zmzm0qziwljcwosaymc4yndk1idixlja2osaymc4xmdaxidixljmzndygmtkuodm0nkmyms42mdaxide5lju2osayms43ndk1ide5ljiwosayms43nsaxoc44mzm0vjgumjvdmjeunzugny44ntixocayms41otigny40nza2ncayms4zmta3idcumtg5mzrdmjeumdi5nca2ljkwoda0idiwljy0nzggni43nsaymc4ynsa2ljc1wk0ymc4ynsaxoc43nugzljc1vjzioc43ndk2ouwxms41nsa4ljfdmteunjc5oca4lje5nzm3idexljgznzcgoc4ynsaxmia4lji1sdiwlji1vje4ljc1wk0xnsaxmy41qze1idezljy5odkgmtquotixidezljg4otcgmtqunzgwmyaxnc4wmzazqze0ljyzotcgmtqumtcxide0ljq0odkgmtqumjugmtqumjugmtqumjvios43num5lju1mta5ide0lji1idkumzywmzigmtqumtcxidkumje5njcgmtqumdmwm0m5lja3otayidezljg4otcgosaxmy42otg5idkgmtmunum5idezljmwmtegos4wnzkwmiaxmy4xmtazidkumje5njcgmtiuoty5n0m5ljm2mdmyideyljgyosa5lju1mta5ideyljc1idkunzugmtiunzvimtqumjvdmtqundq4osaxmi43nsaxnc42mzk3ideyljgyosaxnc43odazideyljk2otddmtquotixidezljexmdmgmtugmtmumzaxmsaxnsaxmy41wiigzmlsbd0iizczoda4qyivpgo8l3n2zz4k logo

ZKsync Era archive data

Query historical contract state and backfill event logs for ZKsync Era indexers, accounting, and DeFi analytics.

Included
Svg+xml;base64,phn2zyb3awr0ad0imjqiighlawdodd0imjqiihzpzxdcb3g9ijagmcayncayncigzmlsbd0ibm9uzsigeg1sbnm9imh0dha6ly93d3cudzmub3jnlziwmdavc3znij4kphbhdgggzd0ittyundc5nzcgoc44mjy1ouwyljy3mty1ideytdyundc5nzcgmtuumtcznum2lju1nzyzide1ljizntggni42mjiynyaxns4zmtmgni42njk5miaxns40mda2qzyunze3ntcgmtuundg4mia2ljc0nzi3ide1lju4ndugni43ntcyocaxns42odm3qzyunzy3mjkgmtuunzgyosa2ljc1nzqxide1ljg4mzegni43mjgymiaxns45nzg1qzyunjk5mdmgmtyumdczosa2ljy1mtexide2lje2mjqgni41odcynyaxni4ymzkxqzyuntizndmgmtyumze1nya2ljq0ndk1ide2ljm3odggni4znty0myaxni40mjq3qzyumjy3osaxni40nza2idyumtcxmtegmtyundk4nca2lja3mtcxide2ljuwnjvdns45nzizide2ljuxndygns44nziyosaxni41mdi3iduunzc3ntigmtyundcxn0m1ljy4mjc1ide2ljq0mdygns41otuxmyaxni4zotegns41mtk3nyaxni4zmju2tdeumde5nzggmtiuntc1nkmwljkzntmznyaxmi41mduzidauody3ndazideyljqxnzigmc44mja3odqgmtiumze3nkmwljc3nde2nsaxmi4ymtgxidaunzugmtiumta5nsawljc1idexljk5otzdmc43nsaxms44odk2idaunzc0mty1idexljc4msawljgymdc4ncaxms42ode1qzauody3ndazidexlju4mtkgmc45mzuzmzcgmteundkzocaxljaxotc4idexljqymzvmns41mtk3nya3ljy3mzq2qzuunjcynjkgny41ndyxnia1ljg2otkxidcundg0odegni4wnjgwnsa3ljuwmjkyqzyumjy2mia3ljuymtazidyundq5mdmgny42mtcxmsa2lju3njm0idcunzcwmdjdni43mdm2nca3ljkymjk0idyunzy0otkgoc4xmjaxnia2ljc0njg4idgumze4m0m2ljcyodc3idgunte2ndugni42mzi2osa4ljy5oti4idyundc5nzcgoc44mjy1ovpnmjiuotc5ocaxms40mjm1tde4ljq3otggny42nzm0nkmxoc40mdqxidcunjewndmgmtgumze2nya3lju2mjkyide4ljiymjygny41mzm2nkmxoc4xmjg1idcunta0ncaxoc4wmjk2idcundkzotygmtcuotmxnsa3ljuwmjkyqze3ljgzmzqgny41mte4osaxny43mzggny41ndawosaxny42nta4idcuntg1otjdmtcuntyznia3ljyzmtc1ide3ljq4njigny42otqzmsaxny40mjmyidcunzcwmdjdmtcumjk1osa3ljkymjk0ide3ljizndygoc4xmjaxniaxny4ynti3idgumze4m0mxny4ynza4idgunte2ndugmtcumzy2osa4ljy5oti4ide3ljuxotggoc44mjy1ouwyms4zmjc5ideytde3ljuxotggmtuumtcznumxny40nde5ide1ljizntggmtcumzc3myaxns4zmtmgmtcumzi5niaxns40mda2qze3lji4miaxns40odgyide3lji1mjmgmtuuntg0nsaxny4yndizide1ljy4mzddmtcumjmymyaxns43odi5ide3lji0mjegmtuuodgzmsaxny4ynzezide1ljk3odvdmtcumzawnsaxni4wnzm5ide3ljm0odqgmtyumtyyncaxny40mtizide2ljizotfdmtcundc2msaxni4zmtu3ide3lju1ndygmtyumzc4ocaxny42ndmxide2ljqyndddmtcunzmxniaxni40nza2ide3ljgyodqgmtyundk4ncaxny45mjc4ide2ljuwnjvdmtgumdi3miaxni41mtq2ide4ljeynzmgmtyuntaynyaxoc4ymjigmtyundcxn0mxoc4zmty4ide2ljq0mdygmtgunda0ncaxni4zotegmtgundc5ocaxni4zmju2tdiyljk3otggmtiuntc1nkmymy4wnjqyideyljuwntmgmjmumtmymsaxmi40mtcyidizlje3odggmtiumze3nkmymy4ymju0ideyljixodegmjmumjq5nsaxmi4xmdk1idizlji0otugmteuotk5nkmymy4yndk1idexljg4otygmjmumji1ncaxms43odegmjmumtc4ocaxms42ode1qzizljezmjegmteuntgxosaymy4wnjqyidexljq5mzggmjiuotc5ocaxms40mjm1wk0xns4yntu3idmumdq1mdjdmtuumtyzmsazljaxmtqxide1lja2ndggmi45otyzniaxnc45njy0idmumdawnzrdmtquody4idmumda1mtigmtqunzcxnsazljayodgzide0ljy4mjigmy4wnza1m0mxnc41otmgmy4xmtiymyaxnc41mti5idmumtcxmsaxnc40ndy0idmumjqznzddmtqumzc5osazljmxnjq1ide0ljmyodqgmy40mde1ide0lji5ndggmy40otqwouw4lji5ndc3ide5ljk5ndfdoc4ynjewmiaymc4wody3idgumjq1odygmjaumtg1msa4lji1mde2idiwlji4mzzdoc4yntq0nyaymc4zodixidgumjc4mtugmjaundc4oca4ljmxotg2idiwlju2odfdoc4znje1nyaymc42ntc1idgundiwndkgmjaunzm3nya4ljq5mzi0idiwljgwndndoc41nju5osaymc44nza4idgunjuxmtqgmjauotiynca4ljc0mzg0idiwljk1nkm4ljgyniaymc45oduyidguoteyntcgmjeumdawmsa4ljk5otc3idixqzkumtuzocaymsa5ljmwnda5idiwljk1mjygos40mzaymiaymc44njqyqzkuntu2mzugmjaunzc1oca5ljy1mjixidiwljy1mdcgos43mdq3nyaymc41mdzmmtuunza0oca0ljawntk2qze1ljczodqgmy45mtmzocaxns43ntm0idmuode1mdggmtuunzq5msazljcxnjy5qze1ljc0ndcgmy42mtgyosaxns43mjegmy41mje3miaxns42nzkzidmundmyndldmtuunjm3niazljm0mzi1ide1lju3odcgmy4ynjmxmsaxns41mdygmy4xoty2m0mxns40mzm0idmumtmwmtugmtuumzq4myazlja3odyzide1lji1ntcgmy4wnduwmloiigzpbgw9iim3mzgwoemilz4kpc9zdmc+cg== logo

Debug & Trace APIs

Inspect ZKsync Era execution with debug APIs on a paid archive-mode node. Diagnose reverted calls and follow transaction execution.

Included

Build and scale with reliable ZKsync Era RPC

Homepage Infra Icon 1 logo

Build smart wallets and paymaster flows

Use native account abstraction and paymasters for sponsored transactions and custom wallet flows. Connect zksync-ethers when your app needs Era-specific features.

Read the paymaster tutorial
Homepage Infra Icon 2 logo

Develop DeFi applications

Read contract state, simulate calls, and submit signed transactions. Connect Solidity applications through Ethereum tooling or the ZKsync SDK.

Explore ZKsync tooling
Homepage Infra Icon 3 logo

Index transactions and L1 batches

Combine Ethereum event logs with zks_getTransactionDetails and batch APIs. Track application activity through L2 execution and L1 publication.

Explore ZKsync methods
Homepage Infra Icon 4 logo

Inspect contract execution

Use debug APIs on a paid archive-mode node to investigate reverted calls and transaction execution.

Explore ZKsync debug APIs
Homepage Infra Icon 5 logo

Test on ZKsync Era Sepolia

Connect to chain ID 300 and exercise your integration with testnet ETH. Keep testnet credentials separate from your mainnet endpoint.

Explore ZKsync network details
10B+Daily API calls across Chainstack
10+Chainstack data centers worldwide
24/7Support access
99.99%+uptime

Dedicated ZKsync Era RPC for enterprise teams

Choose ZKsync Era mainnet or Sepolia and an available node configuration to estimate monthly infrastructure costs.

Dedicated Node

Choose an available ZKsync Era network and node configuration to estimate monthly infrastructure costs.

Node type
Loading price…Get started

For qualified teams

Spending more than $1,000/mo on RPC infra?

Save over 50% on our elite pay as you go plan

Telegram logoChat on Telegram (opens in a new tab)

Why developers choose Chainstack

Customer stories from teams using Chainstack across supported networks.

Hero Testimonial Bg logoChainstack’s robust infrastructure has significantly enhanced our ability to secure Web3 environments effectively.Lior Betzalel, VP R&D, HypernativeCustomer stories (opens in a new tab)
Hero Testimonial Bg logoWorking with Chainstack helped us cut our infrastructure costs by over 70%, all while tackling intricate challenges in Web3 security.Map Shen, Head of Platform, CertiKCustomer stories (opens in a new tab)

Build smart accounts on ZKsync Era

Combine Ethereum JSON-RPC with ZKsync-specific fee and transaction APIs. Build paymaster flows, query L1 batches, and track L2 execution without maintaining a node.

Get a ZKsync Era endpoint

ZKsync Sepolia faucet: free testnet ETH

Fund your wallet. Test on ZKsync Era.

Get ZKsync Era Sepolia testnet ETH from the Chainstack faucet. Deploy contracts, test wallet flows, and exercise your RPC integration before using real assets on mainnet.

Get ZKsync testnet ETH (opens in a new tab)
Chainstack testnet faucet illustration

Connect to ZKsync Era RPC

Read token-transfer events from the latest ZKsync Era block with eth_getLogs.

HTTPS · JSON-RPC requests
https://zksync-mainnet.core.chainstack.com/YOUR_ENDPOINT_ID
WebSocket · live subscriptions
wss://zksync-mainnet.core.chainstack.com/YOUR_ENDPOINT_ID

Create a ZKsync Era node. Copy your authenticated HTTPS URL from Access and credentials and replace YOUR_ENDPOINT_ID in the example.

ZKsync Era mainnet
curl --request POST \
  --url https://zksync-mainnet.core.chainstack.com/YOUR_ENDPOINT_ID \
  --header 'Content-Type: application/json' \
  --data '{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "eth_getLogs",
  "params": [
    {
      "fromBlock": "latest",
      "toBlock": "latest",
      "topics": [
        "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef"
      ]
    }
  ]
}'

The result is an array of matching contract logs. ZKsync-specific methods such as zks_getTransactionDetails provide additional L2 and L1-batch information.

View method reference (opens in a new tab)

ZKsync Era RPC pricing

Start with free ZKsync Era RPC. Scale your application with paid plans, higher throughput, and dedicated infrastructure.

Cost-effective plans for every workload

Starting from$40/moon annual
Explore paid plans
From 20M requests included monthlyCompare and convert
  • Higher throughput and larger node allowances

All Developer features, plus:

  • Archive data Growth+
  • Add-ons Growth+
  • Dedicated Nodes Pro+
  • Single sign-on Pro+
  • Role-based access Business+
  • Unlimited users Business+
See all features

Add-ons and Dedicated Node infrastructure are billed separately.

Users logoExceptional support on every paid plan
Frequently Asked Questions
What is ZKsync Era RPC?

ZKsync Era RPC connects applications to ZKsync Era through JSON-RPC over HTTPS or WebSocket. Read balances and contract state, retrieve event logs, and submit signed transactions. ZKsync also exposes native zks_* methods for fees, batches, and transaction details. See ZKsync Era developer documentation.

How do I get a free ZKsync Era RPC endpoint?

Create a free Chainstack account, create a project, and deploy a ZKsync Era Global Node on mainnet or Sepolia. Copy your HTTPS or WebSocket URL from Access and credentials. The Developer plan includes 3 million request units per month, up to 25 requests per second, and one node. No credit card is required.

What is the ZKsync Era RPC URL?

Your mainnet HTTPS URL follows https://zksync-mainnet.core.chainstack.com/YOUR_ENDPOINT_ID. Sepolia uses https://zksync-sepolia-testnet.core.chainstack.com/YOUR_ENDPOINT_ID. Copy the complete authenticated URL from your node and replace the example endpoint ID. See the ZKsync Era tooling guide.

What is ZKsync Era’s chain ID?

ZKsync Era Mainnet uses chain ID 324 (0x144). ZKsync Era Sepolia uses 300 (0x12c). The gas currency is ETH. Use the chain ID matching your endpoint when configuring a wallet or signing transactions. See the official network details.

Does Chainstack support ZKsync Era testnet?

Yes. Chainstack supports ZKsync Era Mainnet and Sepolia. Deploy a separate node for each network and use the matching chain ID and endpoint. Sepolia ETH is for testing and has no mainnet monetary value. Check supported networks.

Can I use MetaMask, ethers.js, viem, and WebSockets?

Yes. Configure your wallet or library with your ZKsync Era RPC URL and chain ID. Use HTTPS for JSON-RPC requests and your WSS URL for supported subscriptions such as new blocks and contract logs. Use zksync-ethers for Era-specific workflows such as paymaster transactions. Follow the ZKsync Era tooling guide.

Does ZKsync Era RPC include archive data?

Chainstack supports ZKsync Era archive access on mainnet and Sepolia. Archive state supports historical contract reads and analytics. Archive requests are billed at 2 request units; the exact classification depends on the method and block age. Archive access is available from Growth. See request-unit rules and supported network modes.

Can I debug and trace ZKsync Era transactions?

Use a paid archive-mode ZKsync Era node to access the debug_* APIs. Do not assume every Ethereum tracer or the separate trace_* namespace is available. See ZKsync Era debug requirements.

Do I need special ZKsync compilers and SDKs?

Standard EVM bytecode can run through ZKsync Era’s EVM Bytecode Interpreter. Use normal Ethereum tooling for that path. Contracts targeting EraVM natively use ZKsync-specific compilers and plugins, while native account-abstraction and paymaster flows can use zksync-ethers. See the ZKsync tooling guide.

How do I retrieve ZKsync Era token-transfer events?

Call eth_getLogs with a bounded block range and the event topics you need. ERC-20 transfers use the standard Transfer(address,address,uint256) event signature. Filter by contract address for a specific token, and paginate larger backfills. The request uses standard Ethereum-compatible event-log parameters.

How much does ZKsync Era RPC cost?

Start with the free Developer plan. Paid plans start at $40 per month with annual billing. Unlimited Node adds flat-fee request capacity from Growth. Dedicated Nodes require Pro or above, with infrastructure billed separately. Compare current plan features.

Where can I get ZKsync Sepolia testnet ETH?

Use the Chainstack faucet and select ZKsync Sepolia. Testnet ETH lets you deploy contracts and test transactions without spending mainnet ETH. Connect the same wallet to ZKsync Era Sepolia, chain ID 300.

ZKsync Era RPC API: URLs, chain IDs, and native methods

Connect to ZKsync Era Mainnet at https://zksync-mainnet.core.chainstack.com/YOUR_ENDPOINT_ID. Copy the authenticated URL from Access and credentials. Mainnet uses chain ID 324 and ETH for gas. Sepolia uses https://zksync-sepolia-testnet.core.chainstack.com/YOUR_ENDPOINT_ID and chain ID 300. See the ZKsync Era tooling guide.

Use eth_getBalance for ETH balances, eth_call for contract reads, eth_getLogs for event history, and eth_sendRawTransaction for signed transactions. Connect over WebSocket for supported new-block and log subscriptions. Use native zks_* methods for fees, transaction details, and L1 batches. ZKsync method availability describes chain-specific APIs.