Skip to main content
GET
/
api
/
v1
/
contract-templates
/
{templateId}
/
getConstructorInfo
Get Contract Constructor
curl --request GET \
  --url https://sandbox.oumla.com/api/v1/contract-templates/{templateId}/getConstructorInfo \
  --header 'x-api-key: <api-key>'
{
  "contractConstructor": {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "stateMutability": "pure",
    "type": {
      "$circularRef": "constructor"
    },
    "inputs": [
      {}
    ],
    "outputs": [
      {}
    ]
  }
}

Authorizations

x-api-key
string
header
required

API key for authentication. Obtain your API key from the dashboard.

Headers

x-sdk-version
string
default:1.0.0

SDK version header

Path Parameters

templateId
string
required

Contract template ID

Response

Successfully retrieved contract constructor

Contract constructor response object

contractConstructor
object