Skip to main content
POST
/
v1
/
internal
/
chains
/
{chain_name}
/
environment
/
{environment}
/
collections
/
{contract_address}
/
refresh-metadata
Refresh collection metadata internal
curl --request POST \
  --url https://api.sandbox.immutable.com/v1/internal/chains/{chain_name}/environment/{environment}/collections/{contract_address}/refresh-metadata \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --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"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

contract_address
string
required

The address contract

chain_name
string
required

The name of chain

Example:

"imtbl-zkevm-testnet"

environment
string
required

The environment of the collection

Body

application/json

The request body

collection_metadata
object
required

Response

200 response

contract_address
string
required
chain
object
required

The chain details

collection_metadata
object
required