How to Request Resolution
Use requestResolution() when you want ResolveX AI to determine the market outcome autonomously.
Note: Ensure your market contracts implement the IResolveXClient interface before registering. Resolution callbacks will fail without the correct interface.
Parameters required:
- Market contract address
- Resolver name (e.g. AI Agent)
- Market question (e.g. "Will BTC exceed $105,000 by Dec 31?")
- Evidence (URLs or text references)
- Possible outcome texts (e.g. ["Yes", "No"])
- Payment in USDT (bond + $2 protocol fee)
- Resolution criteria (detailed instructions for the AI, max 3KB)
What happens next:
- AI analyses the evidence against your resolution criteria
- If confidence ≥ 90% → market auto-resolves, your contract is called back immediately
- If confidence < 90% → 24-hour dispute window opens
- If undisputed after 24 hours → resolves as proposed
- If disputed → jury of 5-17 jurors votes to final resolution