Resolution

Check market resolution status and oracle assertion details.

Get Resolution Status

Returns the resolution status for a market, including any active UMA oracle assertion.

GET /api/v1/resolution/{marketId}

Path Parameters

ParameterTypeDescription
marketIdbytes32Market identifier

Response (Unresolved, No Assertion)

{
  "marketId": "0x1234...abcd",
  "expired": false,
  "resolved": false
}

Response (Assertion Active)

{
  "marketId": "0x1234...abcd",
  "expired": true,
  "resolved": false,
  "assertion": {
    "id": "0xAssertionId...",
    "proposer": "0xProposerAddress...",
    "proposedOutcome": true,
    "bondAmount": "5000000",
    "assertionTime": 1735689000,
    "expirationTime": 1735696200,
    "settled": false,
    "settlementResolution": false,
    "disputed": false
  }
}

Response (Resolved)

{
  "marketId": "0x1234...abcd",
  "expired": true,
  "resolved": true,
  "winningOutcome": 0
}

Fields

FieldTypeDescription
marketIdstringMarket identifier
expiredboolWhether the market expiration time has passed
resolvedboolWhether the market has been settled
winningOutcomeint0 = YES won, 1 = NO won (only present when resolved)

Assertion Fields

FieldTypeDescription
idstringUMA assertion identifier
proposerstringAddress that proposed the resolution
proposedOutcomebooltrue = YES, false = NO
bondAmountstringUMA bond amount in USDC
assertionTimeint64When the assertion was made
expirationTimeint64When the dispute window ends (2 hours after assertion)
settledboolWhether the assertion has been settled
settlementResolutionboolFinal resolution after settlement
disputedboolWhether the assertion was disputed

Resolution Flow

  1. Market expires — The market expiration time passes (expired: true).
  2. Proposer submits assertion — A proposer submits a resolution assertion with a UMA bond (assertion present).
  3. Dispute window opens — A 2-hour dispute window opens (expirationTime set).
  4. Undisputed: assertion settles — If undisputed, assertion settles and market resolves (resolved: true, winningOutcome set).
  5. Disputed: UMA arbitrates — If disputed, UMA oracle arbitrates the outcome.