You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, generating a lightning invoice is not part of the getDepositAddress feature set since it requires a completely different API call. Currently, the UI uses the endpoint https://www.bitfinex.com/deposits/_invoice but this endpoint is not public yet so there is no documentation available
Issue type
Brief description
LNX lighting deposit generation returns the id of the payment and does not show the lightning invoice.
Steps to reproduce
generateDeposit
rest.getDepositAddress({
wallet: 'exchange',
method: 'lnx',
currency: 'lnx',
amount,
opRenew: 1, // always 1 cannot reuse ln invoices
});
Additional Notes:
The public api for the frontend returns the field set as invoice:
Example:
{"worked":true,"message":null,"invoice":"lnbc20m1p0yg0depp5dncaf5s4eg4z0dwg5xpaet4568yr6umgtgyylwlhhtzl7280jptqdp5xu6xxetzxdjnwe3kxgek2wpevyckzcek8p3nvvf3x43rzv33xa3scqzpgxqzjcadpzulmsa0s0sm394934ws62hx2ggg7mjtunr4yrgjfxpf0tewk5mw82le8st2yzrg5fpxh9574gkrwq7x6rphp90klm44patfx2jtsq0jw0m0","address":"74ceb3e7f623e89a1ac68c6115b1217c"}
Lightning invoices also expire so not sure limiting opRenew is a good idea.
The text was updated successfully, but these errors were encountered: