@dynamic-labs/sdk-api 0.148.0 → 0.150.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/sdk-api",
3
- "version": "0.148.0",
3
+ "version": "0.150.0",
4
4
  "author": "Dynamic Labs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -383,7 +383,6 @@ var VerifyUnlinkRequest = require('../models/VerifyUnlinkRequest.cjs');
383
383
  require('../models/VisitorFilterableFieldsEnum.cjs');
384
384
  require('../models/WaasBroadcastStatus.cjs');
385
385
  var WaasConfidentialSeedCreateRequest = require('../models/WaasConfidentialSeedCreateRequest.cjs');
386
- var WaasConfidentialSeedPutRequest = require('../models/WaasConfidentialSeedPutRequest.cjs');
387
386
  var WaasConfidentialSeedResponse = require('../models/WaasConfidentialSeedResponse.cjs');
388
387
  require('../models/WaasConfidentialTransferOperation.cjs');
389
388
  require('../models/WaasDelegatedAccessEncryptionPublicKeyType.cjs');
@@ -400,6 +399,8 @@ require('../models/WaasPolicyLayerTranslationWarning.cjs');
400
399
  var WaasPolicyLayerUpdateRequest = require('../models/WaasPolicyLayerUpdateRequest.cjs');
401
400
  require('../models/WaasReshareIntent.cjs');
402
401
  var WaasSignAndBroadcastRequest = require('../models/WaasSignAndBroadcastRequest.cjs');
402
+ var WaasSignConfidentialTransactionsRequest = require('../models/WaasSignConfidentialTransactionsRequest.cjs');
403
+ var WaasSignConfidentialTransactionsResponse = require('../models/WaasSignConfidentialTransactionsResponse.cjs');
403
404
  var WaasSignConfidentialTransferRequest = require('../models/WaasSignConfidentialTransferRequest.cjs');
404
405
  var WaasSignConfidentialTransferResponse = require('../models/WaasSignConfidentialTransferResponse.cjs');
405
406
  var WaasSignerPolicyLayerUpdateRequest = require('../models/WaasSignerPolicyLayerUpdateRequest.cjs');
