outcomeMeta

Get metadata for all registered prediction market outcomes.

Returns metadata for all registered prediction market outcomes. This request returns currently active outcomes with their descriptions and side specifications.

POST Request

Field
Type
Description

type

string

Must be "outcomeMeta"

curl -X POST https://api.hydromancer.xyz/info \
  -H "Authorization: Bearer $HYDROMANCER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "type": "outcomeMeta"
  }'

Response Fields

Field
Type
Description

outcomes

array

List of registered outcome entries

outcomes[].outcome

integer

The outcome ID

outcomes[].name

string

Outcome name

outcomes[].description

string

Description or pipe-delimited metadata (e.g. `"class:priceBinary

outcomes[].sideSpecs

array

Side specifications with name for each side

outcomes[].sideSpecs[].name

string

Name of the side (e.g. "Yes", "No", "Hypurr")

questions

array

List of multi-outcome questions

questions[].question

integer

The question ID

questions[].name

string

Question text

questions[].description

string

Question description

questions[].fallbackOutcome

integer

Outcome ID used as fallback

questions[].namedOutcomes

array

List of outcome IDs that are part of this question

questions[].settledNamedOutcomes

array

List of outcome IDs that have been settled

Response

Last updated