Function prepareAddEscrowTransactions

  • Returns a group transaction to add escrow before borrowing.

    Returns

    object containing group transaction and escrow account

    Parameters

    • tokenPair: TokenPair

      token pair to add escrow for

    • senderAddr: string

      account address for the sender

    • params: SuggestedParams

      suggested params for the transactions with the fees overwritten

    Returns {
        escrow: Account;
        txns: Transaction[];
    }

    • escrow: Account
    • txns: Transaction[]

Generated using TypeDoc