isTransactionMessageWithBlockhashLifetime
A type guard that returns true if the transaction message conforms to the
TransactionMessageWithBlockhashLifetime type, and refines its type for use in your
program.
Parameters
| Parameter | Type |
|---|---|
transactionMessage | | Readonly<{ instructions: readonly Instruction<string, readonly (AccountLookupMeta<string, string> | AccountMeta<string>)[]>[]; version: TransactionVersion; }> | Readonly<{ instructions: readonly Instruction<string, readonly (AccountLookupMeta<string, string> | AccountMeta<string>)[]>[]; version: TransactionVersion; }> & TransactionMessageWithBlockhashLifetime |
Returns
transactionMessage is Readonly<{ instructions: readonly Instruction<string, readonly (AccountLookupMeta<string, string> | AccountMeta<string>)[]>[]; version: TransactionVersion }> & TransactionMessageWithBlockhashLifetime