Heat wok over high heat until smoking.
Add oil and swirl to coat surface.
Pour eggs and scramble until just set.
Remove eggs and set aside temporarily.
Add onion and stir-fry for one minute.
Add garlic and ginger, cook thirty seconds.
Add rice, breaking up any clumps gently.
Stir-fry rice for three to four minutes.
Add soy sauce and mix thoroughly.
Sprinkle Szechuan peppercorns and chili oil evenly.
Add peas and scrambled eggs back.
Toss everything together for two minutes.
Garnish with green onions before serving.