Build withdraw transaction with simulation
POST/v1/actions/lending/withdraw
Build calldata for withdrawing from a lending pool 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
- 200
- 400
Transaction calldata with post-trade simulation
Validation error