TxBuilderFinalConfig
export interface TxBuilderFinalConfig {
allowDirtyChangeOutput: boolean
babelFeeAgent: BabelFeeAgentOptions
beforeValidate: (tx: Tx) => any
bodyEncodingConfig: TxBodyEncodingConfig
changeAddress: ShelleyAddressLike | Promise<ShelleyAddressLike>
logOptions: UplcLogger
maxAssetsPerChangeOutput: number
modifyExBudget: ExBudgetModifier
networkParams: NetworkParams | Promise<NetworkParams>
spareUtxos: TxInput[] | Promise<TxInput[]>
throwBuildPhaseScriptErrors: boolean
witnessesEncodingConfig: TxWitnessesEncodingConfig
}
Properties
allowDirtyChangeOutput
Defaults to false
txBuilderFinalConfig.allowDirtyChangeOutput satisfies boolean
babelFeeAgent
Optional babel fee settings, using additional UTxOs containing pure lovelace to balance a transaction and pay for fees and min-deposit. The primary tx building agent pays the difference using another asset class at a predetermined price.
txBuilderFinalConfig.babelFeeAgent satisfies BabelFeeAgentOptions
beforeValidate
txBuilderFinalConfig.beforeValidate satisfies (tx: Tx) => any
bodyEncodingConfig
Optional encoding config for TxBody
txBuilderFinalConfig.bodyEncodingConfig satisfies TxBodyEncodingConfig
changeAddress
txBuilderFinalConfig.changeAddress satisfies ShelleyAddressLike | Promise<ShelleyAddressLike>
logOptions
txBuilderFinalConfig.logOptions satisfies UplcLogger
maxAssetsPerChangeOutput
Defaults to the largest number of assets in one of the inputs
txBuilderFinalConfig.maxAssetsPerChangeOutput satisfies number
modifyExBudget
Increasing the execution budget of the redeemers to compensate for budget calculation errors made by the uplc library, or network parameter inconsistencies
txBuilderFinalConfig.modifyExBudget satisfies ExBudgetModifier
networkParams
txBuilderFinalConfig.networkParams satisfies NetworkParams | Promise<NetworkParams>
spareUtxos
txBuilderFinalConfig.spareUtxos satisfies TxInput[] | Promise<TxInput[]>
throwBuildPhaseScriptErrors
txBuilderFinalConfig.throwBuildPhaseScriptErrors satisfies boolean
witnessesEncodingConfig
Optional encoding confg for TxWitnesses
txBuilderFinalConfig.witnessesEncodingConfig satisfies TxWitnessesEncodingConfig