There are specially designed types of bolts for these applications which are termed carriage bolts. Earlier in the 1800s, these bolts were used in the construction of carriages and their wheels. That is where they get their name. These bolts come in various styles and head and neck shapes.
Diameter M8 to M20 5/16" to 3/4"
Length 20 mm to 200 mm 1" to 8"