Skip to main content
POST
/
v1
/
chains
/
{chain_name}
/
collections
/
{contract_address}
/
nfts
/
mint-requests
Mint NFTs
curl --request POST \
  --url https://api.sandbox.immutable.com/v1/chains/{chain_name}/collections/{contract_address}/nfts/mint-requests \
  --header 'Content-Type: application/json' \
  --header 'x-immutable-api-key: <api-key>' \
  --data '
{
  "assets": [
    {
      "reference_id": "67f7d464-b8f0-4f6a-9a3b-8d3cb4a21af0",
      "owner_address": "0xc344c05eef8876e517072f879dae8905aa2b956b",
      "token_id": "1",
      "amount": "1",
      "metadata": {
        "name": "Sword",
        "description": "2022-08-16T17:43:26.991388Z",
        "image": "https://some-url",
        "external_url": "https://some-url",
        "animation_url": "https://some-url",
        "youtube_url": "https://some-url",
        "attributes": [
          {
            "trait_type": "Aqua Power",
            "value": "Happy",
            "display_type": "number"
          }
        ]
      }
    }
  ]
}
'
{
  "imx_mint_requests_limit": "<string>",
  "imx_mint_requests_limit_reset": "<string>",
  "imx_remaining_mint_requests": "<string>",
  "imx_mint_requests_retry_after": "<string>"
}

Authorizations

x-immutable-api-key
string
header
required

Path Parameters

contract_address
string
required

The address of contract

chain_name
string
required

The name of chain

Example:

"imtbl-zkevm-testnet"

Body

application/json

Create Mint Request Body

assets
object[]
required

List of nft to be minted

Required array length: 1 - 100 elements

Response

Accepted

imx_mint_requests_limit
string
required
imx_mint_requests_limit_reset
string
required
imx_remaining_mint_requests
string
required
imx_mint_requests_retry_after
string
required