Loan
Bitcoin-collateralized loan management
📄️ Register a new loan
Register a loan for DLC oracle monitoring.
📄️ Get existing loan
Retrieve the details of an existing loan by ID.
📄️ Update an existing loan
Update loan conditions including maturity datetime, liquidation threshold, and repayment details. Creates new oracle events for the updated loan.
📄️ Trigger Oracle Loan Sandbox Event
Manually trigger the oracle job to process pending loan events. Use this to test funding detection, repayment, and liquidation scenarios without waiting for real blockchain activity.