This route requires user authentication.

Step 1. Add the user token to the request headers

TOKEN=TOKEN

Step 2. Mint a token

Your token can be minted for free or by paying a specific price. For this example let’s mint a free non-fungible token.

To proceed with this mint you need first to have created a non-fungible token. Don’t have one yet? Create a non-fungible token

curl --request POST \
--url https://protocol-staging.int.lumx.io/v1/mints \
--header 'Bearer: $API_KEY' \
--header 'Content-Type: application/json' \
--data '
  {
    "itemId": "ITEM_TYPE_ID",
    "amount": 1
  }
  '

You will receive a status 200 with an object containing the mint request id.

Congratulations!

If you completed all the steps above, you can advance to our next recipe.

Any problems during this recipe? Check some possible troubleshooting.