POST /prepare, which receives multipart/form-data and returns JSON. Error responses use this shape:
1. GET /market-config
Reads runtime configuration for the worker.2. POST /prepare-auth
Creates a short-lived EIP-712 challenge for the exact payload hash.chainId in the EIP-712 domain:
3. POST /prepare
Validates the signed payload, processes images, uploads draft metadata to Irys, checks for existing initialized questions, and starts background preparation. Required multipart fields:GET /pending until request.prepared.txPlan is available.
4. GET /pending
Returns a resumable request byrequestId or the latest resumable request for a creator.
Prepared response shape:
txPlan item from the creator wallet:
5. POST /tx-confirm
Persists transaction hashes so the flow can resume. This endpoint checks that transaction IDs belong to the saved plan. Final validation of sender, target, calldata, value, and receipt happens duringPOST /finalize.
6. POST /finalize
Starts or resumes finalization. Send all hashes you have, including hashes already confirmed throughPOST /tx-confirm.
metadata_update_pending, execute every item in metadataUpdateTxPlan, call POST /tx-confirm with the new hashes, then call POST /finalize again.
Final response:
Optional Health Check
GET / returns "OK" when the worker is reachable.