zkSync is built on ZK Rollup architecture. ZK Rollup is an L2 scaling solution in which all funds are held by a smart contract on the mainchain, while computation and storage are performed off-chain. For every Rollup block, a state transition zero-knowledge proof (SNARK) is generated and verified by the mainchain contract. This SNARK includes the proof of the validity of every single transaction in the Rollup block. Additionally, the public data update for every block is published over the mainchain network in the cheap calldata.
This architecture provides the following guarantees:
In other words, ZK Rollup strictly inherits the security guarantees of the underlying L1.
Quotas & Limits
API List (53)
Returns an array of addresses owned by the client.
Returns the latest block number of the blockchain.
Executes a new message call immediately without creating a transaction on the block chain.
Returns the current network/chain ID, used to sign replay-protected transaction introduced in EIP-155.
Returns an estimation of gas for a given transaction.
Returns the current gas price on the network in wei.
Returns the balance of given account address in wei.
Returns information of the block matching the given block hash.
Returns information of the block matching the given block number.
Returns the number of transactions for the block matching the given block hash.