@dynamic-labs/sdk-api 0.0.968 → 0.0.970

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.
Files changed (100) hide show
  1. package/package.json +1 -1
  2. package/src/apis/AdminActionsApi.cjs +1 -0
  3. package/src/apis/AdminActionsApi.js +1 -0
  4. package/src/apis/AllowlistsApi.cjs +1 -0
  5. package/src/apis/AllowlistsApi.js +1 -0
  6. package/src/apis/AnalyticsApi.cjs +1 -0
  7. package/src/apis/AnalyticsApi.js +1 -0
  8. package/src/apis/ChainalysisApi.cjs +1 -0
  9. package/src/apis/ChainalysisApi.js +1 -0
  10. package/src/apis/ChainsApi.cjs +1 -0
  11. package/src/apis/ChainsApi.js +1 -0
  12. package/src/apis/CheckoutApi.cjs +1 -0
  13. package/src/apis/CheckoutApi.js +1 -0
  14. package/src/apis/CustomFieldsApi.cjs +1 -0
  15. package/src/apis/CustomFieldsApi.js +1 -0
  16. package/src/apis/CustomHostnamesApi.cjs +1 -0
  17. package/src/apis/CustomHostnamesApi.js +1 -0
  18. package/src/apis/CustomNetworksApi.cjs +1 -0
  19. package/src/apis/CustomNetworksApi.js +1 -0
  20. package/src/apis/DeeplinkUrlsApi.cjs +1 -0
  21. package/src/apis/DeeplinkUrlsApi.js +1 -0
  22. package/src/apis/EnvironmentsApi.cjs +1 -0
  23. package/src/apis/EnvironmentsApi.js +1 -0
  24. package/src/apis/EventsApi.cjs +1 -0
  25. package/src/apis/EventsApi.js +1 -0
  26. package/src/apis/ExchangesApi.cjs +1 -0
  27. package/src/apis/ExchangesApi.js +1 -0
  28. package/src/apis/ExportsApi.cjs +1 -0
  29. package/src/apis/ExportsApi.js +1 -0
  30. package/src/apis/ExternalJwtApi.cjs +1 -0
  31. package/src/apis/ExternalJwtApi.js +1 -0
  32. package/src/apis/GatesApi.cjs +1 -0
  33. package/src/apis/GatesApi.js +1 -0
  34. package/src/apis/GlobalWalletAccessControlApi.cjs +1 -0
  35. package/src/apis/GlobalWalletAccessControlApi.js +1 -0
  36. package/src/apis/GlobalWalletConnectionsApi.cjs +1 -0
  37. package/src/apis/GlobalWalletConnectionsApi.js +1 -0
  38. package/src/apis/GlobalWalletsApi.cjs +1 -0
  39. package/src/apis/GlobalWalletsApi.js +1 -0
  40. package/src/apis/InvitesApi.cjs +1 -0
  41. package/src/apis/InvitesApi.js +1 -0
  42. package/src/apis/MembersApi.cjs +1 -0
  43. package/src/apis/MembersApi.js +1 -0
  44. package/src/apis/MfaSettingsApi.cjs +1 -0
  45. package/src/apis/MfaSettingsApi.js +1 -0
  46. package/src/apis/NameServicesApi.cjs +1 -0
  47. package/src/apis/NameServicesApi.js +1 -0
  48. package/src/apis/OrganizationSettingsApi.cjs +1 -0
  49. package/src/apis/OrganizationSettingsApi.js +1 -0
  50. package/src/apis/OrganizationsApi.cjs +1 -0
  51. package/src/apis/OrganizationsApi.js +1 -0
  52. package/src/apis/OriginsApi.cjs +1 -0
  53. package/src/apis/OriginsApi.js +1 -0
  54. package/src/apis/ProjectsApi.cjs +1 -0
  55. package/src/apis/ProjectsApi.js +1 -0
  56. package/src/apis/ProvidersApi.cjs +1 -0
  57. package/src/apis/ProvidersApi.js +1 -0
  58. package/src/apis/SDKApi.cjs +184 -0
  59. package/src/apis/SDKApi.d.ts +85 -1
  60. package/src/apis/SDKApi.js +185 -1
  61. package/src/apis/SDKViewsApi.cjs +1 -0
  62. package/src/apis/SDKViewsApi.js +1 -0
  63. package/src/apis/SessionsApi.cjs +1 -0
  64. package/src/apis/SessionsApi.js +1 -0
  65. package/src/apis/TestAccountApi.cjs +1 -0
  66. package/src/apis/TestAccountApi.js +1 -0
  67. package/src/apis/TokensApi.cjs +1 -0
  68. package/src/apis/TokensApi.js +1 -0
  69. package/src/apis/UserApiTokensApi.cjs +1 -0
  70. package/src/apis/UserApiTokensApi.js +1 -0
  71. package/src/apis/UsersApi.cjs +1 -0
  72. package/src/apis/UsersApi.js +1 -0
  73. package/src/apis/VisitsApi.cjs +1 -0
  74. package/src/apis/VisitsApi.js +1 -0
  75. package/src/apis/WaasApi.cjs +1 -0
  76. package/src/apis/WaasApi.js +1 -0
  77. package/src/apis/WalletConnectApi.cjs +1 -0
  78. package/src/apis/WalletConnectApi.js +1 -0
  79. package/src/apis/WalletsApi.cjs +1 -0
  80. package/src/apis/WalletsApi.js +1 -0
  81. package/src/apis/WebhooksApi.cjs +1 -0
  82. package/src/apis/WebhooksApi.js +1 -0
  83. package/src/index.cjs +28 -0
  84. package/src/index.js +6 -1
  85. package/src/models/AleoCuratedPricesResponse.cjs +33 -0
  86. package/src/models/AleoCuratedPricesResponse.d.ts +30 -0
  87. package/src/models/AleoCuratedPricesResponse.js +27 -0
  88. package/src/models/AleoCuratedPricesResponseResult.cjs +33 -0
  89. package/src/models/AleoCuratedPricesResponseResult.d.ts +31 -0
  90. package/src/models/AleoCuratedPricesResponseResult.js +27 -0
  91. package/src/models/AleoCuratedTokenPrice.cjs +51 -0
  92. package/src/models/AleoCuratedTokenPrice.d.ts +61 -0
  93. package/src/models/AleoCuratedTokenPrice.js +45 -0
  94. package/src/models/GetAvailableEVMGaslessRelayerResponse.cjs +43 -0
  95. package/src/models/GetAvailableEVMGaslessRelayerResponse.d.ts +27 -0
  96. package/src/models/GetAvailableEVMGaslessRelayerResponse.js +37 -0
  97. package/src/models/GetEVMSponsoredTransactionStatusResponse.cjs +52 -0
  98. package/src/models/GetEVMSponsoredTransactionStatusResponse.d.ts +53 -0
  99. package/src/models/GetEVMSponsoredTransactionStatusResponse.js +46 -0
  100. package/src/models/index.d.ts +5 -0
@@ -12,6 +12,7 @@ require('../models/AuthStorageEnum.cjs');
12
12
  require('../models/MFADeviceType.cjs');
13
13
  require('../models/MFASettingsActions.cjs');
