approve_delivery
Approve a delivered Mode B contract after verifying the work meets the specification. Unlocks the worker's payment and collateral, irreversible on chain.
Instructions
Approve a delivered Mode B contract as the requester (Alice).
Use this after reviewing the worker's deliverable and confirming it meets the agreed specification. Once approved, the worker can claim their payment plus collateral.
Only use after thoroughly testing the deliverable. Approval cannot be reversed once confirmed on chain.
Args: job_id: The contract ID to approve.
Returns confirmation of approval, or error message.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |