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
type
string
Must be "outcomeMeta"
venue
string
Only outcomes deployed by this permissionless venue, e.g. "skew". 2–4 ASCII letters, case-insensitive; a venue not present in deployers returns 400 (optional)
deployedBy
string
"all" (default), "validator" (registered by validator quorum, no venue), or "venue" (any permissionless venue) (optional)
curl -X POST https://api.hydromancer.xyz/info \
-H "Authorization: Bearer $HYDROMANCER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"type": "outcomeMeta"
}'import requests
import os
response = requests.post(
'https://api.hydromancer.xyz/info',
json={
'type': 'outcomeMeta'
},
headers={
'Authorization': f'Bearer {os.environ.get("HYDROMANCER_API_KEY")}',
'Content-Type': 'application/json'
}
)
print(response.json())Only outcomes deployed by the skew venue, then only validator-deployed outcomes:
curl -X POST https://api.hydromancer.xyz/info \
-H "Authorization: Bearer $HYDROMANCER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"type": "outcomeMeta", "venue": "skew"}'
curl -X POST https://api.hydromancer.xyz/info \
-H "Authorization: Bearer $HYDROMANCER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"type": "outcomeMeta", "deployedBy": "validator"}'Response Fields
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")
outcomes[].venue
string?
Permissionless venue that deployed this outcome. Absent (not null) on validator-deployed outcomes
outcomes[].quoteToken
string?
Quote token name (e.g. "USDC"), not the numeric index — resolve via spotMeta
outcomes[].deployerFeeScale
string?
Deployer-fee multiplier. Absent at the default of 1; absence means the default, not unknown
feeScale
string?
Chain-wide default fee scale that each outcome's deployerFeeScale overrides
deployers
array
Registered permissionless deployers, one entry per venue
deployers[].deployer
string
Deployer address that claimed the venue
deployers[].venue
string
Venue name, as it appears in outcomes[].venue
deployers[].subDeployers
array
Addresses the deployer has delegated actions to, with the action variants each may perform
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
Last updated