anvil_zksync_api_server/impls/
web3.rs1use anvil_zksync_api_decl::Web3NamespaceServer;
2use jsonrpsee::core::RpcResult;
3
4pub struct Web3Namespace;
5
6impl Web3NamespaceServer for Web3Namespace {
7 fn client_version(&self) -> RpcResult<String> {
8 Ok("zkSync/v2.0".to_string())
9 }
10}