Supply

Supply on Aave

Ethereum
Ethereum
Base
Base

Acts onchain

Ready to run on Base

Supplies an asset to an Aave market, minting aTokens to the wallet. The socket approves the pool and deposits the amount on the wallet's behalf; the aToken balance then accrues the supply rate every block and can be enabled as collateral. Reach for it to earn yield on idle balance, to post collateral before a borrow, or as the second half of a loop where borrowed funds are swapped and supplied again in the same transaction. Follow it with the collateral status action when the deposit needs to back a borrow.

Plug lets you combine onchain actions like this one into a single transaction, without writing a smart contract. Use in App opens a new plug with this action already in it.

Supply USDC to Aave on Base

aave
plug
3actions
  1. 1·Get asset data

    Reading Aave's reserve for USDC at 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913 in the Base market at 0xe20fcbdbffc4dd138ce8b2e6fbb6cb49777ad64d, this returns its live rates and token addresses, including supply and borrow APYs.

  2. 2·Supply

    Supplying 50 of USDC to that same Base market, this deposits the asset and mints aTokens to the wallet.

  3. 3·Bubble

    Surfacing the value in slot 0.21 as this plug's output, this exposes a figure from the reserve read for callers downstream.

Get asset data of in
Supply to
Bubble

More plugs on Base

Borrow on Base · 7 plugs

Earn yield on Base · 12 plugs

Posts · 10

More on Aave · 25

On other protocols · 4