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);
 }
Esempio n. 2
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);
     GetWalletHeight = new NeoGetWalletHeight(client);
 }
 public NeoApiAccountService(IClient client) : base(client)
 {
     GetAccountState = new NeoGetAccountState(client);
     ValidateAddress = new NeoValidateAddress(client);
 }
Esempio n. 4
0
        public override async Task <AccountState> ExecuteAsync(IClient client)
        {
            var accountState = new NeoGetAccountState(client);

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