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"
  }'

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

Response
{
  "universe": [
    {
      "name": "BTC",
      "szDecimals": 5,
      "maxLeverage": 50,
      "onlyIsolated": false
    },
    {
      "name": "ETH",
      "szDecimals": 4,
      "maxLeverage": 50,
      "onlyIsolated": false
    }
  ]
}

Last updated