public async Task <List <AccountBalance> > GetAssets() { var assetService = new NeoApiAccountService(AppSettings.RpcClient); var assetBalance = await assetService.GetAccountState.SendRequestAsync(ActiveUser.GetUserDefaultAddress()); return(assetBalance.Balance); }
public NeoApiService(IClient client) : base(client) { Client = client; Accounts = new NeoApiAccountService(client); Assets = new NeoApiAssetService(client); Blocks = new NeoApiBlockService(client); Contracts = new NeoApiContractService(client); Nodes = new NeoApiNodeService(client); Transactions = new NeoApiTransactionService(client); }