Get receipt tokens

Get receipt tokens on Aave

Ethereum
Ethereum
Base
Base

Reads onchain state

Ready to run on Base

Reads the receipt token addresses an Aave reserve mints against an asset: the aToken that represents a supply and the variable debt token that represents a borrow. The pool's data provider returns the reserve's token addresses whole, and the aToken and variable debt token are lifted out as their own token outputs so they can be handed straight to any step that takes a token. Reach for it when a strategy needs to move, transfer, or read the balance of an Aave position rather than the underlying asset, so the next step can coil the aToken or debt token into its token slot without hardcoding a receipt address per market.

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.

More plugs on Base

Borrow on Base · 7 plugs

Earn yield on Base · 12 plugs

More on Aave · 25

On other protocols · 1