Personen, die abgestimmt haben
A
Powered by Noora
1
Sending sats to Lightning Address via API
🗓️ Planned
A
abogomolov86

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

Kommentare
J
Jakub
Dec 21, 2023
Den Status setzen auf
🗓️ Planned
0
R
roland
Dec 14, 2023

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 :-)

1
A
abogomolov86
Dec 14, 2023

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

0