Skip to main content
GET
Get a market
Récupérez un marché à partir de son id déterministe. La structure correspond à une entrée unique de Lister les marchés.

Paramètres de chemin

id
string
requis

Market id (16 hex chars).

Réponse

Market

id
string
requis

Deterministic id: first 16 hex of sha256(question|resolutionTime).

Exemple:

"8679dd8bda43f5c1"

question
string
requis
Exemple:

"Will XRP/USD be ≥ $1.13 by midnight ET?"

family
enum<string>
requis

A = XLS-47 oracle auto-resolved; B = real-world optimistic resolution.

Options disponibles:
A,
B
phase
enum<string>
requis
Options disponibles:
open,
closed,
resolving,
disputable,
resolved
status
enum<string>
requis
Options disponibles:
open,
resolved,
void
pool_account
string
requis

XRPL account holding all stakes; outcomes separated by DestinationTag.

Exemple:

"rNPA3W2Gj3mMTqt6V5KYc5hD2pszdPsV6S"

fee_rate
number
requis

Flat takeout on the gross pool before the split.

Exemple:

0.03

bet_cutoff
string<date-time>
requis
resolution_time
string<date-time>
requis
resolution
object
requis
total_xrp
number
requis
Exemple:

0

total_drops
string
requis

Total drops staked, decimal string. Use for exact arithmetic.

Exemple:

"0"

outcomes
object[]
requis