14
14
  require('../models/TimeUnitEnum.cjs');
15
+ var AleoCuratedPricesResponse = require('../models/AleoCuratedPricesResponse.cjs');
15
16
  var AttachSourceRequest = require('../models/AttachSourceRequest.cjs');
16
17
  require('../models/AttestationConveyancePreference.cjs');
17
18
  require('../models/AuthModeEnum.cjs');
@@ -126,6 +127,8 @@ var FarcasterSignInRequest = require('../models/FarcasterSignInRequest.cjs');
126
127
  require('../models/OnrampProviders.cjs');
127
128
  require('../models/GateRuleType.cjs');
128
129
  var GeneratedTokenResponse = require('../models/GeneratedTokenResponse.cjs');
130
+ var GetAvailableEVMGaslessRelayerResponse = require('../models/GetAvailableEVMGaslessRelayerResponse.cjs');
131
+ var GetEVMSponsoredTransactionStatusResponse = require('../models/GetEVMSponsoredTransactionStatusResponse.cjs');
129
132
  var GetPasskeyAuthenticationOptionsResponse = require('../models/GetPasskeyAuthenticationOptionsResponse.cjs');
130
133
  var GetPasskeyRegistrationOptionsResponse = require('../models/GetPasskeyRegistrationOptionsResponse.cjs');
131
134
  var GetUserPasskeysResponse = require('../models/GetUserPasskeysResponse.cjs');
