setTransactionMessageFeePayerSigner
Sets the fee payer of a BaseTransactionMessage | transaction message using a TransactionSigner.
Type Parameters
| Type Parameter | Description |
|---|---|
TFeePayerAddress extends string | Supply a string literal to define a fee payer having a particular address. |
TTransactionMessage extends Readonly<{ instructions: readonly Instruction<string, readonly (AccountLookupMeta<string, string> | AccountMeta<string>)[]>[]; version: TransactionVersion; }> & Partial< | TransactionMessageWithFeePayer<string> | TransactionMessageWithFeePayerSigner<string, TransactionSigner<string>>> | The inferred type of the transaction message provided. |
Parameters
| Parameter | Type |
|---|---|
feePayer | TransactionSigner<TFeePayerAddress> |
transactionMessage | TTransactionMessage |
Returns
Omit<TTransactionMessage, "feePayer"> & TransactionMessageWithFeePayerSigner<TFeePayerAddress, TransactionSigner<TFeePayerAddress>>