• Preparing search index...
  • The search index is not available
Solana JavaScript SDK
  • Solana JavaScript SDK
  • @solana/web3.js
  • setTransactionMessageFeePayer

Function setTransactionMessageFeePayer

  • setTransactionMessageFeePayer<
        TFeePayerAddress extends string,
        TTransactionMessage extends
            Readonly<
                {
                    instructions: readonly IInstruction<
                        string,
                        readonly (IAccountLookupMeta<string, string> | IAccountMeta<string>)[],
                    >[];
                    version: TransactionVersion;
                },
            > & Partial<ITransactionMessageWithFeePayer<string>>,
    >(
        feePayer: Address<TFeePayerAddress>,
        transactionMessage: TTransactionMessage,
    ): ITransactionMessageWithFeePayer<TFeePayerAddress> & Omit<
        TTransactionMessage,
        "feePayer",
    >
  • Type Parameters

    • TFeePayerAddress extends string
    • TTransactionMessage extends Readonly<
          {
              instructions: readonly IInstruction<
                  string,
                  readonly (IAccountLookupMeta<string, string> | IAccountMeta<string>)[],
              >[];
              version: TransactionVersion;
          },
      > & Partial<ITransactionMessageWithFeePayer<string>>

    Parameters

    • feePayer: Address<TFeePayerAddress>
    • transactionMessage: TTransactionMessage

    Returns ITransactionMessageWithFeePayer<TFeePayerAddress> & Omit<
        TTransactionMessage,
        "feePayer",
    >

    • Defined in packages/transaction-messages/dist/types/fee-payer.d.ts:8

Settings

Member Visibility
Solana JavaScript SDK
  • Loading...

Generated using TypeDoc