Oracle

Challenge an attestation

Requires an api-key with the oracle:write scope and a funded PAX bond. Opens a dispute within the liveness window.

post/v1/oracle/attestations/{id}/challenge

Request

  • Base URL: https://origin.predictasiax.com
  • URL: https://origin.predictasiax.com/v1/oracle/attestations/{id}/challenge
  • Auth: API key in header X-API-Key

Path parameters

idstring required
Example:att_1a2b3c4d5e6f70819a2b3c4d5e6f7081

Request body

disputer_outcomestring required

The outcome the disputer asserts instead.

evidence_urlsstring[]

Response

Dispute recorded; disputer bond locked.

idstring
market_idstring
proposer_user_idstring
provider_idstring nullable
proposed_outcomestring
evidence_urlsstring[]
bond_paxstring

Decimal string with up to 6 fractional digits

state'proposed' | 'disputed' | 'resolved'
liveness_expires_atstring date-time nullable
disputer_user_idstring nullable
disputer_outcomestring nullable
disputer_evidence_urlsstring[] nullable
disputer_bond_paxstring nullable
disputed_atstring date-time nullable
resolved_outcomestring nullable
proposer_wonboolean nullable
reward_paxstring

Decimal string with up to 6 fractional digits

created_atstring date-time nullable
updated_atstring date-time nullable
finalized_atstring date-time nullable

Example response

{
  "id": "att_1a2b3c4d5e6f70819a2b3c4d5e6f7081",
  "market_id": "mkt_aabbccddeeff00112233445566778899",
  "proposer_user_id": "usr_0011223344556677889900aabbccddee",
  "provider_id": "ovp_9f8e7d6c5b4a39281706f5e4d3c2b1a0",
  "bond_pax": "1234.5678",
  "reward_pax": "1234.5678"
}

Changes

No recorded changes to this operation across all 1 revision of this API.