
Spark · Acts onchain
Withdraws a supplied asset from an Aave market back to the socket. The pool burns aTokens and returns the underlying, reporting the amount withdrawn. Set the amount to max to withdraw the full supplied balance including accrued interest. The pool refuses a withdrawal that would drop the health factor below one. Reach for it to exit a lending position, to free collateral after a repay earlier in the transaction, or to pull funds that a following swap or deposit needs, coiling the withdrawn amount into the next step so the exact figure flows through.
On other protocols · 5