Contract Templates

Return contract template's function

Return contract template`s function ABI by signature

get/tokenization/templates/{contractTemplateId}/function

Request

Path parameters

contractTemplateIdstring required

The Contract Template identifier

Query parameters

functionSignaturestring required

Response

Contract template`s function ABI was returned successfully

namestring

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

descriptionstring

The documentation of this function (if has any)

Example response

{
  "name": "mint",
  "stateMutability": "pure",
  "type": "constructor",
  "inputs": [
    {
      "name": "_name",
      "description": "The name of the token",
      "internalType": "string",
      "type": "string"
    }
  ],
  "outputs": [
    {
      "name": "_name",
      "description": "The name of the token",
      "internalType": "string",
      "type": "string"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.