Ejemplo n.º 1
0
 public NeoApiAccountService(IClient client) : base(client)
 {
     GetAccountState = new NeoGetAccountState(client);
     ValidateAddress = new NeoValidateAddress(client);
     GetNewAddress   = new NeoGetNewAddress(client);
     GetBalance      = new NeoGetBalance(client);
     ListAddresses   = new NeoListAddresses(client);
     DumpPrivateKey  = new NeoDumpPrivateKey(client);
 }
        public override async Task <string> ExecuteAsync(IClient client)
        {
            var dumpPrivateKey = new NeoDumpPrivateKey(client);

            return(await dumpPrivateKey.SendRequestAsync(Settings.GetDefaultAccount()));
        }