@using BTCPayServer @using BTCPayServer.Models.StoreViewModels @using BTCPayServer.Plugins.BreezSpark @using BTCPayServer.Security @using BTCPayServer.Services.Invoices @using Microsoft.AspNetCore.Mvc.TagHelpers @inject BreezSparkService BreezService @inject PaymentMethodHandlerDictionary PaymentMethodHandlerDictionary @* @inject BTCPayNetworkProvider BTCPayNetworkProvider *@ @{ Layout = "_Layout"; ViewData.SetActivePage("Breez", "Sweep", "Sweep"); string storeId = null; if (Model is string s) { storeId = s; } else if (Model is StoreDashboardViewModel dashboardModel) { storeId = dashboardModel.StoreId; } else { storeId = Context.GetImplicitStoreId(); } var sdk = BreezService.GetClient(storeId)?.Sdk; if (sdk is null) return; @* TODO: Fix for v2.2.1 - derivation settings check needed *@ // Use standard fee rates since RecommendedFees API may have changed var standardFees = new { fastestFee = 10, halfHourFee = 5, hourFee = 3, economyFee = 2, minimumFee = 1 }; } @* @if (derivationSettings is not null) { } *@

@ViewData["Title"]

Address to sweep funds to
Choose from preset fee rates or enter custom value