Get contract constructor by template ID
cURL
curl --request GET \ --url https://sandbox.oumla.com/api/v1/contract-templates/{templateId}/getConstructorInfo \ --header 'x-api-key: <api-key>'
200
Example
{ "contractConstructor": { "id": "123e4567-e89b-12d3-a456-426614174000", "stateMutability": "pure", "type": { "$circularRef": "constructor" }, "inputs": [ {} ], "outputs": [ {} ] } }
API key for authentication. Obtain your API key from the dashboard.
SDK version header
Contract template ID
Successfully retrieved contract constructor
Contract constructor response object
Show child attributes
Was this page helpful?