Field | Type | Description |
---|---|---|
destination_chain_id | integer | The chain ID where the task will be proven |
webhook_url | string | Optional URL to receive task completion/failure notifications |
input | object | The task input parameters |
input.params | array | Array of parameters for the contract execution |
input.compiled_class | object | The custom module compiled contract class |
input.entry_points_by_type | object | Entry points configuration for different types |
input.entry_points_by_type.EXTERNAL | array | Array of external entry points |
input.entry_points_by_type.L1_HANDLER | array | Array of L1 handler entry points |
input.entry_points_by_type.CONSTRUCTOR | array | Array of constructor entry points |
webhook_url
is provided, the service will send a POST request to the specified URL when the task completes or fails. The webhook payload will be sent as JSON.
Field | Type | Description |
---|---|---|
status | string | Final status of the task |
task_id | string | The unique identifier of the task |
timestamp | string | ISO 8601 timestamp of the status update |
transaction_hash | string | Hash of the transaction (only present in success payload) |
error | string | Error message (only present in failure payload) |
compiled_class
field should contain the complete compiled contract class data from the custom moduleselector
field in entry points is a hash of the encoded function nameuuid
in the response can be used to check the task status using the status endpoint