• Preparing search index...
  • The search index is not available
Solana JavaScript SDK
  • Solana JavaScript SDK
  • @solana/transaction-messages
  • setTransactionMessageLifetimeUsingDurableNonce

Function setTransactionMessageLifetimeUsingDurableNonce

  • setTransactionMessageLifetimeUsingDurableNonce<
        TTransaction extends
            Readonly<
                {
                    instructions: readonly IInstruction<
                        string,
                        readonly (IAccountLookupMeta<string, string> | IAccountMeta<string>)[],
                    >[];
                    version: TransactionVersion;
                },
            >,
        TNonceAccountAddress extends string = string,
        TNonceAuthorityAddress extends string = string,
        TNonceValue extends string = string,
    >(
        __namedParameters: Readonly<
            {
                nonce: Nonce<TNonceValue>;
                nonceAccountAddress: Address<TNonceAccountAddress>;
                nonceAuthorityAddress: Address<TNonceAuthorityAddress>;
            },
        >,
        transaction:
            | TTransaction
            | TransactionMessageWithDurableNonceLifetime<string, string, string> & TTransaction,
    ): TransactionMessageWithDurableNonceLifetime<
        TNonceAccountAddress,
        TNonceAuthorityAddress,
        TNonceValue,
    > & TTransaction
  • Type Parameters

    • TTransaction extends Readonly<
          {
              instructions: readonly IInstruction<
                  string,
                  readonly (IAccountLookupMeta<string, string> | IAccountMeta<string>)[],
              >[];
              version: TransactionVersion;
          },
      >
    • TNonceAccountAddress extends string = string
    • TNonceAuthorityAddress extends string = string
    • TNonceValue extends string = string

    Parameters

    • __namedParameters: Readonly<
          {
              nonce: Nonce<TNonceValue>;
              nonceAccountAddress: Address<TNonceAccountAddress>;
              nonceAuthorityAddress: Address<TNonceAuthorityAddress>;
          },
      >
    • transaction:
          | TTransaction
          | TransactionMessageWithDurableNonceLifetime<string, string, string> & TTransaction

    Returns TransactionMessageWithDurableNonceLifetime<
        TNonceAccountAddress,
        TNonceAuthorityAddress,
        TNonceValue,
    > & TTransaction

    • Defined in packages/transaction-messages/src/durable-nonce.ts:145

Settings

Member Visibility
Solana JavaScript SDK
  • Loading...

Generated using TypeDoc