Generate Invoice

Generates a Lightning Network deposit invoice


Creating a deposit address

If this is the first time you are generating an LNX invoice on your account, you will first need to create a deposit address. To do this, call w/deposit/address with { method: 'LNX', wallet: 'exchange' }

Response data

Index Field Type Description
[0] INVOICE_HASH String Hashed invoice
[1] INVOICE String Requested invoice
[ . . . ]
[4] AMOUNT String Amount of invoice