outcomeDeployerLimits
Returns a venue's remaining outcome-deployment allowance: how many more outcomes it may deploy today, and how many more it may hold active at once.
Use it to check whether a venue can still deploy before submitting a registerOutcome action.
venue must be 2-4 lowercase ASCII letters — the same naming rule as HIP-3 perp DEX names. Anything else is rejected with a 400; note that venue names are case-sensitive, so OUT is not a valid spelling of out.
type
string
Must be "outcomeDeployerLimits"
venue
string
Venue name — 2-4 lowercase ASCII letters (required)
Request
curl -X POST https://api.hydromancer.xyz/info \
-H "Authorization: Bearer $HYDROMANCER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"type": "outcomeDeployerLimits",
"venue": "out"
}'import requests
import os
import json
response = requests.post(
'https://api.hydromancer.xyz/info',
json={
'type': 'outcomeDeployerLimits',
'venue': 'out'
},
headers={
'Authorization': f'Bearer {os.environ["HYDROMANCER_API_KEY"]}',
'Content-Type': 'application/json'
}
)
print(json.dumps(response.json(), indent=2))Response Fields
The venue must exist. An unknown venue is not reported as an empty result — the node rejects the query and the request fails with 500.
nDailyOutcomesRemaining
int
Outcomes the venue may still deploy during the current day
nActiveOutcomesRemaining
int
Additional outcomes the venue may hold active at the same time
Both counters are live and move as the venue deploys and as its outcomes settle.
Last updated