TxBuilder

scalus.cardano.txbuilder.TxBuilder
See theTxBuilder companion class
object TxBuilder

Factory methods for creating TxBuilder instances.

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
TxBuilder.type

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

Creates a TxBuilder with a custom Plutus script evaluator.

Creates a TxBuilder with a custom Plutus script evaluator.

Use this method when you need fine-grained control over script evaluation behavior.

Value parameters

env

the environment containing protocol parameters, network info, and slot configuration

evaluator

the custom Plutus script evaluator

Attributes

Creates a TxBuilder with the default Plutus script evaluator.

Creates a TxBuilder with the default Plutus script evaluator.

The evaluator will both validate scripts and compute execution costs for fee calculation.

Value parameters

env

the environment containing protocol parameters, network info, and slot configuration

Attributes

Creates a TxBuilder with an evaluator that uses constant maximum budget.

Creates a TxBuilder with an evaluator that uses constant maximum budget.

This is useful for testing or when you want to skip actual script execution cost calculation. The evaluator will still validate scripts but use a fixed cost.

Value parameters

env

the environment containing protocol parameters, network info, and slot configuration

Attributes