pub async fn is_mainnet() -> Result<bool, Error>