zksync_node_api_server 0.1.0

ZKsync API server
1
2
3
4
5
6
7
8
9
use zksync_web3_decl::{jsonrpsee::core::RpcResult, namespaces::Web3NamespaceServer};

use crate::web3::Web3Namespace;

impl Web3NamespaceServer for Web3Namespace {
    fn client_version(&self) -> RpcResult<String> {
        Ok(self.client_version_impl())
    }
}