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

Function setTransactionMessageFeePayerSigner

  • setTransactionMessageFeePayerSigner<
        TFeePayerAddress extends string,
        TTransactionMessage extends
            Readonly<
                {
                    instructions: readonly IInstruction<
                        string,
                        readonly (IAccountLookupMeta<string, string> | IAccountMeta<string>)[],
                    >[];
                    version: TransactionVersion;
                },
            > & Partial<
                | ITransactionMessageWithFeePayer<string>
                | ITransactionMessageWithFeePayerSigner<
                    string,
                    TransactionSigner<string>,
                >,
            >,
    >(
        feePayer: TransactionSigner<TFeePayerAddress>,
        transactionMessage: TTransactionMessage,
    ): ITransactionMessageWithFeePayerSigner<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>
          | ITransactionMessageWithFeePayerSigner<string, TransactionSigner<string>>,
      >

    Parameters

    • feePayer: TransactionSigner<TFeePayerAddress>
    • transactionMessage: TTransactionMessage

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

    • Defined in packages/signers/dist/types/fee-payer-signer.d.ts:6

Settings

Member Visibility
Solana JavaScript SDK
  • Loading...

Generated using TypeDoc