public int GetAmount(string address) { try { Blockchain.Blockchain chain = GetBlockchain(); return(chain.GetBalanceOfAddress(address)); } catch (Exception e) { Console.WriteLine("[G] " + e.Message); return(0); } }