Elysium mainnet is live! Get your lightning-fast RPC endpoints now.    Start building
  • Agents
  • Tarifs

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
Créer un point de terminaison
Logo « Stars » du widget de la page d'accueil
get mcp.chainstack.com, deploy ZKsync Era mainnet RPC node and give me the HTTPS endpoint
Essayez dans Codex Claude
ThorFiÉclats d'obusRFOXOdosTradingViewRippleCerclePendleTrust WalletBinanceGoldskyCertiKBlockpourNumioBanditNexoCoinGeckoUniDexVaiVLaunchWorkinmanZapperBitgetTrust WalletAoriArgentKaikoQuantstamp

Fast ZKsync Era RPC, right where you need it

Mondial Node

RPC à équilibrage géographiqueConçu pour la 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 d'un réseau mondial d'node s basées sur la blockchain

Your full development stack for ZKsync Era

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

Icône « node » illimité

Illimité 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 requêtes / seconde
$ 149 $ /mois
25100250500

Build and scale with reliable ZKsync Era RPC

Logo « Infra Icon 1 » de la page d'accueil

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
Logo « Infra Icon 2 » de la page d'accueil

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
Logo « Infra Icon 3 » de la page d'accueil

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
Logo « Infra Icon 4 » de la page d'accueil

Inspect contract execution

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

Explore ZKsync debug APIs
Page d'accueil — Logo « Infra Icon 5 »

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
Plus de 10 milliardsd'appels API quotidienssur Chainstack
Plus de 10 centres de données «Chainstack » à travers le monde
Accès à l'assistance 24 h/24, 7 j/7
Disponibilité supérieure à 99,99 %

Dedicated ZKsync Era RPC for enterprise teams

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

Dédié Node

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

Node type
Chargement du prix…Commencer

Pourquoi les développeurs choisissent Chainstack

Témoignages de clients issus d'équipes utilisant l'Chainstack sur les réseaux pris en charge.

Témoignage d'un héros - Logo BgNotre collaboration avec Chainstack nous a permis de réduire nos coûts d'infrastructure de plus de 70 %, tout en relevant des défis complexes en matière de sécurité Web3.Map Shen, responsable de la plateforme chez CertiKTémoignages de clients (s'ouvre dans un nouvel onglet)
4,9/539 avisG2

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 (s'ouvre dans un nouvel onglet)
Chainstack Illustration d'un « faucet » sur le testnet

Connect to ZKsync Era RPC

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

HTTPS · Requêtes JSON-RPC
https://zksync-mainnet.core.chainstack.com/YOUR_ENDPOINT_ID
WebSocket · abonnements en temps réel
wss://zksync-mainnet.core.chainstack.com/YOUR_ENDPOINT_ID

Create a ZKsync Era node. Copy your authenticated HTTPS URL from Accès et identifiants et remplacer YOUR_ENDPOINT_ID dans l'exemple.

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.

Consulter la référence des méthodes (s'ouvre dans un nouvel onglet)

ZKsync Era RPC pricing

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

Des formules économiques adaptées à chaque type de charge de travail

À partir de40$/moisavec un abonnement annuel
Découvrez les formules payantes
De 20M demandes, y compris les demandes mensuellesComparer et convertir
  • Un débit plus élevé et des limites d'node s plus importantes

Toutes les fonctionnalités destinées aux développeurs, ainsi que :

  • Données d'archives Growth+
  • Extensions Growth+
  • Nodes Pro+ dédié
  • Authentification unique Pro+
  • Accès basé sur les rôles Business+
  • Nombre illimité d'utilisateurs Business+
Voir toutes les fonctionnalités

Les modules complémentaires et l'infrastructure dédiée d'Node sont facturés séparément.

Logo des utilisateursUne assistance exceptionnelle pour toutes les formules payantes
Pour les équipes qualifiées

Vous dépensez plus de 2 000 $ par mois en infrastructure RPC ?

Économisez plus de 50 % sur notre formule haut de gamme « Pay-as-you-go »

TelegramDiscuter sur Telegram (s'ouvre dans un nouvel onglet)
Foire aux 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?

Voici l'URL HTTPS de votre réseau principal : https://zksync-mainnet.core.chainstack.com/YOUR_ENDPOINT_ID. Sepolia utilise https://zksync-sepolia-testnet.core.chainstack.com/YOUR_ENDPOINT_ID. Copiez l'URL authentifiée complète depuis votre node et remplacez l'ID de point de terminaison indiqué dans l'exemple. Consultez la 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). La devise du réseau est l'ETH. Utilisez l'identifiant de chaîne correspondant à votre point de terminaison lors de la configuration d'un portefeuille ou de la signature de transactions. Consultez la informations officielles sur le réseau.

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.

Puis-je utiliser MetaMask, ethers.js, viem et 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?

Appeler eth_getLogs avec une plage de blocs limitée et les thèmes d'événements dont vous avez besoin. Les transferts ERC-20 utilisent la norme Transfer(address,address,uint256) signature de l'événement. Filtrer par adresse de contrat pour un jeton spécifique et paginer les backfills volumineux. La requête utilise la norme Ethereum- paramètres du journal des événements compatibles.

How much does ZKsync Era RPC cost?

Commencez par la formule gratuite « Developer ». Les formules payantes sont disponibles à partir de 40 $ par mois avec une facturation annuelle. L'option « Node » illimitée ajoute une capacité de requêtes à tarif forfaitaire issue de la formule « Growth ». Les « Nodes » dédiés nécessitent la formule « Pro » ou supérieure, l'infrastructure étant facturée séparément. Comparez les fonctionnalités des formules actuelles.

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. Copiez l'URL authentifiée à partir de Accès et identifiants. Le mainnet utilise l'identifiant de chaîne 324 et de l'ETH pour payer les frais de gaz. Sepolia utilise https://zksync-sepolia-testnet.core.chainstack.com/YOUR_ENDPOINT_ID et l'identifiant de la chaîne 300. Voir le ZKsync Era tooling guide.

Utilisation eth_getBalance pour les soldes en ETH, eth_call pour les lectures de contrats, eth_getLogs pour l'historique des événements, et 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.