rpc/core.rs
1use serde::{Deserialize, Serialize};
2
3/// Static parameters exposed by the core service.
4#[derive(Debug, Clone, Serialize, Deserialize)]
5pub struct CorePublicParameters {
6 /// Operator BLS public key.
7 pub public_key: Vec<u8>,
8 /// Address of the on-chain core contract.
9 pub contract_address: String,
10 /// Ethereum RPC endpoint URL.
11 pub ethereum_http_rpc_url: String,
12 /// EIP-712 domain name.
13 pub eip712_name: String,
14 /// EIP-712 domain version.
15 pub eip712_version: String,
16 /// Chain identifier used for the signing domain.
17 pub chain_id: u64,
18}