I used lncli to list the onchain transactions. I reconciled this with the transactions shown in the lightning applet.
The sum of onchain in and outflows is 4,131,580 sats. But the lightning applet shows a balance of 1,549,121 sats.
What accounts for the missing ~2.5m sats?
It appears that the lightning applet gets the onchain txn data from
lncli listchaintxns. Where does it get the available balance from?