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