Crate zksync_web3_decl

Source
Expand description

zksync_web3_decl is a collection of common types required for ZKsync Web3 API and also jsonrpsee-based declaration of server and client traits.

Web3 namespaces are declared in namespaces module.

For the usage of these traits, check the documentation of jsonrpsee crate.

Re-exports§

pub use jsonrpsee;

Modules§

client
L2 JSON-RPC clients, currently used for interaction between external nodes (from the client side) and the main node (from the server side).
error
Definition of errors that can occur in the ZKsync Web3 API.
namespaces
types
Web3 API types definitions.