crate::server
Fetches protocol information based on the specified type and query parameters
get/v1/info/{kind}
Path parameters
kind'yield-info' | 'price-info' | 'depository' required
Type of information being requested.
Type of info
Query parameters
collateral'usdt' | 'usdc' | 'usdg'
Type of collateral used in USX transactions.
Only required for Depository info
quote_token'eusx'
Type of token being priced (in USX).
Only required for Price info
Response
Info Response