@using NBitcoin.DataEncoders @using NBitcoin @model BTCPayServer.Components.LabelManager.LabelViewModel @{ var elementId = "a" + Encoders.Base58.EncodeData(RandomUtils.GetBytes(16)); var fetchUrl = Url.Action("LabelsJson", "UIWallets", new { walletId = Model.WalletObjectId.WalletId, excludeTypes = Safe.Json(Model.ExcludeTypes) }); var updateUrl = Model.AutoUpdate? Url.Action("UpdateLabels", "UIWallets", new { walletId = Model.WalletObjectId.WalletId }): string.Empty; }