Fetch Template Public

Retrieve the details of a specific template by providing its unique ID. This endpoint allows users to access comprehensive information about a template, including its properties, creation date, and associated metadata. It is useful for understanding the structure and content of templates used in the system.

GET
/public/templates/{templateId}

Path Parameters

templateId*string

Unique identifier of the template

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://api-testnet.dual.network/public/templates/string"
{
  "id": "string",
  "name": "string",
  "object": {
    "metadata": {
      "name": "string",
      "description": "string",
      "category": "string",
      "image": {
        "id": "string",
        "name": "string",
        "type": "string",
        "url": "string",
        "hash": "string",
        "is_public": true,
        "when_created": "2019-08-24T14:15:22Z"
      },
      "edition": 0
    },
    "custom": {}
  },
  "factory": {
    "max_supply": 0,
    "minted_count": 0,
    "start_time": "2019-08-24T14:15:22Z",
    "end_time": "2019-08-24T14:15:22Z",
    "whitelist": [
      "string"
    ]
  },
  "actions": [
    {
      "name": "mint",
      "alias": "string",
      "access": {
        "type": "public",
        "tokens": {
          "property1": 0,
          "property2": 0
        }
      },
      "validators": [
        {
          "type": "http",
          "url": "string"
        }
      ],
      "config": {},
      "url": "string"
    }
  ],
  "face_id": "string",
  "when_created": "2019-08-24T14:15:22Z",
  "when_modified": "2019-08-24T14:15:22Z"
}
{
  "code": 0,
  "message": "string",
  "details": {}
}
{
  "code": 0,
  "message": "string",
  "details": {}
}
{
  "code": 0,
  "message": "string",
  "details": {}
}