diff options
| author | Adam Soltys <[email protected]> | 2023-11-24 23:19:46 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2023-11-24 23:19:46 -0800 |
| commit | 2f1372b53084d5308d593a2fbf653ca0c4fb84ba (patch) | |
| tree | d5243ed97b5bcf2dacdfcf0daf0d665e5bececfa /index.js | |
| parent | 13f3c21b9ddf9884f190a6fcf7acf50440c82547 (diff) | |
| download | coinos-server-2f1372b53084d5308d593a2fbf653ca0c4fb84ba.tar.gz coinos-server-2f1372b53084d5308d593a2fbf653ca0c4fb84ba.zip | |
send to lightning address helper endpoint
Diffstat (limited to 'index.js')
| -rw-r--r-- | index.js | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -58,6 +58,7 @@ app.get("/fund/:name/withdraw", payments.withdraw); app.post("/take", auth, payments.take); app.post("/buy", auth, payments.buy); app.post("/print", auth, payments.print); +app.post("/send/:lnaddress/:amount", auth, payments.lnaddress); app.get("/encode", lnurl.encode); app.get("/decode", lnurl.decode); |
