← All workflows
LendingExits

Close a loan and take the collateral back

Repay what is outstanding and withdraw the collateral, in one press, without stranding dust debt that blocks the withdrawal.

Starts when
You press Run
Repeats
Runs once
Networks
basearbitrumethereum
Assets
ETH
Through
Aave v3Morpho

What you type

Close my loan and send the collateral back to my wallet.

Change the numbers, the assets or the network — it is a sentence, not a template. If what you want is not possible on the network you named, ask before planning: "can I do this" is usually really "can I do this there".

What it compiles to

The plan you approve
  1. 01close-loanbase
    loan.closerepay and withdraw collateral2 calls
  2. 02send-backbase
    transfer.erc20collateral to your wallet1 call
  3. 03sweep-nativebase
    transfer.nativeand any ETH left on the account, by transaction value1 call
3 steps

You read this before anything happens. Saving it runs nothing; running it is a separate, deliberate press.

What to know before you run it

Related workflows

Every operation named above is in thecatalogue, which is generated from the running build. If this page and the catalogue disagree, the catalogue is right.

Bring one strategy you are tired of running by hand.

We onboard a small number of funds and operators each month, and we sit with each one to build their first loop.