perpCategories

Returns the category for every annotated perpetual asset as a list of [coin, category] pairs.

Field
Type
Description

type

string

Must be "perpCategories"

Request

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

Response Fields

Field
Type
Description

(root)

array

Array of [coin, category] pairs

[n][0]

string

Perp asset name (with DEX prefix for builder-deployed perps)

[n][1]

string

Asset category (e.g. "crypto", "stocks", "commodities")

Response
[
  ["flx:BTC", "crypto"],
  ["flx:COIN", "stocks"],
  ["flx:COPPER", "commodities"]
]

Last updated