Skip to main content

Don't have an API key yet?

Sign-up to Moralis to get your free API key and start building today.

Get Your Free API Key
Version: 2.2

Sync NFT Contract

PUThttps://deep-index.moralis.io/api/v2.2/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": "0x60E4d786628Fea6478F785A6d7e704777c86a7c6"
});

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