Logo
Fireblocks API Documentation

Deploy contract

POST {{baseUrl}}/tokenization/templates/:contractTemplateId/deploy

Deploy a new contract by contract template id. If you wish to deploy a token (ERC20, ERC721 etc), and create asset please use POST /tokenization

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Idempotency-Key
string A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours.
Content-Type
string
Accept
string




RESPONSES

status





Curl
curl -X POST 'https://api.fireblocks.io/v1/tokenization/templates/:contractTemplateId/deploy' -H 'Idempotency-Key: <string>' -H 'Content-Type: application/json' -H 'Accept: application/json' -d '{"assetId":"\u003cstring\u003e","vaultAccountId":"\u003cstring\u003e","constructorParameters":[{"name":"\u003cstring\u003e","type":"\u003cstring\u003e","description":"\u003cstring\u003e","internalType":"\u003cstring\u003e","components":[{"name":"\u003cstring\u003e","type":"\u003cstring\u003e","description":"\u003cstring\u003e","internalType":"\u003cstring\u003e","components":[{"value":"\u003cCircular reference to #/components/schemas/Parameter detected\u003e"},{"value":"\u003cCircular reference to #/components/schemas/Parameter detected\u003e"}]},{"name":"\u003cstring\u003e","type":"\u003cstring\u003e","description":"\u003cstring\u003e","internalType":"\u003cstring\u003e","components":[{"value":"\u003cCircular reference to #/components/schemas/Parameter detected\u003e"},{"value":"\u003cCircular reference to #/components/schemas/Parameter detected\u003e"}]}],"value":"\u003cstring\u003e","functionValue":{"inputs":[{"value":"\u003cCircular reference to #/components/schemas/ParameterWithValue detected\u003e"},{"value":"\u003cCircular reference to #/components/schemas/ParameterWithValue detected\u003e"}],"name":"\u003cstring\u003e"}},{"name":"\u003cstring\u003e","type":"\u003cstring\u003e","description":"\u003cstring\u003e","internalType":"\u003cstring\u003e","components":[{"name":"\u003cstring\u003e","type":"\u003cstring\u003e","description":"\u003cstring\u003e","internalType":"\u003cstring\u003e","components":[{"value":"\u003cCircular reference to #/components/schemas/Parameter detected\u003e"},{"value":"\u003cCircular reference to #/components/schemas/Parameter detected\u003e"}]},{"name":"\u003cstring\u003e","type":"\u003cstring\u003e","description":"\u003cstring\u003e","internalType":"\u003cstring\u003e","components":[{"value":"\u003cCircular reference to #/components/schemas/Parameter detected\u003e"},{"value":"\u003cCircular reference to #/components/schemas/Parameter detected\u003e"}]}],"value":"\u003cstring\u003e","functionValue":{"inputs":[{"value":"\u003cCircular reference to #/components/schemas/ParameterWithValue detected\u003e"},{"value":"\u003cCircular reference to #/components/schemas/ParameterWithValue detected\u003e"}],"name":"\u003cstring\u003e"}}]}'

ENDPOINTS