Build an unsigned transaction to resolve a market and declare the winning side.
alreadyResolved: true instead of an error.
YES or NO (or the market’s custom tickers like UP/DOWN).true if the market was already resolved. Only present when this is the case.active (or returns alreadyResolved if already resolved)Clock.unix_timestamp >= market.resolutionTime| Error | When |
|---|---|
403 Unauthorized | Caller is not the market creator |
ResolutionTooEarly | Resolution time hasn’t passed yet |
NoOpposition | One side has zero supply — cannot resolve fairly |
vault - winning_supply - unclaimed_fees and transferred to the creator’s USDC account.vault - unclaimed_fees.Resolved, winning outcome is recorded.