Function prefixWithOpUp
- prefixWithOpUp(
opup: OpUp,
userAddr: string,
transactions: Transaction | Transaction[],
numInnerTransactions: number,
params: SuggestedParams,
): Transaction[] Parameters
- opup: OpUp
opup applications
- userAddr: string
account address for the user
- transactions: Transaction | Transaction[]
transaction(s) to prefix opup to
- numInnerTransactions: number
number of inner transactions to issue (remaining opcode is 691 + 689 * num.inner.txns)
- params: SuggestedParams
suggested params for the transactions with the fees overwritten
Returns Transaction[]
Transaction[] transaction group with opup prefixed
- opup: OpUp
Given a transaction or transaction group, prefixes it with appl call to increase opcode budget and returns the new transaction group. A lot of the lending operations require additional opcode cost so use this to increase the budget.