Skip to main content
GET
/
api
/
v1
/
contract-templates
/
{templateId}
/
getConstructorInfo
Get contract constructor by template ID
curl --request GET \
  --url https://sandbox.oumla.com/api/v1/contract-templates/{templateId}/getConstructorInfo \
  --header 'x-api-key: <api-key>' \
  --header 'x-sdk-version: <x-sdk-version>'
{
  "contractConstructor": {
    "id": "<string>",
    "stateMutability": "<string>",
    "type": "<string>",
    "inputs": {},
    "outputs": {}
  }
}

Authorizations

x-api-key
string
header
required

API key for authentication

Headers

x-sdk-version
string
default:1.0.0
required

SDK version header

Path Parameters

templateId
string
required

Contract template ID

Response

Contract constructor by template ID

contractConstructor
object