Skip to main content

Documentation Index

Fetch the complete documentation index at: https://yieldxyz.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

What this yield is

  • Protocol: Compound V3 lending markets
  • Asset: USDC, WETH, USDT, wstETH, USDS (varies by network)
  • Receipt token: cTokens (e.g., cUSDC, cWETH)
  • Rewards: Interest from borrowers + COMP token rewards (if active)
  • Networks: Ethereum, Polygon, Arbitrum, Optimism, Base
Upon lending into Compound, users receive cTokens which accrue interest over time. These tokens are redeemable for the underlying token at any point.

Required inputs

ParameterDescription
yieldIdThe specific Compound V3 yield (e.g., base-usdc-compound-v3-lending)
addressUser’s wallet address
amountAmount to deposit

Actions & lifecycle

Action: Deposit assets into the Compound V3 market
  • Supply the asset (USDC, WETH, etc.)
  • Receive cToken representing your position
  • Begin earning interest immediately

Example flow

1

Get yield metadata

Fetch available Compound V3 yields and their current rates.
2

Enter position

Call the enter action with your deposit amount.
3

Sign & submit

Sign the transaction and broadcast to the network.
4

Track balances

Monitor your position via the balances endpoint.
curl --request GET \
  --url https://api.yield.xyz/v1/yields/base-usdc-compound-v3-lending \
  --header 'accept: application/json' \
  --header 'x-api-key: <API_KEY>'

Operational notes

If reward mining is active in a given market, users will earn COMP tokens in addition to lending interest. These must be claimed separately using the CLAIM_REWARDS pending action.
cTokens are redeemable for the underlying token at any point in time, subject to available liquidity in the market.
Compound V3 is available on Ethereum, Polygon, Arbitrum, Optimism, and Base with varying asset support.

Yield IDs for this protocol

Yield ID pattern: {network}-{asset}-compound-v3-lending

Arbitrum

Yield IDName
arbitrum-usdc-compound-v3-lendingUSDC Compound v3 Lending
arbitrum-usdc.e-compound-v3-lendingUSDC.e Compound v3 Lending
arbitrum-weth-compound-v3-lendingWETH Compound v3 Lending
arbitrum-usdt-compound-v3-lendingUSDT Compound v3 Lending

Base

Yield IDName
base-usdc-compound-v3-lendingUSDC Compound v3 Lending
base-usdbc-compound-v3-lendingUSDbC Compound v3 Lending
base-weth-compound-v3-lendingWETH Compound v3 Lending
base-aero-compound-v3-lendingAERO Compound v3 Lending

Ethereum

Yield IDName
ethereum-weth-compound-v3-lendingWETH Compound v3 Lending
ethereum-usdc-compound-v3-lendingUSDC Compound v3 Lending
ethereum-usdt-compound-v3-lendingUSDT Compound v3 Lending
ethereum-wsteth-compound-v3-lendingwstETH Compound v3 Lending
ethereum-usds-compound-v3-lendingUSDS Compound v3 Lending

Optimism

Yield IDName
optimism-usdc-compound-v3-lendingUSDC Compound v3 Lending
optimism-usdt-compound-v3-lendingUSDT Compound v3 Lending
optimism-weth-compound-v3-lendingWETH Compound v3 Lending

Polygon

Yield IDName
polygon-usdc.e-compound-v3-lendingUSDC.e Compound v3 Lending
polygon-usdt-compound-v3-lendingUSDT Compound v3 Lending

See also

Quickstart

Get started with Yield.xyz

Actions & Balances

Understand how actions work