# zksync

> Pages under zksync in the Alchemy Docs.

## Pages

- [Quickstart](https://www.alchemy.com/docs/reference/zksync-api-quickstart.md): How to get started building on zkSync Era using Alchemy
- [zkSync API Overview](https://www.alchemy.com/docs/zksync/zksync-api-overview.md): Overview of available ZKsync API methods
- [eth_accounts](https://www.alchemy.com/docs/chains/zksync/zk-sync-api-endpoints/eth-accounts.md): Returns a list of addresses owned by the client.
- [eth_blockNumber](https://www.alchemy.com/docs/chains/zksync/zk-sync-api-endpoints/eth-block-number.md): Returns the number of the most recent block.
- [eth_call](https://www.alchemy.com/docs/chains/zksync/zk-sync-api-endpoints/eth-call.md): Executes a new message call immediately without creating a transaction on the blockchain.
- [eth_chainId](https://www.alchemy.com/docs/chains/zksync/zk-sync-api-endpoints/eth-chain-id.md): Returns the chain ID of the current network as a hexadecimal string.
- [eth_estimateGas](https://www.alchemy.com/docs/chains/zksync/zk-sync-api-endpoints/eth-estimate-gas.md): Generates and returns an estimate of how much gas is necessary to allow the transaction to complete.
- [eth_feeHistory](https://www.alchemy.com/docs/chains/zksync/zk-sync-api-endpoints/eth-fee-history.md): Returns historical base fee per gas and priority fee per gas data for a range of blocks.
- [eth_gasPrice](https://www.alchemy.com/docs/chains/zksync/zk-sync-api-endpoints/eth-gas-price.md): Returns the current price per gas in wei.
- [eth_getAccount](https://www.alchemy.com/docs/chains/zksync/zk-sync-api-endpoints/eth-get-account.md): Retrieve account details (code hash, storage root, balance, nonce) for a given address at a specified block number or tag.

- [eth_getBalance](https://www.alchemy.com/docs/chains/zksync/zk-sync-api-endpoints/eth-get-balance.md): Returns the balance of the account of a given address.
- [eth_getBlockByHash](https://www.alchemy.com/docs/chains/zksync/zk-sync-api-endpoints/eth-get-block-by-hash.md): Returns information about a block by its hash.
- [eth_getBlockByNumber](https://www.alchemy.com/docs/chains/zksync/zk-sync-api-endpoints/eth-get-block-by-number.md): Returns information about a block by its number.
- [eth_getBlockReceipts](https://www.alchemy.com/docs/chains/zksync/zk-sync-api-endpoints/eth-get-block-receipts.md): Returns the receipts of a block by number or hash.
- [eth_getBlockTransactionCountByHash](https://www.alchemy.com/docs/chains/zksync/zk-sync-api-endpoints/eth-get-block-transaction-count-by-hash.md): Returns the number of transactions in a block from a block matching the given block hash.
- [eth_getBlockTransactionCountByNumber](https://www.alchemy.com/docs/chains/zksync/zk-sync-api-endpoints/eth-get-block-transaction-count-by-number.md): Returns the number of transactions in a block matching the given block number.
- [eth_getCode](https://www.alchemy.com/docs/chains/zksync/zk-sync-api-endpoints/eth-get-code.md): Returns the code at a given address.
- [eth_getFilterChanges](https://www.alchemy.com/docs/chains/zksync/zk-sync-api-endpoints/eth-get-filter-changes.md): Polls for changes in the filter with the given ID (created using eth_newFilter). Returns an array of logs which occurred since the last poll.
- [eth_getFilterLogs](https://www.alchemy.com/docs/chains/zksync/zk-sync-api-endpoints/eth-get-filter-logs.md): Returns an array of all logs matching the filter with the given ID (created using eth_newFilter).
- [eth_getLogs](https://www.alchemy.com/docs/chains/zksync/zk-sync-api-endpoints/eth-get-logs.md): Returns an array of all logs matching the specified filter.
- [eth_getRawTransactionByHash](https://www.alchemy.com/docs/chains/zksync/zk-sync-api-endpoints/eth-get-raw-transaction-by-hash.md): Returns the raw transaction data (RLP-encoded) for a transaction by its hash.
- [eth_getStorageAt](https://www.alchemy.com/docs/chains/zksync/zk-sync-api-endpoints/eth-get-storage-at.md): Returns the value from a storage position at a given address.
- [eth_getTransactionByBlockHashAndIndex](https://www.alchemy.com/docs/chains/zksync/zk-sync-api-endpoints/eth-get-transaction-by-block-hash-and-index.md): Returns information about a transaction by block hash and transaction index position.
- [eth_getTransactionByBlockNumberAndIndex](https://www.alchemy.com/docs/chains/zksync/zk-sync-api-endpoints/eth-get-transaction-by-block-number-and-index.md): Returns information about a transaction by block number and transaction index position.
- [eth_getTransactionByHash](https://www.alchemy.com/docs/chains/zksync/zk-sync-api-endpoints/eth-get-transaction-by-hash.md): Returns information about a transaction requested by transaction hash.
- [eth_getTransactionCount](https://www.alchemy.com/docs/chains/zksync/zk-sync-api-endpoints/eth-get-transaction-count.md): Returns the number of transactions sent from an address.
- [eth_getTransactionReceipt](https://www.alchemy.com/docs/chains/zksync/zk-sync-api-endpoints/eth-get-transaction-receipt.md): Returns the receipt of a transaction by transaction hash.
- [eth_getUncleCountByBlockHash](https://www.alchemy.com/docs/chains/zksync/zk-sync-api-endpoints/eth-get-uncle-count-by-block-hash.md): Returns the number of uncles in a block matching the given block hash.
- [eth_getUncleCountByBlockNumber](https://www.alchemy.com/docs/chains/zksync/zk-sync-api-endpoints/eth-get-uncle-count-by-block-number.md): Returns the number of uncles in a block matching the given block number.
- [eth_newBlockFilter](https://www.alchemy.com/docs/chains/zksync/zk-sync-api-endpoints/eth-new-block-filter.md): Creates a filter in the node to notify when new blocks arrive.
- [eth_newFilter](https://www.alchemy.com/docs/chains/zksync/zk-sync-api-endpoints/eth-new-filter.md): Creates a filter object based on filter options to notify when state changes (logs).
- [eth_sendRawTransaction](https://www.alchemy.com/docs/chains/zksync/zk-sync-api-endpoints/eth-send-raw-transaction.md): Submits a raw transaction to the network.
- [eth_sendRawTransactionSync](https://www.alchemy.com/docs/chains/zksync/zk-sync-api-endpoints/eth-send-raw-transaction-sync.md): Sends a raw transaction to the network and waits for the transaction to be mined.
- [eth_submitWork](https://www.alchemy.com/docs/chains/zksync/zk-sync-api-endpoints/eth-submit-work.md): Submit a proof-of-work solution (Ethash) consisting of a nonce, the header PoW hash, and the mix digest. Not supported on post-Merge Ethereum clients; many nodes will return JSON-RPC error -32601 (method not found).

- [eth_subscribe](https://www.alchemy.com/docs/chains/zksync/zk-sync-api-endpoints/eth-subscribe.md): Subscribe to Ethereum events via WebSocket (WSS required)
- [eth_syncing](https://www.alchemy.com/docs/chains/zksync/zk-sync-api-endpoints/eth-syncing.md): Returns an object with data about the sync status or false if not syncing.
- [eth_uninstallFilter](https://www.alchemy.com/docs/chains/zksync/zk-sync-api-endpoints/eth-uninstall-filter.md): Uninstalls a filter with the given ID.
- [eth_unsubscribe](https://www.alchemy.com/docs/chains/zksync/zk-sync-api-endpoints/eth-unsubscribe.md): Cancel a WebSocket subscription (WSS required)
- [net_listening](https://www.alchemy.com/docs/chains/zksync/zk-sync-api-endpoints/net-listening.md): Returns true if the client is actively listening for network connections.
- [net_version](https://www.alchemy.com/docs/chains/zksync/zk-sync-api-endpoints/net-version.md): Returns the network ID that the client is connected to.
- [web3_clientVersion](https://www.alchemy.com/docs/chains/zksync/zk-sync-api-endpoints/web-3-client-version.md): Returns the current client version.
- [web3_sha3](https://www.alchemy.com/docs/chains/zksync/zk-sync-api-endpoints/web-3-sha-3.md): Returns Keccak-256 (not the standardized SHA3-256) hash of the given data.
- [zks_estimateFee](https://www.alchemy.com/docs/chains/zksync/zk-sync-api-endpoints/zks-estimate-fee.md): Estimates the fee for a given call request.
- [zks_estimateGasL1ToL2](https://www.alchemy.com/docs/chains/zksync/zk-sync-api-endpoints/zks-estimate-gas-l-1-to-l-2.md): Estimates the gas required for an L1 to L2 transaction.
- [zks_gasPerPubdata](https://www.alchemy.com/docs/chains/zksync/zk-sync-api-endpoints/zks-gas-per-pubdata.md): Retrieves the current gas per pubdata byte
- [zks_getAllAccountBalances](https://www.alchemy.com/docs/chains/zksync/zk-sync-api-endpoints/zks-get-all-account-balances.md): Gets all account balances for a given address.
- [zks_getBaseTokenL1Address](https://www.alchemy.com/docs/chains/zksync/zk-sync-api-endpoints/zks-get-base-token-l-1-address.md): Retrieves the L1 base token address.
- [zks_getBlockDetails](https://www.alchemy.com/docs/chains/zksync/zk-sync-api-endpoints/zks-get-block-details.md): Retrieves details for a given block.
- [zks_getBridgeContracts](https://www.alchemy.com/docs/chains/zksync/zk-sync-api-endpoints/zks-get-bridge-contracts.md): Retrieves the addresses of canonical bridge contracts for zkSync Era.
- [zks_getBridgehubContract](https://www.alchemy.com/docs/chains/zksync/zk-sync-api-endpoints/zks-get-bridgehub-contract.md): Retrieves the address of the zkSync bridgehub contract.
- [zks_getBytecodeByHash](https://www.alchemy.com/docs/chains/zksync/zk-sync-api-endpoints/zks-get-bytecode-by-hash.md): Retrieves the bytecode of a transaction by its hash.
- [zks_getConfirmedTokens](https://www.alchemy.com/docs/chains/zksync/zk-sync-api-endpoints/zks-get-confirmed-tokens.md): Retrieves the confirmed tokens on zkSync.
- [zks_getFeeParams](https://www.alchemy.com/docs/chains/zksync/zk-sync-api-endpoints/zks-get-fee-params.md): Retrieves the current fee parameters.
- [zks_getL1BatchBlockRange](https://www.alchemy.com/docs/chains/zksync/zk-sync-api-endpoints/zks-get-l-1-batch-block-range.md): Returns the range of blocks contained within a batch given by the batch number.
- [zks_getL1BatchDetails](https://www.alchemy.com/docs/chains/zksync/zk-sync-api-endpoints/zks-get-l-1-batch-details.md): Retrieves details for a given L1 batch.
- [zks_getL1GasPrice](https://www.alchemy.com/docs/chains/zksync/zk-sync-api-endpoints/zks-get-l-1-gas-price.md): Retrieves the current L1 gas price.
- [zks_getL2ToL1LogProof](https://www.alchemy.com/docs/chains/zksync/zk-sync-api-endpoints/zks-get-l-2-to-l-1-log-proof.md): Retrieves the log proof for an L2 to L1 transaction.
- [zks_getL2ToL1MsgProof](https://www.alchemy.com/docs/chains/zksync/zk-sync-api-endpoints/zks-get-l-2-to-l-1-msg-proof.md): Retrieves the proof for an L2 to L1 message.
- [zks_getMainContract](https://www.alchemy.com/docs/chains/zksync/zk-sync-api-endpoints/zks-get-main-contract.md): Retrieves the address of the zkSync main contract.
- [zks_getProof](https://www.alchemy.com/docs/chains/zksync/zk-sync-api-endpoints/zks-get-proof.md): Generates Merkle proofs for storage values associated with a specific account.
- [zks_getProtocolVersion](https://www.alchemy.com/docs/chains/zksync/zk-sync-api-endpoints/zks-get-protocol-version.md): Retrieves the current protocol version.
- [zks_getRawBlockTransactions](https://www.alchemy.com/docs/chains/zksync/zk-sync-api-endpoints/zks-get-raw-block-transactions.md): Lists transactions in a block without processing them.
- [zks_getTestnetPaymaster](https://www.alchemy.com/docs/chains/zksync/zk-sync-api-endpoints/zks-get-testnet-paymaster.md): Retrieves the testnet paymaster address.
- [zks_getTransactionDetails](https://www.alchemy.com/docs/chains/zksync/zk-sync-api-endpoints/zks-get-transaction-details.md): Retrieves details for a given transaction.
- [zks_L1BatchNumber](https://www.alchemy.com/docs/chains/zksync/zk-sync-api-endpoints/zks-l-1-batch-number.md): Retrieves the current L1 batch number.
- [zks_L1ChainId](https://www.alchemy.com/docs/chains/zksync/zk-sync-api-endpoints/zks-l-1-chain-id.md): Retrieves the L1 chain ID.
- [zks_sendRawTransactionWithDetailedOutput](https://www.alchemy.com/docs/chains/zksync/zk-sync-api-endpoints/zks-send-raw-transaction-with-detailed-output.md): Executes a transaction and returns its hash, storage logs, and events that would have been generated if the transaction had already been included in the block.
- [FAQ](https://www.alchemy.com/docs/reference/zksync-api-faq.md): Frequently asked questions about the zkSync Era API
