Marinate the scallops with a mixture of turmeric, red chilly powder, coriander powder and salt for 30 minutes(if cut into small pieces that is better while marinating).
Heat oil in a kadai and when its hot, add mustard seeds. When it starts to splutter, add curry leaves and saute for a minute.
Add sliced onion and saute till it turns to translucent. Add gingergarlic paste and green chilies. Combine and saute for 1 minute.