@@ -8134,47 +8135,6 @@ class SDKApi extends runtime.BaseAPI {
8134
8135
  async publishEvent(requestParameters, initOverrides) {
8135
8136
  await this.publishEventRaw(requestParameters, initOverrides);
8136
8137
  }
8137
- /**
8138
- * Stores an Evervault-sealed Token-2022 confidential-transfer seed for the wallet via client-keyshare-service. Insert-only per (wallet, address, derivation version) — a repeat write returns 409. The sealed seed is opaque to redcoast.
8139
- * Store a Solana confidential-transfer seed
8140
- */
8141
- async putWaasConfidentialSeedRaw(requestParameters, initOverrides) {
8142
- if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
8143
- throw new runtime.RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling putWaasConfidentialSeed.');
8144
- }
8145
- if (requestParameters.walletId === null || requestParameters.walletId === undefined) {
8146
- throw new runtime.RequiredError('walletId', 'Required parameter requestParameters.walletId was null or undefined when calling putWaasConfidentialSeed.');
8147
- }
8148
- if (requestParameters.waasConfidentialSeedPutRequest === null || requestParameters.waasConfidentialSeedPutRequest === undefined) {
8149
- throw new runtime.RequiredError('waasConfidentialSeedPutRequest', 'Required parameter requestParameters.waasConfidentialSeedPutRequest was null or undefined when calling putWaasConfidentialSeed.');
8150
- }
8151
- const queryParameters = {};
8152
- const headerParameters = {};
8153
- headerParameters['Content-Type'] = 'application/json';
8154
- if (this.configuration && this.configuration.accessToken) {
8155
- const token = this.configuration.accessToken;
8156
- const tokenString = await token("bearerAuth", []);
8157
- if (tokenString) {
8158
- headerParameters["Authorization"] = `Bearer ${tokenString}`;
8159
- }
8160
- }
8161
- const response = await this.request({
8162
- path: `/sdk/{environmentId}/waas/{walletId}/confidentialSeed`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"walletId"}}`, encodeURIComponent(String(requestParameters.walletId))),
8163
- method: 'PUT',
8164
- headers: headerParameters,
8165
- query: queryParameters,
8166
- body: WaasConfidentialSeedPutRequest.WaasConfidentialSeedPutRequestToJSON(requestParameters.waasConfidentialSeedPutRequest),
8167
- }, initOverrides);
8168
- return new runtime.JSONApiResponse(response, (jsonValue) => WaasConfidentialSeedResponse.WaasConfidentialSeedResponseFromJSON(jsonValue));
8169
- }
8170
- /**
8171
- * Stores an Evervault-sealed Token-2022 confidential-transfer seed for the wallet via client-keyshare-service. Insert-only per (wallet, address, derivation version) — a repeat write returns 409. The sealed seed is opaque to redcoast.
8172
- * Store a Solana confidential-transfer seed
8173
- */
8174
- async putWaasConfidentialSeed(requestParameters, initOverrides) {
8175
- const response = await this.putWaasConfidentialSeedRaw(requestParameters, initOverrides);
8176
- return await response.value();
8177
- }
8178
8138
  /**
8179
8139
  * Deprecated: use POST /sdk/{environmentId}/flow/{flowId}/quote instead. Fetches a swap quote and stores a snapshot on the transaction.
8180
8140
  * Get a quote for a checkout transaction
@@ -11758,8 +11718,75 @@ class SDKApi extends runtime.BaseAPI {
11758
11718
  await this.signMessageOptionsRaw(requestParameters, initOverrides);
11759
11719
  }
11760
11720
  /**
11761
- * Decrypts the wallet\'s stored confidential seed inside the enclave, generates the zero-knowledge proofs the requested operation requires, builds the Token-2022 confidential-transfer instructions and returns the MPC-signed transactions in broadcast order, ready to submit. The enclave is offline: the caller supplies the token accounts\' raw on-chain state (`accountState`, `destinationAccountState`), the cluster rent constant (`lamportsPerByte`) and a fresh `recentBlockhash`/`lastValidBlockHeight`. Confidential amounts are opaque on-chain — policy screens the operation, mint and addresses but cannot evaluate the transferred amount.
11762
- * Build and sign a Token-2022 confidential transfer
11721
+ * Second half of the confidential-transfer flow. Provisions one MPC signing room for the operation (Solana v1 packs it into a single transaction) and hands the enclave-built transaction and its `transactionsTag` to the enclave\'s `SignConfidentialTransactions` action, which verifies the tag — rejecting tampered, extra or expired transactions — and joins the room to co-sign. MFA step-up is enforced once for the whole operation. The response returns immediately with the room id; join it with the wallet\'s client share to complete the threshold signature.
11722
+ * Co-sign enclave-built confidential-transfer transactions
11723
+ */
11724
+ async signWaasConfidentialTransactionsRaw(requestParameters, initOverrides) {
11725
+ if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
11726
+ throw new runtime.RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling signWaasConfidentialTransactions.');
11727
+ }
11728
+ if (requestParameters.walletId === null || requestParameters.walletId === undefined) {
11729
+ throw new runtime.RequiredError('walletId', 'Required parameter requestParameters.walletId was null or undefined when calling signWaasConfidentialTransactions.');
11730
+ }
11731
+ if (requestParameters.waasSignConfidentialTransactionsRequest === null || requestParameters.waasSignConfidentialTransactionsRequest === undefined) {
11732
+ throw new runtime.RequiredError('waasSignConfidentialTransactionsRequest', 'Required parameter requestParameters.waasSignConfidentialTransactionsRequest was null or undefined when calling signWaasConfidentialTransactions.');
11733
+ }
11734
+ const queryParameters = {};
11735
+ const headerParameters = {};
11736
+ headerParameters['Content-Type'] = 'application/json';
11737
+ if (this.configuration && this.configuration.accessToken) {
11738
+ const token = this.configuration.accessToken;
11739
+ const tokenString = await token("bearerAuth", []);
11740
+ if (tokenString) {
11741
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
11742
+ }
11743
+ }
11744
+ const response = await this.request({
11745
+ path: `/sdk/{environmentId}/waas/{walletId}/signConfidentialTransactions`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"walletId"}}`, encodeURIComponent(String(requestParameters.walletId))),
11746
+ method: 'POST',
11747
+ headers: headerParameters,
11748
+ query: queryParameters,
11749
+ body: WaasSignConfidentialTransactionsRequest.WaasSignConfidentialTransactionsRequestToJSON(requestParameters.waasSignConfidentialTransactionsRequest),
11750
+ }, initOverrides);
11751
+ return new runtime.JSONApiResponse(response, (jsonValue) => WaasSignConfidentialTransactionsResponse.WaasSignConfidentialTransactionsResponseFromJSON(jsonValue));
11752
+ }
11753
+ /**
11754
+ * Second half of the confidential-transfer flow. Provisions one MPC signing room for the operation (Solana v1 packs it into a single transaction) and hands the enclave-built transaction and its `transactionsTag` to the enclave\'s `SignConfidentialTransactions` action, which verifies the tag — rejecting tampered, extra or expired transactions — and joins the room to co-sign. MFA step-up is enforced once for the whole operation. The response returns immediately with the room id; join it with the wallet\'s client share to complete the threshold signature.
11755
+ * Co-sign enclave-built confidential-transfer transactions
11756
+ */
11757
+ async signWaasConfidentialTransactions(requestParameters, initOverrides) {
11758
+ const response = await this.signWaasConfidentialTransactionsRaw(requestParameters, initOverrides);
11759
+ return await response.value();
11760
+ }
11761
+ /**
11762
+ * Options call for this endpoint
11763
+ */
11764
+ async signWaasConfidentialTransactionsOptionsRaw(requestParameters, initOverrides) {
11765
+ if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
11766
+ throw new runtime.RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling signWaasConfidentialTransactionsOptions.');
11767
+ }
11768
+ if (requestParameters.walletId === null || requestParameters.walletId === undefined) {
11769
+ throw new runtime.RequiredError('walletId', 'Required parameter requestParameters.walletId was null or undefined when calling signWaasConfidentialTransactionsOptions.');
11770
+ }
11771
+ const queryParameters = {};
11772
+ const headerParameters = {};
11773
+ const response = await this.request({
11774
+ path: `/sdk/{environmentId}/waas/{walletId}/signConfidentialTransactions`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"walletId"}}`, encodeURIComponent(String(requestParameters.walletId))),
11775
+ method: 'OPTIONS',
11776
+ headers: headerParameters,
11777
+ query: queryParameters,
11778
+ }, initOverrides);
11779
+ return new runtime.VoidApiResponse(response);
11780
+ }
11781
+ /**
11782
+ * Options call for this endpoint
11783
+ */
11784
+ async signWaasConfidentialTransactionsOptions(requestParameters, initOverrides) {
11785
+ await this.signWaasConfidentialTransactionsOptionsRaw(requestParameters, initOverrides);
11786
+ }
11787
+ /**
11788
+ * Decrypts the wallet\'s stored confidential seed inside the enclave, generates the zero-knowledge proofs the requested operation requires, builds the Token-2022 confidential-transfer instructions and returns the transactions unsigned (the wallet\'s signature slot is zeroed) in broadcast order, plus a `transactionsTag` binding them. Signing is a separate step: submit the transactions and tag unchanged to `POST /waas/{walletId}/signConfidentialTransactions`, which co-signs inside caller-visible MPC rooms. The enclave is offline: the caller supplies the token accounts\' raw on-chain state (`accountState`, `destinationAccountState`), the cluster rent constant (`lamportsPerByte`) and a fresh `recentBlockhash`/`lastValidBlockHeight`. Confidential amounts are opaque on-chain — policy screens the operation, mint and addresses but cannot evaluate the transferred amount.
11789
+ * Build Token-2022 confidential-transfer transactions
11763
11790
  */
11764
11791
  async signWaasConfidentialTransferRaw(requestParameters, initOverrides) {
11765
11792
  if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
@@ -11791,8 +11818,8 @@ class SDKApi extends runtime.BaseAPI {
11791
11818
  return new runtime.JSONApiResponse(response, (jsonValue) => WaasSignConfidentialTransferResponse.WaasSignConfidentialTransferResponseFromJSON(jsonValue));
11792
11819
  }
11793
11820
  /**
11794
- * Decrypts the wallet\'s stored confidential seed inside the enclave, generates the zero-knowledge proofs the requested operation requires, builds the Token-2022 confidential-transfer instructions and returns the MPC-signed transactions in broadcast order, ready to submit. The enclave is offline: the caller supplies the token accounts\' raw on-chain state (`accountState`, `destinationAccountState`), the cluster rent constant (`lamportsPerByte`) and a fresh `recentBlockhash`/`lastValidBlockHeight`. Confidential amounts are opaque on-chain — policy screens the operation, mint and addresses but cannot evaluate the transferred amount.
11795
- * Build and sign a Token-2022 confidential transfer
11821
+ * Decrypts the wallet\'s stored confidential seed inside the enclave, generates the zero-knowledge proofs the requested operation requires, builds the Token-2022 confidential-transfer instructions and returns the transactions unsigned (the wallet\'s signature slot is zeroed) in broadcast order, plus a `transactionsTag` binding them. Signing is a separate step: submit the transactions and tag unchanged to `POST /waas/{walletId}/signConfidentialTransactions`, which co-signs inside caller-visible MPC rooms. The enclave is offline: the caller supplies the token accounts\' raw on-chain state (`accountState`, `destinationAccountState`), the cluster rent constant (`lamportsPerByte`) and a fresh `recentBlockhash`/`lastValidBlockHeight`. Confidential amounts are opaque on-chain — policy screens the operation, mint and addresses but cannot evaluate the transferred amount.
11822
+ * Build Token-2022 confidential-transfer transactions
11796
11823
  */
11797
11824
  async signWaasConfidentialTransfer(requestParameters, initOverrides) {
11798
11825
  const response = await this.signWaasConfidentialTransferRaw(requestParameters, initOverrides);
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import { Account, AddBusinessAccountMemberSdkRequest, AddBusinessAccountSignerSdkRequest, AleoCuratedPricesResponse, AleoProverEncryptedRequest, AleoProverPubkeyResponse, ApproveBusinessAccountProposalSdkRequest, AttachSourceRequest, BackupKeySharesToLocationsRequest, BackupKeySharesToLocationsResponse, BusinessAccount, BusinessAccountActivityExport, BusinessAccountActivityExportRequest, BusinessAccountActivityResponse, BusinessAccountDetail, BusinessAccountGovernanceResponse, BusinessAccountList, BusinessAccountMember, BusinessAccountMutationVersion, BusinessAccountProposal, BusinessAccountProposalStatus, BusinessAccountRolesResponse, BusinessAccountSigningProposal, ChainEnum, CheckoutTransaction, CheckoutTransactionCreateRequest, CheckoutTransactionCreateResponse, CoinbaseOnrampGetBuyUrlRequest, CoinbaseOnrampGetBuyUrlResponse, CoinbaseOnrampOrderCreateRequest, CoinbaseOnrampOrderResponse, CompletePasskeyRecoveryRequest, ConnectRequest, CreateBusinessAccountSdkRequest, CreateBusinessAccountSigningProposalSdkRequest, CreateEmbeddedWalletsRequest, CreateExchangeTransferRequest, CreateRoomsRequest, CreateRoomsResponse, CreateRoomsWithoutWalletIdRequest, CreateRoomsWithoutWalletIdResponse, CreateWaasAccountRequest, CreateWalletAccountRequest, CryptoDotComPaymentCreateRequest, CryptoDotComPaymentResponse, Currency, DefineBusinessAccountRoleSdkRequest, DelegatedShareDeliveryRequest, DelegatedShareDeliveryResponse, DeleteBusinessAccountRoleSdkRequest, DeleteDeviceRegistrationResponse, DeleteEmbeddedWalletsRequest, DeleteUserPasskeyRequest, DeviceRegistrationsResponse, EmailProviderResponse, EmailVerificationCreateRequest, EmailVerificationCreateResponse, EmailVerificationMfaRequest, EmailVerificationRetryRequest, EmailVerificationVerifyRequest, EmbeddedWalletAuthToken, EmbeddedWalletAuthType, EmbeddedWalletChainEnum, EmbeddedWalletPasscodeClaimRequest, EmbeddedWalletSecret, ExchangeKeyEnum, ExchangeTransaction, ExchangeTransferResponse, ExportAleoViewKeyRequest, ExportEmbeddedWalletResponse, ExportWaasWalletPrivateKeyRequest, ExternalAuthAssertionResponse, ExternalAuthSigninRequest, FarcasterSignInRequest, Flow, FlowAttachSourceRequest, FlowExchangesResponse, FlowPrepareSigningRequest, FlowQuoteRequest, FlowRecordBroadcastRequest, FlowSourceResponse, GeneratedTokenResponse, GetAvailableEVMGaslessRelayerResponse, GetEVMSponsoredTransactionStatusResponse, GetPasskeyAuthenticationOptionsResponse, GetPasskeyRegistrationOptionsResponse, GetSVMSponsorAddressResponse, GetUserPasskeysResponse, GlobalWalletConnection, GlobalWalletConnectionCreateRequest, GlobalWalletSettings, HealthcheckResponse, ImportWaasPrivateKeyRequest, InitEmailAuthRequest, InitEmailAuthResponse, InitPasskeyRecoveryRequest, InitPasskeyRecoveryResponse, InlineObject1, InlineObject2, InlineObject3, InlineObject4, InlineObject5, InlineResponse2001, InlineResponse2002, InlineResponse2003, InlineResponse2004, InlineResponse2005, InlineResponse2006, InlineResponse2007, InlineResponse2008, InlineResponse2009, JwksResponse, LinkBusinessAccountWalletSdkRequest, MFAAuthRecoveryDevicePostRequest, MFAAuthTotpDevicePostRequest, MFADevice, MFAGetRecoveryCodesResponse, MFAListDevicesResponse, MFAMethodsResponse, MFARegenRecoveryCodesResponse, MFARegisterPasskeyDeviceGetResponse, MFARegisterPasskeyDevicePostRequest, MFARegisterTotpDeviceGetResponse, MFARegisterTotpDevicePostRequest, MFAUpdateDeviceRequest, MergeUserConflictResolutions, MoonPayCurrenciesResponse, MultichainAccountBalanceResponse, MultichainAccountBalancesRequest, NetworkConfigurationResponse, NonceResponse, NoncesResponse, OauthInitAuthRequest, OauthProviderLoginUrl, OauthRequest, OauthResultRequest, OauthResultResponse, OpenRoomResponse, OpenRoomResponseForReshare, OpenRoomResponseWithServerKeygenIds, PasskeyAuthRequest, PasskeyRegisterRequest, PrefetchRequest, ProjectSettings, ProviderEnum, PublishEvents, RealtimeAuthTokenResponse, RecoverMultipleClientKeySharesRequest, RecoverMultipleClientKeySharesResponse, RefreshKeySharesRequest, RefreshKeySharesResponse, RegisterEmbeddedWalletSessionKeyResponse, RegisterSessionKeyRequest, RemoveBusinessAccountMemberSdkRequest, RemoveBusinessAccountSignerSdkRequest, RemoveBusinessAccountWalletSdkRequest, ReshareRequest, ScanWebsiteUrlRequest, ScanWebsiteUrlResponse, ScreenTransactionRequest, ScreenTransactionResponse, ScreeningPolicyScopeEnum, SdkSettingsRequest, SdkUser, SetBusinessAccountGovernanceSdkRequest, SignAleoRequestWithWaasRequest, SignMessageWithWaasRequest, SimulateEVMTransactionRequest, SimulateSVMTransactionRequest, SimulateTransactionResponse, SimulateUserOpRequest, SmsVerificationCreateRequest, SmsVerificationCreateResponse, SmsVerificationRetryRequest, SmsVerificationVerifyRequest, SolanaTransactionOptimizationRequest, SolanaTransactionOptimizationResponse, SponsorEVMTransactionRequest, SponsorEVMTransactionResponse, SponsorSVMTransactionRequest, SponsorSVMTransactionResponse, SsoProviderCheckRequest, SsoProviderCheckResponse, StepUpCheckRequest, StepUpCheckResponse, SupportedOfframpsResponse, SupportedOnrampsResponse, SwapQuoteRequest, SwapQuoteResponse, SwapStatusRequest, SwapStatusResponse, TelegramPostRequest, TokenBalance, TransactionFeeEstimateRequest, TransactionFeeEstimateResponse, TransferBusinessAccountOwnershipSdkRequest, TransferDestinationResponse, TurnkeyCreateWalletAccountsRequestBody, TurnkeyDeleteEmbeddedWalletsRequestBody, UpdateBusinessAccountMemberRoleSdkRequest, UpdateBusinessAccountSdkRequest, UpdateRecoveryEmailRequest, UpdateSelfResponse, UpdateUserPasskeyRequest, UpdateWaasWalletSettingsRequest, UpdateWaasWalletSettingsResponse, UpgradeEmbeddedWalletToV2Request, UserFields, UserFieldsCheckParams, UserFieldsCheckResponse, UserOauthAccessTokenResponse, UserPasskey, UserWalletSelectionRequest, VerifyRequest, VerifyResponse, VerifyUnlinkRequest, WaasConfidentialSeedCreateRequest, WaasConfidentialSeedPutRequest, WaasConfidentialSeedResponse, WaasPolicyLayerResponse, WaasPolicyLayerUpdateRequest, WaasSignAndBroadcastRequest, WaasSignConfidentialTransferRequest, WaasSignConfidentialTransferResponse, WaasSignerPolicyLayerUpdateRequest, WaasSvmConfidentialBalanceRequest, WaasSvmConfidentialBalanceResponse, WaasTransactionBroadcast, WaasTransactionBroadcastRequest, WaasTransactionBroadcastResponse, WalletSanctionsResponse, WalletTransactionsResponse, YieldEarnings, YieldVaultActionRequest, YieldVaultActionResponse, YieldVaultClaimRequest, YieldVaultDetails, YieldVaultListResponse, YieldVaultPosition, YieldVaultPositionPerformance, YieldVaultRewardsResponse } from '../models';
13
+ import { Account, AddBusinessAccountMemberSdkRequest, AddBusinessAccountSignerSdkRequest, AleoCuratedPricesResponse, AleoProverEncryptedRequest, AleoProverPubkeyResponse, ApproveBusinessAccountProposalSdkRequest, AttachSourceRequest, BackupKeySharesToLocationsRequest, BackupKeySharesToLocationsResponse, BusinessAccount, BusinessAccountActivityExport, BusinessAccountActivityExportRequest, BusinessAccountActivityResponse, BusinessAccountDetail, BusinessAccountGovernanceResponse, BusinessAccountList, BusinessAccountMember, BusinessAccountMutationVersion, BusinessAccountProposal, BusinessAccountProposalStatus, BusinessAccountRolesResponse, BusinessAccountSigningProposal, ChainEnum, CheckoutTransaction, CheckoutTransactionCreateRequest, CheckoutTransactionCreateResponse, CoinbaseOnrampGetBuyUrlRequest, CoinbaseOnrampGetBuyUrlResponse, CoinbaseOnrampOrderCreateRequest, CoinbaseOnrampOrderResponse, CompletePasskeyRecoveryRequest, ConnectRequest, CreateBusinessAccountSdkRequest, CreateBusinessAccountSigningProposalSdkRequest, CreateEmbeddedWalletsRequest, CreateExchangeTransferRequest, CreateRoomsRequest, CreateRoomsResponse, CreateRoomsWithoutWalletIdRequest, CreateRoomsWithoutWalletIdResponse, CreateWaasAccountRequest, CreateWalletAccountRequest, CryptoDotComPaymentCreateRequest, CryptoDotComPaymentResponse, Currency, DefineBusinessAccountRoleSdkRequest, DelegatedShareDeliveryRequest, DelegatedShareDeliveryResponse, DeleteBusinessAccountRoleSdkRequest, DeleteDeviceRegistrationResponse, DeleteEmbeddedWalletsRequest, DeleteUserPasskeyRequest, DeviceRegistrationsResponse, EmailProviderResponse, EmailVerificationCreateRequest, EmailVerificationCreateResponse, EmailVerificationMfaRequest, EmailVerificationRetryRequest, EmailVerificationVerifyRequest, EmbeddedWalletAuthToken, EmbeddedWalletAuthType, EmbeddedWalletChainEnum, EmbeddedWalletPasscodeClaimRequest, EmbeddedWalletSecret, ExchangeKeyEnum, ExchangeTransaction, ExchangeTransferResponse, ExportAleoViewKeyRequest, ExportEmbeddedWalletResponse, ExportWaasWalletPrivateKeyRequest, ExternalAuthAssertionResponse, ExternalAuthSigninRequest, FarcasterSignInRequest, Flow, FlowAttachSourceRequest, FlowExchangesResponse, FlowPrepareSigningRequest, FlowQuoteRequest, FlowRecordBroadcastRequest, FlowSourceResponse, GeneratedTokenResponse, GetAvailableEVMGaslessRelayerResponse, GetEVMSponsoredTransactionStatusResponse, GetPasskeyAuthenticationOptionsResponse, GetPasskeyRegistrationOptionsResponse, GetSVMSponsorAddressResponse, GetUserPasskeysResponse, GlobalWalletConnection, GlobalWalletConnectionCreateRequest, GlobalWalletSettings, HealthcheckResponse, ImportWaasPrivateKeyRequest, InitEmailAuthRequest, InitEmailAuthResponse, InitPasskeyRecoveryRequest, InitPasskeyRecoveryResponse, InlineObject1, InlineObject2, InlineObject3, InlineObject4, InlineObject5, InlineResponse2001, InlineResponse2002, InlineResponse2003, InlineResponse2004, InlineResponse2005, InlineResponse2006, InlineResponse2007, InlineResponse2008, InlineResponse2009, JwksResponse, LinkBusinessAccountWalletSdkRequest, MFAAuthRecoveryDevicePostRequest, MFAAuthTotpDevicePostRequest, MFADevice, MFAGetRecoveryCodesResponse, MFAListDevicesResponse, MFAMethodsResponse, MFARegenRecoveryCodesResponse, MFARegisterPasskeyDeviceGetResponse, MFARegisterPasskeyDevicePostRequest, MFARegisterTotpDeviceGetResponse, MFARegisterTotpDevicePostRequest, MFAUpdateDeviceRequest, MergeUserConflictResolutions, MoonPayCurrenciesResponse, MultichainAccountBalanceResponse, MultichainAccountBalancesRequest, NetworkConfigurationResponse, NonceResponse, NoncesResponse, OauthInitAuthRequest, OauthProviderLoginUrl, OauthRequest, OauthResultRequest, OauthResultResponse, OpenRoomResponse, OpenRoomResponseForReshare, OpenRoomResponseWithServerKeygenIds, PasskeyAuthRequest, PasskeyRegisterRequest, PrefetchRequest, ProjectSettings, ProviderEnum, PublishEvents, RealtimeAuthTokenResponse, RecoverMultipleClientKeySharesRequest, RecoverMultipleClientKeySharesResponse, RefreshKeySharesRequest, RefreshKeySharesResponse, RegisterEmbeddedWalletSessionKeyResponse, RegisterSessionKeyRequest, RemoveBusinessAccountMemberSdkRequest, RemoveBusinessAccountSignerSdkRequest, RemoveBusinessAccountWalletSdkRequest, ReshareRequest, ScanWebsiteUrlRequest, ScanWebsiteUrlResponse, ScreenTransactionRequest, ScreenTransactionResponse, ScreeningPolicyScopeEnum, SdkSettingsRequest, SdkUser, SetBusinessAccountGovernanceSdkRequest, SignAleoRequestWithWaasRequest, SignMessageWithWaasRequest, SimulateEVMTransactionRequest, SimulateSVMTransactionRequest, SimulateTransactionResponse, SimulateUserOpRequest, SmsVerificationCreateRequest, SmsVerificationCreateResponse, SmsVerificationRetryRequest, SmsVerificationVerifyRequest, SolanaTransactionOptimizationRequest, SolanaTransactionOptimizationResponse, SponsorEVMTransactionRequest, SponsorEVMTransactionResponse, SponsorSVMTransactionRequest, SponsorSVMTransactionResponse, SsoProviderCheckRequest, SsoProviderCheckResponse, StepUpCheckRequest, StepUpCheckResponse, SupportedOfframpsResponse, SupportedOnrampsResponse, SwapQuoteRequest, SwapQuoteResponse, SwapStatusRequest, SwapStatusResponse, TelegramPostRequest, TokenBalance, TransactionFeeEstimateRequest, TransactionFeeEstimateResponse, TransferBusinessAccountOwnershipSdkRequest, TransferDestinationResponse, TurnkeyCreateWalletAccountsRequestBody, TurnkeyDeleteEmbeddedWalletsRequestBody, UpdateBusinessAccountMemberRoleSdkRequest, UpdateBusinessAccountSdkRequest, UpdateRecoveryEmailRequest, UpdateSelfResponse, UpdateUserPasskeyRequest, UpdateWaasWalletSettingsRequest, UpdateWaasWalletSettingsResponse, UpgradeEmbeddedWalletToV2Request, UserFields, UserFieldsCheckParams, UserFieldsCheckResponse, UserOauthAccessTokenResponse, UserPasskey, UserWalletSelectionRequest, VerifyRequest, VerifyResponse, VerifyUnlinkRequest, WaasConfidentialSeedCreateRequest, WaasConfidentialSeedResponse, WaasPolicyLayerResponse, WaasPolicyLayerUpdateRequest, WaasSignAndBroadcastRequest, WaasSignConfidentialTransactionsRequest, WaasSignConfidentialTransactionsResponse, WaasSignConfidentialTransferRequest, WaasSignConfidentialTransferResponse, WaasSignerPolicyLayerUpdateRequest, WaasSvmConfidentialBalanceRequest, WaasSvmConfidentialBalanceResponse, WaasTransactionBroadcast, WaasTransactionBroadcastRequest, WaasTransactionBroadcastResponse, WalletSanctionsResponse, WalletTransactionsResponse, YieldEarnings, YieldVaultActionRequest, YieldVaultActionResponse, YieldVaultClaimRequest, YieldVaultDetails, YieldVaultListResponse, YieldVaultPosition, YieldVaultPositionPerformance, YieldVaultRewardsResponse } from '../models';
14
14
  export interface AttachFlowSourceRequest {
15
15
  environmentId: string;
16
16
  flowId: string;
@@ -1025,11 +1025,6 @@ export interface PublishEventRequest {
1025
1025
  environmentId: string;
1026
1026
  publishEvents: PublishEvents;
1027
1027
  }
1028
- export interface PutWaasConfidentialSeedRequest {
1029
- environmentId: string;
1030
- walletId: string;
1031
- waasConfidentialSeedPutRequest: WaasConfidentialSeedPutRequest;
1032
- }
1033
1028
  export interface QuoteCheckoutTransactionRequest {
1034
1029
  environmentId: string;
1035
1030
  transactionId: string;
@@ -1506,6 +1501,15 @@ export interface SignMessageOptionsRequest {
1506
1501
  environmentId: string;
1507
1502
  walletId: string;
1508
1503
  }
1504
+ export interface SignWaasConfidentialTransactionsRequest {
1505
+ environmentId: string;
1506
+ walletId: string;
1507
+ waasSignConfidentialTransactionsRequest: WaasSignConfidentialTransactionsRequest;
1508
+ }
1509
+ export interface SignWaasConfidentialTransactionsOptionsRequest {
1510
+ environmentId: string;
1511
+ walletId: string;
1512
+ }
1509
1513
  export interface SignWaasConfidentialTransferRequest {
1510
1514
  environmentId: string;
1511
1515
  walletId: string;
@@ -4084,16 +4088,6 @@ export declare class SDKApi extends runtime.BaseAPI {
4084
4088
  * Publish SDK events
4085
4089
  */
4086
4090
  publishEvent(requestParameters: PublishEventRequest, initOverrides?: RequestInit): Promise<void>;
4087
- /**
4088
- * Stores an Evervault-sealed Token-2022 confidential-transfer seed for the wallet via client-keyshare-service. Insert-only per (wallet, address, derivation version) — a repeat write returns 409. The sealed seed is opaque to redcoast.
4089
- * Store a Solana confidential-transfer seed
4090
- */
4091
- putWaasConfidentialSeedRaw(requestParameters: PutWaasConfidentialSeedRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<WaasConfidentialSeedResponse>>;
4092
- /**
4093
- * Stores an Evervault-sealed Token-2022 confidential-transfer seed for the wallet via client-keyshare-service. Insert-only per (wallet, address, derivation version) — a repeat write returns 409. The sealed seed is opaque to redcoast.
4094
- * Store a Solana confidential-transfer seed
4095
- */
4096
- putWaasConfidentialSeed(requestParameters: PutWaasConfidentialSeedRequest, initOverrides?: RequestInit): Promise<WaasConfidentialSeedResponse>;
4097
4091
  /**
4098
4092
  * Deprecated: use POST /sdk/{environmentId}/flow/{flowId}/quote instead. Fetches a swap quote and stores a snapshot on the transaction.
4099
4093
  * Get a quote for a checkout transaction
@@ -5109,13 +5103,31 @@ export declare class SDKApi extends runtime.BaseAPI {
5109
5103
  */
5110
5104
  signMessageOptions(requestParameters: SignMessageOptionsRequest, initOverrides?: RequestInit): Promise<void>;
5111
5105
  /**
5112
- * Decrypts the wallet\'s stored confidential seed inside the enclave, generates the zero-knowledge proofs the requested operation requires, builds the Token-2022 confidential-transfer instructions and returns the MPC-signed transactions in broadcast order, ready to submit. The enclave is offline: the caller supplies the token accounts\' raw on-chain state (`accountState`, `destinationAccountState`), the cluster rent constant (`lamportsPerByte`) and a fresh `recentBlockhash`/`lastValidBlockHeight`. Confidential amounts are opaque on-chain — policy screens the operation, mint and addresses but cannot evaluate the transferred amount.
5113
- * Build and sign a Token-2022 confidential transfer
5106
+ * Second half of the confidential-transfer flow. Provisions one MPC signing room for the operation (Solana v1 packs it into a single transaction) and hands the enclave-built transaction and its `transactionsTag` to the enclave\'s `SignConfidentialTransactions` action, which verifies the tag — rejecting tampered, extra or expired transactions — and joins the room to co-sign. MFA step-up is enforced once for the whole operation. The response returns immediately with the room id; join it with the wallet\'s client share to complete the threshold signature.
5107
+ * Co-sign enclave-built confidential-transfer transactions
5108
+ */
5109
+ signWaasConfidentialTransactionsRaw(requestParameters: SignWaasConfidentialTransactionsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<WaasSignConfidentialTransactionsResponse>>;
5110
+ /**
5111
+ * Second half of the confidential-transfer flow. Provisions one MPC signing room for the operation (Solana v1 packs it into a single transaction) and hands the enclave-built transaction and its `transactionsTag` to the enclave\'s `SignConfidentialTransactions` action, which verifies the tag — rejecting tampered, extra or expired transactions — and joins the room to co-sign. MFA step-up is enforced once for the whole operation. The response returns immediately with the room id; join it with the wallet\'s client share to complete the threshold signature.
5112
+ * Co-sign enclave-built confidential-transfer transactions
5113
+ */
5114
+ signWaasConfidentialTransactions(requestParameters: SignWaasConfidentialTransactionsRequest, initOverrides?: RequestInit): Promise<WaasSignConfidentialTransactionsResponse>;
5115
+ /**
5116
+ * Options call for this endpoint
5117
+ */
5118
+ signWaasConfidentialTransactionsOptionsRaw(requestParameters: SignWaasConfidentialTransactionsOptionsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;
5119
+ /**
5120
+ * Options call for this endpoint
5121
+ */
5122
+ signWaasConfidentialTransactionsOptions(requestParameters: SignWaasConfidentialTransactionsOptionsRequest, initOverrides?: RequestInit): Promise<void>;
5123
+ /**
5124
+ * Decrypts the wallet\'s stored confidential seed inside the enclave, generates the zero-knowledge proofs the requested operation requires, builds the Token-2022 confidential-transfer instructions and returns the transactions unsigned (the wallet\'s signature slot is zeroed) in broadcast order, plus a `transactionsTag` binding them. Signing is a separate step: submit the transactions and tag unchanged to `POST /waas/{walletId}/signConfidentialTransactions`, which co-signs inside caller-visible MPC rooms. The enclave is offline: the caller supplies the token accounts\' raw on-chain state (`accountState`, `destinationAccountState`), the cluster rent constant (`lamportsPerByte`) and a fresh `recentBlockhash`/`lastValidBlockHeight`. Confidential amounts are opaque on-chain — policy screens the operation, mint and addresses but cannot evaluate the transferred amount.
5125
+ * Build Token-2022 confidential-transfer transactions
5114
5126
  */
5115
5127
  signWaasConfidentialTransferRaw(requestParameters: SignWaasConfidentialTransferRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<WaasSignConfidentialTransferResponse>>;
5116
5128
  /**
5117
- * Decrypts the wallet\'s stored confidential seed inside the enclave, generates the zero-knowledge proofs the requested operation requires, builds the Token-2022 confidential-transfer instructions and returns the MPC-signed transactions in broadcast order, ready to submit. The enclave is offline: the caller supplies the token accounts\' raw on-chain state (`accountState`, `destinationAccountState`), the cluster rent constant (`lamportsPerByte`) and a fresh `recentBlockhash`/`lastValidBlockHeight`. Confidential amounts are opaque on-chain — policy screens the operation, mint and addresses but cannot evaluate the transferred amount.
5118
- * Build and sign a Token-2022 confidential transfer
5129
+ * Decrypts the wallet\'s stored confidential seed inside the enclave, generates the zero-knowledge proofs the requested operation requires, builds the Token-2022 confidential-transfer instructions and returns the transactions unsigned (the wallet\'s signature slot is zeroed) in broadcast order, plus a `transactionsTag` binding them. Signing is a separate step: submit the transactions and tag unchanged to `POST /waas/{walletId}/signConfidentialTransactions`, which co-signs inside caller-visible MPC rooms. The enclave is offline: the caller supplies the token accounts\' raw on-chain state (`accountState`, `destinationAccountState`), the cluster rent constant (`lamportsPerByte`) and a fresh `recentBlockhash`/`lastValidBlockHeight`. Confidential amounts are opaque on-chain — policy screens the operation, mint and addresses but cannot evaluate the transferred amount.
5130
+ * Build Token-2022 confidential-transfer transactions
5119
5131
  */
5120
5132
  signWaasConfidentialTransfer(requestParameters: SignWaasConfidentialTransferRequest, initOverrides?: RequestInit): Promise<WaasSignConfidentialTransferResponse>;
5121
5133
  /**
@@ -379,7 +379,6 @@ import { VerifyUnlinkRequestToJSON } from '../models/VerifyUnlinkRequest.js';
379
379
  import '../models/VisitorFilterableFieldsEnum.js';
380
380
  import '../models/WaasBroadcastStatus.js';
381
381
  import { WaasConfidentialSeedCreateRequestToJSON } from '../models/WaasConfidentialSeedCreateRequest.js';
382
- import { WaasConfidentialSeedPutRequestToJSON } from '../models/WaasConfidentialSeedPutRequest.js';
383
382
  import { WaasConfidentialSeedResponseFromJSON } from '../models/WaasConfidentialSeedResponse.js';
384
383
  import '../models/WaasConfidentialTransferOperation.js';
385
384
  import '../models/WaasDelegatedAccessEncryptionPublicKeyType.js';
@@ -396,6 +395,8 @@ import '../models/WaasPolicyLayerTranslationWarning.js';
396
395
  import { WaasPolicyLayerUpdateRequestToJSON } from '../models/WaasPolicyLayerUpdateRequest.js';
397
396
  import '../models/WaasReshareIntent.js';
398
397
  import { WaasSignAndBroadcastRequestToJSON } from '../models/WaasSignAndBroadcastRequest.js';
398
+ import { WaasSignConfidentialTransactionsRequestToJSON } from '../models/WaasSignConfidentialTransactionsRequest.js';
399
+ import { WaasSignConfidentialTransactionsResponseFromJSON } from '../models/WaasSignConfidentialTransactionsResponse.js';
399
400
  import { WaasSignConfidentialTransferRequestToJSON } from '../models/WaasSignConfidentialTransferRequest.js';
400
401
  import { WaasSignConfidentialTransferResponseFromJSON } from '../models/WaasSignConfidentialTransferResponse.js';
401
402
  import { WaasSignerPolicyLayerUpdateRequestToJSON } from '../models/WaasSignerPolicyLayerUpdateRequest.js';
@@ -8130,47 +8131,6 @@ class SDKApi extends BaseAPI {
8130
8131
  async publishEvent(requestParameters, initOverrides) {
8131
8132
  await this.publishEventRaw(requestParameters, initOverrides);
8132
8133
  }
8133
- /**
8134
- * Stores an Evervault-sealed Token-2022 confidential-transfer seed for the wallet via client-keyshare-service. Insert-only per (wallet, address, derivation version) — a repeat write returns 409. The sealed seed is opaque to redcoast.
8135
- * Store a Solana confidential-transfer seed
8136
- */
8137
- async putWaasConfidentialSeedRaw(requestParameters, initOverrides) {
8138
- if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
8139
- throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling putWaasConfidentialSeed.');
8140
- }
8141
- if (requestParameters.walletId === null || requestParameters.walletId === undefined) {
8142
- throw new RequiredError('walletId', 'Required parameter requestParameters.walletId was null or undefined when calling putWaasConfidentialSeed.');
8143
- }
8144
- if (requestParameters.waasConfidentialSeedPutRequest === null || requestParameters.waasConfidentialSeedPutRequest === undefined) {
8145
- throw new RequiredError('waasConfidentialSeedPutRequest', 'Required parameter requestParameters.waasConfidentialSeedPutRequest was null or undefined when calling putWaasConfidentialSeed.');
8146
- }
8147
- const queryParameters = {};
8148
- const headerParameters = {};
8149
- headerParameters['Content-Type'] = 'application/json';
8150
- if (this.configuration && this.configuration.accessToken) {
8151
- const token = this.configuration.accessToken;
8152
- const tokenString = await token("bearerAuth", []);
8153
- if (tokenString) {
8154
- headerParameters["Authorization"] = `Bearer ${tokenString}`;
8155
- }
8156
- }
8157
- const response = await this.request({
8158
- path: `/sdk/{environmentId}/waas/{walletId}/confidentialSeed`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"walletId"}}`, encodeURIComponent(String(requestParameters.walletId))),
8159
- method: 'PUT',
8160
- headers: headerParameters,
8161
- query: queryParameters,
8162
- body: WaasConfidentialSeedPutRequestToJSON(requestParameters.waasConfidentialSeedPutRequest),
8163
- }, initOverrides);
8164
- return new JSONApiResponse(response, (jsonValue) => WaasConfidentialSeedResponseFromJSON(jsonValue));
8165
- }
8166
- /**
8167
- * Stores an Evervault-sealed Token-2022 confidential-transfer seed for the wallet via client-keyshare-service. Insert-only per (wallet, address, derivation version) — a repeat write returns 409. The sealed seed is opaque to redcoast.
8168
- * Store a Solana confidential-transfer seed
8169
- */
8170
- async putWaasConfidentialSeed(requestParameters, initOverrides) {
8171
- const response = await this.putWaasConfidentialSeedRaw(requestParameters, initOverrides);
8172
- return await response.value();
8173
- }
8174
8134
  /**
8175
8135
  * Deprecated: use POST /sdk/{environmentId}/flow/{flowId}/quote instead. Fetches a swap quote and stores a snapshot on the transaction.
8176
8136
  * Get a quote for a checkout transaction
@@ -11754,8 +11714,75 @@ class SDKApi extends BaseAPI {
11754
11714
  await this.signMessageOptionsRaw(requestParameters, initOverrides);
11755
11715
  }
11756
11716
  /**
11757
- * Decrypts the wallet\'s stored confidential seed inside the enclave, generates the zero-knowledge proofs the requested operation requires, builds the Token-2022 confidential-transfer instructions and returns the MPC-signed transactions in broadcast order, ready to submit. The enclave is offline: the caller supplies the token accounts\' raw on-chain state (`accountState`, `destinationAccountState`), the cluster rent constant (`lamportsPerByte`) and a fresh `recentBlockhash`/`lastValidBlockHeight`. Confidential amounts are opaque on-chain — policy screens the operation, mint and addresses but cannot evaluate the transferred amount.
11758
- * Build and sign a Token-2022 confidential transfer
11717
+ * Second half of the confidential-transfer flow. Provisions one MPC signing room for the operation (Solana v1 packs it into a single transaction) and hands the enclave-built transaction and its `transactionsTag` to the enclave\'s `SignConfidentialTransactions` action, which verifies the tag — rejecting tampered, extra or expired transactions — and joins the room to co-sign. MFA step-up is enforced once for the whole operation. The response returns immediately with the room id; join it with the wallet\'s client share to complete the threshold signature.
11718
+ * Co-sign enclave-built confidential-transfer transactions
11719
+ */
11720
+ async signWaasConfidentialTransactionsRaw(requestParameters, initOverrides) {
11721
+ if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
11722
+ throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling signWaasConfidentialTransactions.');
11723
+ }
11724
+ if (requestParameters.walletId === null || requestParameters.walletId === undefined) {
11725
+ throw new RequiredError('walletId', 'Required parameter requestParameters.walletId was null or undefined when calling signWaasConfidentialTransactions.');
11726
+ }
11727
+ if (requestParameters.waasSignConfidentialTransactionsRequest === null || requestParameters.waasSignConfidentialTransactionsRequest === undefined) {
11728
+ throw new RequiredError('waasSignConfidentialTransactionsRequest', 'Required parameter requestParameters.waasSignConfidentialTransactionsRequest was null or undefined when calling signWaasConfidentialTransactions.');
11729
+ }
11730
+ const queryParameters = {};
11731
+ const headerParameters = {};
11732
+ headerParameters['Content-Type'] = 'application/json';
11733
+ if (this.configuration && this.configuration.accessToken) {
11734
+ const token = this.configuration.accessToken;
11735
+ const tokenString = await token("bearerAuth", []);
11736
+ if (tokenString) {
11737
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
11738
+ }
11739
+ }
11740
+ const response = await this.request({
11741
+ path: `/sdk/{environmentId}/waas/{walletId}/signConfidentialTransactions`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"walletId"}}`, encodeURIComponent(String(requestParameters.walletId))),
11742
+ method: 'POST',
11743
+ headers: headerParameters,
11744
+ query: queryParameters,
11745
+ body: WaasSignConfidentialTransactionsRequestToJSON(requestParameters.waasSignConfidentialTransactionsRequest),
11746
+ }, initOverrides);
11747
+ return new JSONApiResponse(response, (jsonValue) => WaasSignConfidentialTransactionsResponseFromJSON(jsonValue));
11748
+ }
11749
+ /**
11750
+ * Second half of the confidential-transfer flow. Provisions one MPC signing room for the operation (Solana v1 packs it into a single transaction) and hands the enclave-built transaction and its `transactionsTag` to the enclave\'s `SignConfidentialTransactions` action, which verifies the tag — rejecting tampered, extra or expired transactions — and joins the room to co-sign. MFA step-up is enforced once for the whole operation. The response returns immediately with the room id; join it with the wallet\'s client share to complete the threshold signature.
11751
+ * Co-sign enclave-built confidential-transfer transactions
11752
+ */
11753
+ async signWaasConfidentialTransactions(requestParameters, initOverrides) {
11754
+ const response = await this.signWaasConfidentialTransactionsRaw(requestParameters, initOverrides);
11755
+ return await response.value();
11756
+ }
11757
+ /**
11758
+ * Options call for this endpoint
11759
+ */
11760
+ async signWaasConfidentialTransactionsOptionsRaw(requestParameters, initOverrides) {
11761
+ if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
11762
+ throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling signWaasConfidentialTransactionsOptions.');
11763
+ }
11764
+ if (requestParameters.walletId === null || requestParameters.walletId === undefined) {
11765
+ throw new RequiredError('walletId', 'Required parameter requestParameters.walletId was null or undefined when calling signWaasConfidentialTransactionsOptions.');
11766
+ }
11767
+ const queryParameters = {};
11768
+ const headerParameters = {};
11769
+ const response = await this.request({
11770
+ path: `/sdk/{environmentId}/waas/{walletId}/signConfidentialTransactions`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"walletId"}}`, encodeURIComponent(String(requestParameters.walletId))),
11771
+ method: 'OPTIONS',
11772
+ headers: headerParameters,
11773
+ query: queryParameters,
11774
+ }, initOverrides);
11775
+ return new VoidApiResponse(response);
11776
+ }
11777
+ /**
11778
+ * Options call for this endpoint
11779
+ */
11780
+ async signWaasConfidentialTransactionsOptions(requestParameters, initOverrides) {
11781
+ await this.signWaasConfidentialTransactionsOptionsRaw(requestParameters, initOverrides);
11782
+ }
11783
+ /**
11784
+ * Decrypts the wallet\'s stored confidential seed inside the enclave, generates the zero-knowledge proofs the requested operation requires, builds the Token-2022 confidential-transfer instructions and returns the transactions unsigned (the wallet\'s signature slot is zeroed) in broadcast order, plus a `transactionsTag` binding them. Signing is a separate step: submit the transactions and tag unchanged to `POST /waas/{walletId}/signConfidentialTransactions`, which co-signs inside caller-visible MPC rooms. The enclave is offline: the caller supplies the token accounts\' raw on-chain state (`accountState`, `destinationAccountState`), the cluster rent constant (`lamportsPerByte`) and a fresh `recentBlockhash`/`lastValidBlockHeight`. Confidential amounts are opaque on-chain — policy screens the operation, mint and addresses but cannot evaluate the transferred amount.
11785
+ * Build Token-2022 confidential-transfer transactions
11759
11786
  */
