@using BTCPayServer.Lightning @using BTCPayServer.Models.StoreViewModels @using BTCPayServer.Plugins.Breez @using BTCPayServer.Security @using BTCPayServer.Client @inject BreezService BreezService @{ 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; var nodeState = sdk.NodeInfo(); var lspInfo = sdk.LspInfo(); }