Earn Yield on Your Assets

Supply stablecoins, ETH, or supported tokens to earn yield across chains.

Supply Assets
Supply Assets

Deposit supported tokens & start earning interest.

Earn Yield
Earn Yield

Receive tokens representing deposit plus accrued interest.

Withdraw Anytime
Withdraw Anytime

Withdraw supplied assets plus interest anytime.

Supported Assets

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

API Usage

lending.ts
import { supply, withdraw, getLendingPosition } from '@/lib/torque'

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

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

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