MiguelMedeiros / lnbits-js

NPM Package for LNBits.com API.
23 stars 14 forks source link

Missing parameters from wallet.checkInvoice return #16

Open AugustoResende opened 8 months ago

AugustoResende commented 8 months ago

In testing, there is a lot of more return parameters than payment_hash (and payment_hash is on details)

paid: boolean, preimage: string details: { checking_id: string, pending: boolean, amount: number, fee: number, memo: string time: number, bolt11: string, preimage: string, payment_hash: string expiry: number, extra: object (unknown), wallet_id: string, webhook: unknown | null, webhook_status: unknown | null }