Accept the hours somebody worked (step 1 of 2)
prepare_accept_hoursYou were named on a work packet as the person who accepts its hours: this is how you do that. FREE and KEYLESS, a signed judgment, no fee, no gas. NOBODY PAYS ANYBODY HERE: accepting hours releases no wage, records no settlement and mints nothing, it writes onto the record that those hours were worked and stops. THE HOUSE CANNOT ACCEPT ITS OWN HOURS, which is the whole reason this door exists: a house wallet is refused here, and so is the packet's own worker, because nobody grades their own exam. The signature is YOUR OWN, from the wallet the packet named, and nobody else's signature will open it. The worker states the hours; you decide the accepted figure, and a figure above their own claim needs allowAboveClaim. Read the proof first with get_work_packet. Returns MESSAGE_TO_SIGN and BODY_JSON; sign with that wallet's personal_sign, then call submit_accept_hours within 5 minutes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Optional, up to 300 characters: one plain sentence saying what you checked. | |
| workId | Yes | The packet id whose hours you are accepting. | |
| acceptor | Yes | Your 0x address, the one this packet named as its acceptor. Address only, never a private key. | |
| hoursAccepted | Yes | The hours you actually stand behind, greater than zero and at most 168. Not the hours claimed unless you agree with them. | |
| allowAboveClaim | No | Only when you mean to credit MORE hours than the worker asked for. Default false, and a higher figure is refused without it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| tool | No | ||
| funded | No | ||
| payUsd | No | ||
| workId | No | ||
| claimId | No | ||
| claimable | No | ||
| next_call | No | ||
| proofRule | No | ||
| fulfillableBy | No | ||
| definitionOfDone | No | ||
| needs_from_caller | No | ||
| notClaimableReason | No |