claim_after_timeout
Claim escrowed funds when the review window expires without requester approval or dispute, protecting workers from silent requesters. Use after confirming the window has passed.
Instructions
Claim funds as the worker after the review window expires without requester action.
Use this for Mode B contracts in AwaitingApproval status where the requester has not approved or disputed within the review_window_blocks set at creation. This protects workers from requesters going silent indefinitely.
Check view_contract first to confirm the review window has passed before calling this. If the window has not yet expired, the call will fail on chain.
Args: job_id: The contract ID to claim from after timeout.
Returns confirmation of claim, or error message.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |