Skip to main content

Build repay transaction with simulation

POST 

/v1/actions/lending/repay

Build calldata for repaying a loan 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

Transaction calldata with post-trade simulation