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); }
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); }
public override async Task <AccountState> ExecuteAsync(IClient client) { var accountState = new NeoGetAccountState(client); return(await accountState.SendRequestAsync(Settings.GetDefaultAccount())); }