fn import_account<N: Network>( private_key: Option<String>, write: bool, discreet: bool, ctx: &Context, endpoint: String, ) -> Result<()>