I’ve made changes to my off-chain metadata but the DAS API is still returning the old version of the metadata. Why is this happening?
Helius’ DAS API is only able to monitor and update on-chain changes. When off-chain metadata is updated we are not able to detect this change and reindex the asset. If any on-chain metadata is changed this will be immediately indexed.
Two possible solutions to off-chain metadata changes are:
- Update the on-chain metadata URI (that points to the off-chain metadata), this will trigger a reindex and the newly changed metadata will be indexed by DAS.
- Set up fetch requests to the off-chain metadata to get the latest data version. This is not recommended as it adds additional requests and does not make use of DAS’s indexing.