Open elnosh opened 2 months ago
Preimage can't be returned internally (not available)
Is it possible after all?
not sure for all backends but with LND you could get the preimage from the invoice created in the mint quote request from LookupInvoice
call https://lightning.engineering/api-docs/api/lnd/lightning/lookup-invoice/index.html
created a mint and melt quote pair with the same invoice and when tried melting in
/v1/melt/bolt11
, it returned the state as paid but the preimage field was empty.