Create Draft
External Missions
Create Draft
Store a pending draft and receive funding calldata.
POST
Create Draft
Creates an
The transaction must be sent by the creator wallet named in the authorization, or through that creator wallet’s smart-account execution path. Do not alter the calldata; the authorization binds the mission ID, token, reward, target count, creator wallet, nonce, and deadline.
Authorizations are short-lived. If the deadline passes before funding, create or fetch a fresh draft response before submitting the transaction.
external_mission_drafts row with funding_status = pending_funding.
The response includes calldata for MissionFactory.createAuthorizedFundedMission(...).
External mission funding calldata is generated for KATCH and USDC rewards. Draft creation rejects any reward.token other than KATCH or USDC.
SDK and CLI clients must send an Idempotency-Key header. Reusing the same key with the same normalized mission returns the existing draft. Reusing it with materially different mission input returns 409 idempotency_conflict.