Exemplo n.º 1
0
        public static void GetBalance(String[] args)
        {
            if (args.Length < 3)
            {
                WriteLine("You have input invalid parameters.");
                Environment.Exit(0);
            }
            var address = Address.FromHexString(args[2]);
            var account = AccountClient.GetAccountInfo(address, Revision.BEST);

            WriteLine(JsonConvert.SerializeObject(account));
        }