Skip to main content

POST /posts/evaluate

Pulls an X post via RapidAPI’s twitter241, scores it with the gatekeeper model, and (if eligible) runs the writer to draft a market proposal. Seals the judge prompt to 0G Storage and persists the proposal in SQLite, keyed by the resulting merkle root. Body:
Response (eligible):
Response (rejected): { "eligible": false, "score": {...}, "reason": "..." }. The frontend takes the judgeStorageRoot and feeds it into MarketFactory.createMarket(...) so the on-chain market and the API’s cached proposal stay linked.