How it works
1
Create a collateral package
When you approve a loan, create a collateral package specifying the pledgor (your end client), the pledged assets, and the loan-to-value thresholds that should trigger a warning, a margin call, or a critical alert.
2
Register the loan
Register the loan itself as an exposure against that collateral package, tagged with your own loan ID.
3
Record loan activity
As the loan progresses, record activity: the initial pledge, any top-ups or margin returns, and the eventual payoff.
4
Monitor loan-to-value
Anchorage Digital continuously prices the pledged assets and calculates loan-to-value in real time, alerting you as thresholds are approached or crossed.
5
Respond to threshold breaches
When a threshold is breached, respond directly — for example, requesting a margin return — or, if pre-configured, let Anchorage Digital take an agreed action automatically as collateral manager.
Whether you or Anchorage Digital handles collateral unlock and liquidation depends on whether Anchorage Digital is configured as collateral manager for your program. Confirm this during setup.
Integration steps
These calls require the Manage Collateral Packages and Read vault activity API permissions.POST requests also require request signing.
Step 1: Set up the collateral record
POST /v2/collateral_management/packages
Specify the pledgor, the pledged assets, and the loan-to-value thresholds that trigger a warning, margin call, or critical alert.
Step 2: Register the loan
POST /v2/collateral_management/exposures
Step 3: Record the initial pledge
Record the collateral deposit against the package, and the loan principal against the exposure.Step 4: Monitor loan-to-value
GET /v2/collateral_management/packages/{packageId}
Returns currentLtv, state (HEALTHY, MARGIN_CALL, CRITICAL, and other values), packageValue, and exposureValue. Alerts fire automatically by email and webhook as the thresholds set in Step 1 are crossed — see Email and webhook notifications.
Step 5: Respond to a threshold breach
Request a margin return once the package enters theMARGIN_RETURN state:
Request
Request