Skip to main content
GET
Get a market

Path Parameters

id
string
required

Market id (16 hex chars).

Response

Market

id
string
required

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

Example:

"8679dd8bda43f5c1"

question
string
required
Example:

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

family
enum<string>
required

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

Available options:
A,
B
phase
enum<string>
required
Available options:
open,
closed,
resolving,
disputable,
resolved
status
enum<string>
required
Available options:
open,
resolved,
void
pool_account
string
required

XRPL account holding all stakes; outcomes separated by DestinationTag.

Example:

"rNPA3W2Gj3mMTqt6V5KYc5hD2pszdPsV6S"

fee_rate
number
required

Flat takeout on the gross pool before the split.

Example:

0.03

bet_cutoff
string<date-time>
required
resolution_time
string<date-time>
required
resolution
object
required
total_xrp
number
required
Example:

0

total_drops
string
required

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

Example:

"0"

outcomes
object[]
required