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} The instance of this TxBuilder for chaining.
Exceptions
{Error} If the time to live is already set.