All types of beans make you fart and build up gas in your stomach.
But the type of beans that make a person gain a lot of gas and fart the most are Pinto Beans and Baked Beans.
I know that's true for myself as whenever I eat Pinto Beans or Baked Beans I tend to have more gas buildup in my stomach and fart more often than I do when eating other types of beans.
Beans are healthy for you though so eating beans is a good thing for heart health and overall health.
Just eat the beans in moderation so you won't get as much gas buildup or take some Beano before eating the beans.