Skip to main content
Version: 0.13.0

tx.txbuilder.setvaliduntil

Home > @blaze-cardano/tx > TxBuilder > setValidUntil

TxBuilder.setValidUntil() method

Specifies the exact time when the transaction expires.

Signature:

setValidUntil(validUntil: Slot): TxBuilder;

Parameters

Parameter

Type

Description

validUntil

Slot

The slot until which the transaction is valid.

Returns:

TxBuilder

{TxBuilder} The instance of this TxBuilder for chaining.

Exceptions

{Error} If the time to live is already set.