Maximum indexer result limit - General - Algorand
Maximum indexer result limit
post by yfmao on Feb 24, 2021
I am using the function of indexer_client.accounts in python algo-sdk to fetch the results related with a certain smart contract application. Here is the official docs.
There is a input variable ‘limit’ in this function. I am assigning 10k to ‘limit’ and some application id to ‘application_id’. I assume there will be 5k accounts in the indexer result, since I opted 5k accounts to the smart contract with the specified application id.
However, the problem is the list of the account returned only contains 1k accounts, meaning that not all results are fetched back.
What is wrong here? Any ideas?
post by JasonW on Feb 24, 2021
Are you getting paginated results? Algorand Developer Docs
post by yfmao on Feb 24, 2021
Thanks @JasonW, I will have a look.