meta
Returns metadata for perpetual markets including asset names, size decimals, and max leverage.
Field
Type
Description
type
string
Must be "meta"
dex
string
Perp DEX name (optional). Defaults to empty string for the first perp DEX.
Request
curl -X POST https://api.hydromancer.xyz/info \
-H "Authorization: Bearer $HYDROMANCER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"type": "meta"
}'import requests
import os
import json
response = requests.post(
'https://api.hydromancer.xyz/info',
json={
'type': 'meta'
},
headers={
'Authorization': f'Bearer {os.environ["HYDROMANCER_API_KEY"]}',
'Content-Type': 'application/json'
}
)
print(json.dumps(response.json(), indent=2))Response Fields
Field
Type
Description
universe
array
List of perpetual asset metadata objects
universe[].name
string
Asset symbol (e.g. "BTC")
universe[].szDecimals
int
Number of decimal places for size
universe[].maxLeverage
int
Maximum allowed leverage
universe[].onlyIsolated
boolean
Whether only isolated margin is allowed
Last updated