Why does the "get wallets" endpoint always timeout. What wallets is this retrieving?

Created by Mauro Monso, Modified on Thu, 11 May 2023 at 12:59 PM by Mauro Monso

This is a known issue with the Demo-id. The Demo-id is shared across all clients testing the API, meaning that a lot of wallets have already been created for this client-id. The culprit is retrieving the balances of all these wallets (an on-chain operation). 

In the meantime the following can be used:

Add `includeBalance=false` as query parameter in the endpoint. This will return the wallets, without the balances.

Also, you can add pagination on the call: `page=1&size=10`

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article