Deploy a contract from template
cURL
curl --request POST \ --url https://sandbox.oumla.com/api/v1/contract-templates/{templateId}/deploy \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data ' { "network": "<string>", "addressId": "<string>", "clientShare": "<string>", "constructorParameters": [ {} ] } '
200
Example
{ "contractFunction": { "workflowId": "<string>", "status": "<string>" } }
API key for authentication. Obtain your API key from the dashboard.
SDK version header
Contract template ID
Request body for deploy contract
Deploy contract request object
Contract deployment workflow started
Show child attributes
Was this page helpful?