I have a marketplace app where each NFT item gets its data from that getTokenIdMetadata
endpoint.
When a user purchases an item react query runs a mutation and refetches the data however, it refetches getTokenIdMetadata
which returns data with the last owner_of
and not the new owner.
I’ve tried running reSyncMetadata
endpoint for the token ID as well but the owner data does not update.
What’s the best way to get the Moralis API data to refresh?
I’m testing running both endpoints from the API docs here and the data doesn’t update:
https://deep-index.moralis.io/api-docs/#/token/getTokenIdMetadata