Trigger a residual collateral sweep
Triggers a sweep of collateral left in the lending protocol after a partial liquidation. Circle creates this job automatically when it detects the residual, so you only need to call this endpoint to manually retry the sweep.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Universally unique identifier (UUID v4) of a resource.
"b3d9d2d5-4c12-4946-a09d-953e82fae2b0"
Body
Manual trigger for a residual collateral withdrawal. Circle automatically
creates a withdraw_residual job after a partial liquidation, so use this
request only if the automatic job cannot be completed and you need to retry
the sweep.
Idempotency key
(UUID v4) for this request. Reusing it with a different body returns
409 Conflict.
Response
Residual sweep accepted. Poll the returned job to track its status.
An async onchain operation. Each job represents one of: borrow, repay,
add collateral, wallet setup, owner change, or residual withdraw. Poll
this resource until the job reaches a terminal status (completed,
failed, or approval_rejected). Fields that do not apply to the current
status or job type are omitted rather than returned as null.