So I am trying to get all the assets of a collection. So for that, at first request, I am fetching first 500 assets, and then I am using a loop which uses offsets to fetch rest of the assets. On each request I am increasing offset by 500. But its giving this error.
error in fetchign data Error: offset must be less than 500
at Function.fetchFromServer (C:\Users\vb852\Desktop\FinalRaritySniper\Backend\node_modules\moralis\lib\node\MoralisWeb3Api.js:232:15)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
So how its gonna work? If offset is less than 500, then How I will skip like 1000 elements, to fetch assets from 1000-1500 ?