Oracle

Get an attestation

Fetch a single attestation by id, including status, bond, and liveness expiry.

get/v1/oracle/attestations/{id}

Request

  • Base URL: https://origin.predictasiax.com
  • URL: https://origin.predictasiax.com/v1/oracle/attestations/{id}
  • Auth: none required

Path parameters

idstring required
Example:att_1a2b3c4d5e6f70819a2b3c4d5e6f7081

Response

The attestation.

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.