get_provider_with_curl

Function get_provider_with_curl 

Source
pub fn get_provider_with_curl(
    config: &Config,
    curl_mode: bool,
) -> Result<RetryProvider>
Expand description

Returns a [RetryProvider] with curl mode option.

When curl_mode is true, the provider will print equivalent curl commands to stdout instead of executing RPC requests.