Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Missbehavior of /getuserinvoices #506

Open
timkaebisch opened this issue Oct 4, 2022 · 1 comment
Open

Missbehavior of /getuserinvoices #506

timkaebisch opened this issue Oct 4, 2022 · 1 comment

Comments

@timkaebisch
Copy link

I assume the endpoint /getuserinvoices is not working as intended.

This endpoint accepts the following query parameters:

  • limit: (integer - default: 10 - minimum: 0)
  • offset: (integer - default: 0 - minimum: 0)

When I set offset=80 and limit=1 I expect to receive invoice 80.
It always returns the n latest invoices of the user (where limit=n). Offset is not taken into account.

Please correct me if I'm missing something. It seems like a bug for me.

@rafaelpac
Copy link

Hi!
Yesterday BlueWallet announced that they will be shutting down their custodial LndHub.
https://bluewallet.io/sunsetting-lndhub/

I was trying to download my transaction history, but I also get some issues with the API limit and offset params.
I was trying the /gettxs endpoint.
It seems that the limit and offset params are not processed at all, it looks like there is a hardcoded limit of 150 txs.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants