TransactionMessageWithSigners
A BaseTransactionMessage type extension that accept TransactionSigners.
Namely, it allows:
- a TransactionSigner to be used as the fee payer and
- InstructionWithSigners to be used in its instructions.
Type Parameters
| Type Parameter | Default type | Description |
|---|---|---|
TAddress extends string | string | Supply a string literal to define an account having a particular address. |
TSigner extends TransactionSigner<TAddress> | TransactionSigner<TAddress> | Optionally provide a narrower type for TransactionSigners. |
TAccounts extends readonly AccountMetaWithSigner<TSigner>[] | readonly AccountMetaWithSigner<TSigner>[] | Optionally provide a narrower type for the account metas. |