when making a website with info from a smart contract, does it make more sense to wrap all the info in one ScQuery that returns everything needed through a tuple or to make multiple queries?
I would generally personally prefer the single function that returns everything you need for a specific view.
However it of course depends on your usecase and might be impossible if the amount of data you need to return is too long or stuff like that :)
I would generally personally prefer the single function that returns everything you need for a specific view. However it of course depends on your usecase and might be impossible if the amount of data you need to return is too long or stuff like that :)