• Builds a batch of instructions for a single userOp to be included in a supertransaction UserOps must be on the same chain for the batch to be valid

    Parameters

    Returns Promise<Instruction[]>

    The built instruction

    Example

    const instructions = await buildBatch(
    { account: myMultichainAccount },
    { instructions: [buildApprove, buildSwap] }
    )