Place the prepared beans (soaked and thoroughly cleaned, removing all black eyes) in a blender along with the onion and garlic, then blend with a hand whisk or electric mixer until fluffy. Add salt, chili (optional), and a little water, and blend into a homogeneous paste. Then whisk with a hand whisk or electric mixer until fluffy.