Get constructor info (params, ABI) for a contract template.
cURL
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": {} } }
API key for authentication
SDK version header
Contract template ID
Contract constructor by template ID
Show child attributes
Was this page helpful?