Claim a defaulted P2P loan
p2p_claim_defaultClaim the collateral from a defaulted P2P loan. Returns any surplus to the borrower. Requires lender signature on mainnet.
Instructions
After the repay window closes unpaid, the lender claims the collateral (any agreed surplus returns to the borrower). Irreversibly settles the loan. Requires the signing wallet to be the lender (mainnet gated).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| chain | Yes |