For the complete documentation index, see llms.txt. This page is also available as Markdown.

perpDexs

Returns the list of all available perpetual DEXes.

Field
Type
Description

type

string

Must be "perpDexs"

Request

curl -X POST https://api.hydromancer.xyz/info \
  -H "Authorization: Bearer $HYDROMANCER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "type": "perpDexs"
  }'
import requests
import os
import json

response = requests.post(
    'https://api.hydromancer.xyz/info',
    json={
        'type': 'perpDexs'
    },
    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

(root)

array

Array where index 0 is null (the native/first DEX) and subsequent entries are DEX objects

[n].name

string

Short DEX identifier (e.g. "xyz")

[n].fullName

string

Full DEX display name

[n].deployer

string

Deployer Ethereum address

[n].oracleUpdater

string?

Oracle updater address, null if not set

[n].feeRecipient

string

Fee recipient address

[n].assetToStreamingOiCap

array

Array of [asset, cap] pairs for streaming open interest caps

[n].subDeployers

array

Array of [permission, [addresses]] pairs

[n].deployerFeeScale

string

Deployer fee scale factor

[n].lastDeployerFeeScaleChangeTime

string

Timestamp of last fee scale change

[n].assetToFundingMultiplier

array

Array of [asset, multiplier] pairs

[n].assetToFundingInterestRate

array

Array of [asset, rate] pairs for custom funding interest rates

Response

Last updated