Borrowing
Claim Escrowed Collateral
Reclaim collateral held in escrow after a blocked return transfer
POST
Withdraws collateral that the custody adapter could not return automatically. This applies to
CUSTODY markets only.
When a loan closes or collateral is withdrawn, the adapter attempts to transfer the tokens back to the holder. ERC-3643 tokens enforce compliance at transfer time, so that return can fail: an expired KYC record, a suspended identity, or a jurisdiction restriction will all block it. Rather than reverting the whole operation, the adapter records the amount as escrowed. Once the holder’s compliance status is restored, this endpoint releases it.
The transaction targets the custody adapter, not the market contract. The claim is scoped to the caller, so the wallet that signs must be the holder whose collateral is escrowed. Signing with any other wallet claims nothing.
holderAddress only decides whose escrow is checked before the calldata is handed back; it does not appear in the transaction and cannot redirect the claim.Path Parameters
string
required
Market ID. Must be a
CUSTODY market.Body Parameters
string
Address whose escrow you intend to claim. When supplied, the adapter’s escrow is read first. An empty escrow is refused with
NO_ESCROWED_COLLATERAL, rather than handing back a transaction that reverts once paid for. escrowedCollateral is populated only when this is given.Response Fields
This endpoint always returns calldata. There is nothing to confirm, because the claim is recorded on-chain against the adapter rather than in a Trusset position record. Read the resulting balance with Get Escrowed Collateral.object
