Comment on page
Controllable Transaction Lifecycle
Configure your transaction lifecycle on the VechainThor blockchain.
Configure your transaction, which has not yet been included in a block, to be processed or expire at a set time by using the
Expirationfields on the transaction model.
BlockRefstores the reference to a particular block whose next block is the earliest block the current transaction can be included. In particular, the first four bytes of
BlockRefcontains the block height, while the second four bytes can be used to prove that the referred block is known before the transaction is assembled. If that is the case, the value of
BlockRefshould match the first eight bytes of the ID of the block at the required height.
Expirationstores a number that can be used, together with
BlockRef, to specify when the transaction expires. Specifically, the sum of
Expirationand the first four bytes of
BlockRefdefines the height of the last block that the transaction can be included.