Python API

Introduction

Overview of Web3Providers and their functions

A Web3 Provider object provides application-layer access to underlying blockchain networks. It serves as a crucial interface for interacting with various blockchain functionalities, enabling developers to connect, communicate, and perform operations on the blockchain.

The zksync2 library supports provider methods from the web3.py library and supplies additional functionality tailored for the ZKsync Era network.

Key features

  • Network connectivity: Establishes connections to blockchain networks, allowing applications to interact with them.
  • Transaction management: Facilitates the creation, sending, and tracking of transactions.
  • Gas estimation: Provides estimations for the amount of gas required for transactions.
  • Account management: Retrieves balances and transaction histories for accounts.
  • Contract interaction: Enables interaction with smart contracts, including deploying and calling contract methods.

Made with ❤️ by the ZKsync Community