> ## Documentation Index
> Fetch the complete documentation index at: https://docs.trusset.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Borrow More

> Draw additional funds against an existing loan

Increases the borrowed amount on an active loan without posting more collateral. The contract reverts if the resulting debt would exceed what the existing collateral supports at the current price.

Single transaction in both modes. No approval is involved because funds move out of the pool, not in.

## Path Parameters

<ParamField path="marketId" type="string" required>Market ID.</ParamField>

## Body Parameters

<ParamField body="loanId" type="integer" required>
  On-chain loan ID. Must be a positive integer sent as a JSON number, not a string.
</ParamField>

<ParamField body="amount" type="string" required>
  Additional amount to borrow, as a decimal string in borrow asset units.
</ParamField>

<ParamField body="signedPrice" type="object">
  EIP-712 signed price from [Sign Price](/endpoints/external-securities-lending/sign-price). Omit to price against the stored oracle value.

  <Expandable>
    <ParamField body="price" type="string">Price in base units.</ParamField>
    <ParamField body="timestamp" type="integer">Signing timestamp.</ParamField>
    <ParamField body="validUntil" type="integer">Signature expiry.</ParamField>
    <ParamField body="signature" type="string">EIP-712 signature.</ParamField>
  </Expandable>
</ParamField>

<ParamField body="txHash" type="string">
  Hash of the transaction you broadcast for this operation. Send it to confirm the transaction and record the result. Omit it to receive the calldata.
</ParamField>

## Response Fields

<ResponseField name="data" type="object">
  <Expandable>
    <ResponseField name="txHash" type="string">Transaction hash. Returned when confirming with `txHash`.</ResponseField>
    <ResponseField name="loanId" type="integer">Loan ID, echoed back. Returned when confirming with `txHash`.</ResponseField>
    <ResponseField name="additionalBorrow" type="string">Amount borrowed, echoed back. Returned when confirming with `txHash`.</ResponseField>
    <ResponseField name="action" type="string">`SIGN_TRANSACTION` when `txHash` is omitted.</ResponseField>
    <ResponseField name="transaction" type="object">`{ to, data }` for the `borrowMore` call. Returned when `txHash` is omitted.</ResponseField>
  </Expandable>
</ResponseField>

<Warning>
  Borrowing more moves the loan closer to its liquidation threshold. Read the resulting health factor from [Get Loan](/endpoints/external-securities-lending/get-loan) afterwards, and expose it to the borrower before they commit.
</Warning>

<Note>
  This endpoint performs no preflight check in either mode. An amount beyond capacity reverts on-chain. Compute headroom from [Get Max Borrow](/endpoints/external-securities-lending/get-max-borrow) against the loan's current collateral, less the outstanding principal and accrued interest.
</Note>

<RequestExample>
  ```bash cURL theme={null}
  curl -X POST "https://api.trusset.org/lending-external-securities/api/positions/{marketId}/borrow-more" \
    -H "X-API-Key: trusset_your_key_here" \
    -H "Content-Type: application/json" \
    -d '{"loanId": 5, "amount": "10000"}'
  ```
</RequestExample>

<ResponseExample>
  ```json Calldata Response theme={null}
  {
    "success": true,
    "data": {
      "action": "SIGN_TRANSACTION",
      "transaction": { "to": "0x70A0...", "data": "0x..." },
      "functionName": "borrowMore"
    }
  }
  ```

  ```json Confirmed Response theme={null}
  {
    "success": true,
    "data": {
      "txHash": "0xabc...def",
      "loanId": 5,
      "additionalBorrow": "10000"
    }
  }
  ```
</ResponseExample>
