Skip to main content

Debt swap with simulation

POST 

/v1/actions/loop/debt-swap

Swap debt between borrow positions and simulate post-trade state. Same parameters as GET. Send a JSON body with current portfolio state (balanceData, aprData) to receive projected post-trade metrics in the simulation field.

Request

Responses

Quote or transaction calldata with post-trade simulation