isTransactionWithBlockhashLifetime
A type guard that returns true if the transaction conforms to the
TransactionWithBlockhashLifetime type, and refines its type for use in your
program.
Parameters
| Parameter | Type |
|---|---|
transaction | | Readonly<{ messageBytes: TransactionMessageBytes; signatures: SignaturesMap; }> | Readonly<{ messageBytes: TransactionMessageBytes; signatures: SignaturesMap; }> & TransactionWithLifetime |
Returns
transaction is Readonly<{ messageBytes: TransactionMessageBytes; signatures: SignaturesMap }> & TransactionWithBlockhashLifetime