syncNFTContract not syncing

Hello, I’ve tried the api point from this link: syncnftcontract afterwards I try getnftmetadata and even after a few hours since I called syncnftcontract, the nft metadata appears to be synced over a month ago, I expect it to say synced sometime after I triggered the sync.

Can someone please shed some light as to how much I should wait for the contract sync to be complete?
Thanks!!

You will need to use reSyncMetadata to update metadata or token_uri for each token.

syncNFTContract is only for contracts that haven’t been synced/indexed yet.

1 Like

Thank you very much especially for quick help, maybe it should be made more obvious in the docs, now that I know, the name does make more sense, its not called reSyncContract :slight_smile:

1 Like

I have a few more questions if you’d like to help me with these too,

  1. Is the owner_of field from getNftMetadata always up to date? or do I have to refresh metadata to be sure?
  2. I’ve been calling reSyncMetadata once a second, thats 25 CU / second from 10kk on free?
  3. How many times can I call getNftMetadata / month? 10kk CUs / 5 CU for each call?

Thank you!!

  1. Is the owner_of field from getNftMetadata always up to date? or do I have to refresh metadata to be sure?

owner_of should be kept up to date independently of any potential token_uri/metadata issues.

  1. I’ve been calling reSyncMetadata once a second, thats 25 CU / second from 10kk on free?
  1. How many times can I call getNftMetadata / month? 10kk CUs / 5 CU for each call?

Yes you can call reSyncMetadata once per second on a free plan. You can see all the request weights here to calculate how many times you could an endpoint with your plan’s Monthly Compute Units.