public static async Task <decimal> getDecimalBalanceOfAsync(string chainHash, string assetid, string address) { using (Neo.VM.ScriptBuilder sb = new ScriptBuilder()) { sb.EmitAppCall(ZoroHelper.Parse(assetid), "balanceOf", ZoroHelper.GetPublicKeyHashFromAddress(address)); sb.EmitAppCall(ZoroHelper.Parse(assetid), "decimals"); sb.EmitAppCall(ZoroHelper.Parse(assetid), "symbol"); var info = await ZoroHelper.InvokeScript(sb.ToArray(), chainHash); var value = GetDecimalBalanceFromJson(info); return(value); } }