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

alignedQuoteTokenInfo

Returns alignment and yield info for a quote token (e.g. USDH) by its token index. Returns null if the token is not an aligned quote token.

Field
Type
Description

type

string

Must be "alignedQuoteTokenInfo"

token

int

Token index (required)

Request

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

response = requests.post(
    'https://api.hydromancer.xyz/info',
    json={
        'type': 'alignedQuoteTokenInfo',
        'token': 360
    },
    headers={
        'Authorization': f'Bearer {os.environ["HYDROMANCER_API_KEY"]}',
        'Content-Type': 'application/json'
    }
)
print(json.dumps(response.json(), indent=2))

Response Fields

Returns null if the token is not an aligned quote token.

Field
Type
Description

isAligned

bool

Whether the token is currently aligned

firstAlignedTime

int

Timestamp (ms) the token first became aligned

evmMintedSupply

string

Supply minted on the EVM

dailyAmountOwed

array

Array of [date, amount] pairs giving the daily amount owed

predictedRate

string

Predicted yield rate

Response (trimmed)

Last updated