Borrow
Borrow

Spark · Acts onchain

Borrows an asset from an Aave market against collateral you have supplied. The pool lends the amount at the variable rate straight to the socket, opening or growing a variable debt position; it only succeeds while your health factor stays above one afterward. Set the amount to max to borrow the full capacity the market allows. Reach for it after a supply in the same transaction to build leverage, to fund a swap or deposit elsewhere with borrowed capital, or inside a flash loan block to convert a temporary loan into lasting debt. Pair it with account data so a predicate holds the resulting health factor above your floor.

On other protocols · 4