setTransactionMessageLifetimeUsingBlockhash
Given a blockhash and the last block height at which that blockhash is considered usable to land
transactions, this method will return a new transaction message having the same type as the one
supplied plus the TransactionMessageWithBlockhashLifetime type.
Type Parameters
| Type Parameter |
|---|
TTransactionMessage extends Partial<TransactionMessageWithLifetime> & TransactionMessage |
Parameters
| Parameter | Type |
|---|---|
blockhashLifetimeConstraint | BlockhashLifetimeConstraint |
transactionMessage | TTransactionMessage |
Returns
ExcludeTransactionMessageLifetime<TTransactionMessage> & TransactionMessageWithBlockhashLifetime