Skip to main content

Sync NFT Contract

PUThttps://deep-index.moralis.io/api/v2/nft/:address/sync

Initiates a sync of a previously non synced contract.

PATH PARAMS
addressstringrequired
The address of the NFT contract
QUERY PARAMS
chainstring
The chain to query
Responses
API KEY
import Moralis from 'moralis';

try {
await Moralis.start({
apiKey: "YOUR_API_KEY"
});

const response = await Moralis.EvmApi.nft.syncNFTContract({
"chain": "0x1",
"address": "0xb47e3cd837dDF8e4c57F05d70Ab865de6e193BBB"
});

console.log(response.raw);
} catch (e) {
console.error(e);
}
Response Example
Empty