diff --git a/core/bin/zksync_api/src/api_server/rpc_server/types.rs b/core/bin/zksync_api/src/api_server/rpc_server/types.rs index bba57a27a6..31bf7d147d 100644 --- a/core/bin/zksync_api/src/api_server/rpc_server/types.rs +++ b/core/bin/zksync_api/src/api_server/rpc_server/types.rs @@ -128,7 +128,9 @@ pub struct ContractAddressResp { pub gov_contract: String, } +/// The metadata of the JSON-RPC call retrieved from the HTTP request of the call #[derive(Debug, Serialize, Deserialize, Clone)] pub struct RequestMetadata { + /// The ip of the call origin pub ip: String, }