pub struct TransactionBuilderConfigBuilder { /* private fields */ }
Implementations§
Source§impl TransactionBuilderConfigBuilder
impl TransactionBuilderConfigBuilder
pub fn new() -> Self
pub fn fee_algo(&self, fee_algo: &LinearFee) -> Self
pub fn coins_per_utxo_byte(&self, coins_per_utxo_byte: &Coin) -> Self
pub fn ex_unit_prices(&self, ex_unit_prices: &ExUnitPrices) -> Self
pub fn pool_deposit(&self, pool_deposit: &BigNum) -> Self
pub fn key_deposit(&self, key_deposit: &BigNum) -> Self
pub fn max_value_size(&self, max_value_size: u32) -> Self
pub fn max_tx_size(&self, max_tx_size: u32) -> Self
pub fn ref_script_coins_per_byte( &self, ref_script_coins_per_byte: &UnitInterval, ) -> Self
pub fn prefer_pure_change(&self, prefer_pure_change: bool) -> Self
Sourcepub fn deduplicate_explicit_ref_inputs_with_regular_inputs(
&self,
deduplicate_explicit_ref_inputs_with_regular_inputs: bool,
) -> Self
pub fn deduplicate_explicit_ref_inputs_with_regular_inputs( &self, deduplicate_explicit_ref_inputs_with_regular_inputs: bool, ) -> Self
Removes a ref input (that was set via set_reference_inputs) if the ref inputs was presented in regular tx inputs
Sourcepub fn do_not_burn_extra_change(&self, do_not_burn_extra_change: bool) -> Self
pub fn do_not_burn_extra_change(&self, do_not_burn_extra_change: bool) -> Self
If set to true, the transaction builder will not burn extra change if it’s impossible to crate change output due to the value being too small to cover min ada for change output. Instead, tx builder will throw an error.
pub fn build(&self) -> Result<TransactionBuilderConfig, JsError>
Trait Implementations§
Source§impl Clone for TransactionBuilderConfigBuilder
impl Clone for TransactionBuilderConfigBuilder
Source§fn clone(&self) -> TransactionBuilderConfigBuilder
fn clone(&self) -> TransactionBuilderConfigBuilder
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for TransactionBuilderConfigBuilder
impl RefUnwindSafe for TransactionBuilderConfigBuilder
impl Send for TransactionBuilderConfigBuilder
impl Sync for TransactionBuilderConfigBuilder
impl Unpin for TransactionBuilderConfigBuilder
impl UnwindSafe for TransactionBuilderConfigBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more