Take a large onion (about 250 grams) and thinly slice them.
Transfer the sliced onions into a large bowl. Add salt and gently massage the onions using your hand.
Cover the bowl with a plate and let it sit for 10 minutes, this helps in releasing moisture from the onions.
After 10 minutes, add besan, rice flour and all other ingredients. Mix well and make sure the mixture is stiff and not soggy.
Next, add 1 tablespoon of oil. This helps to keep pakodas soft from the inside. So don't skip it.