| Time | Status | User Agent |  |
| :-- | :-- | :-- | :-- |
| Make a request to see history. |

#### URL Expired

The URL for this request expired after 30 days.

### The request body for a /defi/v1/lendborrow/deposit

#### Request Body Structure

- **lendborrowId**  
  - *type*: string  
  - *enum*: The unique ID to specify the lending and borrowing protocol for routing relevant queries or transactions.  
    - 1000100010031005120012021203120412051206120711001300130214001401140214031404

- **asset**  
  - *type*: string  
  - *description*: Token address of the asset to deposit.

- **amount**  
  - *type*: string  
  - *required*: Number of tokens to deposit.

- **onBehalfOf**  
  - *type*: string  
  - *required*: Public address of the user on whose behalf the deposit action will be executed.

- **from**  
  - *type*: string  
  - *required*: Sender's public address.

- **gas**  
  - *type*: string  
  - *description*: Maximum gas to be approved for the transaction.

- **gasPriority**  
  - *type*: string  
  - *description*: Specifies the priority level for gas fees (e.g., 'low', 'medium', or 'high'), which influences the transaction speed and cost.

- **enableFee**  
  - *type*: boolean  
  - *description*: Flag to include a basis points fee transaction alongside the main transaction when set to true.

- **useCustomVaults**  
  - *type*: boolean  
  - *description*: A boolean flag to scope the API request. If true, the request will be processed using the partner's dedicated vaults. If false or omitted, it uses the standard public pools.

- **to**  
  - *type*: string  
  - *description*: Receiver's public address.

- **market**  
  - *type*: string  
  - *description*: The market of the asset, such as USDC or WETH. Defaults to USDC.

- **marketId**  
  - *type*: string  
  - *description*: Specifies the market Id of any market in Morpho.

- **vaultAddress**  
  - *type*: string  
  - *description*: Specifies the vaultAddress of any vault in Morpho.

- **collateral**  
  - *type*: boolean  
  - *description*: Specifies the condition for depositing the token as a supply to earn the yields only or use it as collateral to borrow loan asset.

### Example Request

```shell
curl --request POST \
     --url https://svc.blockdaemon.com/defi/v1/lendborrow/deposit \
     --header 'accept: application/json' \
     --header 'content-type: application/json'
```

### Response Status

``` 200      Successful response
```

Updated 2 months ago
