Deploy a contract from a template
POST {{baseUrl}}/templates/:id/deploy
Deploy a smart contract using a template.
https://developers.circle.com/w3s/reference/deploycontracttemplate
Request Body
{"blockchain"=>"MATIC-MUMBAI", "templateParameters"=>{"newKey"=>"New Value"}, "idempotencyKey"=>"a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11", "walletId"=>"a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11", "name"=>"My Template Contract", "description"=>"My first template contract deployment!", "entitySecretCiphertext"=>"0NtD3d3+nmgb4GqYQXzAjKF8h5Zq6sHM2k/7UQz5OIXWnU7H8O9XvVYXqDnw1wEmY...", "feeLevel"=>"MEDIUM", "refId"=>"d620d523-b5ab-4541-94b0-efe4f4c825c8"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: Created
{"data":{"contractIds":["3fa85f64-5717-4562-b3fc-2c963f66afa6"],"transactionId":"3fa85f64-5717-4562-b3fc-2c963f66afa6"}}