Contract Templates

Create Contract Template

Create a new contract template

post/api/v1/contract-templates

Headers

x-sdk-versionstring

SDK version for tracking and compatibility

Request body

namestring required

Contract template name

descriptionstring required

Contract template description

abiobject[] required

Contract ABI

bytecodestring required

Contract bytecode

longDescriptionstring

Long description of the contract

sourceCodestring

Contract source code

typestring

Contract type

Response

Contract template created successfully

messagestring required

Response message

dataobject

Response data

successtrue required

Indicates successful response

statusinteger required

HTTP status code

Changes