Function get_endpoint

Source
pub fn get_endpoint(endpoint: &Option<String>) -> Result<String>
Expand description

Returns the endpoint to interact with the network. If the --endpoint options is not provided, it will default to the environment variable.