Swift API

Introduction

Overview of the Client component in the ZKsync Era

A Web3 provider object provides application-layer access to underlying blockchain networks.

The zksync2-swift library supports provider methods from the web3swift library and supplies additional functionality.

Two providers are available:

  • ZkSyncClient: Supplies the same functionality as Web3 and extends it with ZKsync-specific methods.

The ZkSyncClient component in zksync2-swift offers enhanced interaction capabilities with the ZKsync Era blockchain. It provides methods to estimate transaction fees, gas requirements, and access to additional ZKsync-specific information and functionalities, making it a powerful tool for developers working within the ZKsync ecosystem.


Made with ❤️ by the ZKsync Community