The transaction builder to append repayment operations to
Unique identifier for the lending pool asset (e.g., "USDC", "SUI")
The coin object to use for repayment, or GasCoin for SUI payments
Optional
options: Partial<EnvOption & AccountCapOption & { amount: number | TransactionResult }>Configuration options for the repayment
amount
- Specific amount to repay (required for SUI gas coin, otherwise uses value of specified coinObject)accountCap
- Optional account capability object for privileged repaymentsenv
- Environment configurationcacheTime
- Cache duration for configuration dataPromise
Builds a repay transaction for a lending pool debt
Constructs and adds repayment operations to an existing transaction object. This function handles loan repayments, supporting both standard user repayments and privileged operations via account capabilities.