1
Sending sats to Lightning Address via API
🗓️ Planned
A
abogomolov86Dec 14, 2023
Hey folks, great product!
I have a question: is it possible to spontaneous send sats to a Lightning Address (e.g. blithecourage528066@getalby.com)via API, instead of sending it to a hex-string pubkey (a string starting with 02 or 03)?
Thanks! Keep on doing great job!
With kind regards,
Tony
Comments
Glad you found a solution! We also plan to add a API method to do exactly that. The one you found requires two steps (generate an invoice and then pay it). So we can simplify it with a separate API call that does both :-)
Ok, I've found the answer in the documentation:)
For those, who are looking for it, first you have to get info of your LA
https://guides.getalby.com/developer-guide/v/alby-wallet-api/lightning-address-details-proxy