Bitcoin is a digital currency used for purchasing goods and services online. As it lacks central authority, users verify transactions…