@using BTCPayServer.Client @using BTCPayServer.Plugins.LSP @using Microsoft.AspNetCore.Mvc.TagHelpers @using Microsoft.AspNetCore.Routing @using BTCPayServer.Abstractions.Contracts @inject BTCPayServerClient BTCPayServerClient @inject LSPService LSPService @inject IScopeProvider ScopeProvider @{ var storeId = ScopeProvider.GetCurrentStoreId(); LSPSettings settings = null; if (!string.IsNullOrEmpty(storeId)) { try { settings = await LSPService.GetLSPForStore(storeId); } catch (Exception) { } } } @if (!string.IsNullOrEmpty(storeId)) {
  • LSP Sell lightning channel inbound liquidity using BTCPay Server @if (settings?.Enabled is true) { Active | Modify } else { Disabled Setup }
  • }