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 override async Task <WalletBalance> ExecuteAsync(IClient client) { var balance = new NeoGetBalance(client); return(await balance.SendRequestAsync(Settings.GetGoverningAssetHash())); }