pub struct TxnBuilder { /* private fields */ }
Expand description

A builder for Transaction.

Implementations

Convenience to initialize builder with suggested transaction params The txn fee is estimated, based on params. To set the fee manually, use with_fee or new.

Convenience to initialize builder with suggested transaction params, and set the fee manually (ignoring the fee fields in params). Useful e.g. in txns groups where one txn pays the fee for others.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.