---
title: "Return contract template's constructor"
method: GET
path: "/tokenization/templates/{contractTemplateId}/constructor"
tags: ["Contract Templates"]
---

# Return contract template's constructor

`GET /tokenization/templates/{contractTemplateId}/constructor`

## Request

- Base URL: `https://api.fireblocks.io/v1`
- URL: `https://api.fireblocks.io/v1/tokenization/templates/{contractTemplateId}/constructor`
- Auth: none declared
- TypeScript: <https://skmtc.dev/fireblocks/apis/fireblocks-api/docs/tokenization/templates/:contractTemplateId/constructor/get.ts> (a function with typed inputs; its response is checked against the schema)

Return contract template's constructor ABI

## Path parameters

- `contractTemplateId` string, required

## Query parameters

- `withDocs` boolean

## Response `200`

Contract template's constructor ABI was returned successfully

- AbiFunction
  - `name` string: The name of the contract function as it appears in the ABI
  - `stateMutability` 'pure' | 'view' | 'nonpayable' | 'payable': The state mutability of the contract function as it appears in the ABI
  - `type` 'constructor' | 'function' | 'error' | 'event' | 'receive' | 'fallback', required: The type of the function
  - `inputs` Parameter[]: The parameters that this function/constructor posses
    - `name` string, required: The name of the parameter as it appears in the ABI
    - `description` string: A description of the parameter, fetched from the devdoc of this contract
    - `internalType` string: The internal type of the parameter as it appears in the ABI
    - `type` string, required: The type of the parameter as it appears in the ABI
    - `components` Parameter[]
  - `outputs` Parameter[]: The parameters that this 'read' function returns
    - `name` string, required: The name of the parameter as it appears in the ABI
    - `description` string: A description of the parameter, fetched from the devdoc of this contract
    - `internalType` string: The internal type of the parameter as it appears in the ABI
    - `type` string, required: The type of the parameter as it appears in the ABI
    - `components` Parameter[]
  - `description` string: The documentation of this function (if has any)

## Other responses

- `404`: Could not find contract.
- `default`: Error Response

---

[API](https://skmtc.dev/fireblocks/apis/fireblocks-api.md) - [All operations](https://skmtc.dev/fireblocks/apis/fireblocks-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fireblocks/apis/fireblocks-api/revisions/4eba9965659a?raw)
