validate_rpc_chain_id

Function validate_rpc_chain_id 

Source
async fn validate_rpc_chain_id(
    rpc_url: &str,
    expected_chain: &Chain,
) -> Result<()>
Expand description

Validate that the RPC endpoint chain ID matches the specified chain