assertIsTransactionMessageWithBlockhashLifetime
From time to time you might acquire a transaction message, that you expect to have a blockhash-based lifetime, from an untrusted network API or user input. Use this function to assert that such a transaction message actually has a blockhash-based lifetime.
Parameters
| Parameter | Type |
|---|---|
transactionMessage | | TransactionMessage | TransactionMessage & TransactionMessageWithBlockhashLifetime |
Returns
asserts transactionMessage is TransactionMessage & TransactionMessageWithBlockhashLifetime