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

exchangeStatus

Returns the current status of the exchange.

Field
Type
Description

type

string

Must be "exchangeStatus"

Request

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

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

specialStatuses

object?

Special status flags, null under normal operation

time

int

Current exchange timestamp (ms)

Response
{
  "specialStatuses": null,
  "time": 1773647974412
}

Last updated