@using BTCPayServer @using BTCPayServer.Lightning @using BTCPayServer.Plugins.MicroNode @using Microsoft.AspNetCore.Mvc.TagHelpers @model BTCPayServer.Plugins.MicroNode.MicroNodeSettings @inject MicroNodeService MicroNodeService @{ ViewData.SetActivePage("MicroNode ", "Configure Master", "ConfigureMaster"); var storeId = Context.GetCurrentStoreId(); }

@ViewData["Title"]

@if (Model is not null) { }
@if (Model is not null) { var ls = await MicroNodeService.GetMasterLiabilities(storeId, true); @foreach (var l in ls) { var ssk = await MicroNodeService.GetStoreSettingsFromKey(l.Key); }
Store id Key Balance
@ssk?.Key @l.Key @LightMoney.MilliSatoshis(l.Balance).ToDecimal(LightMoneyUnit.BTC) BTC
@foreach(var p in l.Transactions) { }
Id Accounted Active Type Amount
@p.Id @p.Accounted @p.Active @p.Type @LightMoney.MilliSatoshis(p.Amount).ToDecimal(LightMoneyUnit.BTC) BTC
}