# Xlayer Documentation > OKX's zkEVM L2 built on Polygon CDK. JSON-RPC, Erigon archive, `zkevm_` namespace, Trace, and Debug. - [Quicknode X Layer RPC Overview](https://www.quicknode.com/docs/xlayer.md): Get started with X Layer RPC on Quicknode. Access reliable, low-latency infrastructure for X Layer with globally distributed endpoints. ## Making API Requests - [X Layer QuickStart](https://www.quicknode.com/docs/xlayer/quickstart.md): Get started with X Layer RPC on Quicknode. Follow this QuickStart to get up and running with your own Quicknode endpoint and making your first API request to the X Layer blockchain. - [X Layer API Endpoints](https://www.quicknode.com/docs/xlayer/endpoints.md): Learn how to use X Layer RPC endpoints, make API requests, and handle responses with Quicknode. - [X Layer Endpoint Security](https://www.quicknode.com/docs/xlayer/endpoint-security.md): Learn about endpoint security options and how to set up a Quicknode X Layer RPC endpoint for optimal performance and security. - [X Layer Error Code Reference](https://www.quicknode.com/docs/xlayer/error-references.md): Learn about X Layer error codes, including HTTP, JSON-RPC, and Quicknode's own custom error codes. ## API Reference - [X Layer API Overview](https://www.quicknode.com/docs/xlayer/api-overview.md): Overview of supported X Layer APIs, networks and supported products on Quicknode. ## Ethereum JSON-RPC API - [eth_blockNumber RPC Method](https://www.quicknode.com/docs/xlayer/eth_blockNumber.md): Returns the latest block number of the blockchain. - [eth_call RPC Method](https://www.quicknode.com/docs/xlayer/eth_call.md): Executes a new message call immediately without creating a transaction on the block chain. - [eth_chainId RPC Method](https://www.quicknode.com/docs/xlayer/eth_chainId.md): Returns the current network/chain ID, used to sign replay-protected transaction introduced in EIP-155. - [eth_estimateGas RPC Method](https://www.quicknode.com/docs/xlayer/eth_estimateGas.md): Returns an estimation of gas for a given transaction. - [eth_gasPrice RPC Method](https://www.quicknode.com/docs/xlayer/eth_gasPrice.md): Returns the current gas price on the network in wei. - [eth_getBalance RPC Method](https://www.quicknode.com/docs/xlayer/eth_getBalance.md): Returns the balance of given account address in wei. - [eth_getBlockByHash RPC Method](https://www.quicknode.com/docs/xlayer/eth_getBlockByHash.md): Returns information of the block matching the given block hash. - [eth_getBlockByNumber RPC Method](https://www.quicknode.com/docs/xlayer/eth_getBlockByNumber.md): Returns information of the block matching the given block number. - [eth_getBlockReceipts RPC Method](https://www.quicknode.com/docs/xlayer/eth_getBlockReceipts.md): Returns all transaction receipts for a given block. - [eth_getBlockTransactionCountByHash RPC Method](https://www.quicknode.com/docs/xlayer/eth_getBlockTransactionCountByHash.md): Returns the number of transactions for the block matching the given block hash. - [eth_getBlockTransactionCountByNumber RPC Method](https://www.quicknode.com/docs/xlayer/eth_getBlockTransactionCountByNumber.md): Returns the number of transactions for the block matching the given block number. - [eth_getCode RPC Method](https://www.quicknode.com/docs/xlayer/eth_getCode.md): Returns the compiled bytecode of a smart contract. - [eth_getFilterChanges RPC Method](https://www.quicknode.com/docs/xlayer/eth_getFilterChanges.md): Polling method for a filter, which returns an array of events that have occurred since the last poll. - [eth_getFilterLogs RPC Method](https://www.quicknode.com/docs/xlayer/eth_getFilterLogs.md): Returns an array of all logs matching filter with given id. - [eth_getLogs RPC Method](https://www.quicknode.com/docs/xlayer/eth_getLogs.md): Returns an array of all logs matching a given filter object. - [eth_getRawTransactionByHash RPC Method](https://www.quicknode.com/docs/xlayer/eth_getRawTransactionByHash.md): Returns the raw transaction data for a transaction hash. - [eth_getStorageAt RPC Method](https://www.quicknode.com/docs/xlayer/eth_getStorageAt.md): Returns the value from a storage position at a given address. - [eth_getTransactionByBlockHashAndIndex RPC Method](https://www.quicknode.com/docs/xlayer/eth_getTransactionByBlockHashAndIndex.md): Returns information about a transaction given a blockhash and transaction index position. - [eth_getTransactionByBlockNumberAndIndex RPC Method](https://www.quicknode.com/docs/xlayer/eth_getTransactionByBlockNumberAndIndex.md): Returns information about a transaction given a block number and transaction index position. - [eth_getTransactionByHash RPC Method](https://www.quicknode.com/docs/xlayer/eth_getTransactionByHash.md): Returns the information about a transaction from a transaction hash. - [eth_getTransactionCount RPC Method](https://www.quicknode.com/docs/xlayer/eth_getTransactionCount.md): Returns the number of transactions sent from an address. - [eth_getTransactionReceipt RPC Method](https://www.quicknode.com/docs/xlayer/eth_getTransactionReceipt.md): Returns the receipt of a transaction by transaction hash. - [eth_getUncleCountByBlockHash RPC Method](https://www.quicknode.com/docs/xlayer/eth_getUncleCountByBlockHash.md): Returns the number of uncles for the block matching the given block hash. - [eth_getUncleCountByBlockNumber RPC Method](https://www.quicknode.com/docs/xlayer/eth_getUncleCountByBlockNumber.md): Returns the number of uncles for the block matching the given block number. - [eth_newBlockFilter RPC Method](https://www.quicknode.com/docs/xlayer/eth_newBlockFilter.md): Creates a filter in the node, to notify when a new block arrives. To check if the state has changed, call eth_getFilterChanges. - [eth_newFilter RPC Method](https://www.quicknode.com/docs/xlayer/eth_newFilter.md): Creates a filter object, based on filter options, to notify when the state changes (logs). To check if the state has changed, call eth_getFilterChanges. - [eth_sendRawTransaction RPC Method](https://www.quicknode.com/docs/xlayer/eth_sendRawTransaction.md): Creates new message call transaction or a contract creation for signed transactions. The new API Credit value for this method is 20 when used part of the Core API. If you are using eth_sendRawTransaction as part of a Marketplace add-on, view the add-on's homepage for more information about the specific charge. - [eth_subscribe RPC Method](https://www.quicknode.com/docs/xlayer/eth_subscribe.md): Starts a subscription to a specific event. - [eth_syncing RPC Method](https://www.quicknode.com/docs/xlayer/eth_syncing.md): Returns an object with the sync status of the node if the node is out-of-sync and is syncing. Returns false when the node is already in sync. - [eth_uninstallFilter RPC Method](https://www.quicknode.com/docs/xlayer/eth_uninstallFilter.md): It uninstalls a filter with the given filter id. - [eth_unsubscribe RPC Method](https://www.quicknode.com/docs/xlayer/eth_unsubscribe.md): Cancels an existing subscription so that no further events are sent. - [net_version RPC Method](https://www.quicknode.com/docs/xlayer/net_version.md): Returns the current network id. - [web3_clientVersion RPC Method](https://www.quicknode.com/docs/xlayer/web3_clientVersion.md): Returns the current version of the chain client. - [web3_sha3 RPC Method](https://www.quicknode.com/docs/xlayer/web3_sha3.md): Returns Keccak-256 (not the standardized SHA3-256) hash of the given data. ## Debug API - [debug_traceBlockByHash RPC Method](https://www.quicknode.com/docs/xlayer/debug_traceBlockByHash.md): Returns the possible tracing result number by executing all transactions in the block specified by the block hash with a tracer. - [debug_traceBlockByNumber RPC Method](https://www.quicknode.com/docs/xlayer/debug_traceBlockByNumber.md): Returns the tracing result by executing all transactions in the block specified by number with a tracer. - [debug_traceTransaction RPC Method](https://www.quicknode.com/docs/xlayer/debug_traceTransaction.md): Returns all traces of a given transaction. ## Erigon JSON RPC API - [erigon_blockNumber RPC Method](https://www.quicknode.com/docs/xlayer/erigon_blockNumber.md): Fetches the number of the latest block. - [erigon_forks RPC Method](https://www.quicknode.com/docs/xlayer/erigon_forks.md): Fetches the details of blockchain forks, including genesis block hash, height forks, and time forks. - [erigon_getBlockByTimestamp RPC Method](https://www.quicknode.com/docs/xlayer/erigon_getBlockByTimestamp.md): Fetches the block information by a specific timestamp - [erigon_getBlockReceiptsByBlockHash RPC Method](https://www.quicknode.com/docs/xlayer/erigon_getBlockReceiptsByBlockHash.md): Retrieves the receipts for all transactions in a block by the block's hash. - [erigon_getHeaderByHash RPC Method](https://www.quicknode.com/docs/xlayer/erigon_getHeaderByHash.md): Fetches the header of a block by its hash. - [erigon_getHeaderByNumber RPC Method](https://www.quicknode.com/docs/xlayer/erigon_getHeaderByNumber.md): Fetches the header of a block by its block number - [erigon_getLatestLogs RPC Method](https://www.quicknode.com/docs/xlayer/erigon_getLatestLogs.md): Returns an array of all logs matching a given filter object. - [erigon_getLogsByHash RPC Method](https://www.quicknode.com/docs/xlayer/erigon_getLogsByHash.md): Returns an array of all logs for the given block hash. ## Polygon zkEVM JSON-RPC API - [zkevm_batchNumber RPC Method](https://www.quicknode.com/docs/xlayer/zkevm_batchNumber.md): Returns the latest batch number. - [zkevm_batchNumberByBlockNumber RPC Method](https://www.quicknode.com/docs/xlayer/zkevm_batchNumberByBlockNumber.md): Returns the batch number that a given block number belongs to. - [zkevm_getBatchByNumber RPC Method](https://www.quicknode.com/docs/xlayer/zkevm_getBatchByNumber.md): Returns information about a specific batch in the ZK-EVM layer, based on its batch number. ## Trace API - [trace_block RPC Method](https://www.quicknode.com/docs/xlayer/trace_block.md): Returns traces created at given block (Supported on Erigon). - [trace_call RPC Method](https://www.quicknode.com/docs/xlayer/trace_call.md): Executes a new message call and returns a number of possible traces (Supported on Erigon). - [trace_callMany RPC Method](https://www.quicknode.com/docs/xlayer/trace_callMany.md): Performs multiple call traces on top of the same block. i.e. transaction n will be executed on top of a pending block with all n-1 transactions applied (traced) first. Allows to trace dependent transactions. (Supported on Erigon). - [trace_filter RPC Method](https://www.quicknode.com/docs/xlayer/trace_filter.md): Returns traces matching given filter (Supported on Erigon). - [trace_rawTransaction RPC Method](https://www.quicknode.com/docs/xlayer/trace_rawTransaction.md): Traces a call to eth_sendRawTransaction without making the call, returning the traces(Supported on Erigon). - [trace_replayBlockTransactions RPC Method](https://www.quicknode.com/docs/xlayer/trace_replayBlockTransactions.md): Replays all transactions in a block returning the requested traces for each transaction (Supported on Erigon). - [trace_replayTransaction RPC Method](https://www.quicknode.com/docs/xlayer/trace_replayTransaction.md): Replays a transaction, returning the traces (Supported on Erigon). - [trace_transaction RPC Method](https://www.quicknode.com/docs/xlayer/trace_transaction.md): Returns all traces of given transaction(Supported on Erigon). ## Marketplace - [Supported Marketplace Add-Ons for X Layer](https://www.quicknode.com/docs/xlayer/marketplace-addons.md): Learn about the Quicknode Marketplace and how to utilize Marketplace Add-ons on X Layer.