Deletes a loan term by id. The loan term must have been created by the authenticated account.

It is important to note that the GET Loan Terms endpoint is public. Loan Terms and their signatures may have been downloaded and stored offline before being deleted. Deleted loan terms and their signatures could still be executed if the expiry is still valid. Invalidating the nonce at the protocol level (on chain) prevents this from happening and is highly recommended.

To invalidate the nonce for a given Loan Term, first save the nonce value before deleting the Loan Term. Then call cancelNonce(uint160 nonce) on the LoanCore contract and pass in the nonce.

Language
Click Try It! to start a request and see the response here!