Lend

Earn yield on your assets

Earn yield on your assets by lending them across multiple chains. Supply stablecoins, ETH, or other supported tokens to start earning interest.

How It Works

Supply Assets
Supply Assets

Deposit supported tokens to Aave V3 & start earning interest immediately.

Earn Yield
Earn Yield

Receive aTokens representing your deposit plus accrued interest over time.

Withdraw Anytime
Withdraw Anytime

Withdraw your supplied assets plus earned interest at any time, subject to liquidity.

Supported Assets

USDCUp to 5% APY
USDTUp to 4.5% APY
DAIUp to 4% APY
ETHUp to 2% APY

API Usage

lending.ts
import { supplyToAave, withdrawFromAave } from '@/lib/aave'

// Supply assets to Aave
const supplyTx = await supplyToAave({
  asset: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48', // USDC
  amount: '1000000000', // 1000 USDC
  chainId: 1, // Ethereum
  userAddress: userAddress,
})

// Withdraw assets from Aave
const withdrawTx = await withdrawFromAave({
  asset: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48',
  amount: '1000000000',
  chainId: 1,
  userAddress: userAddress,
})

// Check lending position
const position = await getAavePosition({
  userAddress,
  chainId: 1,
})
Was this helpful?