Not getting NFT Token image URI against token address

i’m not getting token image uri and metadata against token contract address, here’s the following payload:

  1. {amount: “1”
  2. block_number: “20716125”
  3. block_number_minted: “20147034”
  4. contract_type: “ERC721”
  5. last_metadata_sync: “2022-08-04T13:05:28.980Z”
  6. last_token_uri_sync: “2022-08-04T13:04:41.083Z”
  7. metadata: null
  8. name: “Egonverse NFT”
  9. network: “binance”
  10. owner_of: “0xd66020dfcb99e6ccc88c0715da81f8df9358c601”
  11. symbol: “EGON”
  12. token_address: “0x4e28fe18fe928245a8e4691e6e6a6e15486eb489”
  13. token_hash: “e570909dccdeebf41507cc9003b33801”
  14. token_id: “20”
  15. token_uri: “20.json”
    }.

Try using reSyncMetadata with uri flag to update the token_uri and metadata.

You can also check the token uri on chain to see if it is a valid one or not.

how will the reSyncMetadata function will work if we are not getting the metadata at first place, how it will reSync it?

resyncMetadata will try to get the metadata at that time. It also could depend if you use uri or metadata flag. Using uri parameter will also try to fetch latest uri