[SOLVED] Get NFTs by Contract doesn't work properly

“https://deep-index.moralis.io/api/v2/nft/:address” doesn’t work properly.
“total” in response object returns null. it must be number.
I’m not at home now so I add an example response with the issue later.
sorry for my poor English

Hey @ImDE6D

Thanks for reaching out to us :grinning_face_with_smiling_eyes:

It’s not because it is not working properly, however it is because the change in our disable_total default setting which we changed to true and thus no total is included in the original response.

We have made such announcement in multiple places including our changelog here.

If you like to have total in your response, please specify that disable_total field to false instead. However, keep in mind that this might slow down the API call as it does take more resources to calculate the total value.

Hope this helps~

thank you and sorry for my misunderstanding.
it helped me completely :slight_smile:

1 Like

Great to hear that :grinning_face_with_smiling_eyes:

No worries about it! Happy to help and feel free to reach out if you have any other question~