Function prepareAddEscrowTransactions
- prepareAddEscrowTransactions(tokenPair: TokenPair, senderAddr: string, params: SuggestedParams): {
escrow: Account;
txns: Transaction[];
}
-
Parameters
-
-
senderAddr: string
-
params: SuggestedParams
Returns {
escrow: Account;
txns: Transaction[];
}
-
escrow: Account
-
txns: Transaction[]
Returns a group transaction to add escrow before borrowing.
Returns
object containing group transaction and escrow account