11760
11787
  async signWaasConfidentialTransferRaw(requestParameters, initOverrides) {
11761
11788
  if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
@@ -11787,8 +11814,8 @@ class SDKApi extends BaseAPI {
11787
11814
  return new JSONApiResponse(response, (jsonValue) => WaasSignConfidentialTransferResponseFromJSON(jsonValue));
11788
11815
  }
11789
11816
  /**
11790
- * Decrypts the wallet\'s stored confidential seed inside the enclave, generates the zero-knowledge proofs the requested operation requires, builds the Token-2022 confidential-transfer instructions and returns the MPC-signed transactions in broadcast order, ready to submit. The enclave is offline: the caller supplies the token accounts\' raw on-chain state (`accountState`, `destinationAccountState`), the cluster rent constant (`lamportsPerByte`) and a fresh `recentBlockhash`/`lastValidBlockHeight`. Confidential amounts are opaque on-chain — policy screens the operation, mint and addresses but cannot evaluate the transferred amount.
11791
- * Build and sign a Token-2022 confidential transfer
11817
+ * Decrypts the wallet\'s stored confidential seed inside the enclave, generates the zero-knowledge proofs the requested operation requires, builds the Token-2022 confidential-transfer instructions and returns the transactions unsigned (the wallet\'s signature slot is zeroed) in broadcast order, plus a `transactionsTag` binding them. Signing is a separate step: submit the transactions and tag unchanged to `POST /waas/{walletId}/signConfidentialTransactions`, which co-signs inside caller-visible MPC rooms. The enclave is offline: the caller supplies the token accounts\' raw on-chain state (`accountState`, `destinationAccountState`), the cluster rent constant (`lamportsPerByte`) and a fresh `recentBlockhash`/`lastValidBlockHeight`. Confidential amounts are opaque on-chain — policy screens the operation, mint and addresses but cannot evaluate the transferred amount.
11818
+ * Build Token-2022 confidential-transfer transactions
11792
11819
  */
11793
11820
  async signWaasConfidentialTransfer(requestParameters, initOverrides) {
11794
11821
  const response = await this.signWaasConfidentialTransferRaw(requestParameters, initOverrides);
@@ -232,7 +232,6 @@ require('../models/UserFilterableFieldsEnum.cjs');
232
232
  require('../models/VisitorFilterableFieldsEnum.cjs');
233
233
  require('../models/WaasBroadcastStatus.cjs');
234
234
  var WaasConfidentialSeedCreateRequest = require('../models/WaasConfidentialSeedCreateRequest.cjs');
235
- var WaasConfidentialSeedPutRequest = require('../models/WaasConfidentialSeedPutRequest.cjs');
236
235
  var WaasConfidentialSeedResponse = require('../models/WaasConfidentialSeedResponse.cjs');
237
236
  require('../models/WaasConfidentialTransferOperation.cjs');
238
237
  require('../models/WaasDelegatedAccessEncryptionPublicKeyType.cjs');
@@ -248,6 +247,8 @@ require('../models/WaasPolicyLayerRuleOperation.cjs');
248
247
  require('../models/WaasPolicyLayerTranslationWarning.cjs');
249
248
  var WaasPolicyLayerUpdateRequest = require('../models/WaasPolicyLayerUpdateRequest.cjs');
250
249
  require('../models/WaasReshareIntent.cjs');
250
+ var WaasSignConfidentialTransactionsRequest = require('../models/WaasSignConfidentialTransactionsRequest.cjs');
251
+ var WaasSignConfidentialTransactionsResponse = require('../models/WaasSignConfidentialTransactionsResponse.cjs');
251
252
  var WaasSignConfidentialTransferRequest = require('../models/WaasSignConfidentialTransferRequest.cjs');
252
253
  var WaasSignConfidentialTransferResponse = require('../models/WaasSignConfidentialTransferResponse.cjs');
253
254
  require('../models/WaasSignerPolicyLayerUpdateRequest.cjs');
@@ -1146,43 +1147,6 @@ class ServerApi extends runtime.BaseAPI {
1146
1147
  const response = await this.listBusinessAccountsServerRaw(requestParameters, initOverrides);
1147
1148
  return await response.value();
1148
1149
  }
1149
- /**
1150
- * Stores an Evervault-sealed Token-2022 confidential-transfer seed for the wallet via client-keyshare-service. Insert-only per (wallet, address, derivation version); a repeat write returns 409.
1151
- * Server — store a Solana confidential-transfer seed
1152
- */
1153
- async putWaasConfidentialSeedServerRaw(requestParameters, initOverrides) {
1154
- if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
1155
- throw new runtime.RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling putWaasConfidentialSeedServer.');
1156
- }
1157
- if (requestParameters.walletId === null || requestParameters.walletId === undefined) {
1158
- throw new runtime.RequiredError('walletId', 'Required parameter requestParameters.walletId was null or undefined when calling putWaasConfidentialSeedServer.');
1159
- }
1160
- if (requestParameters.waasConfidentialSeedPutRequest === null || requestParameters.waasConfidentialSeedPutRequest === undefined) {
1161
- throw new runtime.RequiredError('waasConfidentialSeedPutRequest', 'Required parameter requestParameters.waasConfidentialSeedPutRequest was null or undefined when calling putWaasConfidentialSeedServer.');
1162
- }
1163
- const queryParameters = {};
1164
- const headerParameters = {};
1165
- headerParameters['Content-Type'] = 'application/json';
1166
- if (requestParameters.xDynServerSigningProof !== undefined && requestParameters.xDynServerSigningProof !== null) {
1167
- headerParameters['x-dyn-server-signing-proof'] = String(requestParameters.xDynServerSigningProof);
1168
- }
1169
- const response = await this.request({
1170
- path: `/server/{environmentId}/waas/{walletId}/confidentialSeed`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"walletId"}}`, encodeURIComponent(String(requestParameters.walletId))),
1171
- method: 'PUT',
1172
- headers: headerParameters,
1173
- query: queryParameters,
1174
- body: WaasConfidentialSeedPutRequest.WaasConfidentialSeedPutRequestToJSON(requestParameters.waasConfidentialSeedPutRequest),
1175
- }, initOverrides);
1176
- return new runtime.JSONApiResponse(response, (jsonValue) => WaasConfidentialSeedResponse.WaasConfidentialSeedResponseFromJSON(jsonValue));
1177
- }
1178
- /**
1179
- * Stores an Evervault-sealed Token-2022 confidential-transfer seed for the wallet via client-keyshare-service. Insert-only per (wallet, address, derivation version); a repeat write returns 409.
1180
- * Server — store a Solana confidential-transfer seed
1181
- */
1182
- async putWaasConfidentialSeedServer(requestParameters, initOverrides) {
1183
- const response = await this.putWaasConfidentialSeedServerRaw(requestParameters, initOverrides);
1184
- return await response.value();
1185
- }
1186
1150
  /**
1187
1151
  * Refreshes the MPC key shares for the specified WAAS wallet. `shareSetId` is required for server-mode wallets; without it the request is rejected with 422.
1188
1152
  * Server — refresh WAAS keyshares
@@ -1440,8 +1404,45 @@ class ServerApi extends runtime.BaseAPI {
1440
1404
  return await response.value();
1441
1405
  }
1442
1406
  /**
1443
- * Decrypts the wallet\'s stored confidential seed inside the enclave, generates the zero-knowledge proofs the requested operation requires, builds the Token-2022 confidential-transfer instructions and returns the MPC-signed transactions in broadcast order. The caller supplies on-chain account state, the rent constant and a fresh blockhash; the enclave is offline and cannot reach Solana RPC.
1444
- * Server — build and sign a Token-2022 confidential transfer
1407
+ * Provisions one MPC signing room for the operation (Solana v1 packs it into a single transaction) and hands the enclave-built transaction and its `transactionsTag` to the enclave\'s `SignConfidentialTransactions` action, which verifies the tag and joins the room to co-sign. The response returns immediately with the room id; join it with the wallet\'s client share to complete the threshold signature.
1408
+ * Server — co-sign enclave-built confidential-transfer transactions
1409
+ */
1410
+ async signWaasConfidentialTransactionsServerRaw(requestParameters, initOverrides) {
1411
+ if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
1412
+ throw new runtime.RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling signWaasConfidentialTransactionsServer.');
1413
+ }
1414
+ if (requestParameters.walletId === null || requestParameters.walletId === undefined) {
1415
+ throw new runtime.RequiredError('walletId', 'Required parameter requestParameters.walletId was null or undefined when calling signWaasConfidentialTransactionsServer.');
1416
+ }
1417
+ if (requestParameters.waasSignConfidentialTransactionsRequest === null || requestParameters.waasSignConfidentialTransactionsRequest === undefined) {
1418
+ throw new runtime.RequiredError('waasSignConfidentialTransactionsRequest', 'Required parameter requestParameters.waasSignConfidentialTransactionsRequest was null or undefined when calling signWaasConfidentialTransactionsServer.');
1419
+ }
1420
+ const queryParameters = {};
1421
+ const headerParameters = {};
1422
+ headerParameters['Content-Type'] = 'application/json';
1423
+ if (requestParameters.xDynServerSigningProof !== undefined && requestParameters.xDynServerSigningProof !== null) {
1424
+ headerParameters['x-dyn-server-signing-proof'] = String(requestParameters.xDynServerSigningProof);
1425
+ }
1426
+ const response = await this.request({
1427
+ path: `/server/{environmentId}/waas/{walletId}/signConfidentialTransactions`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"walletId"}}`, encodeURIComponent(String(requestParameters.walletId))),
1428
+ method: 'POST',
1429
+ headers: headerParameters,
1430
+ query: queryParameters,
1431
+ body: WaasSignConfidentialTransactionsRequest.WaasSignConfidentialTransactionsRequestToJSON(requestParameters.waasSignConfidentialTransactionsRequest),
1432
+ }, initOverrides);
1433
+ return new runtime.JSONApiResponse(response, (jsonValue) => WaasSignConfidentialTransactionsResponse.WaasSignConfidentialTransactionsResponseFromJSON(jsonValue));
1434
+ }
1435
+ /**
1436
+ * Provisions one MPC signing room for the operation (Solana v1 packs it into a single transaction) and hands the enclave-built transaction and its `transactionsTag` to the enclave\'s `SignConfidentialTransactions` action, which verifies the tag and joins the room to co-sign. The response returns immediately with the room id; join it with the wallet\'s client share to complete the threshold signature.
1437
+ * Server — co-sign enclave-built confidential-transfer transactions
1438
+ */
1439
+ async signWaasConfidentialTransactionsServer(requestParameters, initOverrides) {
1440
+ const response = await this.signWaasConfidentialTransactionsServerRaw(requestParameters, initOverrides);
1441
+ return await response.value();
1442
+ }
1443
+ /**
1444
+ * Decrypts the wallet\'s stored confidential seed inside the enclave, generates the zero-knowledge proofs the requested operation requires, builds the Token-2022 confidential-transfer instructions and returns the transactions unsigned (the wallet\'s signature slot is zeroed) in broadcast order, plus a `transactionsTag` binding them. Signing is a separate step: submit the transactions and tag unchanged to `POST /waas/{walletId}/signConfidentialTransactions`. The caller supplies on-chain account state, the rent constant and a fresh blockhash; the enclave is offline and cannot reach Solana RPC.
1445
+ * Server — build Token-2022 confidential-transfer transactions
1445
1446
  */
