Withdraw

Withdraw on Spark

Ethereum
Ethereum

Acts onchain

Ready to run on Base

Withdraws a supplied asset from a Spark market back to the socket. The pool burns spTokens and returns the underlying, reporting the amount withdrawn. Pick Withdraw all 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.

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 on Spark · 25

On other protocols · 21