Why isnt there simply `"balance"` method with `balanceSats` or `balanceMsats` in the reply?

Reply to this note

Please Login to reply.

Discussion

Because it's being debated if this would be better done as a replaceable event

That makes no sense, the cost is basically the same, either make an RPC api or don't...

Its nice to be able to update it real time without needing to do polling

Just subscribe to the kind and handle it like you would handle any other event

Who is going to poll the balance??

Having it realtime would be nice ngl

You would need to poll after each zap, no? Otherwise will be strange. Would be nice to see it update real time when you receive zaps as well.

Yea I'm sold, implement that please