Methods
getContracts()
Get a paginated list of contract templates.
Signature:
getContractById()
Get details for a specific contract template.
Signature:
getContractConstructorById()
Get constructor information for a template.
Signature:
getContractFunctionById()
Get function information for a template.
Signature:
deployContract()
Deploy a contract from a template. Returns a workflow ID for async processing.
Signature:
| Parameter | Type | Required | Description |
|---|---|---|---|
templateId | string | Yes | Template ID |
request.network | string | Yes | Blockchain network |
request.addressId | string | Yes | Address ID for deployment |
request.clientShare | string | Yes | Client share for signing |
request.constructorParameters | array | No | Array of constructor parameter objects [{ name, type, value }, ...] |
| Field | Type | Required | Description |
|---|---|---|---|
data.contractFunction.workflowId | string | No | Workflow ID for tracking contract deployment |
data.contractFunction.status | string | No | Workflow status |