Polygon zkEVM JSON RPC API
Introduction
Polygon zkEVM is a Layer 2 scaling solution that combines the security of Ethereum with the scalability of zero-knowledge rollups. zkEVM allows for fast and low-cost transactions while maintaining compatibility with the Ethereum Virtual Machine (EVM), making it easier for developers to deploy their existing Ethereum applications. Polygon zkEVM is ideal for decentralized finance (DeFi), NFTs, and other decentralized applications requiring high throughput.
Supported Networks
The Polygon zkEVM RPC API is available for the following networks:
- Polygon zkEVM Mainnet
- Polygon zkEVM Cardona Testnet
Network Details
Network | Chain ID | EVM Chain | RPC URLs |
---|---|---|---|
Polygon zkEVM Mainnet | 0x44d (1101) | EvmChain.POLYGON_ZKEVM | https://site1.moralis-nodes.com/polygon-zkevm/ |
https://site2.moralis-nodes.com/polygon-zkevm/ | |||
Polygon zkEVM Cardona | 0x98a (2442) | EvmChain.POLYGON_ZKEVM_CARDONA | https://site1.moralis-nodes.com/polygon-zkevm-cardona/ |
https://site2.moralis-nodes.com/polygon-zkevm-cardona/ |
Supported RPC Methods
- eth_blockNumber
- eth_call
- eth_chainId
- eth_createAccessList
- eth_estimateGas
- eth_feeHistory
- eth_gasPrice
- eth_getBalance
- eth_getBlockByHash
- eth_getBlockByNumber
- eth_getBlockTransactionCountByHash
- eth_getBlockTransactionCountByNumber
- eth_getBlockReceipts
- eth_getCode
- eth_getLogs
- eth_getProof
- eth_getStorageAt
- eth_getTransactionByHash
- eth_getTransactionByBlockHashAndIndex
- eth_getTransactionByBlockNumberAndIndex
- eth_getTransactionCount
- eth_getTransactionReceipt
- eth_getUncleByBlockHashAndIndex
- eth_getUncleByBlockNumberAndIndex
- eth_getUncleCountByBlockHash
- eth_getUncleCountByBlockNumber
- eth_maxPriorityFeePerGas
- eth_sendRawTransaction