> ## Documentation Index
> Fetch the complete documentation index at: https://docs.solana.vanna.finance/llms.txt
> Use this file to discover all available pages before exploring further.

# Liquidation Instruction

> public_liquidate — permissionless, remaining-accounts complete.

```text theme={null}
public_liquidate(max_repay_assets, min_collateral_out)
```

Requires the full position set in remaining accounts (every vault, debt, price, Lite). Incomplete set → fail.

Does not require the account owner. Liquidator pays the debt mint, receives seized collateral.

See [Math](/developers/math-reference) and [Liquidation bots](/developers/guides/liquidation-bots).
