marginTable

Returns the margin requirements table for a specific perpetual asset by index.

Field
Type
Description

type

string

Must be "marginTable"

id

int

Asset index (required)

Request

curl -X POST https://api.hydromancer.xyz/info \
  -H "Authorization: Bearer $HYDROMANCER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "type": "marginTable",
    "id": 1
  }'

Response Fields

Field
Type
Description

description

string

Description of the margin table

marginTiers

array

List of margin tier objects

marginTiers[].lowerBound

string

Lower bound of the notional position for this tier

marginTiers[].maxLeverage

int

Maximum leverage allowed at this tier

Response
{
  "description": "",
  "marginTiers": [
    {
      "lowerBound": "0.0",
      "maxLeverage": 1
    }
  ]
}

Last updated