@@ -3096,6 +3099,68 @@ class SDKApi extends runtime.BaseAPI {
3096
3099
  async getAccountBalancesOptions(requestParameters, initOverrides) {
3097
3100
  await this.getAccountBalancesOptionsRaw(requestParameters, initOverrides);
3098
3101
  }
3102
+ /**
3103
+ * Returns a stable list of `(address, isNative, tokenId, price)` rows for every curated Aleo token on the requested network — independent of the caller\'s balance. Used by the widget to display fiat values on the Shielded balance tab, which is built client-side from records and never goes through the multichain `/accountBalances` endpoint. Tokens whose CoinGecko id has no cached price are returned with `price: null`.
3104
+ * Get curated Aleo token prices for the given network
3105
+ */
3106
+ async getAleoCuratedPricesRaw(requestParameters, initOverrides) {
3107
+ if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
3108
+ throw new runtime.RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling getAleoCuratedPrices.');
3109
+ }
3110
+ if (requestParameters.network === null || requestParameters.network === undefined) {
3111
+ throw new runtime.RequiredError('network', 'Required parameter requestParameters.network was null or undefined when calling getAleoCuratedPrices.');
3112
+ }
3113
+ const queryParameters = {};
3114
+ if (requestParameters.network !== undefined) {
3115
+ queryParameters['network'] = requestParameters.network;
3116
+ }
3117
+ const headerParameters = {};
3118
+ if (this.configuration && this.configuration.accessToken) {
3119
+ const token = this.configuration.accessToken;
3120
+ const tokenString = await token("bearerAuth", []);
3121
+ if (tokenString) {
3122
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
3123
+ }
3124
+ }
3125
+ const response = await this.request({
3126
+ path: `/sdk/{environmentId}/chains/aleo/prices`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))),
3127
+ method: 'GET',
3128
+ headers: headerParameters,
3129
+ query: queryParameters,
3130
+ }, initOverrides);
3131
+ return new runtime.JSONApiResponse(response, (jsonValue) => AleoCuratedPricesResponse.AleoCuratedPricesResponseFromJSON(jsonValue));
3132
+ }
3133
+ /**
3134
+ * Returns a stable list of `(address, isNative, tokenId, price)` rows for every curated Aleo token on the requested network — independent of the caller\'s balance. Used by the widget to display fiat values on the Shielded balance tab, which is built client-side from records and never goes through the multichain `/accountBalances` endpoint. Tokens whose CoinGecko id has no cached price are returned with `price: null`.
3135
+ * Get curated Aleo token prices for the given network
3136
+ */
3137
+ async getAleoCuratedPrices(requestParameters, initOverrides) {
3138
+ const response = await this.getAleoCuratedPricesRaw(requestParameters, initOverrides);
3139
+ return await response.value();
3140
+ }
3141
+ /**
3142
+ * Options call for this endpoint
3143
+ */
3144
+ async getAleoCuratedPricesOptionsRaw(requestParameters, initOverrides) {
3145
+ if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
3146
+ throw new runtime.RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling getAleoCuratedPricesOptions.');
3147
+ }
3148
+ const queryParameters = {};
3149
+ const headerParameters = {};
3150
+ const response = await this.request({
3151
+ path: `/sdk/{environmentId}/chains/aleo/prices`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))),
3152
+ method: 'OPTIONS',
3153
+ headers: headerParameters,
3154
+ query: queryParameters,
3155
+ }, initOverrides);
3156
+ return new runtime.VoidApiResponse(response);
3157
+ }
3158
+ /**
3159
+ * Options call for this endpoint
3160
+ */
3161
+ async getAleoCuratedPricesOptions(requestParameters, initOverrides) {
3162
+ await this.getAleoCuratedPricesOptionsRaw(requestParameters, initOverrides);
3163
+ }
3099
3164
  /**
3100
3165
  * Returns the ANF-issued Feemaster policy for the given Aleo network. The policy lists which (programId, functionName) pairs the configured Bearer key sponsors. Forwarded server-side; the iframe never sees the Bearer key directly.
3101
3166
  * Get the ANF Feemaster sponsorship policy for Aleo
@@ -3312,6 +3377,61 @@ class SDKApi extends runtime.BaseAPI {
3312
3377
  const response = await this.getAuthenticatedUserRaw(requestParameters, initOverrides);
3313
3378
  return await response.value();
3314
3379
  }
3380
+ /**
3381
+ * Returns the relayer EOA that should be embedded in the EIP-712 sponsored transaction intent for the given chain. The address is owned by the project\'s relay backend and is the eventual `from` of the on-chain broadcast. Today a single relayer is returned; future implementations will round-robin across multiple workspace relayers.
3382
+ * Get an available EVM gasless relayer address
3383
+ */
3384
+ async getAvailableEVMGaslessRelayerRaw(requestParameters, initOverrides) {
3385
+ if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
3386
+ throw new runtime.RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling getAvailableEVMGaslessRelayer.');
3387
+ }
3388
+ if (requestParameters.chainId === null || requestParameters.chainId === undefined) {
3389
+ throw new runtime.RequiredError('chainId', 'Required parameter requestParameters.chainId was null or undefined when calling getAvailableEVMGaslessRelayer.');
3390
+ }
3391
+ const queryParameters = {};
3392
+ if (requestParameters.chainId !== undefined) {
3393
+ queryParameters['chainId'] = requestParameters.chainId;
3394
+ }
3395
+ const headerParameters = {};
3396
+ const response = await this.request({
3397
+ path: `/sdk/{environmentId}/evm/availableGaslessRelayer`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))),
3398
+ method: 'GET',
3399
+ headers: headerParameters,
3400
+ query: queryParameters,
3401
+ }, initOverrides);
3402
+ return new runtime.JSONApiResponse(response, (jsonValue) => GetAvailableEVMGaslessRelayerResponse.GetAvailableEVMGaslessRelayerResponseFromJSON(jsonValue));
3403
+ }
3404
+ /**
3405
+ * Returns the relayer EOA that should be embedded in the EIP-712 sponsored transaction intent for the given chain. The address is owned by the project\'s relay backend and is the eventual `from` of the on-chain broadcast. Today a single relayer is returned; future implementations will round-robin across multiple workspace relayers.
3406
+ * Get an available EVM gasless relayer address
3407
+ */
3408
+ async getAvailableEVMGaslessRelayer(requestParameters, initOverrides) {
3409
+ const response = await this.getAvailableEVMGaslessRelayerRaw(requestParameters, initOverrides);
3410
+ return await response.value();
3411
+ }
3412
+ /**
3413
+ * Options call for this endpoint
3414
+ */
3415
+ async getAvailableEVMGaslessRelayerOptionsRaw(requestParameters, initOverrides) {
3416
+ if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
3417
+ throw new runtime.RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling getAvailableEVMGaslessRelayerOptions.');
3418
+ }
3419
+ const queryParameters = {};
3420
+ const headerParameters = {};
3421
+ const response = await this.request({
3422
+ path: `/sdk/{environmentId}/evm/availableGaslessRelayer`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))),
3423
+ method: 'OPTIONS',
3424
+ headers: headerParameters,
3425
+ query: queryParameters,
3426
+ }, initOverrides);
3427
+ return new runtime.VoidApiResponse(response);
3428
+ }
3429
+ /**
3430
+ * Options call for this endpoint
3431
+ */
3432
+ async getAvailableEVMGaslessRelayerOptions(requestParameters, initOverrides) {
3433
+ await this.getAvailableEVMGaslessRelayerOptionsRaw(requestParameters, initOverrides);
3434
+ }
3315
3435
  /**
3316
3436
  * This endpoint generates a short-lived JWT token for use with WAAS client backups. The token is valid for 1 minute and can only be used for storing and retrieving client keyshare backups. A Dynamic Auth user must be authenticated and have a Dynamic JWT to use this endpoint.
3317
3437
  * Generate a short-lived JWT token for use with WAAS client backups.
@@ -3528,6 +3648,61 @@ class SDKApi extends runtime.BaseAPI {
3528
3648
  async getCurrencyExchangeRatesOptions(requestParameters, initOverrides) {
3529
3649
  await this.getCurrencyExchangeRatesOptionsRaw(requestParameters, initOverrides);
3530
3650
  }
3651
+ /**
3652
+ * Returns the current status of a previously sponsored EVM transaction. Fetches the latest status from the relay provider and updates the stored record.
3653
+ * Get the status of a sponsored EVM transaction
3654
+ */
3655
+ async getEVMSponsoredTransactionStatusRaw(requestParameters, initOverrides) {
3656
+ if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
3657
+ throw new runtime.RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling getEVMSponsoredTransactionStatus.');
3658
+ }
3659
+ if (requestParameters.requestId === null || requestParameters.requestId === undefined) {
3660
+ throw new runtime.RequiredError('requestId', 'Required parameter requestParameters.requestId was null or undefined when calling getEVMSponsoredTransactionStatus.');
3661
+ }
3662
+ const queryParameters = {};
3663
+ const headerParameters = {};
3664
+ const response = await this.request({
3665
+ path: `/sdk/{environmentId}/evm/sponsorTransaction/{requestId}`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"requestId"}}`, encodeURIComponent(String(requestParameters.requestId))),
3666
+ method: 'GET',
3667
+ headers: headerParameters,
3668
+ query: queryParameters,
3669
+ }, initOverrides);
3670
+ return new runtime.JSONApiResponse(response, (jsonValue) => GetEVMSponsoredTransactionStatusResponse.GetEVMSponsoredTransactionStatusResponseFromJSON(jsonValue));
3671
+ }
3672
+ /**
3673
+ * Returns the current status of a previously sponsored EVM transaction. Fetches the latest status from the relay provider and updates the stored record.
3674
+ * Get the status of a sponsored EVM transaction
3675
+ */
3676
+ async getEVMSponsoredTransactionStatus(requestParameters, initOverrides) {
3677
+ const response = await this.getEVMSponsoredTransactionStatusRaw(requestParameters, initOverrides);
3678
+ return await response.value();
3679
+ }
3680
+ /**
3681
+ * Options call for this endpoint
3682
+ */
3683
+ async getEVMSponsoredTransactionStatusOptionsRaw(requestParameters, initOverrides) {
3684
+ if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
3685
+ throw new runtime.RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling getEVMSponsoredTransactionStatusOptions.');
3686
+ }
3687
+ if (requestParameters.requestId === null || requestParameters.requestId === undefined) {
3688
+ throw new runtime.RequiredError('requestId', 'Required parameter requestParameters.requestId was null or undefined when calling getEVMSponsoredTransactionStatusOptions.');
3689
+ }
3690
+ const queryParameters = {};
3691
+ const headerParameters = {};
3692
+ const response = await this.request({
3693
+ path: `/sdk/{environmentId}/evm/sponsorTransaction/{requestId}`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"requestId"}}`, encodeURIComponent(String(requestParameters.requestId))),
3694
+ method: 'OPTIONS',
3695
+ headers: headerParameters,
3696
+ query: queryParameters,
3697
+ }, initOverrides);
3698
+ return new runtime.VoidApiResponse(response);
3699
+ }
3700
+ /**
3701
+ * Options call for this endpoint
3702
+ */
3703
+ async getEVMSponsoredTransactionStatusOptions(requestParameters, initOverrides) {
3704
+ await this.getEVMSponsoredTransactionStatusOptionsRaw(requestParameters, initOverrides);
3705
+ }
3531
3706
  /**
3532
3707
  * Return the email provider to be used for signing in with a given email. If an external provider such as magicLink is disabled, this endpoint would return emailOnly. If an external provider such as magicLink is enabled, it will return emailOnly when the email already exists in Dynamic and it is associated with a wallet, otherwise it will return magicLink.
3533
3708
  * Get the sign-in email provider
@@ -9867,6 +10042,15 @@ class SDKApi extends runtime.BaseAPI {
9867
10042
  await this.walletsVerifyOptionsRaw(requestParameters, initOverrides);
9868
10043
  }
9869
10044
  }
10045
+ /**
10046
+ * @export
10047
+ * @enum {string}
10048
+ */
10049
+ exports.GetAleoCuratedPricesNetworkEnum = void 0;
10050
+ (function (GetAleoCuratedPricesNetworkEnum) {
10051
+ GetAleoCuratedPricesNetworkEnum["Testnet"] = "testnet";
10052
+ GetAleoCuratedPricesNetworkEnum["Mainnet"] = "mainnet";
10053
+ })(exports.GetAleoCuratedPricesNetworkEnum || (exports.GetAleoCuratedPricesNetworkEnum = {}));
9870
10054
  /**
9871
10055
  * @export
9872
10056
  * @enum {string}
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import { Account, AttachSourceRequest, BackupKeySharesToLocationRequest, BackupKeySharesToLocationResponse, BackupKeySharesToLocationsRequest, BackupKeySharesToLocationsResponse, BackupMultipleClientKeySharesResponse, ChainEnum, CheckoutTransaction, CheckoutTransactionCreateRequest, CheckoutTransactionCreateResponse, CoinbaseOnrampGetBuyUrlRequest, CoinbaseOnrampGetBuyUrlResponse, CoinbaseOnrampOrderCreateRequest, CoinbaseOnrampOrderResponse, CompletePasskeyRecoveryRequest, ConnectRequest, CreateEmbeddedWalletsRequest, CreateExchangeTransferRequest, CreateRoomsRequest, CreateRoomsResponse, CreateRoomsWithoutWalletIdRequest, CreateRoomsWithoutWalletIdResponse, CreateWaasAccountRequest, CreateWalletAccountRequest, CryptoDotComPaymentCreateRequest, CryptoDotComPaymentResponse, Currency, DelegatedShareDeliveryRequest, DelegatedShareDeliveryResponse, DeleteDeviceRegistrationResponse, DeleteEmbeddedWalletsRequest, DeleteUserPasskeyRequest, DeviceRegistrationsResponse, EmailProviderResponse, EmailVerificationCreateRequest, EmailVerificationCreateResponse, EmailVerificationMfaRequest, EmailVerificationRetryRequest, EmailVerificationVerifyRequest, EmbeddedWalletAuthToken, EmbeddedWalletAuthType, EmbeddedWalletChainEnum, EmbeddedWalletPasscodeClaimRequest, EmbeddedWalletSecret, ExchangeKeyEnum, ExchangeTransaction, ExchangeTransferResponse, ExportAleoViewKeyRequest, ExportEmbeddedWalletResponse, ExportWaasWalletPrivateKeyRequest, ExternalAuthAssertionResponse, ExternalAuthSigninRequest, FarcasterSignInRequest, GeneratedTokenResponse, GetPasskeyAuthenticationOptionsResponse, GetPasskeyRegistrationOptionsResponse, GetUserPasskeysResponse, GlobalWalletConnection, GlobalWalletConnectionCreateRequest, GlobalWalletSettings, HealthcheckResponse, ImportWaasPrivateKeyRequest, InitEmailAuthRequest, InitEmailAuthResponse, InitPasskeyRecoveryRequest, InitPasskeyRecoveryResponse, InlineObject1, InlineObject2, InlineObject3, InlineObject4, InlineObject5, InlineResponse2001, InlineResponse2002, InlineResponse2003, InlineResponse2004, InlineResponse2005, InlineResponse2006, InlineResponse2007, JwksResponse, MFAAuthRecoveryDevicePostRequest, MFAAuthTotpDevicePostRequest, MFADevice, MFAGetRecoveryCodesResponse, MFAListDevicesResponse, MFAMethodsResponse, MFARegenRecoveryCodesResponse, MFARegisterPasskeyDeviceGetResponse, MFARegisterPasskeyDevicePostRequest, MFARegisterTotpDeviceGetResponse, MFARegisterTotpDevicePostRequest, MFAUpdateDeviceRequest, MergeUserConflictResolutions, MultichainAccountBalanceResponse, MultichainAccountBalancesRequest, NetworkConfigurationResponse, NonceResponse, NoncesResponse, OauthInitAuthRequest, OauthProviderLoginUrl, OauthRequest, OauthResultRequest, OauthResultResponse, OpenRoomResponse, OpenRoomResponseForReshare, OpenRoomResponseWithServerKeygenIds, PasskeyAuthRequest, PasskeyRegisterRequest, PrefetchRequest, PrepareSigningRequest, ProjectSettings, ProviderEnum, PublishEvents, QuoteRequest, RealtimeAuthTokenResponse, RecordBroadcastRequest, RecoverMultipleClientKeySharesRequest, RecoverMultipleClientKeySharesResponse, RefreshKeySharesRequest, RefreshKeySharesResponse, RegisterEmbeddedWalletSessionKeyResponse, RegisterSessionKeyRequest, ReshareRequest, ScanWebsiteUrlRequest, ScanWebsiteUrlResponse, SdkSettingsRequest, SdkUser, 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, TransferDestinationResponse, TurnkeyCreateWalletAccountsRequestBody, TurnkeyDeleteEmbeddedWalletsRequestBody, UpdateRecoveryEmailRequest, UpdateSelfResponse, UpdateUserPasskeyRequest, UpdateWaasWalletSettingsRequest, UpdateWaasWalletSettingsResponse, UpgradeEmbeddedWalletToV2Request, UserFields, UserFieldsCheckParams, UserFieldsCheckResponse, UserOauthAccessTokenResponse, UserPasskey, UserWalletSelectionRequest, VerifyRequest, VerifyResponse, VerifyUnlinkRequest, WalletSanctionsResponse, WalletTransactionsResponse } from '../models';
13
+ import { Account, AleoCuratedPricesResponse, AttachSourceRequest, BackupKeySharesToLocationRequest, BackupKeySharesToLocationResponse, BackupKeySharesToLocationsRequest, BackupKeySharesToLocationsResponse, BackupMultipleClientKeySharesResponse, ChainEnum, CheckoutTransaction, CheckoutTransactionCreateRequest, CheckoutTransactionCreateResponse, CoinbaseOnrampGetBuyUrlRequest, CoinbaseOnrampGetBuyUrlResponse, CoinbaseOnrampOrderCreateRequest, CoinbaseOnrampOrderResponse, CompletePasskeyRecoveryRequest, ConnectRequest, CreateEmbeddedWalletsRequest, CreateExchangeTransferRequest, CreateRoomsRequest, CreateRoomsResponse, CreateRoomsWithoutWalletIdRequest, CreateRoomsWithoutWalletIdResponse, CreateWaasAccountRequest, CreateWalletAccountRequest, CryptoDotComPaymentCreateRequest, CryptoDotComPaymentResponse, Currency, DelegatedShareDeliveryRequest, DelegatedShareDeliveryResponse, DeleteDeviceRegistrationResponse, DeleteEmbeddedWalletsRequest, DeleteUserPasskeyRequest, DeviceRegistrationsResponse, EmailProviderResponse, EmailVerificationCreateRequest, EmailVerificationCreateResponse, EmailVerificationMfaRequest, EmailVerificationRetryRequest, EmailVerificationVerifyRequest, EmbeddedWalletAuthToken, EmbeddedWalletAuthType, EmbeddedWalletChainEnum, EmbeddedWalletPasscodeClaimRequest, EmbeddedWalletSecret, ExchangeKeyEnum, ExchangeTransaction, ExchangeTransferResponse, ExportAleoViewKeyRequest, ExportEmbeddedWalletResponse, ExportWaasWalletPrivateKeyRequest, ExternalAuthAssertionResponse, ExternalAuthSigninRequest, FarcasterSignInRequest, GeneratedTokenResponse, GetAvailableEVMGaslessRelayerResponse, GetEVMSponsoredTransactionStatusResponse, GetPasskeyAuthenticationOptionsResponse, GetPasskeyRegistrationOptionsResponse, GetUserPasskeysResponse, GlobalWalletConnection, GlobalWalletConnectionCreateRequest, GlobalWalletSettings, HealthcheckResponse, ImportWaasPrivateKeyRequest, InitEmailAuthRequest, InitEmailAuthResponse, InitPasskeyRecoveryRequest, InitPasskeyRecoveryResponse, InlineObject1, InlineObject2, InlineObject3, InlineObject4, InlineObject5, InlineResponse2001, InlineResponse2002, InlineResponse2003, InlineResponse2004, InlineResponse2005, InlineResponse2006, InlineResponse2007, JwksResponse, MFAAuthRecoveryDevicePostRequest, MFAAuthTotpDevicePostRequest, MFADevice, MFAGetRecoveryCodesResponse, MFAListDevicesResponse, MFAMethodsResponse, MFARegenRecoveryCodesResponse, MFARegisterPasskeyDeviceGetResponse, MFARegisterPasskeyDevicePostRequest, MFARegisterTotpDeviceGetResponse, MFARegisterTotpDevicePostRequest, MFAUpdateDeviceRequest, MergeUserConflictResolutions, MultichainAccountBalanceResponse, MultichainAccountBalancesRequest, NetworkConfigurationResponse, NonceResponse, NoncesResponse, OauthInitAuthRequest, OauthProviderLoginUrl, OauthRequest, OauthResultRequest, OauthResultResponse, OpenRoomResponse, OpenRoomResponseForReshare, OpenRoomResponseWithServerKeygenIds, PasskeyAuthRequest, PasskeyRegisterRequest, PrefetchRequest, PrepareSigningRequest, ProjectSettings, ProviderEnum, PublishEvents, QuoteRequest, RealtimeAuthTokenResponse, RecordBroadcastRequest, RecoverMultipleClientKeySharesRequest, RecoverMultipleClientKeySharesResponse, RefreshKeySharesRequest, RefreshKeySharesResponse, RegisterEmbeddedWalletSessionKeyResponse, RegisterSessionKeyRequest, ReshareRequest, ScanWebsiteUrlRequest, ScanWebsiteUrlResponse, SdkSettingsRequest, SdkUser, 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, TransferDestinationResponse, TurnkeyCreateWalletAccountsRequestBody, TurnkeyDeleteEmbeddedWalletsRequestBody, UpdateRecoveryEmailRequest, UpdateSelfResponse, UpdateUserPasskeyRequest, UpdateWaasWalletSettingsRequest, UpdateWaasWalletSettingsResponse, UpgradeEmbeddedWalletToV2Request, UserFields, UserFieldsCheckParams, UserFieldsCheckResponse, UserOauthAccessTokenResponse, UserPasskey, UserWalletSelectionRequest, VerifyRequest, VerifyResponse, VerifyUnlinkRequest, WalletSanctionsResponse, WalletTransactionsResponse } from '../models';
14
14
  export interface AttachSourceOperationRequest {
15
15
  environmentId: string;
16
16
  transactionId: string;
@@ -373,6 +373,13 @@ export interface GetAccountBalancesOptionsRequest {
373
373
  accountAddress: string;
374
374
  transactionHash?: string;
375
375
  }
376
+ export interface GetAleoCuratedPricesRequest {
377
+ environmentId: string;
378
+ network: GetAleoCuratedPricesNetworkEnum;
379
+ }
380
+ export interface GetAleoCuratedPricesOptionsRequest {
381
+ environmentId: string;
382
+ }
376
383
  export interface GetAleoFeemasterPolicyRequest {
377
384
  environmentId: string;
378
385
  network: GetAleoFeemasterPolicyNetworkEnum;
@@ -397,6 +404,13 @@ export interface GetAuthTokenOptsRequest {
397
404
  export interface GetAuthenticatedUserRequest {
398
405
  environmentId: string;
399
406
  }
407
+ export interface GetAvailableEVMGaslessRelayerRequest {
408
+ environmentId: string;
409
+ chainId: number;
410
+ }
411
+ export interface GetAvailableEVMGaslessRelayerOptionsRequest {
412
+ environmentId: string;
413
+ }
400
414
  export interface GetBackupTokenRequest {
401
415
  environmentId: string;
402
416
  }
@@ -424,6 +438,14 @@ export interface GetCurrencyExchangeRatesRequest {
424
438
  export interface GetCurrencyExchangeRatesOptionsRequest {
425
439
  environmentId: string;
426
440
  }
441
+ export interface GetEVMSponsoredTransactionStatusRequest {
442
+ environmentId: string;
443
+ requestId: string;
444
+ }
445
+ export interface GetEVMSponsoredTransactionStatusOptionsRequest {
446
+ environmentId: string;
447
+ requestId: string;
448
+ }
427
449
  export interface GetEmailProviderRequest {
428
450
  environmentId: string;
429
451
  email: string;
@@ -2051,6 +2073,24 @@ export declare class SDKApi extends runtime.BaseAPI {
2051
2073
  * Options call for this endpoint
2052
2074
  */
