Skip to main content

Token Data

The Token Data API provides unified, real-time token metadata, pricing, liquidity, and risk information to support seamless asset discovery and on-chain interactions. To read more about the properties of a token, see the (Wrapper Tokens)[] page,

Get Curve Pools containing RLUSD

curl -X GET "https://api.monoli.xyz/v1/pools/tokens?token=rlusd&protocol=curve" --header 'Authorization: [YOUR_API_KEY]'

Zaps

Zaps API provides a unified interface that lets developers enter or exit complex multi-step DeFi positions using a single token and a single transaction.

Zap into an LST-Leverage Vault with any Token

Enter an LST Leverage Vault using stETH as the underlying asset: A user holds USDC, but wants to enter the LST Leverage Vault (a leveraged staking strategy using stETH + wETH borrows).
curl -X POST "https://api.monoli.xyz/v1/pools/zaps/vaults/zap-into" \
-H "Authorization: [YOUR_API_KEY]" \
-H "Content-Type: application/json" \
-d '{
    "fromToken": "USDC",
    "toVault": "LST-Leverage-Vault-Address",
    "amount": "1000",
    "slippageTolerance": 0.005,
    "userAddress": "0xUserWalletAddress"
}'
What the Zap automatically performs:
  1. Swap USDC → stETH
  2. Borrow wETH from the lending protocol (Aave/Morpho)
  3. Swap wETH → more stETH
  4. Loop 1-3 until target leverage is reached (e.g., 3x stETH exposure)
  5. Deposit the leveraged stETH position into the Strategy Vault
  6. Return vault shares to the user

Pools