Represents a transaction message whose lifetime is defined by the age of the blockhash it includes.

Such a transaction can only be landed on the network if the current block height of the network is less than or equal to the value of TransactionMessageWithBlockhashLifetime['lifetimeConstraint']['lastValidBlockHeight'].

interface TransactionMessageWithBlockhashLifetime {
    lifetimeConstraint: Readonly<{
        blockhash: Blockhash;
        lastValidBlockHeight: bigint;
    }>;
}

Properties

lifetimeConstraint: Readonly<{
    blockhash: Blockhash;
    lastValidBlockHeight: bigint;
}>

Type declaration

  • blockhash: Blockhash

    A recent blockhash observed by the transaction proposer.

    The transaction message will be considered eligible to land until the network determines this blockhash to be too old, or has switched to a fork where it is not present.

  • lastValidBlockHeight: bigint

    This is the block height beyond which the network will consider the blockhash to be too old to make a transaction message eligible to land.