Creating an asset

Learn how to create an asset so you can manage and trade with it.

Creating an asset is the starting point in using Tracker. You just have to provide an asset name, and we handle all the blockchain operations on our side.

🚧

Requirements

You need your API key to perform the actions on this page.
You also need the Tracker Admin Role.


Creating an asset

Create an asset by performing a standard create asset call with your API key in the header. Your API key must be valid for this to work. If you don't have an API key, follow this short tutorial to get one.

Let's try it out!

curl -X POST \
  http://api.mantleblockchain.com/tracker/{{PRODUCT_ID}}/assets \
  -H 'Accept: text/plain, application/json, text/json' \
  -H 'Content-Type: application/json' \
  -H 'x-api-key: {{API_KEY}}' \
  -d '{ "name": "{{ASSET_NAME}}" }'

Replace the following parameters:

{{PRODUCT_ID}}: Your Product id
{{API_KEY}}: Your API key
{{ASSET_NAME}}: The name of the new asset

👍

Congratulations!

You've created an asset in Tracker!