Rinse the quinoa under cold water. In a medium saucepan, combine the quinoa and vegetable broth (or water). Bring to a boil, then reduce heat to low, cover, and simmer for about 15 minutes, or until liquid is absorbed and quinoa is fluffy. Remove from heat and let it sit covered for 5 minutes. Fluff with a fork.
While the quinoa is cooking, heat vegetable oil in a large skillet or wok over medium heat. Add diced onion and sauté for about 3-4 minutes until translucent.
Add minced garlic and diced carrots, cooking for another 3 minutes until the carrots start to soften.
Stir in the bell pepper and green peas, cooking for an additional 2-3 minutes.
If using eggs, push the vegetable mixture to one side of the skillet. Crack the eggs into the empty space and scramble until fully cooked, then mix in with the vegetables.
Add the cooked quinoa to the skillet. Pour soy sauce and sesame oil over the top. Stir everything together, ensuring the quinoa is coated and the ingredients are well combined. Cook for another 2-3 minutes to heat through.
Season with salt and pepper to taste. Remove from heat and garnish with chopped green onions before serving.