Blend tamarind and 8 cups water in a blender and set aside.
Blend the shallot, garlic, ginger, galangal, lemongrass, candlenuts, coriander, white pepper, turmeric and 1 cup water in a blender until smooth and set aside.
Heat coconut oil in a stew pan at medium heat and add shallot mixture. Simmer for approximately 2 minutes.
Add cod fillets to pan. Cook for 1 minute, then add the tamarind water and allow to cook approximately 10 minutes.
Add the shrimp, red pepper, onion, sugar, chicken base, tomatoes and scallions to the boiling broth in the pan and simmer until shrimp is cooked, 2 to 3 minutes. Transfer to a serving dish and garnish with fresh Thai basil and fried onion on the top.
This recipe was provided by a chef, restaurant or culinary professional. It has not been tested for home use.