tx.txbuilder.setvalidfrom
Home > @blaze-cardano/tx > TxBuilder > setValidFrom
TxBuilder.setValidFrom() method
Specifies the exact time when the transaction becomes valid.
Signature:
setValidFrom(validFrom: Slot): TxBuilder;
Parameters
Parameter |
Type |
Description |
---|---|---|
validFrom |
Slot |
The slot from which the transaction becomes valid. |
Returns:
{TxBuilder} The instance of this TxBuilder for chaining.
Exceptions
{Error} If the validity start interval is already set.