Oracle

Register an oracle provider

Requires an api-key with the oracle:write scope. Registers a provider owned by the authenticated user.

post/v1/oracle/providers

Request

  • Base URL: https://origin.predictasiax.com
  • URL: https://origin.predictasiax.com/v1/oracle/providers
  • Auth: API key in header X-API-Key

Request body

display_namestring required

Human-readable provider name (1-80 chars, no control characters).

adapter_kind'feed' | 'official_source' | 'regional_data' | 'manual' required

Response

Provider created.

idstring
user_idstring
display_namestring
adapter_kind'feed' | 'official_source' | 'regional_data' | 'manual'
statusstring
staked_paxstring

Decimal string with up to 6 fractional digits

attestations_totalinteger
disputed_totalinteger
slashed_totalinteger
rewards_paxstring

Decimal string with up to 6 fractional digits

created_atstring date-time nullable
updated_atstring date-time nullable

Example response

{
  "id": "ovp_9f8e7d6c5b4a39281706f5e4d3c2b1a0",
  "user_id": "usr_0011223344556677889900aabbccddee",
  "status": "active",
  "staked_pax": "1234.5678",
  "rewards_pax": "1234.5678"
}

Changes

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