1446
1447
  async signWaasConfidentialTransferServerRaw(requestParameters, initOverrides) {
1447
1448
  if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
@@ -1469,8 +1470,8 @@ class ServerApi extends runtime.BaseAPI {
1469
1470
  return new runtime.JSONApiResponse(response, (jsonValue) => WaasSignConfidentialTransferResponse.WaasSignConfidentialTransferResponseFromJSON(jsonValue));
1470
1471
  }
1471
1472
  /**
1472
- * Decrypts the wallet\'s stored confidential seed inside the enclave, generates the zero-knowledge proofs the requested operation requires, builds the Token-2022 confidential-transfer instructions and returns the MPC-signed transactions in broadcast order. The caller supplies on-chain account state, the rent constant and a fresh blockhash; the enclave is offline and cannot reach Solana RPC.
1473
- * Server — build and sign a Token-2022 confidential transfer
1473
+ * Decrypts the wallet\'s stored confidential seed inside the enclave, generates the zero-knowledge proofs the requested operation requires, builds the Token-2022 confidential-transfer instructions and returns the transactions unsigned (the wallet\'s signature slot is zeroed) in broadcast order, plus a `transactionsTag` binding them. Signing is a separate step: submit the transactions and tag unchanged to `POST /waas/{walletId}/signConfidentialTransactions`. The caller supplies on-chain account state, the rent constant and a fresh blockhash; the enclave is offline and cannot reach Solana RPC.
1474
+ * Server — build Token-2022 confidential-transfer transactions
1474
1475
  */
1475
1476
  async signWaasConfidentialTransferServer(requestParameters, initOverrides) {
1476
1477
  const response = await this.signWaasConfidentialTransferServerRaw(requestParameters, initOverrides);