Documentation
    Preparing search index...

    Function repayFlashLoanPTB

    • Repay a flash loan transaction in the PTB

      This function repays the flash loan using the receipt from the original flash loan and the coin object containing the repayment amount.

      Parameters

      Returns Promise<{ $kind: "NestedResult"; NestedResult: [number, number] }[]>

      Tuple containing [balance] after repayment

      Error if the pool does not support flash loans