Skip to main content

TxValidationOptions

export interface TxValidationOptions {
  logOptions: UplcLogger
  strict: boolean
  verbose: boolean
}

Properties

logOptions

hooks for script logging during transaction execution

txValidationOptions.logOptions satisfies UplcLogger

strict

can be left as false for inspecting general transactions. The TxBuilder always uses strict=true.

txValidationOptions.strict satisfies boolean

verbose

provides more details of transaction-budget usage when the transaction is close to the limit

txValidationOptions.verbose satisfies boolean