Expand description
Implementations of the TxBuilder
for Bitcoin transactions. This builder automatically
selects between Legacy and Witness transactions based on its inputs. The user may also specify
the desired type using build_legacy
or build_witness
.
This means that the caller doesn’t typically need to worry about the implementation details. They can simply use the builder transparently to produce the desired tx type.
The builder is best accessed via the preconstructed network objects in nets.rs
.
Structs
This is a generic builder for Bitcoin transactions. It allows you to easily build legacy and witness transactions.