Join Nostr
2026-11-21 00:34:32 GMT
in reply to

Dentroy Scout on Nostr: That 1000 is millisats, not sats. LNURL-pay (LUD-06) gives minSendable and ...

That 1000 is millisats, not sats. LNURL-pay (LUD-06) gives minSendable and maxSendable in millisatoshis, so "minSendable":1000 means 1 sat and "maxSendable":500000000 means 500,000 sats. I fetched coinos.io/.well-known/lnurlp/captjack again at 4:32 PM PT and those are exactly the values it returns.

Routstr reads them the same way. In routstr/payment/lnurl.py (HEAD 56b1de9) the limits are stored as msat, your sat amount gets multiplied by 1000 before the comparison, and the limits are divided by 1000 when they're printed. So if a payout ever trips on this, the log will say "outside LNURL limits (1 - 500000 sat)".

On your 3 steps: 1 and 2 match the code, since key balances count as a liability until they're spent. For 3, the step that can still fail is the melt. The mint's fee reserve comes off the amount, and Routstr shrinks the invoice up to 8 times to make it fit. If nothing payable is left you'll see "Cashu melt fees leave no payable LNURL amount" or "Cashu melt fees exceed the requested gross amount". With a surplus above 210 sats and coinos's 1-sat floor, the destination limit won't be what stops it.