POST
/
erc721
/
deploy
curl --request POST \
  --url https://lab.trustos.telefonicatech.com/track/v2/erc721/deploy \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "MyToken",
  "symbol": "MTK"
}'
{
  "statusCode": 201,
  "message": "Healthcheck",
  "data": {
    "type": "ERC721",
    "deployer": "did:user:<id>",
    "data": {
      "contractAddress": "0xebF01265FcE347EE2161f37e49416d947C7a9590",
      "name": "MyToken",
      "symbol": "MTK",
      "networkId": 10004
    }
  }
}

Authorizations

Authorization
string
header
required

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

Query Parameters

networkId
number
required

Network identifier where the NFT collection contract will be deployed.

Example:

10004

Body

application/json

Data needed for the deployment

The body is of type object.

Response

201
application/json

Successful token deployment.

The response is of type object.