Balanced docs
Search…
Balanced docs
Home
User guide
FAQ
Troubleshooting
Security
Statistics
Style guide
Community resources
Technical
White paper
Smart contracts
Liquidation bot
Powered By
GitBook
Liquidation bot
Learn how to cover the debt of under-collateralised positions and earn up to a 10% profit.
Set up a liquidation bot to earn even more from Balanced. There are 2 ways to profit from liquidation events:
1.
Trigger a liquidation by calling the
liquidate
method. You'll earn 0.67% of the borrower's collateral.
2.
Pay off bad debt by calling the
returnAsset
method and set
repay
to
FALSE
. You'll purchase collateral at up to a 10% discount from market price.
You can set up your own bot by looking at the
smart contract code
.
Technical - Previous
Smart contracts
Last modified
1mo ago
Copy link