nonce_mine
DO THE WORK. Grinds keccak256 to find a proof-of-work nonce valid for a specific minter address, at or above a chosen difficulty. This is the only way to become eligible to mint an 8004 NONCE piece. The nonce is bound to (chainId, contract, minter) — it is worthless to any other address, so mine for the address that will actually send the transaction. Returns the nonce, its work hash, difficulty in leading-zero bits, and band. Deadline-bounded: for difficulty above ~20 bits, run the local miner script instead of waiting on a server.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| minter | Yes | The 0x address that will send the mint transaction. The proof is bound to it. | |
| maxSeconds | No | Time budget for the grind, capped at 8s so a mine never starves other requests on this server. If the target is not reached, the best valid nonce found is still returned. | |
| targetBits | No | Difficulty target in leading-zero bits. 16 is the contract floor (~65k hashes, instant). 18 ≈ 260k. 20 ≈ 1M. Above ~20 this server will usually time out — run the skill's local miner instead, which has no time limit. |