v1

latestOpenAPI 3.0.32026-08-041747125.8 KB
User Configuration

Get default configuration for token

Retrieves the default pool configuration state for a specific token including domain IDs, protocol IDs, and pool contract addresses.

This endpoint returns the initial default configuration that shows how the system is set up for the specified token. The configuration includes:

  • Domain IDs: Cross-chain domain identifiers for the token
  • Protocol IDs: Identifiers of the supported DeFi protocols (e.g., Aave, Morpho, Euler)
  • Pool Contracts: Smart contract addresses for the respective pools
  • Rebalancing Manager Address: The address of the rebalancing manager contract

This represents the default state of the configuration, which can be used as a reference or starting point for rebalancing operations. Use this to compare against user's existing configuration.

Rate limiting: 1 request per 3 seconds per client IP. Excess requests receive HTTP 429 with Retry-After, X-RateLimit-Limit, X-RateLimit-Remaining, and X-RateLimit-Reset headers (see RateLimitExceeded response).

get/v1/config/default/{token}

Path parameters

token'USDC' | 'MUSD' | 'USDT' | 'RLUSD' | 'USDG' | 'USDE' | 'PYUSD' required

Token symbol (uppercase)

Response

Default configuration retrieved successfully

tokenstring required

Token symbol

rebalancingManagerAddressstring required

RebalancingManager contract address

domainIdsinteger[] required

Default domain IDs - match index values of protocolIds and poolAddresses

protocolIdsinteger[] required

Default protocol IDs - match index values of domainIds and poolAddresses

poolAddressesstring[] required

Default pool contract addresses - match index values of domainIds and protocolIds

Example response

{
  "token": "USDT",
  "rebalancingManagerAddress": "0x971ad06e6fde83b0265bd3ced5f5eaf30e269962",
  "domainIds": [
    11,
    11
  ],
  "protocolIds": [
    0,
    2
  ],
  "poolAddresses": [
    "0xc47b8c00b0f69a36fa203ffeac0334874574a8ac",
    "0xcbef9be95738290188b25ca9a6dd2bec417a578c"
  ]
}