Skip to main content
Post additional cirBTC as collateral against an open loan. Adding collateral lowers the loan’s LTV and raises its health factor without changing the outstanding debt. This is the standard response to a margin call when you want to keep the loan open rather than repay it.

Prerequisites

Before you begin, ensure that you’ve:
  • Completed the Borrow USDC against cirBTC collateral quickstart and hold at least one loan in active status.
  • Held sufficient cirBTC in your Mint balance to cover the additional collateral you plan to post.

Steps

1

Submit the collateral request

Call POST /v1/borrow/loans/{id}/collateral with the amount of cirBTC you want to add in raw uint256 base units.
The endpoint returns an onchainJob with jobType: add_collateral:
Save the job id. You poll it in the next step.
2

Poll the job to completion

Circle builds, signs, and submits the onchain UserOperation for the added collateral. The job progresses through submitted and confirmed to completed. Poll GET /v1/borrow/jobs/{id} until you see the terminal state.
3

Confirm the updated position

Fetch the loan to confirm the added collateral is reflected and the health factor has improved:
collateralAmount on the loan should now include the added amount, and healthFactor should be higher than it was before.