get_chain

Function get_chain 

Source
pub async fn get_chain<P>(chain: Option<Chain>, provider: P) -> Result<Chain>
where P: Provider<AnyNetwork>,