the eighth amendment prohibits the imposition of excessive fines, excessive bail, and cruel and unusual punishment.
the court sets the amount of bail depending on the severity of the crime u then have the option to pay ur bail with is usually 10% or stay in jail until it either found guilty or not guilty