worksats_solve_task
Submit a solved WorkSats task ticket (tsk_...) to mint a signed bearer credit token (crd_...). For house tasks, provide checksum and scriptPubKeys; for bounty tasks, provide answer or mode-specific fields (addresses, address, scriptPubKey, feeSats, inputCount, outputCount, data).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Structured JSON solution object (for `json_schema` bounty tasks). | |
| answer | No | Canonical answer string (for `sha256` buyer-funded bounty tasks). | |
| ticket | Yes | Signed task ticket (`tsk_...`) from `worksats_get_task`. | |
| address | No | Bitcoin address (for `address_script` bounty tasks). | |
| feeSats | No | Decoded PSBT fee in sats (for `psbt_feerate` bounty tasks). | |
| checksum | No | 8-character BIP380 checksum (for house or `descriptor_derive` tasks). | |
| addresses | No | Derived Bitcoin addresses (for `descriptor_derive` bounty tasks). | |
| inputCount | No | Decoded PSBT input count (for `psbt_feerate` bounty tasks). | |
| outputCount | No | Decoded PSBT output count (for `psbt_feerate` bounty tasks). | |
| scriptPubKey | No | Hex scriptPubKey (for `address_script` bounty tasks). | |
| scriptPubKeys | No | Derived scriptPubKey hex strings (for house or `descriptor_derive` tasks). |