The getApiV1BoxesByaddressP1 API sortDirection is not working on addresses with large number of boxes, example:
https://api.ergoplatform.com/api/v1/boxes/byAddress/2Eit2LFRqu2Mo33z3pYTJRHNCPYS33MrU9QgeNcRsF9359pYMahqnLvKsHwwH72C6WDSZRj7G7WC5heVyUEawcSLSx821iJXT4xWf2F5fjVWDUmvtxr3QSv1aLwThLXxeqYCCc34xjxZDPqPyNGYvWLNeBZxATvBeDuQ6pSiiRFknqmvYVsm9eH4Et3eRHCyxDJEoqZsAahwfVSya34dZNHmjaPQkwWo3Coc17pxiEnWuWmG38wSJz1awE6cymzhojnjxDTbbXgjR1yfYU3AU2v9zttnT8Gz3gUzZNSwjiXSPu3G9zkDaFZVKqb5QwTWY3Pp6SFJgBQfx3C3sp4a9d3n9c98pfWFWAGQN5EfkoHosF8BQTDuzXG3NU8gVCNeNPXYA8iWCbvY3XpxQMvQUxqkjDv9VQfUNvAKVHLW43chi2rdBrQ7Teu6NnesLRWUKXpzSxpByWftkCCdBppjZtYmhhCHqpQGkQyTcMRoP2krFKe7xKbfnFkdkhaYH9TTdKuTuKtGb265RXxiqrc34KvkZpaBBQB5UvoCU4iLSDngNTjqkNPnWekDahzNHLd6CtcdC1B19jdGEXWeNADemDtdK4zrMNg7U8iVpyGYhLDnkeLVrcbhoxkHxrFwfrN19XvitDosQqmt9dseR6SWHBCDZJdmJecCiEwd2wBiwN5N5umEy3Dd4Hznv7kDr6eX7KtYxp?sortDirection=desc
You can easily check the provided address in explorer UI to see that the results is not compatible with UI. Besides, If you run the same query multiple times the result will change each time!
Same issue persists using the ASC sort order. Worth mentioning that the order is correct locally (in one page) but its not correct globally.
The getApiV1BoxesByaddressP1 API sortDirection is not working on addresses with large number of boxes, example:
You can easily check the provided address in explorer UI to see that the results is not compatible with UI. Besides, If you run the same query multiple times the result will change each time!
Same issue persists using the ASC sort order. Worth mentioning that the order is correct locally (in one page) but its not correct globally.