public static async Task <float> AdminBalanceCheck() { //checks how much NCG is available - the amount of Tips already provided to users. //Available balance = Total NCG - Amount of Tops already given. string botaccount = "0x083B1ad95AF96B754E055384B260a3024d02c7ba"; var ncg = new NCG(); var db = new SqliteDataAccess(); string balance = ncg.NCGGold(botaccount); var usedBalance = db.AdminBalance(); float result = float.Parse(balance) - float.Parse(usedBalance.Result); return(result); }