# NFT Lend

### **listToken**

**Input:**&#x20;

* NFT address, the tokenID
* Address in which they want to get paid and the amount&#x20;
* Loan duration

**Output:**

* Tx ID

This function will be used by borrowers to list a new loan opportunity. \
When called, the user will be asked to approve the transaction, and the NFTs will be transferred to the smart contract as collateral. The function will generate a unique trade ID.

### Lend

**Inputs:**

* Tx ID

This function will be called by investors to perform a trade by sending the trade ID. The function will get the tokens to pay with from them.

### **withdraw**

**Inputs:**

* Tx ID

This function will be called by borrower to pay back their loans with interest and get back the NFT

### **cancleLoan**

**Inputs:**

* Tx ID

This function will be called by the investor to get NFT from the smart contract when the borrower fails to pay back on time.

### **listLoans**

**Inputs:** None

**Outputs:** List of available NFT for sale with details.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.vera.financial/developers/api-references/nft-lending.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