2053
2075
  getAccountBalancesOptions(requestParameters: GetAccountBalancesOptionsRequest, initOverrides?: RequestInit): Promise<void>;
2076
+ /**
2077
+ * Returns a stable list of `(address, isNative, tokenId, price)` rows for every curated Aleo token on the requested network — independent of the caller\'s balance. Used by the widget to display fiat values on the Shielded balance tab, which is built client-side from records and never goes through the multichain `/accountBalances` endpoint. Tokens whose CoinGecko id has no cached price are returned with `price: null`.
2078
+ * Get curated Aleo token prices for the given network
2079
+ */
2080
+ getAleoCuratedPricesRaw(requestParameters: GetAleoCuratedPricesRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<AleoCuratedPricesResponse>>;
2081
+ /**
2082
+ * Returns a stable list of `(address, isNative, tokenId, price)` rows for every curated Aleo token on the requested network — independent of the caller\'s balance. Used by the widget to display fiat values on the Shielded balance tab, which is built client-side from records and never goes through the multichain `/accountBalances` endpoint. Tokens whose CoinGecko id has no cached price are returned with `price: null`.
2083
+ * Get curated Aleo token prices for the given network
2084
+ */
2085
+ getAleoCuratedPrices(requestParameters: GetAleoCuratedPricesRequest, initOverrides?: RequestInit): Promise<AleoCuratedPricesResponse>;
2086
+ /**
2087
+ * Options call for this endpoint
2088
+ */
2089
+ getAleoCuratedPricesOptionsRaw(requestParameters: GetAleoCuratedPricesOptionsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;
2090
+ /**
2091
+ * Options call for this endpoint
2092
+ */
2093
+ getAleoCuratedPricesOptions(requestParameters: GetAleoCuratedPricesOptionsRequest, initOverrides?: RequestInit): Promise<void>;
2054
2094
  /**
2055
2095
  * Returns the ANF-issued Feemaster policy for the given Aleo network. The policy lists which (programId, functionName) pairs the configured Bearer key sponsors. Forwarded server-side; the iframe never sees the Bearer key directly.
2056
2096
  * Get the ANF Feemaster sponsorship policy for Aleo
@@ -2115,6 +2155,24 @@ export declare class SDKApi extends runtime.BaseAPI {
2115
2155
  * Get the current user\'s profile
2116
2156
  */
2117
2157
  getAuthenticatedUser(requestParameters: GetAuthenticatedUserRequest, initOverrides?: RequestInit): Promise<SdkUser>;
2158
+ /**
2159
+ * Returns the relayer EOA that should be embedded in the EIP-712 sponsored transaction intent for the given chain. The address is owned by the project\'s relay backend and is the eventual `from` of the on-chain broadcast. Today a single relayer is returned; future implementations will round-robin across multiple workspace relayers.
2160
+ * Get an available EVM gasless relayer address
2161
+ */
2162
+ getAvailableEVMGaslessRelayerRaw(requestParameters: GetAvailableEVMGaslessRelayerRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<GetAvailableEVMGaslessRelayerResponse>>;
2163
+ /**
2164
+ * Returns the relayer EOA that should be embedded in the EIP-712 sponsored transaction intent for the given chain. The address is owned by the project\'s relay backend and is the eventual `from` of the on-chain broadcast. Today a single relayer is returned; future implementations will round-robin across multiple workspace relayers.
2165
+ * Get an available EVM gasless relayer address
2166
+ */
2167
+ getAvailableEVMGaslessRelayer(requestParameters: GetAvailableEVMGaslessRelayerRequest, initOverrides?: RequestInit): Promise<GetAvailableEVMGaslessRelayerResponse>;
2168
+ /**
2169
+ * Options call for this endpoint
2170
+ */
2171
+ getAvailableEVMGaslessRelayerOptionsRaw(requestParameters: GetAvailableEVMGaslessRelayerOptionsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;
2172
+ /**
2173
+ * Options call for this endpoint
2174
+ */
2175
+ getAvailableEVMGaslessRelayerOptions(requestParameters: GetAvailableEVMGaslessRelayerOptionsRequest, initOverrides?: RequestInit): Promise<void>;
2118
2176
  /**
2119
2177
  * This endpoint generates a short-lived JWT token for use with WAAS client backups. The token is valid for 1 minute and can only be used for storing and retrieving client keyshare backups. A Dynamic Auth user must be authenticated and have a Dynamic JWT to use this endpoint.
2120
2178
  * Generate a short-lived JWT token for use with WAAS client backups.
@@ -2187,6 +2245,24 @@ export declare class SDKApi extends runtime.BaseAPI {
2187
2245
  * Options call for this endpoint
2188
2246
  */
2189
2247
  getCurrencyExchangeRatesOptions(requestParameters: GetCurrencyExchangeRatesOptionsRequest, initOverrides?: RequestInit): Promise<void>;
2248
+ /**
2249
+ * Returns the current status of a previously sponsored EVM transaction. Fetches the latest status from the relay provider and updates the stored record.
2250
+ * Get the status of a sponsored EVM transaction
2251
+ */
2252
+ getEVMSponsoredTransactionStatusRaw(requestParameters: GetEVMSponsoredTransactionStatusRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<GetEVMSponsoredTransactionStatusResponse>>;
2253
+ /**
2254
+ * Returns the current status of a previously sponsored EVM transaction. Fetches the latest status from the relay provider and updates the stored record.
2255
+ * Get the status of a sponsored EVM transaction
2256
+ */
2257
+ getEVMSponsoredTransactionStatus(requestParameters: GetEVMSponsoredTransactionStatusRequest, initOverrides?: RequestInit): Promise<GetEVMSponsoredTransactionStatusResponse>;
2258
+ /**
2259
+ * Options call for this endpoint
2260
+ */
2261
+ getEVMSponsoredTransactionStatusOptionsRaw(requestParameters: GetEVMSponsoredTransactionStatusOptionsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;
2262
+ /**
2263
+ * Options call for this endpoint
2264
+ */
2265
+ getEVMSponsoredTransactionStatusOptions(requestParameters: GetEVMSponsoredTransactionStatusOptionsRequest, initOverrides?: RequestInit): Promise<void>;
2190
2266
  /**
2191
2267
  * Return the email provider to be used for signing in with a given email. If an external provider such as magicLink is disabled, this endpoint would return emailOnly. If an external provider such as magicLink is enabled, it will return emailOnly when the email already exists in Dynamic and it is associated with a wallet, otherwise it will return magicLink.
2192
2268
  * Get the sign-in email provider
@@ -4118,6 +4194,14 @@ export declare class SDKApi extends runtime.BaseAPI {
4118
4194
  */
4119
4195
  walletsVerifyOptions(requestParameters: WalletsVerifyOptionsRequest, initOverrides?: RequestInit): Promise<void>;
4120
4196
  }
4197
+ /**
4198
+ * @export
4199
+ * @enum {string}
4200
+ */
4201
+ export declare enum GetAleoCuratedPricesNetworkEnum {
4202
+ Testnet = "testnet",
4203
+ Mainnet = "mainnet"
4204
+ }
4121
4205
  /**
4122
4206
  * @export
4123
4207
  * @enum {string}
@@ -8,6 +8,7 @@ import '../models/AuthStorageEnum.js';
8
8
  import '../models/MFADeviceType.js';
9
9
  import '../models/MFASettingsActions.js';
10
10
  import '../models/TimeUnitEnum.js';
11
+ import { AleoCuratedPricesResponseFromJSON } from '../models/AleoCuratedPricesResponse.js';
11
12
  import { AttachSourceRequestToJSON } from '../models/AttachSourceRequest.js';
12
13
  import '../models/AttestationConveyancePreference.js';
13
14
  import '../models/AuthModeEnum.js';
@@ -122,6 +123,8 @@ import { FarcasterSignInRequestToJSON } from '../models/FarcasterSignInRequest.j
122
123
  import '../models/OnrampProviders.js';
123
124
  import '../models/GateRuleType.js';
124
125
  import { GeneratedTokenResponseFromJSON } from '../models/GeneratedTokenResponse.js';
126
+ import { GetAvailableEVMGaslessRelayerResponseFromJSON } from '../models/GetAvailableEVMGaslessRelayerResponse.js';
127
+ import { GetEVMSponsoredTransactionStatusResponseFromJSON } from '../models/GetEVMSponsoredTransactionStatusResponse.js';
125
128
  import { GetPasskeyAuthenticationOptionsResponseFromJSON } from '../models/GetPasskeyAuthenticationOptionsResponse.js';
126
129
  import { GetPasskeyRegistrationOptionsResponseFromJSON } from '../models/GetPasskeyRegistrationOptionsResponse.js';
127
130
  import { GetUserPasskeysResponseFromJSON } from '../models/GetUserPasskeysResponse.js';
@@ -3092,6 +3095,68 @@ class SDKApi extends BaseAPI {
3092
3095
  async getAccountBalancesOptions(requestParameters, initOverrides) {
3093
3096
  await this.getAccountBalancesOptionsRaw(requestParameters, initOverrides);
3094
3097
  }
3098
+ /**
3099
+ * Returns a stable list of `(address, isNative, tokenId, price)` rows for every curated Aleo token on the requested network — independent of the caller\'s balance. Used by the widget to display fiat values on the Shielded balance tab, which is built client-side from records and never goes through the multichain `/accountBalances` endpoint. Tokens whose CoinGecko id has no cached price are returned with `price: null`.
3100
+ * Get curated Aleo token prices for the given network
3101
+ */
3102
+ async getAleoCuratedPricesRaw(requestParameters, initOverrides) {
3103
+ if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
3104
+ throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling getAleoCuratedPrices.');
3105
+ }
3106
+ if (requestParameters.network === null || requestParameters.network === undefined) {
3107
+ throw new RequiredError('network', 'Required parameter requestParameters.network was null or undefined when calling getAleoCuratedPrices.');
3108
+ }
3109
+ const queryParameters = {};
3110
+ if (requestParameters.network !== undefined) {
3111
+ queryParameters['network'] = requestParameters.network;
3112
+ }
3113
+ const headerParameters = {};
3114
+ if (this.configuration && this.configuration.accessToken) {
3115
+ const token = this.configuration.accessToken;
3116
+ const tokenString = await token("bearerAuth", []);
3117
+ if (tokenString) {
3118
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
3119
+ }
3120
+ }
3121
+ const response = await this.request({
3122
+ path: `/sdk/{environmentId}/chains/aleo/prices`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))),
3123
+ method: 'GET',
3124
+ headers: headerParameters,
3125
+ query: queryParameters,
3126
+ }, initOverrides);
3127
+ return new JSONApiResponse(response, (jsonValue) => AleoCuratedPricesResponseFromJSON(jsonValue));
3128
+ }
3129
+ /**
3130
+ * Returns a stable list of `(address, isNative, tokenId, price)` rows for every curated Aleo token on the requested network — independent of the caller\'s balance. Used by the widget to display fiat values on the Shielded balance tab, which is built client-side from records and never goes through the multichain `/accountBalances` endpoint. Tokens whose CoinGecko id has no cached price are returned with `price: null`.
3131
+ * Get curated Aleo token prices for the given network
3132
+ */
3133
+ async getAleoCuratedPrices(requestParameters, initOverrides) {
3134
+ const response = await this.getAleoCuratedPricesRaw(requestParameters, initOverrides);
3135
+ return await response.value();
3136
+ }
3137
+ /**
3138
+ * Options call for this endpoint
3139
+ */
3140
+ async getAleoCuratedPricesOptionsRaw(requestParameters, initOverrides) {
3141
+ if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
3142
+ throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling getAleoCuratedPricesOptions.');
3143
+ }
3144
+ const queryParameters = {};
3145
+ const headerParameters = {};
3146
+ const response = await this.request({
3147
+ path: `/sdk/{environmentId}/chains/aleo/prices`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))),
3148
+ method: 'OPTIONS',
3149
+ headers: headerParameters,
3150
+ query: queryParameters,
3151
+ }, initOverrides);
3152
+ return new VoidApiResponse(response);
3153
+ }
3154
+ /**
3155
+ * Options call for this endpoint
3156
+ */
3157
+ async getAleoCuratedPricesOptions(requestParameters, initOverrides) {
3158
+ await this.getAleoCuratedPricesOptionsRaw(requestParameters, initOverrides);
3159
+ }
3095
3160
  /**
3096
3161
  * Returns the ANF-issued Feemaster policy for the given Aleo network. The policy lists which (programId, functionName) pairs the configured Bearer key sponsors. Forwarded server-side; the iframe never sees the Bearer key directly.
3097
3162
  * Get the ANF Feemaster sponsorship policy for Aleo
@@ -3308,6 +3373,61 @@ class SDKApi extends BaseAPI {
3308
3373
  const response = await this.getAuthenticatedUserRaw(requestParameters, initOverrides);
3309
3374
  return await response.value();
3310
3375
  }
3376
+ /**
3377
+ * Returns the relayer EOA that should be embedded in the EIP-712 sponsored transaction intent for the given chain. The address is owned by the project\'s relay backend and is the eventual `from` of the on-chain broadcast. Today a single relayer is returned; future implementations will round-robin across multiple workspace relayers.
3378
+ * Get an available EVM gasless relayer address
3379
+ */
3380
+ async getAvailableEVMGaslessRelayerRaw(requestParameters, initOverrides) {
3381
+ if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
3382
+ throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling getAvailableEVMGaslessRelayer.');
3383
+ }
3384
+ if (requestParameters.chainId === null || requestParameters.chainId === undefined) {
3385
+ throw new RequiredError('chainId', 'Required parameter requestParameters.chainId was null or undefined when calling getAvailableEVMGaslessRelayer.');
3386
+ }
3387
+ const queryParameters = {};
3388
+ if (requestParameters.chainId !== undefined) {
3389
+ queryParameters['chainId'] = requestParameters.chainId;
3390
+ }
3391
+ const headerParameters = {};
3392
+ const response = await this.request({
3393
+ path: `/sdk/{environmentId}/evm/availableGaslessRelayer`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))),
3394
+ method: 'GET',
3395
+ headers: headerParameters,
3396
+ query: queryParameters,
3397
+ }, initOverrides);
3398
+ return new JSONApiResponse(response, (jsonValue) => GetAvailableEVMGaslessRelayerResponseFromJSON(jsonValue));
3399
+ }
3400
+ /**
3401
+ * Returns the relayer EOA that should be embedded in the EIP-712 sponsored transaction intent for the given chain. The address is owned by the project\'s relay backend and is the eventual `from` of the on-chain broadcast. Today a single relayer is returned; future implementations will round-robin across multiple workspace relayers.
3402
+ * Get an available EVM gasless relayer address
3403
+ */
3404
+ async getAvailableEVMGaslessRelayer(requestParameters, initOverrides) {
3405
+ const response = await this.getAvailableEVMGaslessRelayerRaw(requestParameters, initOverrides);
3406
+ return await response.value();
3407
+ }
3408
+ /**
3409
+ * Options call for this endpoint
3410
+ */
3411
+ async getAvailableEVMGaslessRelayerOptionsRaw(requestParameters, initOverrides) {
3412
+ if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
3413
+ throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling getAvailableEVMGaslessRelayerOptions.');
3414
+ }
3415
+ const queryParameters = {};
3416
+ const headerParameters = {};
3417
+ const response = await this.request({
3418
+ path: `/sdk/{environmentId}/evm/availableGaslessRelayer`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))),
3419
+ method: 'OPTIONS',
3420
+ headers: headerParameters,
3421
+ query: queryParameters,
3422
+ }, initOverrides);
3423
+ return new VoidApiResponse(response);
3424
+ }
3425
+ /**
3426
+ * Options call for this endpoint
3427
+ */
3428
+ async getAvailableEVMGaslessRelayerOptions(requestParameters, initOverrides) {
3429
+ await this.getAvailableEVMGaslessRelayerOptionsRaw(requestParameters, initOverrides);
3430
+ }
3311
3431
  /**
3312
3432
  * This endpoint generates a short-lived JWT token for use with WAAS client backups. The token is valid for 1 minute and can only be used for storing and retrieving client keyshare backups. A Dynamic Auth user must be authenticated and have a Dynamic JWT to use this endpoint.
3313
3433
  * Generate a short-lived JWT token for use with WAAS client backups.
@@ -3524,6 +3644,61 @@ class SDKApi extends BaseAPI {
3524
3644
  async getCurrencyExchangeRatesOptions(requestParameters, initOverrides) {
3525
3645
  await this.getCurrencyExchangeRatesOptionsRaw(requestParameters, initOverrides);
3526
3646
  }
3647
+ /**
3648
+ * Returns the current status of a previously sponsored EVM transaction. Fetches the latest status from the relay provider and updates the stored record.
3649
+ * Get the status of a sponsored EVM transaction
3650
+ */
3651
+ async getEVMSponsoredTransactionStatusRaw(requestParameters, initOverrides) {
3652
+ if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
3653
+ throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling getEVMSponsoredTransactionStatus.');
3654
+ }
3655
+ if (requestParameters.requestId === null || requestParameters.requestId === undefined) {
3656
+ throw new RequiredError('requestId', 'Required parameter requestParameters.requestId was null or undefined when calling getEVMSponsoredTransactionStatus.');
3657
+ }
3658
+ const queryParameters = {};
3659
+ const headerParameters = {};
3660
+ const response = await this.request({
3661
+ path: `/sdk/{environmentId}/evm/sponsorTransaction/{requestId}`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"requestId"}}`, encodeURIComponent(String(requestParameters.requestId))),
3662
+ method: 'GET',
3663
+ headers: headerParameters,
3664
+ query: queryParameters,
3665
+ }, initOverrides);
3666
+ return new JSONApiResponse(response, (jsonValue) => GetEVMSponsoredTransactionStatusResponseFromJSON(jsonValue));
3667
+ }
3668
+ /**
3669
+ * Returns the current status of a previously sponsored EVM transaction. Fetches the latest status from the relay provider and updates the stored record.
3670
+ * Get the status of a sponsored EVM transaction
3671
+ */
3672
+ async getEVMSponsoredTransactionStatus(requestParameters, initOverrides) {
3673
+ const response = await this.getEVMSponsoredTransactionStatusRaw(requestParameters, initOverrides);
3674
+ return await response.value();
3675
+ }
3676
+ /**
3677
+ * Options call for this endpoint
3678
+ */
3679
+ async getEVMSponsoredTransactionStatusOptionsRaw(requestParameters, initOverrides) {
3680
+ if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
3681
+ throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling getEVMSponsoredTransactionStatusOptions.');
3682
+ }
3683
+ if (requestParameters.requestId === null || requestParameters.requestId === undefined) {
3684
+ throw new RequiredError('requestId', 'Required parameter requestParameters.requestId was null or undefined when calling getEVMSponsoredTransactionStatusOptions.');
3685
+ }
3686
+ const queryParameters = {};
3687
+ const headerParameters = {};
3688
+ const response = await this.request({
3689
+ path: `/sdk/{environmentId}/evm/sponsorTransaction/{requestId}`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"requestId"}}`, encodeURIComponent(String(requestParameters.requestId))),
3690
+ method: 'OPTIONS',
3691
+ headers: headerParameters,
3692
+ query: queryParameters,
3693
+ }, initOverrides);
3694
+ return new VoidApiResponse(response);
3695
+ }
3696
+ /**
3697
+ * Options call for this endpoint
3698
+ */
3699
+ async getEVMSponsoredTransactionStatusOptions(requestParameters, initOverrides) {
3700
+ await this.getEVMSponsoredTransactionStatusOptionsRaw(requestParameters, initOverrides);
3701
+ }
3527
3702
  /**
3528
3703
  * Return the email provider to be used for signing in with a given email. If an external provider such as magicLink is disabled, this endpoint would return emailOnly. If an external provider such as magicLink is enabled, it will return emailOnly when the email already exists in Dynamic and it is associated with a wallet, otherwise it will return magicLink.
3529
3704
  * Get the sign-in email provider
@@ -9863,6 +10038,15 @@ class SDKApi extends BaseAPI {
9863
10038
  await this.walletsVerifyOptionsRaw(requestParameters, initOverrides);
9864
10039
  }
9865
10040
  }
10041
+ /**
10042
+ * @export
10043
+ * @enum {string}
10044
+ */
10045
+ var GetAleoCuratedPricesNetworkEnum;
10046
+ (function (GetAleoCuratedPricesNetworkEnum) {
10047
+ GetAleoCuratedPricesNetworkEnum["Testnet"] = "testnet";
10048
+ GetAleoCuratedPricesNetworkEnum["Mainnet"] = "mainnet";
10049
+ })(GetAleoCuratedPricesNetworkEnum || (GetAleoCuratedPricesNetworkEnum = {}));
9866
10050
  /**
9867
10051
  * @export
9868
10052
  * @enum {string}
@@ -9891,4 +10075,4 @@ var IsAleoFeemasterCoveredNetworkEnum;
9891
10075
  IsAleoFeemasterCoveredNetworkEnum["Mainnet"] = "mainnet";
9892
10076
  })(IsAleoFeemasterCoveredNetworkEnum || (IsAleoFeemasterCoveredNetworkEnum = {}));
9893
10077
 
9894
- export { GetAleoFeemasterPolicyNetworkEnum, GetAleoScannerPubkeyNetworkEnum, IsAleoFeemasterCoveredNetworkEnum, SDKApi };
10078
+ export { GetAleoCuratedPricesNetworkEnum, GetAleoFeemasterPolicyNetworkEnum, GetAleoScannerPubkeyNetworkEnum, IsAleoFeemasterCoveredNetworkEnum, SDKApi };
@@ -83,6 +83,7 @@ require('../models/ExportModelEnum.cjs');
83
83
  require('../models/ExportStatusEnum.cjs');
84
84
  require('../models/ExternalWalletFundingDefaultChain.cjs');
85
85
  require('../models/GateRuleType.cjs');
86
+ require('../models/GetEVMSponsoredTransactionStatusResponse.cjs');
86
87
  require('../models/PasskeyTransport.cjs');
87
88
  require('../models/PasskeyCredentialHint.cjs');
88
89
  require('../models/PasskeyCredentialType.cjs');
@@ -79,6 +79,7 @@ import '../models/ExportModelEnum.js';
79
79
  import '../models/ExportStatusEnum.js';
80
80
  import '../models/ExternalWalletFundingDefaultChain.js';
81
81
  import '../models/GateRuleType.js';
82
+ import '../models/GetEVMSponsoredTransactionStatusResponse.js';
82
83
  import '../models/PasskeyTransport.js';
83
84
  import '../models/PasskeyCredentialHint.js';
84
85
  import '../models/PasskeyCredentialType.js';
@@ -86,6 +86,7 @@ require('../models/ExportModelEnum.cjs');
86
86
  require('../models/ExportStatusEnum.cjs');
87
87
  require('../models/ExternalWalletFundingDefaultChain.cjs');
88
88
  require('../models/GateRuleType.cjs');
89
+ require('../models/GetEVMSponsoredTransactionStatusResponse.cjs');
89
90
  require('../models/PasskeyTransport.cjs');
90
91
  require('../models/PasskeyCredentialHint.cjs');
91
92
  require('../models/PasskeyCredentialType.cjs');