Body
Loan address to repay
List of collateral assets to withdraw before repayment
List of principal repayment instructions
Optional CPI instructions to run between withdrawal and repayment
Optional list of address lookup tables
Optional list of signer keypairs
Optional instructions to execute first
Optional Address Lookup Tables
Optional signer keys, not including the user's own
If true, this flag will prepend the setupIxs to the repay transaction, if false (default), this endpoint will return two transactions (Setup + Repay Loan w/ CPI)
Defaults to true. If true, this flag will append a loan close instruction if the entire loan is empty, otherwise it will skip closing and need to be handled separately.
Response
Serialized transaction message and signatures