Prepare a Collateral Claim
prepare_claim_collateral_calldataBuilds an unsigned transaction blueprint for a lender to claim the collateral on a defaulted Gavel loan.
Validates that you are the lender and that the loan has passed maturity without repayment. Chain state is authoritative — a repayment in the current block may not be indexed yet, so this tool warns rather than asserts when the margin is thin.
Returns an unsigned transaction blueprint for the requested intent. The user is responsible for reviewing, signing, and broadcasting via their own wallet. Aletheia does not hold keys or dispatch transactions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| loan_id | Yes | The defaulted loan. | |
| network | No | Network. Default 'arbitrum-one' (mainnet, real funds). | arbitrum-one |
| lender_address | Yes | Your address — must match the loan's lender. |