/// <summary> /// /// </summary> /// <returns></returns> public async Task <object> GetAllAssets() { using var db = new TrackDB(); return(db.GetAllAssets()?.Select(a => new AssetInfo() { Asset = UInt160.Parse(a.Asset), Decimals = a.Decimals, Name = a.Name, Symbol = a.Symbol, TotalSupply = new BigInteger(a.TotalSupply), })); }