pub struct NetworkConfigEntry {
pub chain_id: i64,
pub rpc_url: String,
pub wss_url: String,
pub explorer_url: String,
pub default_stablecoin: Option<String>,
}Expand description
Chain metadata for a single Tempo network.
Fields§
§chain_id: i64EVM chain ID (e.g. 4217 for Tempo mainnet, 42_431 for moderato testnet).
rpc_url: StringAuthenticated JSON-RPC proxy URL on this deployment
({api_base}/rpc/{network}). NOT the upstream Tempo gateway.
wss_url: StringWebSocket JSON-RPC URL on the native Tempo gateway (no proxy).
explorer_url: StringBlock-explorer base URL for this network.
default_stablecoin: Option<String>Default stablecoin ticker; None when the deployment has not
finalized a token for the network (e.g. mainnet pre-launch).
Trait Implementations§
Source§impl Clone for NetworkConfigEntry
impl Clone for NetworkConfigEntry
Source§fn clone(&self) -> NetworkConfigEntry
fn clone(&self) -> NetworkConfigEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NetworkConfigEntry
impl Debug for NetworkConfigEntry
Source§impl<'de> Deserialize<'de> for NetworkConfigEntry
impl<'de> Deserialize<'de> for NetworkConfigEntry
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for NetworkConfigEntry
impl RefUnwindSafe for NetworkConfigEntry
impl Send for NetworkConfigEntry
impl Sync for NetworkConfigEntry
impl Unpin for NetworkConfigEntry
impl UnsafeUnpin for NetworkConfigEntry
impl UnwindSafe for NetworkConfigEntry
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more