Skip to main content
Redeem cTokens (collateral tokens) to receive the underlying asset plus any accrued interest. This process burns your cTokens and returns the deposited assets along with earned yield.

Redeeming cTokens

Burn cTokens to withdraw your deposit and interest from Kamino lending reserves.
1

Import Dependencies

2

Load Market and Initialize RPC

3

Get the Wallet’s cToken Balance

The redeem amount is in cTokens, not USDC. Read the wallet’s cToken balance to redeem all of it.
4

Build Redeem Reserve Collateral Instructions

Redeem the cTokens for USDC.
5

Build the Transaction

6

Sign and Send

Once the transaction is confirmed, the cTokens are burned and the USDC, including the interest earned, is in your wallet.