perpDexLimits
Returns the open-interest and transfer limits for a builder-deployed (HIP-3) perp DEX, including the per-asset open-interest caps.
Field
Type
Description
type
string
Must be "perpDexLimits"
dex
string
Perp DEX name (e.g. "xyz"). Required. An empty string selects the native Hyperliquid perp DEX.
Request
curl -X POST https://api.hydromancer.xyz/info \
-H "Authorization: Bearer $HYDROMANCER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"type": "perpDexLimits",
"dex": "xyz"
}'import requests
import os
import json
response = requests.post(
'https://api.hydromancer.xyz/info',
json={
'type': 'perpDexLimits',
'dex': 'xyz'
},
headers={
'Authorization': f'Bearer {os.environ["HYDROMANCER_API_KEY"]}',
'Content-Type': 'application/json'
}
)
print(json.dumps(response.json(), indent=2))Response Fields
Returns null for a DEX that has no configured limits.
Field
Type
Description
totalOiCap
string
Total open-interest cap across the DEX
oiSzCapPerPerp
string
Open-interest size cap per perp
maxTransferNtl
string
Maximum transfer notional
coinToOiCap
array
Array of [coin, oiCap] pairs giving the per-asset open-interest cap
Last updated