Trim the stem ends from 2 pounds of fresh green beans, snap any very long pods in half, then rinse them in a colander and shake off the excess water.
Dice 1 cup of cooked ham into small cubes, dice 1 small yellow onion, and mince 3 cloves garlic on a wood cutting board, keeping the three piles separate.
Scatter the diced onion over the bottom of a 6-quart crockpot, then add the diced ham and minced garlic on top in an even layer.
Pile the trimmed green beans over the ham and onion, then pour 2 cups of low-sodium chicken broth over the top so most of the beans sit in liquid.
Scatter 2 tablespoons of butter pieces over the beans, sprinkle with 1/2 teaspoon black pepper, cover with the lid, and set the crockpot to LOW.
Cook undisturbed for 5 hours, then lift the lid and bite into one bean from the center: it should bend easily and taste tender, not squeaky or raw.
Stir the beans gently with a wooden spoon so the ones that sat at the bottom trade places with the ones on top, then re-cover.
Continue cooking on LOW for another 1 to 2 hours, for 6 to 7 hours total, until every bean is soft all the way through and olive green rather than bright green.
Taste the broth at the bottom of the crockpot and stir in salt only if it needs it, remembering the ham already seasons the dish.
Turn the crockpot to WARM, uncover, and let the beans rest in the broth for 10 minutes so the last of the flavor soaks in before serving.
Lift the green beans and ham out of the broth with a slotted spoon into a white ceramic serving dish, spoon a little broth over the top, and serve warm.
Good to Know
Taste the broth before adding any salt. The ham almost always provides enough on its own.