curl --request POST \
--url https://api.sandbox.immutable.com/v1/chains/{chain_name}/collections/{contract_address}/refresh-metadata \
--header 'Content-Type: application/json' \
--header 'x-immutable-api-key: <api-key>' \
--data '
{
"collection_metadata": {
"name": "Gigantic Lizards",
"symbol": "GLZ",
"description": "This is the Gigantic Lizards collection",
"image": "https://some-url",
"external_link": "https://some-url",
"contract_uri": "https://some-url",
"base_uri": "https://some-url"
}
}
'{
"contract_address": "<string>",
"chain": {
"id": "eip155:13372",
"name": "imtbl-zkevm-testnet"
},
"collection_metadata": {
"name": "Gigantic Lizards",
"symbol": "GLZ",
"description": "This is the Gigantic Lizards collection",
"image": "https://some-url",
"external_link": "https://some-url",
"contract_uri": "https://some-url",
"base_uri": "https://some-url"
}
}Refresh collection metadata
curl --request POST \
--url https://api.sandbox.immutable.com/v1/chains/{chain_name}/collections/{contract_address}/refresh-metadata \
--header 'Content-Type: application/json' \
--header 'x-immutable-api-key: <api-key>' \
--data '
{
"collection_metadata": {
"name": "Gigantic Lizards",
"symbol": "GLZ",
"description": "This is the Gigantic Lizards collection",
"image": "https://some-url",
"external_link": "https://some-url",
"contract_uri": "https://some-url",
"base_uri": "https://some-url"
}
}
'{
"contract_address": "<string>",
"chain": {
"id": "eip155:13372",
"name": "imtbl-zkevm-testnet"
},
"collection_metadata": {
"name": "Gigantic Lizards",
"symbol": "GLZ",
"description": "This is the Gigantic Lizards collection",
"image": "https://some-url",
"external_link": "https://some-url",
"contract_uri": "https://some-url",
"base_uri": "https://some-url"
}
}The address contract
The name of chain
"imtbl-zkevm-testnet"
The request body
Show child attributes
Was this page helpful?