cpu_craft
Run craft recipes on your cell to refine raw resources or forge WCPU. Track progress and claim matured batches.
Instructions
Run a craft recipe on a cell you own (refine raw resources, or forge $WCPU). Requires a session — call cpu_authenticate first; discover recipes with cpu_list_recipes. Inputs are debited upfront for all batches. Most recipes are free and start their timer immediately; forge_wcpu costs $CPU, which this tool auto-approves once (a one-time unbounded allowance) before submitting the on-chain payment and waiting for its confirmation — its timer then starts once the indexer settles the payment a few seconds later. Track progress with cpu_get_craft_status and bank matured batches with cpu_claim_craft.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| batches | No | How many sequential batches to run; inputs are debited upfront for all of them. | |
| tokenId | Yes | The tokenId of a cell you own to craft on. | |
| recipeId | Yes | Which recipe to run — see list_recipes for inputs/outputs/cost. |