@turnkey/sdk-browser 7.0.0 → 8.1.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.
@@ -3,26 +3,6 @@
3
3
  * Do not make direct changes to the file.
4
4
  */
5
5
  export type paths = {
6
- "/public/v1/query/earn_deposit_status": {
7
- /** Poll the status of a deposit by its deposit_request_id (for the async/sponsored deposit path). */
8
- post: operations["PublicApiService_EarnDepositStatus"];
9
- };
10
- "/public/v1/query/earn_enabled_vaults": {
11
- /** Get the organization's deployed wrappers with on-chain total deposited and live APY. The management view, distinct from per-wallet positions. */
12
- post: operations["PublicApiService_EarnEnabledVaults"];
13
- };
14
- "/public/v1/query/earn_positions": {
15
- /** Get the active Earn positions for a specific wallet, including current value, cost basis, yield, and projected fees. */
16
- post: operations["PublicApiService_EarnPositions"];
17
- };
18
- "/public/v1/query/earn_vaults": {
19
- /** Get the catalog of all wrappable yield vaults across supported chains, enriched with live TVL and APY. Annotates which vaults the organization has already enabled. */
20
- post: operations["PublicApiService_EarnVaults"];
21
- };
22
- "/public/v1/query/earn_withdraw_status": {
23
- /** Poll the status of a withdrawal by its withdraw_request_id. */
24
- post: operations["PublicApiService_EarnWithdrawStatus"];
25
- };
26
6
  "/public/v1/query/get_activity": {
27
7
  /** Get details about an activity. */
28
8
  post: operations["PublicApiService_GetActivity"];
@@ -51,6 +31,22 @@ export type paths = {
51
31
  /** Get the boot proof for a given ephemeral key. */
52
32
  post: operations["PublicApiService_GetBootProof"];
53
33
  };
34
+ "/public/v1/query/get_claim_earn_fees_status": {
35
+ /** Poll the status of a fee claim by its claim_request_id. */
36
+ post: operations["PublicApiService_GetClaimEarnFeesStatus"];
37
+ };
38
+ "/public/v1/query/get_earn_deploy_status": {
39
+ /** Poll the status of a wrapper deployment by its deploy_request_id. */
40
+ post: operations["PublicApiService_GetEarnDeployStatus"];
41
+ };
42
+ "/public/v1/query/get_earn_deposit_status": {
43
+ /** Poll the status of a deposit by its deposit_request_id (for the async/sponsored deposit path). */
44
+ post: operations["PublicApiService_GetEarnDepositStatus"];
45
+ };
46
+ "/public/v1/query/get_earn_withdraw_status": {
47
+ /** Poll the status of a withdrawal by its withdraw_request_id. */
48
+ post: operations["PublicApiService_GetEarnWithdrawStatus"];
49
+ };
54
50
  "/public/v1/query/get_gas_usage": {
55
51
  /** Get gas usage and gas limits for either the parent organization or a sub-organization. */
56
52
  post: operations["PublicApiService_GetGasUsage"];
@@ -127,12 +123,8 @@ export type paths = {
127
123
  /** Get details about a smart contract interface. */
128
124
  post: operations["PublicApiService_GetSmartContractInterface"];
129
125
  };
130
- "/public/v1/query/get_swap_quote": {
131
- /** Get a swap quote. Asset chains are derived from CAIP-19 asset IDs; cross-chain quotes are supported. */
132
- post: operations["PublicApiService_GetSwapQuote"];
133
- };
134
126
  "/public/v1/query/get_swap_status": {
135
- /** Get the status of a swap by the send_transaction_status_id returned from execute_swap. Covers same-chain and cross-chain swaps. */
127
+ /** Poll the status of a swap by its swap_request_id. Covers same-chain and cross-chain swaps. */
136
128
  post: operations["PublicApiService_GetSwapStatus"];
137
129
  };
138
130
  "/public/v1/query/get_tvc_app": {
@@ -175,10 +167,26 @@ export type paths = {
175
167
  /** List the App Proofs for the given activity. */
176
168
  post: operations["PublicApiService_GetAppProofs"];
177
169
  };
170
+ "/public/v1/query/list_earn_enabled_vaults": {
171
+ /** Get the organization's deployed wrappers with on-chain total deposited and live APY. The management view, distinct from per-wallet positions. */
172
+ post: operations["PublicApiService_ListEarnEnabledVaults"];
173
+ };
174
+ "/public/v1/query/list_earn_positions": {
175
+ /** Get the active Earn positions for a specific wallet, including current value, cost basis, yield, and projected fees. */
176
+ post: operations["PublicApiService_ListEarnPositions"];
177
+ };
178
+ "/public/v1/query/list_earn_vaults": {
179
+ /** Get the catalog of all wrappable yield vaults across supported chains, enriched with live TVL and APY. Annotates which vaults the organization has already enabled. */
180
+ post: operations["PublicApiService_ListEarnVaults"];
181
+ };
178
182
  "/public/v1/query/list_email_events": {
179
183
  /** List email events for the organization. */
180
184
  post: operations["PublicApiService_ListEmailEvents"];
181
185
  };
186
+ "/public/v1/query/list_eth_transaction_history": {
187
+ /** List Ethereum transaction history for a wallet address on the specified network. */
188
+ post: operations["PublicApiService_ListEthTransactionHistory"];
189
+ };
182
190
  "/public/v1/query/list_fiat_on_ramp_credentials": {
183
191
  /** List all fiat on ramp provider credentials within an organization. */
184
192
  post: operations["PublicApiService_ListFiatOnRampCredentials"];
@@ -203,6 +211,10 @@ export type paths = {
203
211
  /** List all smart contract interfaces within an organization. */
204
212
  post: operations["PublicApiService_GetSmartContractInterfaces"];
205
213
  };
214
+ "/public/v1/query/list_sol_transaction_history": {
215
+ /** List Solana transaction history for a wallet address on the specified network. */
216
+ post: operations["PublicApiService_ListSolTransactionHistory"];
217
+ };
206
218
  "/public/v1/query/list_suborgs": {
207
219
  /** Get all suborg IDs associated given a parent org ID and an optional filter. */
208
220
  post: operations["PublicApiService_GetSubOrgIds"];
@@ -255,6 +267,14 @@ export type paths = {
255
267
  /** Approve an activity. */
256
268
  post: operations["PublicApiService_ApproveActivity"];
257
269
  };
270
+ "/public/v1/submit/claim_earn_fees": {
271
+ /** Claim earn fees through the activity pipeline. */
272
+ post: operations["PublicApiService_ClaimEarnFees"];
273
+ };
274
+ "/public/v1/submit/claim_swap_fees": {
275
+ /** Claim swap fees through the activity pipeline. */
276
+ post: operations["PublicApiService_ClaimSwapFees"];
277
+ };
258
278
  "/public/v1/submit/create_api_keys": {
259
279
  /** Add API keys to an existing user. */
260
280
  post: operations["PublicApiService_CreateApiKeys"];
@@ -320,9 +340,13 @@ export type paths = {
320
340
  post: operations["PublicApiService_CreateSmartContractInterface"];
321
341
  };
322
342
  "/public/v1/submit/create_sub_organization": {
323
- /** Create a new sub-organization. */
343
+ /** Create a new sub-organization. Each root user must have at least one valid credential: an API key, an authenticator, an OAuth provider, or an email or phone number with a login method enabled on the sub-organization (email, email OTP, or SMS). */
324
344
  post: operations["PublicApiService_CreateSubOrganization"];
325
345
  };
346
+ "/public/v1/submit/create_swap_quote": {
347
+ /** Get a swap quote. Asset chains are derived from CAIP-19 asset IDs; cross-chain quotes are supported. */
348
+ post: operations["PublicApiService_CreateSwapQuote"];
349
+ };
326
350
  "/public/v1/submit/create_tvc_app": {
327
351
  /** Create a new TVC application */
328
352
  post: operations["PublicApiService_CreateTvcApp"];
@@ -348,7 +372,7 @@ export type paths = {
348
372
  post: operations["PublicApiService_CreateUserTag"];
349
373
  };
350
374
  "/public/v1/submit/create_users": {
351
- /** Create users in an existing organization. */
375
+ /** Create users in an existing organization. Each user must have at least one valid credential: an API key, an authenticator, an OAuth provider, or an email or phone number with a login method enabled on the organization (email, email OTP, or SMS). */
352
376
  post: operations["PublicApiService_CreateUsers"];
353
377
  };
354
378
  "/public/v1/submit/create_wallet": {
@@ -451,6 +475,10 @@ export type paths = {
451
475
  /** Deposit assets from a wallet into an enabled yield vault. */
452
476
  post: operations["PublicApiService_EarnDeposit"];
453
477
  };
478
+ "/public/v1/submit/earn_set_wrapper_state": {
479
+ /** Enable or disable deposits to a deployed Earn wrapper. Withdrawals are always allowed. */
480
+ post: operations["PublicApiService_EarnSetWrapperState"];
481
+ };
454
482
  "/public/v1/submit/earn_withdraw": {
455
483
  /** Withdraw assets or redeem shares from an enabled yield vault. */
456
484
  post: operations["PublicApiService_EarnWithdraw"];
@@ -467,8 +495,12 @@ export type paths = {
467
495
  /** Submit a transaction intent describing an EVM transaction you would like to broadcast. */
468
496
  post: operations["PublicApiService_EthSendTransaction"];
469
497
  };
498
+ "/public/v1/submit/eth_undelegate_7702": {
499
+ /** Submit an EIP-7702 undelegation transaction. */
500
+ post: operations["PublicApiService_EthUndelegate7702"];
501
+ };
470
502
  "/public/v1/submit/execute_swap": {
471
- /** Execute a quoted swap through the activity pipeline and Turnkey broadcasting. */
503
+ /** Execute the exact provider quote identified by quote_id through the activity pipeline and Turnkey broadcasting. Requests must use ACTIVITY_TYPE_EXECUTE_SWAP_V2. */
472
504
  post: operations["PublicApiService_ExecuteSwap"];
473
505
  };
474
506
  "/public/v1/submit/export_private_key": {
@@ -499,6 +531,10 @@ export type paths = {
499
531
  /** Initialize a new private key import. */
500
532
  post: operations["PublicApiService_InitImportPrivateKey"];
501
533
  };
534
+ "/public/v1/submit/init_import_secrets": {
535
+ /** Initialize secret imports by generating Ingress Encryption Target Keys. */
536
+ post: operations["PublicApiService_InitImportSecrets"];
537
+ };
502
538
  "/public/v1/submit/init_import_wallet": {
503
539
  /** Initialize a new wallet import. */
504
540
  post: operations["PublicApiService_InitImportWallet"];
@@ -588,7 +624,7 @@ export type paths = {
588
624
  post: operations["PublicApiService_SignTransaction"];
589
625
  };
590
626
  "/public/v1/submit/sol_send_transaction": {
591
- /** Submit a transaction intent describing an SVM transaction you would like to broadcast. */
627
+ /** Submit a transaction intent describing an SVM transaction you would like to broadcast. Supports single- and multi-signer intents via activity type versioning. */
592
628
  post: operations["PublicApiService_SolSendTransaction"];
593
629
  };
594
630
  "/public/v1/submit/spark_claim_transfer": {
@@ -667,10 +703,6 @@ export type paths = {
667
703
  /** Update a webhook endpoint for an organization. */
668
704
  post: operations["PublicApiService_UpdateWebhookEndpoint"];
669
705
  };
670
- "/public/v1/submit/upsert_earn_client_fee_config": {
671
- /** Set the client's Earn fee rate and payout wallet for the organization. */
672
- post: operations["PublicApiService_UpsertEarnClientFeeConfig"];
673
- };
674
706
  "/public/v1/submit/upsert_swap_config": {
675
707
  /** Enable or disable swap configuration for an organization. */
676
708
  post: operations["PublicApiService_UpsertSwapConfig"];
@@ -889,7 +921,7 @@ export type definitions = {
889
921
  /** @enum {string} */
890
922
  v1ActivityStatus: "ACTIVITY_STATUS_CREATED" | "ACTIVITY_STATUS_PENDING" | "ACTIVITY_STATUS_COMPLETED" | "ACTIVITY_STATUS_FAILED" | "ACTIVITY_STATUS_CONSENSUS_NEEDED" | "ACTIVITY_STATUS_REJECTED" | "ACTIVITY_STATUS_AUTHENTICATORS_NEEDED";
891
923
  /** @enum {string} */
892
- v1ActivityType: "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" | "ACTIVITY_TYPE_UPDATE_USER_TAG" | "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2" | "ACTIVITY_TYPE_CREATE_ORGANIZATION_V2" | "ACTIVITY_TYPE_CREATE_USERS_V2" | "ACTIVITY_TYPE_ACCEPT_INVITATION_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V2" | "ACTIVITY_TYPE_UPDATE_ALLOWED_ORIGINS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS_V2" | "ACTIVITY_TYPE_UPDATE_USER" | "ACTIVITY_TYPE_UPDATE_POLICY" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V3" | "ACTIVITY_TYPE_CREATE_WALLET" | "ACTIVITY_TYPE_CREATE_WALLET_ACCOUNTS" | "ACTIVITY_TYPE_INIT_USER_EMAIL_RECOVERY" | "ACTIVITY_TYPE_RECOVER_USER" | "ACTIVITY_TYPE_SET_ORGANIZATION_FEATURE" | "ACTIVITY_TYPE_REMOVE_ORGANIZATION_FEATURE" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD_V2" | "ACTIVITY_TYPE_SIGN_TRANSACTION_V2" | "ACTIVITY_TYPE_EXPORT_PRIVATE_KEY" | "ACTIVITY_TYPE_EXPORT_WALLET" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V4" | "ACTIVITY_TYPE_EMAIL_AUTH" | "ACTIVITY_TYPE_EXPORT_WALLET_ACCOUNT" | "ACTIVITY_TYPE_INIT_IMPORT_WALLET" | "ACTIVITY_TYPE_IMPORT_WALLET" | "ACTIVITY_TYPE_INIT_IMPORT_PRIVATE_KEY" | "ACTIVITY_TYPE_IMPORT_PRIVATE_KEY" | "ACTIVITY_TYPE_CREATE_POLICIES" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOADS" | "ACTIVITY_TYPE_CREATE_READ_ONLY_SESSION" | "ACTIVITY_TYPE_CREATE_OAUTH_PROVIDERS" | "ACTIVITY_TYPE_DELETE_OAUTH_PROVIDERS" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V5" | "ACTIVITY_TYPE_OAUTH" | "ACTIVITY_TYPE_CREATE_API_KEYS_V2" | "ACTIVITY_TYPE_CREATE_READ_WRITE_SESSION" | "ACTIVITY_TYPE_EMAIL_AUTH_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V6" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEYS" | "ACTIVITY_TYPE_DELETE_WALLETS" | "ACTIVITY_TYPE_CREATE_READ_WRITE_SESSION_V2" | "ACTIVITY_TYPE_DELETE_SUB_ORGANIZATION" | "ACTIVITY_TYPE_INIT_OTP_AUTH" | "ACTIVITY_TYPE_OTP_AUTH" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V7" | "ACTIVITY_TYPE_UPDATE_WALLET" | "ACTIVITY_TYPE_UPDATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_USERS_V3" | "ACTIVITY_TYPE_INIT_OTP_AUTH_V2" | "ACTIVITY_TYPE_INIT_OTP" | "ACTIVITY_TYPE_VERIFY_OTP" | "ACTIVITY_TYPE_OTP_LOGIN" | "ACTIVITY_TYPE_STAMP_LOGIN" | "ACTIVITY_TYPE_OAUTH_LOGIN" | "ACTIVITY_TYPE_UPDATE_USER_NAME" | "ACTIVITY_TYPE_UPDATE_USER_EMAIL" | "ACTIVITY_TYPE_UPDATE_USER_PHONE_NUMBER" | "ACTIVITY_TYPE_INIT_FIAT_ON_RAMP" | "ACTIVITY_TYPE_CREATE_SMART_CONTRACT_INTERFACE" | "ACTIVITY_TYPE_DELETE_SMART_CONTRACT_INTERFACE" | "ACTIVITY_TYPE_ENABLE_AUTH_PROXY" | "ACTIVITY_TYPE_DISABLE_AUTH_PROXY" | "ACTIVITY_TYPE_UPDATE_AUTH_PROXY_CONFIG" | "ACTIVITY_TYPE_CREATE_OAUTH2_CREDENTIAL" | "ACTIVITY_TYPE_UPDATE_OAUTH2_CREDENTIAL" | "ACTIVITY_TYPE_DELETE_OAUTH2_CREDENTIAL" | "ACTIVITY_TYPE_OAUTH2_AUTHENTICATE" | "ACTIVITY_TYPE_DELETE_WALLET_ACCOUNTS" | "ACTIVITY_TYPE_DELETE_POLICIES" | "ACTIVITY_TYPE_ETH_SEND_RAW_TRANSACTION" | "ACTIVITY_TYPE_ETH_SEND_TRANSACTION" | "ACTIVITY_TYPE_CREATE_FIAT_ON_RAMP_CREDENTIAL" | "ACTIVITY_TYPE_UPDATE_FIAT_ON_RAMP_CREDENTIAL" | "ACTIVITY_TYPE_DELETE_FIAT_ON_RAMP_CREDENTIAL" | "ACTIVITY_TYPE_EMAIL_AUTH_V3" | "ACTIVITY_TYPE_INIT_USER_EMAIL_RECOVERY_V2" | "ACTIVITY_TYPE_INIT_OTP_AUTH_V3" | "ACTIVITY_TYPE_INIT_OTP_V2" | "ACTIVITY_TYPE_UPSERT_GAS_USAGE_CONFIG" | "ACTIVITY_TYPE_CREATE_TVC_APP" | "ACTIVITY_TYPE_CREATE_TVC_DEPLOYMENT" | "ACTIVITY_TYPE_CREATE_TVC_MANIFEST_APPROVALS" | "ACTIVITY_TYPE_SOL_SEND_TRANSACTION" | "ACTIVITY_TYPE_INIT_OTP_V3" | "ACTIVITY_TYPE_VERIFY_OTP_V2" | "ACTIVITY_TYPE_OTP_LOGIN_V2" | "ACTIVITY_TYPE_UPDATE_ORGANIZATION_NAME" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V8" | "ACTIVITY_TYPE_CREATE_OAUTH_PROVIDERS_V2" | "ACTIVITY_TYPE_CREATE_USERS_V4" | "ACTIVITY_TYPE_CREATE_WEBHOOK_ENDPOINT" | "ACTIVITY_TYPE_UPDATE_WEBHOOK_ENDPOINT" | "ACTIVITY_TYPE_DELETE_WEBHOOK_ENDPOINT" | "ACTIVITY_TYPE_SET_IP_ALLOWLIST" | "ACTIVITY_TYPE_REMOVE_IP_ALLOWLIST" | "ACTIVITY_TYPE_UPDATE_TVC_APP_LIVE_DEPLOYMENT" | "ACTIVITY_TYPE_DELETE_TVC_DEPLOYMENT" | "ACTIVITY_TYPE_DELETE_TVC_APP_AND_DEPLOYMENTS" | "ACTIVITY_TYPE_RESTORE_TVC_DEPLOYMENT" | "ACTIVITY_TYPE_SPARK_SIGN_FROST" | "ACTIVITY_TYPE_SPARK_PREPARE_TRANSFER" | "ACTIVITY_TYPE_SPARK_CLAIM_TRANSFER" | "ACTIVITY_TYPE_SPARK_PREPARE_LIGHTNING_RECEIVE" | "ACTIVITY_TYPE_POST_TVC_QUORUM_KEY_SHARE" | "ACTIVITY_TYPE_ETH_SEND_TRANSACTION_V2" | "ACTIVITY_TYPE_CREATE_MFA_POLICY" | "ACTIVITY_TYPE_UPDATE_MFA_POLICY" | "ACTIVITY_TYPE_DELETE_MFA_POLICY" | "ACTIVITY_TYPE_CREATE_SESSION_PROFILE" | "ACTIVITY_TYPE_EARN_DEPLOY_WRAPPER" | "ACTIVITY_TYPE_EARN_DEPOSIT" | "ACTIVITY_TYPE_EARN_WITHDRAW" | "ACTIVITY_TYPE_UPSERT_EARN_CLIENT_FEE_CONFIG" | "ACTIVITY_TYPE_EXECUTE_SWAP" | "ACTIVITY_TYPE_UPSERT_SWAP_CONFIG" | "ACTIVITY_TYPE_CREATE_TVC_OPERATOR" | "ACTIVITY_TYPE_CREATE_TVC_QUORUM_KEY" | "ACTIVITY_TYPE_RE_ENCRYPT_TVC_QUORUM_KEY_SHARE";
924
+ v1ActivityType: "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" | "ACTIVITY_TYPE_UPDATE_USER_TAG" | "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2" | "ACTIVITY_TYPE_CREATE_ORGANIZATION_V2" | "ACTIVITY_TYPE_CREATE_USERS_V2" | "ACTIVITY_TYPE_ACCEPT_INVITATION_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V2" | "ACTIVITY_TYPE_UPDATE_ALLOWED_ORIGINS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS_V2" | "ACTIVITY_TYPE_UPDATE_USER" | "ACTIVITY_TYPE_UPDATE_POLICY" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V3" | "ACTIVITY_TYPE_CREATE_WALLET" | "ACTIVITY_TYPE_CREATE_WALLET_ACCOUNTS" | "ACTIVITY_TYPE_INIT_USER_EMAIL_RECOVERY" | "ACTIVITY_TYPE_RECOVER_USER" | "ACTIVITY_TYPE_SET_ORGANIZATION_FEATURE" | "ACTIVITY_TYPE_REMOVE_ORGANIZATION_FEATURE" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD_V2" | "ACTIVITY_TYPE_SIGN_TRANSACTION_V2" | "ACTIVITY_TYPE_EXPORT_PRIVATE_KEY" | "ACTIVITY_TYPE_EXPORT_WALLET" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V4" | "ACTIVITY_TYPE_EMAIL_AUTH" | "ACTIVITY_TYPE_EXPORT_WALLET_ACCOUNT" | "ACTIVITY_TYPE_INIT_IMPORT_WALLET" | "ACTIVITY_TYPE_IMPORT_WALLET" | "ACTIVITY_TYPE_INIT_IMPORT_PRIVATE_KEY" | "ACTIVITY_TYPE_IMPORT_PRIVATE_KEY" | "ACTIVITY_TYPE_CREATE_POLICIES" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOADS" | "ACTIVITY_TYPE_CREATE_READ_ONLY_SESSION" | "ACTIVITY_TYPE_CREATE_OAUTH_PROVIDERS" | "ACTIVITY_TYPE_DELETE_OAUTH_PROVIDERS" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V5" | "ACTIVITY_TYPE_OAUTH" | "ACTIVITY_TYPE_CREATE_API_KEYS_V2" | "ACTIVITY_TYPE_CREATE_READ_WRITE_SESSION" | "ACTIVITY_TYPE_EMAIL_AUTH_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V6" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEYS" | "ACTIVITY_TYPE_DELETE_WALLETS" | "ACTIVITY_TYPE_CREATE_READ_WRITE_SESSION_V2" | "ACTIVITY_TYPE_DELETE_SUB_ORGANIZATION" | "ACTIVITY_TYPE_INIT_OTP_AUTH" | "ACTIVITY_TYPE_OTP_AUTH" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V7" | "ACTIVITY_TYPE_UPDATE_WALLET" | "ACTIVITY_TYPE_UPDATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_USERS_V3" | "ACTIVITY_TYPE_INIT_OTP_AUTH_V2" | "ACTIVITY_TYPE_INIT_OTP" | "ACTIVITY_TYPE_VERIFY_OTP" | "ACTIVITY_TYPE_OTP_LOGIN" | "ACTIVITY_TYPE_STAMP_LOGIN" | "ACTIVITY_TYPE_OAUTH_LOGIN" | "ACTIVITY_TYPE_UPDATE_USER_NAME" | "ACTIVITY_TYPE_UPDATE_USER_EMAIL" | "ACTIVITY_TYPE_UPDATE_USER_PHONE_NUMBER" | "ACTIVITY_TYPE_INIT_FIAT_ON_RAMP" | "ACTIVITY_TYPE_CREATE_SMART_CONTRACT_INTERFACE" | "ACTIVITY_TYPE_DELETE_SMART_CONTRACT_INTERFACE" | "ACTIVITY_TYPE_ENABLE_AUTH_PROXY" | "ACTIVITY_TYPE_DISABLE_AUTH_PROXY" | "ACTIVITY_TYPE_UPDATE_AUTH_PROXY_CONFIG" | "ACTIVITY_TYPE_CREATE_OAUTH2_CREDENTIAL" | "ACTIVITY_TYPE_UPDATE_OAUTH2_CREDENTIAL" | "ACTIVITY_TYPE_DELETE_OAUTH2_CREDENTIAL" | "ACTIVITY_TYPE_OAUTH2_AUTHENTICATE" | "ACTIVITY_TYPE_DELETE_WALLET_ACCOUNTS" | "ACTIVITY_TYPE_DELETE_POLICIES" | "ACTIVITY_TYPE_ETH_SEND_RAW_TRANSACTION" | "ACTIVITY_TYPE_ETH_SEND_TRANSACTION" | "ACTIVITY_TYPE_CREATE_FIAT_ON_RAMP_CREDENTIAL" | "ACTIVITY_TYPE_UPDATE_FIAT_ON_RAMP_CREDENTIAL" | "ACTIVITY_TYPE_DELETE_FIAT_ON_RAMP_CREDENTIAL" | "ACTIVITY_TYPE_EMAIL_AUTH_V3" | "ACTIVITY_TYPE_INIT_USER_EMAIL_RECOVERY_V2" | "ACTIVITY_TYPE_INIT_OTP_AUTH_V3" | "ACTIVITY_TYPE_INIT_OTP_V2" | "ACTIVITY_TYPE_UPSERT_GAS_USAGE_CONFIG" | "ACTIVITY_TYPE_CREATE_TVC_APP" | "ACTIVITY_TYPE_CREATE_TVC_DEPLOYMENT" | "ACTIVITY_TYPE_CREATE_TVC_MANIFEST_APPROVALS" | "ACTIVITY_TYPE_SOL_SEND_TRANSACTION" | "ACTIVITY_TYPE_INIT_OTP_V3" | "ACTIVITY_TYPE_VERIFY_OTP_V2" | "ACTIVITY_TYPE_OTP_LOGIN_V2" | "ACTIVITY_TYPE_UPDATE_ORGANIZATION_NAME" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V8" | "ACTIVITY_TYPE_CREATE_OAUTH_PROVIDERS_V2" | "ACTIVITY_TYPE_CREATE_USERS_V4" | "ACTIVITY_TYPE_CREATE_WEBHOOK_ENDPOINT" | "ACTIVITY_TYPE_UPDATE_WEBHOOK_ENDPOINT" | "ACTIVITY_TYPE_DELETE_WEBHOOK_ENDPOINT" | "ACTIVITY_TYPE_SET_IP_ALLOWLIST" | "ACTIVITY_TYPE_REMOVE_IP_ALLOWLIST" | "ACTIVITY_TYPE_UPDATE_TVC_APP_LIVE_DEPLOYMENT" | "ACTIVITY_TYPE_DELETE_TVC_DEPLOYMENT" | "ACTIVITY_TYPE_DELETE_TVC_APP_AND_DEPLOYMENTS" | "ACTIVITY_TYPE_RESTORE_TVC_DEPLOYMENT" | "ACTIVITY_TYPE_SPARK_SIGN_FROST" | "ACTIVITY_TYPE_SPARK_PREPARE_TRANSFER" | "ACTIVITY_TYPE_SPARK_CLAIM_TRANSFER" | "ACTIVITY_TYPE_SPARK_PREPARE_LIGHTNING_RECEIVE" | "ACTIVITY_TYPE_POST_TVC_QUORUM_KEY_SHARE" | "ACTIVITY_TYPE_ETH_SEND_TRANSACTION_V2" | "ACTIVITY_TYPE_CREATE_MFA_POLICY" | "ACTIVITY_TYPE_UPDATE_MFA_POLICY" | "ACTIVITY_TYPE_DELETE_MFA_POLICY" | "ACTIVITY_TYPE_CREATE_SESSION_PROFILE" | "ACTIVITY_TYPE_EARN_DEPLOY_WRAPPER" | "ACTIVITY_TYPE_EARN_DEPOSIT" | "ACTIVITY_TYPE_EARN_WITHDRAW" | "ACTIVITY_TYPE_EXECUTE_SWAP" | "ACTIVITY_TYPE_UPSERT_SWAP_CONFIG" | "ACTIVITY_TYPE_CREATE_TVC_OPERATOR" | "ACTIVITY_TYPE_CREATE_TVC_QUORUM_KEY" | "ACTIVITY_TYPE_RE_ENCRYPT_TVC_QUORUM_KEY_SHARE" | "ACTIVITY_TYPE_INIT_IMPORT_SECRETS" | "ACTIVITY_TYPE_SOL_SEND_TRANSACTION_V2" | "ACTIVITY_TYPE_CLAIM_SWAP_FEES" | "ACTIVITY_TYPE_EARN_SET_WRAPPER_STATE" | "ACTIVITY_TYPE_CLAIM_EARN_FEES" | "ACTIVITY_TYPE_UPDATE_WALLET_ACCOUNT_NAME" | "ACTIVITY_TYPE_ETH_UNDELEGATE_7702" | "ACTIVITY_TYPE_EXECUTE_SWAP_V2" | "ACTIVITY_TYPE_CREATE_SWAP_QUOTE";
893
925
  /** @enum {string} */
894
926
  v1AddressFormat: "ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM" | "ADDRESS_FORMAT_SOLANA" | "ADDRESS_FORMAT_COSMOS" | "ADDRESS_FORMAT_TRON" | "ADDRESS_FORMAT_SUI" | "ADDRESS_FORMAT_APTOS" | "ADDRESS_FORMAT_BITCOIN_MAINNET_P2PKH" | "ADDRESS_FORMAT_BITCOIN_MAINNET_P2SH" | "ADDRESS_FORMAT_BITCOIN_MAINNET_P2WPKH" | "ADDRESS_FORMAT_BITCOIN_MAINNET_P2WSH" | "ADDRESS_FORMAT_BITCOIN_MAINNET_P2TR" | "ADDRESS_FORMAT_BITCOIN_TESTNET_P2PKH" | "ADDRESS_FORMAT_BITCOIN_TESTNET_P2SH" | "ADDRESS_FORMAT_BITCOIN_TESTNET_P2WPKH" | "ADDRESS_FORMAT_BITCOIN_TESTNET_P2WSH" | "ADDRESS_FORMAT_BITCOIN_TESTNET_P2TR" | "ADDRESS_FORMAT_BITCOIN_SIGNET_P2PKH" | "ADDRESS_FORMAT_BITCOIN_SIGNET_P2SH" | "ADDRESS_FORMAT_BITCOIN_SIGNET_P2WPKH" | "ADDRESS_FORMAT_BITCOIN_SIGNET_P2WSH" | "ADDRESS_FORMAT_BITCOIN_SIGNET_P2TR" | "ADDRESS_FORMAT_BITCOIN_REGTEST_P2PKH" | "ADDRESS_FORMAT_BITCOIN_REGTEST_P2SH" | "ADDRESS_FORMAT_BITCOIN_REGTEST_P2WPKH" | "ADDRESS_FORMAT_BITCOIN_REGTEST_P2WSH" | "ADDRESS_FORMAT_BITCOIN_REGTEST_P2TR" | "ADDRESS_FORMAT_SEI" | "ADDRESS_FORMAT_XLM" | "ADDRESS_FORMAT_DOGE_MAINNET" | "ADDRESS_FORMAT_DOGE_TESTNET" | "ADDRESS_FORMAT_TON_V3R2" | "ADDRESS_FORMAT_TON_V4R2" | "ADDRESS_FORMAT_TON_V5R1" | "ADDRESS_FORMAT_XRP" | "ADDRESS_FORMAT_SPARK_MAINNET" | "ADDRESS_FORMAT_SPARK_REGTEST";
895
927
  v1ApiKey: {
@@ -998,6 +1030,8 @@ export type definitions = {
998
1030
  logoUrl?: string;
999
1031
  /** @description The asset name */
1000
1032
  name?: string;
1033
+ /** @description Whether this asset is on Turnkey's stablecoin list (used for stablepair swap fee pricing). */
1034
+ stable?: boolean;
1001
1035
  };
1002
1036
  v1Attestation: {
1003
1037
  /** @description The cbor encoded then base64 url encoded id of the credential. */
@@ -1090,6 +1124,41 @@ export type definitions = {
1090
1124
  v1BootProofResponse: {
1091
1125
  bootProof: definitions["v1BootProof"];
1092
1126
  };
1127
+ v1ClaimEarnFeesIntent: {
1128
+ /** @description Address of the deployed Earn wrapper to claim fees for. Must be one of the org's deployed wrappers. */
1129
+ wrapperAddress: string;
1130
+ };
1131
+ v1ClaimEarnFeesRequest: {
1132
+ /** @enum {string} */
1133
+ type: "ACTIVITY_TYPE_CLAIM_EARN_FEES";
1134
+ /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
1135
+ timestampMs: string;
1136
+ /** @description Unique identifier for a given Organization. */
1137
+ organizationId: string;
1138
+ parameters: definitions["v1ClaimEarnFeesIntent"];
1139
+ generateAppProofs?: boolean;
1140
+ };
1141
+ v1ClaimEarnFeesResult: {
1142
+ /** @description Identifier to poll claim status and tx hash via GetClaimEarnFeesStatus. */
1143
+ claimRequestId: string;
1144
+ };
1145
+ v1ClaimSwapFeesIntent: {
1146
+ [key: string]: unknown;
1147
+ };
1148
+ v1ClaimSwapFeesRequest: {
1149
+ /** @enum {string} */
1150
+ type: "ACTIVITY_TYPE_CLAIM_SWAP_FEES";
1151
+ /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
1152
+ timestampMs: string;
1153
+ /** @description Unique identifier for a given Organization. */
1154
+ organizationId: string;
1155
+ parameters: definitions["v1ClaimSwapFeesIntent"];
1156
+ generateAppProofs?: boolean;
1157
+ };
1158
+ v1ClaimSwapFeesResult: {
1159
+ /** @description Relay claim request ID submitted through the permit endpoint. */
1160
+ requestId: string;
1161
+ };
1093
1162
  v1ClientSignature: {
1094
1163
  /** @description The public component of a cryptographic key pair used to create the signature. */
1095
1164
  publicKey: string;
@@ -1375,6 +1444,8 @@ export type definitions = {
1375
1444
  consensus?: string;
1376
1445
  /** @description Notes for a Policy. */
1377
1446
  notes: string;
1447
+ /** @description The time expression that triggers the Effect */
1448
+ time?: string;
1378
1449
  };
1379
1450
  v1CreatePolicyRequest: {
1380
1451
  /** @enum {string} */
@@ -1752,6 +1823,32 @@ export type definitions = {
1752
1823
  wallet?: definitions["v1WalletResult"];
1753
1824
  rootUserIds?: string[];
1754
1825
  };
1826
+ v1CreateSwapQuoteIntent: {
1827
+ /** @description Wallet account or Private Key address used to price the executable provider quote. Private Key identifiers are not supported. */
1828
+ signWith: string;
1829
+ /** @description CAIP-19 asset ID for the input asset. The chain is derived from this value. */
1830
+ inputToken: string;
1831
+ /** @description CAIP-19 asset ID for the output asset. */
1832
+ outputToken: string;
1833
+ /** @description Base-unit amount of the input asset. */
1834
+ inputAmount: string;
1835
+ /** @description Provider-neutral maximum allowed slippage in basis points. Turnkey converts this value to each provider's request format. When omitted, each provider applies its default slippage behavior. */
1836
+ slippageBps?: string;
1837
+ };
1838
+ v1CreateSwapQuoteRequest: {
1839
+ /** @enum {string} */
1840
+ type: "ACTIVITY_TYPE_CREATE_SWAP_QUOTE";
1841
+ /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
1842
+ timestampMs: string;
1843
+ /** @description Unique identifier for a given Organization. */
1844
+ organizationId: string;
1845
+ parameters: definitions["v1CreateSwapQuoteIntent"];
1846
+ generateAppProofs?: boolean;
1847
+ };
1848
+ v1CreateSwapQuoteResult: {
1849
+ /** @description One or more provider quotes for this request. Today this contains a single Relay quote; pass quotes[i].quoteId to execute_swap_v2 to bind execution. */
1850
+ quotes: definitions["v1SwapQuote"][];
1851
+ };
1755
1852
  v1CreateTvcAppIntent: {
1756
1853
  /** @description The name of the new TVC application */
1757
1854
  name: string;
@@ -1791,6 +1888,15 @@ export type definitions = {
1791
1888
  * @description The required number of approvals for the manifest set
1792
1889
  */
1793
1890
  manifestSetThreshold: number;
1891
+ /** @description The unique identifier for the TVC share set */
1892
+ shareSetId: string;
1893
+ /** @description The unique identifiers of the share set operators */
1894
+ shareSetOperatorIds: string[];
1895
+ /**
1896
+ * Format: int64
1897
+ * @description The required number of approvals for the share set
1898
+ */
1899
+ shareSetThreshold: number;
1794
1900
  };
1795
1901
  v1CreateTvcDeploymentIntent: {
1796
1902
  /** @description The unique identifier of the to-be-deployed TVC application */
@@ -1826,6 +1932,11 @@ export type definitions = {
1826
1932
  * @description Port to use for public ingress.
1827
1933
  */
1828
1934
  publicIngressPort: number;
1935
+ /**
1936
+ * Format: int64
1937
+ * @description Optional desired replica count for this deployment.
1938
+ */
1939
+ replicas?: number;
1829
1940
  };
1830
1941
  v1CreateTvcDeploymentRequest: {
1831
1942
  /** @enum {string} */
@@ -2472,13 +2583,17 @@ export type definitions = {
2472
2583
  privateKeyId: string;
2473
2584
  };
2474
2585
  v1EarnDeployWrapperIntent: {
2475
- /** @description Address of the underlying yield vault to wrap (from the EarnVaults catalog). */
2586
+ /** @description Address of the underlying yield vault to wrap (from the ListEarnVaults catalog). */
2476
2587
  vaultAddress: string;
2477
2588
  /**
2478
2589
  * @description CAIP-2 chain ID the vault lives on (e.g., 'eip155:8453' for Base).
2479
2590
  * @enum {string}
2480
2591
  */
2481
2592
  chainCaip2: "eip155:1" | "eip155:8453" | "eip155:42161" | "eip155:137" | "eip155:56" | "eip155:4217";
2593
+ /** @description Your fee on gross yield, in basis points (e.g., '2000' for 20%). Maximum is 4000 (40%). */
2594
+ clientFeeBps: string;
2595
+ /** @description The wallet address that receives the client's fee payouts on-chain. Must be a Turnkey-managed wallet address. */
2596
+ clientFeeWallet: string;
2482
2597
  };
2483
2598
  v1EarnDeployWrapperRequest: {
2484
2599
  /** @enum {string} */
@@ -2495,12 +2610,12 @@ export type definitions = {
2495
2610
  wrapperAddress: string;
2496
2611
  /** @description Address of the deployed fee splitter (PaymentSplitter for Morpho, RevenueSplitterOwner for Aave). */
2497
2612
  splitterAddress: string;
2498
- /** @description Transaction hash of the wrapper deployment. */
2499
- deployTxHash: string;
2613
+ /** @description Identifier to poll deploy status. */
2614
+ deployRequestId: string;
2500
2615
  };
2501
2616
  v1EarnDepositIntent: {
2502
- /** @description Address of the underlying yield vault to deposit into. The org must have an enabled wrapper for this vault. */
2503
- vaultAddress: string;
2617
+ /** @description Address of the deployed Earn wrapper to deposit into, from ListEarnVaults/ListEarnPositions. Must be one of the org's deployed wrappers. */
2618
+ wrapperAddress: string;
2504
2619
  /** @description A Wallet account address or Private Key address to deposit from and sign with. Must be an on-chain address; Private Key identifiers are not supported. */
2505
2620
  signWith: string;
2506
2621
  /** @description Amount of the underlying asset to deposit, in raw on-chain units (e.g., '1000000' for 1 USDC at 6 decimals). */
@@ -2524,119 +2639,128 @@ export type definitions = {
2524
2639
  generateAppProofs?: boolean;
2525
2640
  };
2526
2641
  v1EarnDepositResult: {
2527
- /** @description Transaction hash of the deposit. */
2528
- depositTxHash: string;
2529
- /** @description Number of wrapper shares minted to the depositor, in raw on-chain units. */
2530
- sharesMinted: string;
2531
- /** @description Address of the fee wrapper the deposit was routed to. */
2532
- wrapperAddress: string;
2533
- /** @description Identifier to poll deposit status via EarnDepositStatus (for the async/sponsored path). */
2534
- depositRequestId: string;
2535
- };
2536
- v1EarnDepositStatusRequest: {
2537
- /** @description Unique identifier for a given Organization. */
2538
- organizationId: string;
2539
- /** @description The deposit_request_id returned by EarnDeposit. */
2642
+ /** @description Identifier to poll deposit status and tx hash via GetEarnDepositStatus. */
2540
2643
  depositRequestId: string;
2541
2644
  };
2542
- v1EarnDepositStatusResponse: {
2543
- /**
2544
- * @description Status of the deposit.
2545
- * @enum {string}
2546
- */
2547
- status: "PENDING" | "COMPLETE" | "FAILED";
2548
- /** @description Transaction hash of the deposit, once available. */
2549
- depositTxHash?: string;
2550
- };
2551
2645
  v1EarnEnabledVault: {
2552
2646
  /** @description Address of the underlying yield vault. */
2553
2647
  vaultAddress?: string;
2554
2648
  /** @description Address of the deployed fee wrapper (the deposit target). */
2555
2649
  wrapperAddress?: string;
2556
- /** @description Address of the deployed fee splitter. */
2557
- splitterAddress?: string;
2558
- /** @description CAIP-2 chain ID the vault lives on. */
2559
- chainCaip2?: string;
2560
- /** @description Yield provider for the vault ('morpho' or 'aave'). */
2561
- provider?: string;
2562
- /** @description Symbol of the vault's underlying asset (e.g., 'USDC'). */
2563
- asset?: string;
2564
- /** @description Current annual percentage yield, expressed as a decimal fraction. */
2650
+ /** @description Yield provider for the vault. */
2651
+ provider?: definitions["v1EarnProvider"];
2652
+ /** @description CAIP-19 asset ID of the vault's underlying asset (e.g. 'eip155:8453/erc20:0x833589...'); the chain is encoded in the identifier. */
2653
+ caip19?: string;
2654
+ /** @description Gross annual percentage yield, expressed as a decimal fraction (before fees). */
2565
2655
  apyPct?: string;
2566
2656
  /** @description Total deposited through this wrapper (wrapper TVL), in raw on-chain units of the underlying asset. */
2567
2657
  totalDeposited?: string;
2568
- };
2569
- v1EarnEnabledVaultsRequest: {
2570
- /** @description Unique identifier for a given Organization. */
2571
- organizationId: string;
2572
- };
2573
- v1EarnEnabledVaultsResponse: {
2574
- /** @description The organization's deployed wrappers. */
2575
- enabledVaults?: definitions["v1EarnEnabledVault"][];
2658
+ /** @description Normalized total-deposited values for display only (usd + crypto). Do not do arithmetic with these; use total_deposited instead. */
2659
+ display?: definitions["v1EarnValueDisplay"];
2660
+ /** @description Annual percentage yield net of fees, expressed as a decimal fraction. */
2661
+ netApyPct?: string;
2662
+ /** @description Client fee taken on yield, in basis points. */
2663
+ clientFeeBps?: string;
2664
+ /** @description When true, deposits to this wrapper are rejected; withdrawals are unaffected. Toggled via EarnSetWrapperState. */
2665
+ depositsDisabled?: boolean;
2666
+ /** @description Human-readable vault name from the provider (e.g. 'Steakhouse Prime USDC' for Morpho; the reserve symbol for Aave). */
2667
+ name?: string;
2668
+ /** @description Vault curator name(s), comma-separated when a vault has multiple. Empty for providers without curators (e.g. Aave). */
2669
+ curator?: string;
2670
+ /** @description The client's claimable fee (releasable now), in raw on-chain units of the underlying asset (the caip19 asset). Turnkey's fee is excluded. Only returned to the parent org; unset when a sub-org queries. */
2671
+ claimableClientFee?: string;
2672
+ /** @description Normalized claimable_client_fee for display only (usd + crypto). Do not do arithmetic with these; use claimable_client_fee. Unset when a sub-org queries. */
2673
+ claimableClientFeeDisplay?: definitions["v1EarnValueDisplay"];
2674
+ /** @description The wallet address that receives the client's fee payouts on-chain. Unset when a sub-org queries. */
2675
+ clientFeeWallet?: string;
2576
2676
  };
2577
2677
  v1EarnPosition: {
2578
2678
  /** @description Address of the underlying yield vault. */
2579
2679
  vaultAddress?: string;
2580
2680
  /** @description Address of the fee wrapper holding the position. */
2581
2681
  wrapperAddress?: string;
2582
- /** @description CAIP-2 chain ID the vault lives on. */
2583
- chainCaip2?: string;
2584
- /** @description Yield provider for the vault ('morpho' or 'aave'). */
2585
- provider?: string;
2586
- /** @description Symbol of the vault's underlying asset (e.g., 'USDC'). */
2587
- asset?: string;
2588
- /** @description Number of wrapper shares held, in raw on-chain units. */
2589
- shares?: string;
2682
+ /** @description Yield provider for the vault. */
2683
+ provider?: definitions["v1EarnProvider"];
2684
+ /** @description CAIP-19 asset ID of the vault's underlying asset (e.g. 'eip155:8453/erc20:0x833589...'); the chain is encoded in the identifier. */
2685
+ caip19?: string;
2590
2686
  /** @description Current value of the position in the underlying asset, in raw on-chain units (already net of the wrapper fee). */
2591
2687
  currentValue?: string;
2592
- /** @description Net amount deposited, in raw on-chain units. */
2593
- costBasis?: string;
2594
- /** @description Yield grossed up for display, in raw on-chain units. */
2595
- grossYield?: string;
2596
- /** @description Combined Turnkey + client fee on the yield, in raw on-chain units. */
2597
- projectedFee?: string;
2598
- /** @description Yield net of fees, in raw on-chain units. */
2599
- yieldLessFees?: string;
2688
+ /** @description Lifetime total deposited into this position, in raw on-chain units. */
2689
+ totalDeposited?: string;
2690
+ /** @description Lifetime total withdrawn from this position, in raw on-chain units. */
2691
+ totalWithdrawn?: string;
2692
+ /** @description USD + crypto renderings for display only. Do not do arithmetic with these. */
2693
+ display?: definitions["v1EarnPositionDisplay"];
2694
+ /** @description When true, deposits to this wrapper are rejected; withdrawals are unaffected. Toggled via EarnSetWrapperState. */
2695
+ depositsDisabled?: boolean;
2696
+ };
2697
+ v1EarnPositionDisplay: {
2698
+ /** @description Current value in USD, for display only. */
2699
+ currentValueUsd?: string;
2700
+ /** @description Total deposited in USD, for display only. */
2701
+ totalDepositedUsd?: string;
2702
+ /** @description Total withdrawn in USD, for display only. */
2703
+ totalWithdrawnUsd?: string;
2704
+ /** @description Current value in the asset's own units, for display only. */
2705
+ currentValueCrypto?: string;
2706
+ /** @description Total deposited in the asset's own units, for display only. */
2707
+ totalDepositedCrypto?: string;
2708
+ /** @description Total withdrawn in the asset's own units, for display only. */
2709
+ totalWithdrawnCrypto?: string;
2710
+ };
2711
+ /** @enum {string} */
2712
+ v1EarnProvider: "EARN_PROVIDER_MORPHO" | "EARN_PROVIDER_AAVE";
2713
+ v1EarnSetWrapperStateIntent: {
2714
+ /** @description Address of the deployed Earn wrapper to update, from ListEarnVaults/ListEarnPositions. Must be one of the org's deployed wrappers. */
2715
+ wrapperAddress: string;
2716
+ /** @description When true, deposits to this wrapper are rejected; withdrawals are unaffected. Set to false to re-enable deposits. */
2717
+ depositsDisabled: boolean;
2600
2718
  };
2601
- v1EarnPositionsRequest: {
2719
+ v1EarnSetWrapperStateRequest: {
2720
+ /** @enum {string} */
2721
+ type: "ACTIVITY_TYPE_EARN_SET_WRAPPER_STATE";
2722
+ /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
2723
+ timestampMs: string;
2602
2724
  /** @description Unique identifier for a given Organization. */
2603
2725
  organizationId: string;
2604
- /** @description The wallet address to return positions for. */
2605
- walletAddress: string;
2726
+ parameters: definitions["v1EarnSetWrapperStateIntent"];
2727
+ generateAppProofs?: boolean;
2606
2728
  };
2607
- v1EarnPositionsResponse: {
2608
- /** @description The wallet's active Earn positions. */
2609
- positions?: definitions["v1EarnPosition"][];
2729
+ v1EarnSetWrapperStateResult: {
2730
+ /** @description Address of the updated Earn wrapper. */
2731
+ wrapperAddress: string;
2732
+ /** @description The wrapper's deposit state after this activity. */
2733
+ depositsDisabled: boolean;
2734
+ };
2735
+ v1EarnValueDisplay: {
2736
+ /** @description USD value, for display only. */
2737
+ usd?: string;
2738
+ /** @description Normalized amount in the asset's own units, for display only. */
2739
+ crypto?: string;
2610
2740
  };
2611
2741
  v1EarnVault: {
2612
2742
  /** @description Address of the underlying yield vault. */
2613
2743
  vaultAddress?: string;
2614
- /** @description CAIP-2 chain ID the vault lives on. */
2615
- chainCaip2?: string;
2616
- /** @description Yield provider for the vault ('morpho' or 'aave'). */
2617
- provider?: string;
2618
- /** @description Symbol of the vault's underlying asset (e.g., 'USDC'). */
2619
- asset?: string;
2620
- /** @description Token address of the vault's underlying asset. */
2621
- assetAddress?: string;
2622
- /** @description Total value locked in the vault, in raw on-chain units of the underlying asset. */
2744
+ /** @description Yield provider for the vault. */
2745
+ provider?: definitions["v1EarnProvider"];
2746
+ /** @description CAIP-19 asset ID of the vault's underlying asset (e.g. 'eip155:8453/erc20:0x833589...'); the chain is encoded in the identifier. */
2747
+ caip19?: string;
2748
+ /** @description Total value locked in the vault, in raw on-chain units of the underlying asset. The catalog is sorted by the USD value of this. */
2623
2749
  tvl?: string;
2624
2750
  /** @description Current annual percentage yield, expressed as a decimal fraction (e.g., '0.0812' for 8.12%). */
2625
2751
  apyPct?: string;
2626
2752
  /** @description Whether the organization has enabled this vault. */
2627
2753
  enabled?: boolean;
2628
- };
2629
- v1EarnVaultsRequest: {
2630
- /** @description Unique identifier for a given Organization. Annotates which vaults the organization has already enabled. */
2631
- organizationId: string;
2632
- };
2633
- v1EarnVaultsResponse: {
2634
- /** @description The catalog of wrappable vaults, sorted by TVL descending. */
2635
- vaults?: definitions["v1EarnVault"][];
2754
+ /** @description Normalized TVL values for display purposes only (usd + crypto). Do not do arithmetic with these; use tvl instead. */
2755
+ display?: definitions["v1EarnValueDisplay"];
2756
+ /** @description Human-readable vault name from the provider (e.g. 'Steakhouse Prime USDC' for Morpho; the reserve symbol for Aave). */
2757
+ name?: string;
2758
+ /** @description Vault curator name(s), comma-separated when a vault has multiple. Empty for providers without curators (e.g. Aave). */
2759
+ curator?: string;
2636
2760
  };
2637
2761
  v1EarnWithdrawIntent: {
2638
- /** @description Address of the underlying yield vault to withdraw from. The org must have an enabled wrapper for this vault. */
2639
- vaultAddress: string;
2762
+ /** @description Address of the deployed Earn wrapper holding the position to withdraw from, from ListEarnPositions. Must be one of the org's deployed wrappers. */
2763
+ wrapperAddress: string;
2640
2764
  /** @description A Wallet account address or Private Key address to withdraw to and sign with. Must be an on-chain address; Private Key identifiers are not supported. */
2641
2765
  signWith: string;
2642
2766
  /**
@@ -2646,12 +2770,7 @@ export type definitions = {
2646
2770
  chainCaip2: "eip155:1" | "eip155:8453" | "eip155:42161" | "eip155:137" | "eip155:56" | "eip155:4217";
2647
2771
  /** @description Whether to sponsor this transaction via Gas Station. */
2648
2772
  sponsor?: boolean;
2649
- /**
2650
- * @description Whether amount_value is denominated in shares or assets. 'SHARES' redeems wrapper shares (calls redeem()); 'ASSETS' withdraws underlying assets (calls withdraw(), enabling yield-only claims).
2651
- * @enum {string}
2652
- */
2653
- amountType: "SHARES" | "ASSETS";
2654
- /** @description The amount to withdraw, in raw on-chain units, interpreted according to amount_type. */
2773
+ /** @description The amount of the underlying asset to withdraw, in raw on-chain units. Pass 'MAX' to withdraw the entire position. */
2655
2774
  amountValue: string;
2656
2775
  };
2657
2776
  v1EarnWithdrawRequest: {
@@ -2665,30 +2784,9 @@ export type definitions = {
2665
2784
  generateAppProofs?: boolean;
2666
2785
  };
2667
2786
  v1EarnWithdrawResult: {
2668
- /** @description Transaction hash of the withdrawal. */
2669
- withdrawTxHash: string;
2670
- /** @description Identifier to poll withdrawal status via EarnWithdrawStatus. */
2671
- withdrawRequestId: string;
2672
- /** @description Amount of the underlying asset received, in raw on-chain units. */
2673
- assetsReceived: string;
2674
- /** @description Number of wrapper shares burned, in raw on-chain units. */
2675
- sharesBurned: string;
2676
- };
2677
- v1EarnWithdrawStatusRequest: {
2678
- /** @description Unique identifier for a given Organization. */
2679
- organizationId: string;
2680
- /** @description The withdraw_request_id returned by EarnWithdraw. */
2787
+ /** @description Identifier to poll withdrawal status and tx hash via GetEarnWithdrawStatus. */
2681
2788
  withdrawRequestId: string;
2682
2789
  };
2683
- v1EarnWithdrawStatusResponse: {
2684
- /**
2685
- * @description Status of the withdrawal.
2686
- * @enum {string}
2687
- */
2688
- status: "PENDING" | "COMPLETE" | "FAILED";
2689
- /** @description Transaction hash of the withdrawal, once available. */
2690
- withdrawTxHash?: string;
2691
- };
2692
2790
  /** @enum {string} */
2693
2791
  v1Effect: "EFFECT_ALLOW" | "EFFECT_DENY";
2694
2792
  v1EmailAuthCustomizationParams: {
@@ -2839,6 +2937,8 @@ export type definitions = {
2839
2937
  deliveryProcessingTimeMillis?: string;
2840
2938
  /** @description Delay type for DeliveryDelay events */
2841
2939
  deliveryDelayType?: string;
2940
+ /** @description Feedback type for Complaint events */
2941
+ complaintFeedbackType?: string;
2842
2942
  };
2843
2943
  v1EnableAuthProxyIntent: {
2844
2944
  [key: string]: unknown;
@@ -2866,7 +2966,7 @@ export type definitions = {
2866
2966
  * @description CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet).
2867
2967
  * @enum {string}
2868
2968
  */
2869
- caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002" | "eip155:56" | "eip155:97";
2969
+ caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002" | "eip155:56" | "eip155:97" | "eip155:10" | "eip155:11155420" | "eip155:143" | "eip155:10143" | "eip155:42161" | "eip155:4217" | "eip155:42431" | "eip155:421614";
2870
2970
  };
2871
2971
  v1EthSendRawTransactionRequest: {
2872
2972
  /** @enum {string} */
@@ -2891,7 +2991,7 @@ export type definitions = {
2891
2991
  * @description CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet).
2892
2992
  * @enum {string}
2893
2993
  */
2894
- caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002" | "eip155:56" | "eip155:97";
2994
+ caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002" | "eip155:56" | "eip155:97" | "eip155:10" | "eip155:11155420" | "eip155:143" | "eip155:10143" | "eip155:42161" | "eip155:4217" | "eip155:42431" | "eip155:421614";
2895
2995
  /** @description Recipient address as a hex string with 0x prefix. */
2896
2996
  to: string;
2897
2997
  /** @description Amount of native asset to send in wei. */
@@ -2918,7 +3018,7 @@ export type definitions = {
2918
3018
  * @description CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet).
2919
3019
  * @enum {string}
2920
3020
  */
2921
- caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002" | "eip155:56" | "eip155:97";
3021
+ caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002" | "eip155:56" | "eip155:97" | "eip155:10" | "eip155:11155420" | "eip155:143" | "eip155:10143" | "eip155:42161" | "eip155:4217" | "eip155:42431" | "eip155:421614";
2922
3022
  /** @description Whether to sponsor this transaction via Gas Station. If false or unset, the EOA pays gas. A single call uses EIP-1559; multiple calls use EIP-7702 batch execution via Gas Station. */
2923
3023
  sponsor?: boolean;
2924
3024
  /** @description Outer transaction nonce. Omit to auto-fetch. */
@@ -2931,7 +3031,7 @@ export type definitions = {
2931
3031
  maxPriorityFeePerGas?: string;
2932
3032
  /** @description Unix timestamp in seconds for EIP-712 execution deadline. Only used when sponsor=true. */
2933
3033
  deadline?: string;
2934
- /** @description The gas station delegate contract nonce. Only used when sponsor=true. Omit to auto-fetch. */
3034
+ /** @description The gas station delegate contract nonce used in the BatchExecution EIP-712 message. Valid for sponsored transactions and non-sponsored multi-call batches. Omit to auto-fetch. Use the nonces endpoint for replay protection. */
2935
3035
  gasStationNonce?: string;
2936
3036
  /** @description Ordered list of calls to execute. Must contain between 1 and 50 entries. A single entry with sponsor=false uses EIP-1559; multiple entries use EIP-7702 batch execution via Gas Station. */
2937
3037
  calls: definitions["v1EthCallParams"][];
@@ -2958,6 +3058,60 @@ export type definitions = {
2958
3058
  /** @description The Ethereum transaction hash, if available. */
2959
3059
  txHash?: string;
2960
3060
  };
3061
+ v1EthTransactionHistoryItem: {
3062
+ /** @description EVM transaction hash. */
3063
+ transactionHash: string;
3064
+ /** @description Block metadata for the transaction. */
3065
+ block: definitions["v1TransactionHistoryBlock"];
3066
+ /**
3067
+ * @description Transaction confirmation status.
3068
+ * @enum {string}
3069
+ */
3070
+ status: "CONFIRMED" | "FINALIZED";
3071
+ /** @description Origin of the transaction. Examples include TURNKEY. */
3072
+ origin: string;
3073
+ /** @description EVM sender address for the transaction. */
3074
+ from: string;
3075
+ /** @description EVM transaction destination address, such as the called contract or EVM tx.to. Omitted for contract-creation transactions with no destination. Recipients and payers of value transfers are reflected in transfers[].counterparty. */
3076
+ to?: string;
3077
+ /** @description Transaction fee information. */
3078
+ fee: definitions["v1TransactionHistoryFee"];
3079
+ /** @description Asset transfers associated with the transaction. */
3080
+ transfers: definitions["v1TransactionHistoryTransfer"][];
3081
+ /** @description Turnkey-specific metadata for transactions originated by Turnkey. */
3082
+ turnkey?: definitions["v1TransactionHistoryTurnkey"];
3083
+ };
3084
+ v1EthUndelegate7702Intent: {
3085
+ /** @description A wallet or private key address to undelegate. This does not support private key IDs. */
3086
+ from: string;
3087
+ /**
3088
+ * @description CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet).
3089
+ * @enum {string}
3090
+ */
3091
+ caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002" | "eip155:56" | "eip155:97" | "eip155:10" | "eip155:11155420" | "eip155:143" | "eip155:10143" | "eip155:42161" | "eip155:421614";
3092
+ /** @description Outer transaction nonce. Omit to auto-fetch. */
3093
+ nonce?: string;
3094
+ /** @description Maximum amount of gas for the undelegation transaction. Omit to use the fixed undelegation gas limit. */
3095
+ gasLimit?: string;
3096
+ /** @description Maximum total fee per gas unit (base fee + priority fee) in wei. Omit to auto-estimate. */
3097
+ maxFeePerGas?: string;
3098
+ /** @description Maximum priority fee (tip) per gas unit in wei. Omit to auto-estimate. */
3099
+ maxPriorityFeePerGas?: string;
3100
+ };
3101
+ v1EthUndelegate7702Request: {
3102
+ /** @enum {string} */
3103
+ type: "ACTIVITY_TYPE_ETH_UNDELEGATE_7702";
3104
+ /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
3105
+ timestampMs: string;
3106
+ /** @description Unique identifier for a given Organization. */
3107
+ organizationId: string;
3108
+ parameters: definitions["v1EthUndelegate7702Intent"];
3109
+ generateAppProofs?: boolean;
3110
+ };
3111
+ v1EthUndelegate7702Result: {
3112
+ /** @description The send_transaction_status ID associated with the undelegation transaction submission */
3113
+ sendTransactionStatusId: string;
3114
+ };
2961
3115
  v1ExecuteSwapIntent: {
2962
3116
  /** @description CAIP-19 asset ID for the input asset. The chain is derived from this value. */
2963
3117
  inputToken: string;
@@ -2971,22 +3125,46 @@ export type definitions = {
2971
3125
  sponsor?: boolean;
2972
3126
  /** @description Maximum allowed slippage in basis points. */
2973
3127
  slippage?: string;
2974
- /** @description Swap provider to execute with, as returned by get_swap_quote. When omitted, execution uses the default provider. */
3128
+ /** @description Swap provider to execute with, as returned by create_swap_quote. When omitted, execution uses the default provider. */
2975
3129
  provider?: string;
3130
+ /** @description Minimum acceptable base-unit amount of the output asset. Execution fails if the swap provider's quoted minimum output falls below this floor at execution time. */
3131
+ minOutputAmount: string;
3132
+ };
3133
+ v1ExecuteSwapIntentV2: {
3134
+ /** @description Quote identifier returned by create_swap_quote. Execution is bound to this quote; the signer is derived from the quote and must not be resupplied. */
3135
+ quoteId: string;
3136
+ /** @description CAIP-19 asset ID for the input asset. */
3137
+ inputToken: string;
3138
+ /** @description Exact base-unit amount of the input asset committed by the quote. */
3139
+ inputAmount: string;
3140
+ /** @description CAIP-19 asset ID for the output asset. */
3141
+ outputToken: string;
3142
+ /** @description Exact quoted base-unit output amount committed by the quote. */
3143
+ quotedOutputAmount: string;
3144
+ /** @description Exact minimum base-unit output committed by the quote. */
3145
+ minOutputAmount: string;
3146
+ /** @description Whether the quoted transaction is sponsored. */
3147
+ sponsor: boolean;
3148
+ /** @description Exact EVM sender (EOA account) nonce. Valid only for a non-sponsored EVM swap. Honored for already-delegated (Type-2) batch swaps and single-call swaps; ignored for not-yet-delegated EIP-7702 (Type-4) batches where the outer nonce is derived from the authorization. Prefer gas_station_nonce for batch replay protection and use the nonces endpoint to fetch it. Omit to auto-fetch. */
3149
+ evmNonce?: string;
3150
+ /** @description Exact Solana recent blockhash. Valid only for a Solana swap, including sponsored swaps. Omit to auto-fetch. */
3151
+ recentBlockhash?: string;
3152
+ /** @description Exact gas station delegate contract nonce used in the BatchExecution EIP-712 message. Valid for sponsored EVM swaps and non-sponsored EVM swaps that execute as a multi-call batch (for example ERC-20 approve + swap). This is the replay-protection nonce for gas-station batches; use the nonces endpoint to fetch it. Omit to auto-fetch. */
3153
+ gasStationNonce?: string;
2976
3154
  };
2977
3155
  v1ExecuteSwapRequest: {
2978
3156
  /** @enum {string} */
2979
- type: "ACTIVITY_TYPE_EXECUTE_SWAP";
3157
+ type: "ACTIVITY_TYPE_EXECUTE_SWAP_V2";
2980
3158
  /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
2981
3159
  timestampMs: string;
2982
3160
  /** @description Unique identifier for a given Organization. */
2983
3161
  organizationId: string;
2984
- parameters: definitions["v1ExecuteSwapIntent"];
3162
+ parameters: definitions["v1ExecuteSwapIntentV2"];
2985
3163
  generateAppProofs?: boolean;
2986
3164
  };
2987
3165
  v1ExecuteSwapResult: {
2988
- /** @description The send_transaction_status ID associated with the swap transaction submission */
2989
- sendTransactionStatusId: string;
3166
+ /** @description Identifier to poll swap status via GetSwapStatus. */
3167
+ swapRequestId: string;
2990
3168
  /** @description Swap provider used to build the transaction. */
2991
3169
  provider?: string;
2992
3170
  /** @description Quote identifier used for execution, if any. */
@@ -3181,6 +3359,74 @@ export type definitions = {
3181
3359
  /** @description Hex encoded ephemeral public key. */
3182
3360
  ephemeralKey: string;
3183
3361
  };
3362
+ v1GetClaimEarnFeesStatusRequest: {
3363
+ /** @description Unique identifier for a given Organization. */
3364
+ organizationId: string;
3365
+ /** @description The claim_request_id returned by ClaimEarnFees. */
3366
+ claimRequestId: string;
3367
+ };
3368
+ v1GetClaimEarnFeesStatusResponse: {
3369
+ /**
3370
+ * @description Status of the fee claim.
3371
+ * @enum {string}
3372
+ */
3373
+ status: "PENDING" | "COMPLETED" | "FAILED";
3374
+ /** @description Transaction hash of the fee claim, once available. */
3375
+ claimTxHash?: string;
3376
+ /** @description Reason the fee claim transaction failed, when status is FAILED. */
3377
+ error?: string;
3378
+ };
3379
+ v1GetEarnDeployStatusRequest: {
3380
+ /** @description Unique identifier for a given Organization. */
3381
+ organizationId: string;
3382
+ /** @description The deploy_request_id returned by EarnDeployWrapper. */
3383
+ deployRequestId: string;
3384
+ };
3385
+ v1GetEarnDeployStatusResponse: {
3386
+ /**
3387
+ * @description Status of the wrapper deployment.
3388
+ * @enum {string}
3389
+ */
3390
+ status: "PENDING" | "COMPLETED" | "FAILED";
3391
+ /** @description Transaction hash of the deployment, once available. */
3392
+ deployTxHash?: string;
3393
+ /** @description Reason the deployment transaction failed, when status is FAILED. */
3394
+ error?: string;
3395
+ };
3396
+ v1GetEarnDepositStatusRequest: {
3397
+ /** @description Unique identifier for a given Organization. */
3398
+ organizationId: string;
3399
+ /** @description The deposit_request_id returned by EarnDeposit. */
3400
+ depositRequestId: string;
3401
+ };
3402
+ v1GetEarnDepositStatusResponse: {
3403
+ /**
3404
+ * @description Status of the deposit.
3405
+ * @enum {string}
3406
+ */
3407
+ status: "PENDING" | "COMPLETED" | "FAILED";
3408
+ /** @description Transaction hash of the deposit, once available. */
3409
+ depositTxHash?: string;
3410
+ /** @description Reason the deposit transaction failed, when status is FAILED. */
3411
+ error?: string;
3412
+ };
3413
+ v1GetEarnWithdrawStatusRequest: {
3414
+ /** @description Unique identifier for a given Organization. */
3415
+ organizationId: string;
3416
+ /** @description The withdraw_request_id returned by EarnWithdraw. */
3417
+ withdrawRequestId: string;
3418
+ };
3419
+ v1GetEarnWithdrawStatusResponse: {
3420
+ /**
3421
+ * @description Status of the withdrawal.
3422
+ * @enum {string}
3423
+ */
3424
+ status: "PENDING" | "COMPLETED" | "FAILED";
3425
+ /** @description Transaction hash of the withdrawal, once available. */
3426
+ withdrawTxHash?: string;
3427
+ /** @description Reason the withdrawal transaction failed, when status is FAILED. */
3428
+ error?: string;
3429
+ };
3184
3430
  v1GetGasUsageRequest: {
3185
3431
  /** @description Unique identifier for a given Organization. */
3186
3432
  organizationId: string;
@@ -3208,7 +3454,7 @@ export type definitions = {
3208
3454
  v1GetLatestBootProofRequest: {
3209
3455
  /** @description Unique identifier for a given Organization. */
3210
3456
  organizationId: string;
3211
- /** @description Name of enclave app. */
3457
+ /** @description Unique identifier (UUID) of the enclave app. */
3212
3458
  appName: string;
3213
3459
  };
3214
3460
  v1GetMfaPoliciesRequest: {
@@ -3254,7 +3500,7 @@ export type definitions = {
3254
3500
  * @description CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet).
3255
3501
  * @enum {string}
3256
3502
  */
3257
- caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002" | "eip155:56" | "eip155:97";
3503
+ caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002" | "eip155:56" | "eip155:97" | "eip155:10" | "eip155:11155420" | "eip155:143" | "eip155:10143" | "eip155:42161" | "eip155:4217" | "eip155:42431" | "eip155:421614";
3258
3504
  /** @description Whether to fetch the standard on-chain nonce. */
3259
3505
  nonce?: boolean;
3260
3506
  /** @description Whether to fetch the gas station nonce used for sponsored transactions. */
@@ -3432,33 +3678,11 @@ export type definitions = {
3432
3678
  /** @description List of unique identifiers for the matching sub-organizations. */
3433
3679
  organizationIds: string[];
3434
3680
  };
3435
- v1GetSwapQuoteRequest: {
3436
- /** @description Unique identifier for a given Organization. */
3437
- organizationId: string;
3438
- /** @description CAIP-19 asset ID for the input asset. The chain is derived from this value. */
3439
- inputToken: string;
3440
- /** @description CAIP-19 asset ID for the output asset. */
3441
- outputToken: string;
3442
- /** @description Base-unit amount of the input asset. */
3443
- inputAmount: string;
3444
- /** @description Maximum allowed slippage in basis points. */
3445
- slippage?: string;
3446
- };
3447
- v1GetSwapQuoteResponse: {
3448
- /** @description CAIP-19 asset ID for the input asset. */
3449
- inputToken: string;
3450
- /** @description CAIP-19 asset ID for the output asset. */
3451
- outputToken: string;
3452
- /** @description Base-unit amount of the input asset. */
3453
- inputAmount: string;
3454
- /** @description One quote per available swap provider. */
3455
- quotes: definitions["v1SwapQuoteOption"][];
3456
- };
3457
3681
  v1GetSwapStatusRequest: {
3458
3682
  /** @description Unique identifier for a given Organization. */
3459
3683
  organizationId: string;
3460
- /** @description Identifier returned in the execute_swap activity result. */
3461
- sendTransactionStatusId: string;
3684
+ /** @description The swap_request_id returned by ExecuteSwap. */
3685
+ swapRequestId: string;
3462
3686
  };
3463
3687
  v1GetSwapStatusResponse: {
3464
3688
  /** @description Normalized swap status. One of PENDING, COMPLETED, FAILED. */
@@ -3466,7 +3690,7 @@ export type definitions = {
3466
3690
  /** @description SAME_CHAIN or CROSS_CHAIN. */
3467
3691
  swapKind: string;
3468
3692
  /** @description Swap provider that executed the swap. */
3469
- provider?: string;
3693
+ provider: string;
3470
3694
  /** @description CAIP-19 asset ID for the input asset. */
3471
3695
  inputToken: string;
3472
3696
  /** @description CAIP-19 asset ID for the output asset. */
@@ -3475,20 +3699,16 @@ export type definitions = {
3475
3699
  inputAmount: string;
3476
3700
  /** @description Final included origin-chain transaction hash, when known. */
3477
3701
  originTxHash?: string;
3478
- /** @description Destination-chain fill transaction hash; cross-chain COMPLETED only. */
3479
- destinationTxHash?: string;
3480
- /** @description Actual base-unit output amount on COMPLETED, when known. */
3702
+ /** @description Provider-reported destination-chain transaction hashes; cross-chain COMPLETED only. */
3703
+ destinationTxHashes?: string[];
3704
+ /** @description Actual base-unit output amount on COMPLETED, when known. Unset on FAILED. */
3481
3705
  outputAmount?: string;
3482
- /** @description CAIP-19 of the asset the user holds after a FAILED swap, when recoverable. */
3483
- settledAsset?: string;
3484
- /** @description Base-unit amount of settled_asset. */
3485
- settledAmount?: string;
3486
- /** @description Transaction that delivered the settled funds, when applicable. */
3487
- settlementTxHash?: string;
3488
- /** @description Non-normative raw provider status passthrough; cross-chain only. */
3489
- providerStatus?: string;
3706
+ /** @description Asset and amount returned to the user after a failed swap, when recoverable. Present only on FAILED. */
3707
+ refund?: definitions["v1SwapRefund"];
3490
3708
  /** @description Timestamp of the last swap status change, as millisecond epoch string. */
3491
3709
  updatedAt: string;
3710
+ /** @description Normalized failure details, present whenever status is FAILED. */
3711
+ error?: definitions["v1SwapError"];
3492
3712
  };
3493
3713
  v1GetTvcAppDeploymentsRequest: {
3494
3714
  /** @description Unique identifier for a given organization. */
@@ -3635,7 +3855,7 @@ export type definitions = {
3635
3855
  * @description CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet or 'solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp' for Solana mainnet). Human-readable Solana aliases ('solana:mainnet', 'solana:devnet') are also accepted and normalized to canonical CAIP-2 values.
3636
3856
  * @enum {string}
3637
3857
  */
3638
- caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002" | "eip155:42161" | "eip155:4217" | "eip155:42431" | "eip155:421614" | "eip155:56" | "eip155:97" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1";
3858
+ caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002" | "eip155:56" | "eip155:97" | "eip155:10" | "eip155:11155420" | "eip155:143" | "eip155:10143" | "eip155:42161" | "eip155:4217" | "eip155:42431" | "eip155:421614" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1";
3639
3859
  };
3640
3860
  v1GetWalletAddressBalancesResponse: {
3641
3861
  /** @description List of asset balances */
@@ -3789,6 +4009,28 @@ export type definitions = {
3789
4009
  /** @description Import bundle containing a public key and signature to use for importing client data. */
3790
4010
  importBundle: string;
3791
4011
  };
4012
+ v1InitImportSecretsIntent: {
4013
+ /** @description Transport encryption suite used for ingress secrets. */
4014
+ encryptionSuite: definitions["v1TransportEncryptionSuite"];
4015
+ /**
4016
+ * Format: int32
4017
+ * @description The number of secrets the user intends to import.
4018
+ */
4019
+ numSecrets: number;
4020
+ };
4021
+ v1InitImportSecretsRequest: {
4022
+ /** @enum {string} */
4023
+ type: "ACTIVITY_TYPE_INIT_IMPORT_SECRETS";
4024
+ /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
4025
+ timestampMs: string;
4026
+ /** @description Unique identifier for a given Organization. */
4027
+ organizationId: string;
4028
+ parameters: definitions["v1InitImportSecretsIntent"];
4029
+ };
4030
+ v1InitImportSecretsResult: {
4031
+ /** @description Enclave ingress target keys along with metadata specific to the encryption suite. For enclave encrypt v1 this will be ServerTargetMsgV1. */
4032
+ enclaveTargetMessages: string[];
4033
+ };
3792
4034
  v1InitImportWalletIntent: {
3793
4035
  /** @description The ID of the User importing a Wallet. */
3794
4036
  userId: string;
@@ -4195,12 +4437,20 @@ export type definitions = {
4195
4437
  earnDeployWrapperIntent?: definitions["v1EarnDeployWrapperIntent"];
4196
4438
  earnDepositIntent?: definitions["v1EarnDepositIntent"];
4197
4439
  earnWithdrawIntent?: definitions["v1EarnWithdrawIntent"];
4198
- upsertEarnClientFeeConfigIntent?: definitions["v1UpsertEarnClientFeeConfigIntent"];
4199
4440
  executeSwapIntent?: definitions["v1ExecuteSwapIntent"];
4200
4441
  upsertSwapConfigIntent?: definitions["v1UpsertSwapConfigIntent"];
4201
4442
  createTvcOperatorIntent?: definitions["v1CreateTvcOperatorIntent"];
4202
4443
  createTvcQuorumKeyIntent?: definitions["v1CreateTvcQuorumKeyIntent"];
4203
4444
  reEncryptTvcQuorumKeyShareIntent?: definitions["v1ReEncryptTvcQuorumKeyShareIntent"];
4445
+ initImportSecretsIntent?: definitions["v1InitImportSecretsIntent"];
4446
+ solSendTransactionIntentV2?: definitions["v1SolSendTransactionIntentV2"];
4447
+ claimSwapFeesIntent?: definitions["v1ClaimSwapFeesIntent"];
4448
+ earnSetWrapperStateIntent?: definitions["v1EarnSetWrapperStateIntent"];
4449
+ claimEarnFeesIntent?: definitions["v1ClaimEarnFeesIntent"];
4450
+ updateWalletAccountNameIntent?: definitions["v1UpdateWalletAccountNameIntent"];
4451
+ ethUndelegate7702Intent?: definitions["v1EthUndelegate7702Intent"];
4452
+ executeSwapIntentV2?: definitions["v1ExecuteSwapIntentV2"];
4453
+ createSwapQuoteIntent?: definitions["v1CreateSwapQuoteIntent"];
4204
4454
  };
4205
4455
  v1Invitation: {
4206
4456
  /** @description Unique identifier for a given Invitation object. */
@@ -4260,8 +4510,46 @@ export type definitions = {
4260
4510
  /** @description Creation timestamp as millisecond epoch string. */
4261
4511
  createdAt?: string;
4262
4512
  };
4263
- v1ListEmailEventsRequest: {
4264
- /** @description Unique identifier for a given organization */
4513
+ v1ListEarnEnabledVaultsRequest: {
4514
+ /** @description Unique identifier for a given Organization. */
4515
+ organizationId: string;
4516
+ /** @description Optional filter: only return enabled vaults from this provider. Leave EARN_PROVIDER_UNSPECIFIED to return all providers. */
4517
+ provider?: definitions["v1EarnProvider"];
4518
+ /** @description Optional filter: only return enabled vaults whose underlying asset matches this CAIP-19 asset ID (e.g. 'eip155:8453/erc20:0x833589...'). The chain is taken from the CAIP-19 identifier. */
4519
+ caip19?: string;
4520
+ };
4521
+ v1ListEarnEnabledVaultsResponse: {
4522
+ /** @description The organization's deployed wrappers. */
4523
+ enabledVaults?: definitions["v1EarnEnabledVault"][];
4524
+ };
4525
+ v1ListEarnPositionsRequest: {
4526
+ /** @description Unique identifier for a given Organization. */
4527
+ organizationId: string;
4528
+ /** @description The wallet address to return positions for. */
4529
+ walletAddress: string;
4530
+ };
4531
+ v1ListEarnPositionsResponse: {
4532
+ /** @description The wallet's active Earn positions. */
4533
+ positions?: definitions["v1EarnPosition"][];
4534
+ };
4535
+ v1ListEarnVaultsRequest: {
4536
+ /** @description Unique identifier for a given Organization. Annotates which vaults the organization has already enabled. */
4537
+ organizationId: string;
4538
+ /** @description Optional filter: only return vaults from this provider. Leave EARN_PROVIDER_UNSPECIFIED to return all providers. */
4539
+ provider?: definitions["v1EarnProvider"];
4540
+ /** @description CAIP-19 asset ID (e.g. 'eip155:8453/erc20:0x833589...') to return vaults for. Only vaults whose underlying asset matches are returned; the chain is taken from the CAIP-19 identifier. */
4541
+ caip19: string;
4542
+ /** @description Pagination over the TVL-sorted catalog. before/after cursors are a vault_address from a prior page. */
4543
+ paginationOptions?: definitions["v1Pagination"];
4544
+ };
4545
+ v1ListEarnVaultsResponse: {
4546
+ /** @description The catalog of wrappable vaults, sorted by TVL (USD) descending. To page, pass page_info.end_cursor as the pagination after cursor. */
4547
+ vaults?: definitions["v1EarnVault"][];
4548
+ /** @description Pagination metadata for the returned page. Pass end_cursor as the next request's after cursor (or start_cursor as the before cursor) to page through the catalog. Cursors are opaque; do not parse them. */
4549
+ pageInfo?: definitions["v1PageInfo"];
4550
+ };
4551
+ v1ListEmailEventsRequest: {
4552
+ /** @description Unique identifier for a given organization */
4265
4553
  organizationId: string;
4266
4554
  /** @description Recipient email address to list email events for */
4267
4555
  email: string;
@@ -4274,6 +4562,25 @@ export type definitions = {
4274
4562
  /** @description Email events matching the requested filters, ordered by most recent event first. */
4275
4563
  emailEvents: definitions["v1EmailEvent"][];
4276
4564
  };
4565
+ v1ListEthTransactionHistoryRequest: {
4566
+ /** @description Unique identifier for a given organization. */
4567
+ organizationId: string;
4568
+ /** @description Address corresponding to a wallet account. Private key addresses are not supported. */
4569
+ address: string;
4570
+ /**
4571
+ * @description EVM CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet).
4572
+ * @enum {string}
4573
+ */
4574
+ caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002" | "eip155:42161" | "eip155:4217" | "eip155:42431" | "eip155:421614" | "eip155:56" | "eip155:97";
4575
+ /** @description Cursor-based pagination options. Cursors are opaque and valid only for the same address and CAIP-2 query. */
4576
+ paginationOptions?: definitions["v1TransactionHistoryPaginationOptions"];
4577
+ };
4578
+ v1ListEthTransactionHistoryResponse: {
4579
+ /** @description EVM transactions for the requested address, ordered by most recent first. */
4580
+ transactions: definitions["v1EthTransactionHistoryItem"][];
4581
+ /** @description Opaque pagination cursors for fetching adjacent transaction-history pages. */
4582
+ paginationCursors: definitions["v1TransactionHistoryPaginationCursors"];
4583
+ };
4277
4584
  v1ListFiatOnRampCredentialsRequest: {
4278
4585
  /** @description Unique identifier for a given Organization. */
4279
4586
  organizationId: string;
@@ -4296,6 +4603,25 @@ export type definitions = {
4296
4603
  /** @description A list of private key tags. */
4297
4604
  privateKeyTags: definitions["datav1Tag"][];
4298
4605
  };
4606
+ v1ListSolTransactionHistoryRequest: {
4607
+ /** @description Unique identifier for a given organization. */
4608
+ organizationId: string;
4609
+ /** @description Address corresponding to a wallet account. Private key addresses are not supported. */
4610
+ address: string;
4611
+ /**
4612
+ * @description Solana CAIP-2 chain ID (e.g., 'solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp' for Solana mainnet). Human-readable Solana aliases ('solana:mainnet', 'solana:devnet') are also accepted and normalized to canonical CAIP-2 values.
4613
+ * @enum {string}
4614
+ */
4615
+ caip2: "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1" | "solana:mainnet" | "solana:devnet";
4616
+ /** @description Cursor-based pagination options. Cursors are opaque and valid only for the same address and CAIP-2 query. */
4617
+ paginationOptions?: definitions["v1TransactionHistoryPaginationOptions"];
4618
+ };
4619
+ v1ListSolTransactionHistoryResponse: {
4620
+ /** @description Solana transactions for the requested address, ordered by most recent first. */
4621
+ transactions: definitions["v1SolTransactionHistoryItem"][];
4622
+ /** @description Opaque pagination cursors for fetching adjacent transaction-history pages. */
4623
+ paginationCursors: definitions["v1TransactionHistoryPaginationCursors"];
4624
+ };
4299
4625
  v1ListSupportedAssetsRequest: {
4300
4626
  /** @description Unique identifier for a given organization. */
4301
4627
  organizationId: string;
@@ -4303,7 +4629,7 @@ export type definitions = {
4303
4629
  * @description CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet or 'solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp' for Solana mainnet). Human-readable Solana aliases ('solana:mainnet', 'solana:devnet') are also accepted and normalized to canonical CAIP-2 values.
4304
4630
  * @enum {string}
4305
4631
  */
4306
- caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002" | "eip155:42161" | "eip155:4217" | "eip155:42431" | "eip155:421614" | "eip155:56" | "eip155:97" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1";
4632
+ caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002" | "eip155:56" | "eip155:97" | "eip155:10" | "eip155:11155420" | "eip155:143" | "eip155:10143" | "eip155:42161" | "eip155:4217" | "eip155:42431" | "eip155:421614" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1";
4307
4633
  };
4308
4634
  v1ListSupportedAssetsResponse: {
4309
4635
  /** @description List of asset metadata */
@@ -4608,7 +4934,13 @@ export type definitions = {
4608
4934
  session: string;
4609
4935
  };
4610
4936
  /** @enum {string} */
4611
- v1Outcome: "OUTCOME_ALLOW" | "OUTCOME_DENY_EXPLICIT" | "OUTCOME_DENY_IMPLICIT" | "OUTCOME_REQUIRES_CONSENSUS" | "OUTCOME_REJECTED" | "OUTCOME_ERROR" | "OUTCOME_REQUIRES_AUTHENTICATORS";
4937
+ v1Outcome: "OUTCOME_ALLOW" | "OUTCOME_DENY_EXPLICIT" | "OUTCOME_DENY_IMPLICIT" | "OUTCOME_REQUIRES_CONSENSUS" | "OUTCOME_REJECTED" | "OUTCOME_ERROR" | "OUTCOME_REQUIRES_AUTHENTICATORS" | "OUTCOME_TIME_INACTIVE";
4938
+ v1PageInfo: {
4939
+ hasNextPage?: boolean;
4940
+ hasPreviousPage?: boolean;
4941
+ startCursor?: string;
4942
+ endCursor?: string;
4943
+ };
4612
4944
  v1Pagination: {
4613
4945
  /** @description A limit of the number of object to be returned, between 1 and 100. Defaults to 10. */
4614
4946
  limit?: string;
@@ -4636,6 +4968,8 @@ export type definitions = {
4636
4968
  consensus: string;
4637
4969
  /** @description A condition expression that evalutes to true or false. */
4638
4970
  condition: string;
4971
+ /** @description A time expression that evalutes to true or false. */
4972
+ time?: string;
4639
4973
  };
4640
4974
  v1PostTvcQuorumKeyShareIntent: {
4641
4975
  /** @description Unique identifier of the TVC deployment receiving quorum key share */
@@ -4964,12 +5298,19 @@ export type definitions = {
4964
5298
  earnDeployWrapperResult?: definitions["v1EarnDeployWrapperResult"];
4965
5299
  earnDepositResult?: definitions["v1EarnDepositResult"];
4966
5300
  earnWithdrawResult?: definitions["v1EarnWithdrawResult"];
4967
- upsertEarnClientFeeConfigResult?: definitions["v1UpsertEarnClientFeeConfigResult"];
4968
5301
  executeSwapResult?: definitions["v1ExecuteSwapResult"];
4969
5302
  upsertSwapConfigResult?: definitions["v1UpsertSwapConfigResult"];
4970
5303
  createTvcOperatorResult?: definitions["v1CreateTvcOperatorResult"];
4971
5304
  createTvcQuorumKeyResult?: definitions["v1CreateTvcQuorumKeyResult"];
4972
5305
  reEncryptTvcQuorumKeyShareResult?: definitions["v1ReEncryptTvcQuorumKeyShareResult"];
5306
+ initImportSecretsResult?: definitions["v1InitImportSecretsResult"];
5307
+ solSendTransactionResultV2?: definitions["v1SolSendTransactionResultV2"];
5308
+ claimSwapFeesResult?: definitions["v1ClaimSwapFeesResult"];
5309
+ earnSetWrapperStateResult?: definitions["v1EarnSetWrapperStateResult"];
5310
+ claimEarnFeesResult?: definitions["v1ClaimEarnFeesResult"];
5311
+ updateWalletAccountNameResult?: definitions["v1UpdateWalletAccountNameResult"];
5312
+ ethUndelegate7702Result?: definitions["v1EthUndelegate7702Result"];
5313
+ createSwapQuoteResult?: definitions["v1CreateSwapQuoteResult"];
4973
5314
  };
4974
5315
  v1RevertChainEntry: {
4975
5316
  /** @description The contract address where the revert occurred. */
@@ -5247,20 +5588,68 @@ export type definitions = {
5247
5588
  /** @description user-provided blockhash for replay protection / deadline control. If omitted and sponsor=true, we fetch a fresh blockhash during execution */
5248
5589
  recentBlockhash?: string;
5249
5590
  };
5591
+ v1SolSendTransactionIntentV2: {
5592
+ /** @description Hex-encoded serialized unsigned Solana transaction (full wire format with zeroed signature placeholders) */
5593
+ unsignedTransaction: string;
5594
+ /** @description Ordered Solana signer addresses Turnkey signs with. Between 1 and 16 signers. For sponsored transactions this must list every required signer of the transaction in transaction order. */
5595
+ signWiths: string[];
5596
+ /** @description Whether to sponsor this transaction via Gas Station. */
5597
+ sponsor?: boolean;
5598
+ /**
5599
+ * @description CAIP-2 chain ID (e.g., 'solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp' for Solana mainnet). Human-readable Solana aliases ('solana:mainnet', 'solana:devnet') are also accepted and normalized to canonical CAIP-2 values.
5600
+ * @enum {string}
5601
+ */
5602
+ caip2: "solana:mainnet" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdpKuc147dw2N9d" | "solana:devnet" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1wcaWoxPkrZBG";
5603
+ /** @description User-provided blockhash for replay protection / deadline control. If provided, it is used as-is, including for sponsored transactions (the transaction is only broadcastable while the blockhash is current). If omitted and sponsor=true, a fresh blockhash is fetched during execution. */
5604
+ recentBlockhash?: string;
5605
+ };
5250
5606
  v1SolSendTransactionRequest: {
5251
5607
  /** @enum {string} */
5252
- type: "ACTIVITY_TYPE_SOL_SEND_TRANSACTION";
5608
+ type: "ACTIVITY_TYPE_SOL_SEND_TRANSACTION_V2";
5253
5609
  /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
5254
5610
  timestampMs: string;
5255
5611
  /** @description Unique identifier for a given Organization. */
5256
5612
  organizationId: string;
5257
- parameters: definitions["v1SolSendTransactionIntent"];
5613
+ parameters: definitions["v1SolSendTransactionIntentV2"];
5258
5614
  generateAppProofs?: boolean;
5259
5615
  };
5260
5616
  v1SolSendTransactionResult: {
5261
5617
  /** @description The send_transaction_status ID associated with the transaction submission */
5262
5618
  sendTransactionStatusId: string;
5263
5619
  };
5620
+ v1SolSendTransactionResultV2: {
5621
+ /** @description The send_transaction_status ID associated with the transaction submission */
5622
+ sendTransactionStatusId: string;
5623
+ };
5624
+ v1SolTransactionHistoryItem: {
5625
+ /** @description Solana transaction signature. */
5626
+ signature: string;
5627
+ /** @description Block metadata for the transaction. */
5628
+ block: definitions["v1TransactionHistoryBlock"];
5629
+ /**
5630
+ * @description Transaction confirmation status.
5631
+ * @enum {string}
5632
+ */
5633
+ status: "CONFIRMED" | "FINALIZED";
5634
+ /** @description Origin of the transaction. Examples include TURNKEY. */
5635
+ origin: string;
5636
+ /** @description Address that paid the Solana transaction fee. This is the first signer in the transaction message. */
5637
+ feePayer: string;
5638
+ /** @description Addresses that signed the Solana transaction, in message order. */
5639
+ signers: definitions["v1SolTransactionHistorySigner"][];
5640
+ /** @description Transaction fee information. */
5641
+ fee: definitions["v1TransactionHistoryFee"];
5642
+ /** @description Asset transfers associated with the transaction. */
5643
+ transfers: definitions["v1TransactionHistoryTransfer"][];
5644
+ /** @description Turnkey-specific metadata for transactions originated by Turnkey. */
5645
+ turnkey?: definitions["v1TransactionHistoryTurnkey"];
5646
+ };
5647
+ v1SolTransactionHistorySigner: {
5648
+ /** @description Address of the Solana transaction signer. */
5649
+ address: string;
5650
+ /** @description Whether the signer account was writable in the Solana transaction message. */
5651
+ writable: boolean;
5652
+ };
5264
5653
  v1SolanaConfig: {
5265
5654
  /** @description Whether Solana rent prefunding is enabled for the organization. When omitted, the existing rent-prefund state is left unchanged. */
5266
5655
  rentPrefundEnabled?: boolean;
@@ -5538,15 +5927,39 @@ export type definitions = {
5538
5927
  /** @description Signed JWT containing an expiry, public key, session type, user id, and organization id */
5539
5928
  session: string;
5540
5929
  };
5541
- v1SwapQuoteOption: {
5542
- /** @description Identifier for this provider quote. */
5930
+ v1SwapError: {
5931
+ /** @description Stable machine-readable failure reason. One of ORIGIN_TRANSACTION_FAILED or PROVIDER_FILL_FAILED. */
5932
+ reason: string;
5933
+ /** @description Human-readable description of the swap failure. */
5934
+ message: string;
5935
+ /** @description Origin-chain transaction failure details, present when reason is ORIGIN_TRANSACTION_FAILED and details are available. */
5936
+ originTxError?: definitions["v1TxError"];
5937
+ };
5938
+ v1SwapQuote: {
5939
+ /** @description Identifier for this provider quote. Pass this value to execute_swap_v2 to bind execution to this exact quote. The signer is derived from the quote; clients do not resupply sign_with on execute. */
5543
5940
  quoteId: string;
5544
- /** @description Swap provider that produced this quote. Pass this value to execute_swap to force a specific provider. */
5941
+ /** @description Swap provider that produced this quote. */
5545
5942
  provider: string;
5546
5943
  /** @description Estimated base-unit amount of the output asset. */
5547
5944
  outputAmount: string;
5548
5945
  /** @description Minimum acceptable base-unit amount of the output asset after slippage. */
5549
- minOutputAmount?: string;
5946
+ minOutputAmount: string;
5947
+ /** @description Quote expiration as a millisecond epoch string. */
5948
+ expiresAt: string;
5949
+ /** @description Provider-neutral maximum allowed slippage in basis points, echoed from the quote request when set. */
5950
+ slippageBps?: string;
5951
+ /** @description Client fee in basis points applied for this pair. Informational only; already reflected in output_amount and min_output_amount. */
5952
+ clientFeeBps: string;
5953
+ /** @description Provider-estimated completion time in seconds, when available. */
5954
+ estimatedTimeSeconds?: string;
5955
+ };
5956
+ v1SwapRefund: {
5957
+ /** @description CAIP-19 asset returned to the user after a failed swap. */
5958
+ asset: string;
5959
+ /** @description Base-unit amount of the refunded asset. */
5960
+ amount: string;
5961
+ /** @description Transaction that delivered the refunded funds, when applicable. */
5962
+ txHash?: string;
5550
5963
  };
5551
5964
  /** @enum {string} */
5552
5965
  v1TagType: "TAG_TYPE_USER" | "TAG_TYPE_PRIVATE_KEY";
@@ -5573,8 +5986,83 @@ export type definitions = {
5573
5986
  login?: definitions["v1LoginUsage"];
5574
5987
  signupV2?: definitions["v1SignupUsageV2"];
5575
5988
  };
5989
+ v1TransactionHistoryAsset: {
5990
+ /** @description The CAIP-19 asset identifier. */
5991
+ caip19: string;
5992
+ /** @description The asset symbol. */
5993
+ symbol: string;
5994
+ /** @description The asset name. */
5995
+ name: string;
5996
+ /**
5997
+ * Format: int32
5998
+ * @description The number of decimals this asset uses.
5999
+ */
6000
+ decimals: number;
6001
+ };
6002
+ v1TransactionHistoryBlock: {
6003
+ /**
6004
+ * Format: int64
6005
+ * @description Block number containing the transaction.
6006
+ */
6007
+ number: string;
6008
+ /** @description Block hash containing the transaction. */
6009
+ hash: string;
6010
+ /** @description Block timestamp in RFC 3339 format. */
6011
+ timestamp: string;
6012
+ };
6013
+ v1TransactionHistoryDisplay: {
6014
+ /** @description Normalized crypto value for display purposes only. Do not do any arithmetic or calculations with these, as the results could be imprecise. */
6015
+ crypto?: string;
6016
+ /** @description USD value for display purposes only. Do not do any arithmetic or calculations with these, as the results could be imprecise. */
6017
+ usd?: string;
6018
+ };
6019
+ v1TransactionHistoryFee: {
6020
+ /** @description Fee amount in atomic units. */
6021
+ amount: string;
6022
+ /** @description The CAIP-19 asset identifier. */
6023
+ caip19: string;
6024
+ };
6025
+ v1TransactionHistoryPaginationCursors: {
6026
+ /** @description Opaque base64-encoded cursor for fetching transactions immediately before the current page in the newest-first result order. Omitted when no such page exists. */
6027
+ before?: string;
6028
+ /** @description Opaque base64-encoded cursor for fetching transactions immediately after the current page in the newest-first result order. Omitted when no such page exists. */
6029
+ after?: string;
6030
+ };
6031
+ v1TransactionHistoryPaginationOptions: {
6032
+ /** @description Maximum number of transactions to return, between 1 and 100. Defaults to 25. */
6033
+ limit?: string;
6034
+ /** @description Opaque base64-encoded cursor returned by this API. Fetches transactions immediately before the cursor in the newest-first result order. Must not be constructed or modified by clients. Cannot be used with after. */
6035
+ before?: string;
6036
+ /** @description Opaque base64-encoded cursor returned by this API. Fetches transactions immediately after the cursor in the newest-first result order. Must not be constructed or modified by clients. Cannot be used with before. */
6037
+ after?: string;
6038
+ };
6039
+ v1TransactionHistoryTransfer: {
6040
+ /**
6041
+ * @description Transfer direction relative to the queried address.
6042
+ * @enum {string}
6043
+ */
6044
+ direction: "IN" | "OUT";
6045
+ /** @description Asset metadata for the transfer. Omitted when the asset cannot be determined. */
6046
+ asset?: definitions["v1TransactionHistoryAsset"];
6047
+ /** @description Transfer amount in atomic units. */
6048
+ amount: string;
6049
+ /** @description Counterparty address for the transfer. */
6050
+ counterparty: string;
6051
+ /** @description Normalized transfer values for display purposes only. Do not do any arithmetic or calculations with these, as the results could be imprecise. Use the amount field instead. */
6052
+ display?: definitions["v1TransactionHistoryDisplay"];
6053
+ };
6054
+ v1TransactionHistoryTurnkey: {
6055
+ /** @description Whether the transaction fee was sponsored by Turnkey. */
6056
+ sponsored: boolean;
6057
+ /** @description Fingerprint of the Turnkey activity that submitted the transaction. */
6058
+ activityFingerprint?: string;
6059
+ /** @description Timestamp when Turnkey submitted the transaction, in RFC 3339 format. */
6060
+ submittedAt?: string;
6061
+ };
5576
6062
  /** @enum {string} */
5577
6063
  v1TransactionType: "TRANSACTION_TYPE_ETHEREUM" | "TRANSACTION_TYPE_SOLANA" | "TRANSACTION_TYPE_TRON" | "TRANSACTION_TYPE_BITCOIN" | "TRANSACTION_TYPE_TEMPO";
6064
+ /** @enum {string} */
6065
+ v1TransportEncryptionSuite: "TRANSPORT_ENCRYPTION_SUITE_ENCLAVE_ENCRYPT_V1";
5578
6066
  v1TvcApp: {
5579
6067
  /** @description Unique Identifier for this TVC App. */
5580
6068
  id: string;
@@ -5803,6 +6291,8 @@ export type definitions = {
5803
6291
  verificationTokenRequiredForGetAccountPii?: boolean;
5804
6292
  /** @description Whitelisted OAuth client IDs for social account linking. When a user authenticates via a social provider with an email matching an existing account, the accounts will be linked if the client ID is in this list and the issuer is considered a trusted provider. */
5805
6293
  socialLinkingClientIds?: string[];
6294
+ /** @description Whether captcha verification is required on sign up & otp init. */
6295
+ captchaEnabled?: boolean;
5806
6296
  };
5807
6297
  v1UpdateAuthProxyConfigResult: {
5808
6298
  /** @description Unique identifier for a given User. (representing the turnkey signer user id) */
@@ -5939,6 +6429,8 @@ export type definitions = {
5939
6429
  policyConsensus?: string;
5940
6430
  /** @description Accompanying notes for a Policy (optional). */
5941
6431
  policyNotes?: string;
6432
+ /** @description The time expression that triggers the Effect (optional). */
6433
+ time?: string;
5942
6434
  };
5943
6435
  v1UpdatePolicyRequest: {
5944
6436
  /** @enum {string} */
@@ -6135,6 +6627,16 @@ export type definitions = {
6135
6627
  /** @description Unique identifier for a given User Tag. */
6136
6628
  userTagId: string;
6137
6629
  };
6630
+ v1UpdateWalletAccountNameIntent: {
6631
+ /** @description Unique identifier for a given Wallet Account. */
6632
+ walletAccountId: string;
6633
+ /** @description Human-readable name for this Wallet Account. */
6634
+ name: string;
6635
+ };
6636
+ v1UpdateWalletAccountNameResult: {
6637
+ /** @description Unique identifier for a given Wallet Account. */
6638
+ walletAccountId: string;
6639
+ };
6138
6640
  v1UpdateWalletIntent: {
6139
6641
  /** @description Unique identifier for a given Wallet. */
6140
6642
  walletId: string;
@@ -6181,25 +6683,6 @@ export type definitions = {
6181
6683
  /** @description The updated webhook endpoint data. */
6182
6684
  webhookEndpoint: definitions["v1WebhookEndpointData"];
6183
6685
  };
6184
- v1UpsertEarnClientFeeConfigIntent: {
6185
- /** @description Your performance fee on gross yield, in basis points (e.g., '2000' for 20%). Your fee plus Turnkey's fee cannot exceed 50% of yield. */
6186
- clientFeeBps: string;
6187
- /** @description The wallet address that receives the client's fee payouts on-chain. Must be a Turnkey-managed wallet address. */
6188
- clientFeeWallet: string;
6189
- };
6190
- v1UpsertEarnClientFeeConfigRequest: {
6191
- /** @enum {string} */
6192
- type: "ACTIVITY_TYPE_UPSERT_EARN_CLIENT_FEE_CONFIG";
6193
- /** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
6194
- timestampMs: string;
6195
- /** @description Unique identifier for a given Organization. */
6196
- organizationId: string;
6197
- parameters: definitions["v1UpsertEarnClientFeeConfigIntent"];
6198
- };
6199
- v1UpsertEarnClientFeeConfigResult: {
6200
- /** @description Transaction hash of the fee configuration update. */
6201
- feeUpdateTxHash: string;
6202
- };
6203
6686
  v1UpsertGasUsageConfigIntent: {
6204
6687
  /** @description Gas sponsorship USD limit for the billing organization window. */
6205
6688
  orgWindowLimitUsd: string;
@@ -6218,8 +6701,10 @@ export type definitions = {
6218
6701
  };
6219
6702
  v1UpsertSwapConfigIntent: {
6220
6703
  feeReceiverWalletAddress?: string;
6704
+ /** @description Client fee in basis points applied to swaps; used for all pairs unless stable_fee_bps is set. */
6221
6705
  feeBps?: string;
6222
- provider?: string;
6706
+ /** @description Optional Enterprise-only override applied when both swap assets are stablecoins; falls back to fee_bps when unset. Non-Enterprise orgs may only set fee_bps. */
6707
+ stableFeeBps?: string;
6223
6708
  };
6224
6709
  v1UpsertSwapConfigRequest: {
6225
6710
  /** @enum {string} */
@@ -6234,6 +6719,7 @@ export type definitions = {
6234
6719
  v1UpsertSwapConfigResult: {
6235
6720
  feeReceiverWalletAddress?: string;
6236
6721
  feeBps?: string;
6722
+ stableFeeBps?: string;
6237
6723
  };
6238
6724
  /** @enum {string} */
6239
6725
  v1UsageType: "USAGE_TYPE_SIGNUP" | "USAGE_TYPE_LOGIN";
@@ -6500,35 +6986,17 @@ export type definitions = {
6500
6986
  };
6501
6987
  };
6502
6988
  export type operations = {
6503
- /** Poll the status of a deposit by its deposit_request_id (for the async/sponsored deposit path). */
6504
- PublicApiService_EarnDepositStatus: {
6505
- parameters: {
6506
- body: {
6507
- body: definitions["v1EarnDepositStatusRequest"];
6508
- };
6509
- };
6510
- responses: {
6511
- /** A successful response. */
6512
- 200: {
6513
- schema: definitions["v1EarnDepositStatusResponse"];
6514
- };
6515
- /** An unexpected error response. */
6516
- default: {
6517
- schema: definitions["rpcStatus"];
6518
- };
6519
- };
6520
- };
6521
- /** Get the organization's deployed wrappers with on-chain total deposited and live APY. The management view, distinct from per-wallet positions. */
6522
- PublicApiService_EarnEnabledVaults: {
6989
+ /** Get details about an activity. */
6990
+ PublicApiService_GetActivity: {
6523
6991
  parameters: {
6524
6992
  body: {
6525
- body: definitions["v1EarnEnabledVaultsRequest"];
6993
+ body: definitions["v1GetActivityRequest"];
6526
6994
  };
6527
6995
  };
6528
6996
  responses: {
6529
6997
  /** A successful response. */
6530
6998
  200: {
6531
- schema: definitions["v1EarnEnabledVaultsResponse"];
6999
+ schema: definitions["v1ActivityResponse"];
6532
7000
  };
6533
7001
  /** An unexpected error response. */
6534
7002
  default: {
@@ -6536,17 +7004,17 @@ export type operations = {
6536
7004
  };
6537
7005
  };
6538
7006
  };
6539
- /** Get the active Earn positions for a specific wallet, including current value, cost basis, yield, and projected fees. */
6540
- PublicApiService_EarnPositions: {
7007
+ /** Get details about an API key. */
7008
+ PublicApiService_GetApiKey: {
6541
7009
  parameters: {
6542
7010
  body: {
6543
- body: definitions["v1EarnPositionsRequest"];
7011
+ body: definitions["v1GetApiKeyRequest"];
6544
7012
  };
6545
7013
  };
6546
7014
  responses: {
6547
7015
  /** A successful response. */
6548
7016
  200: {
6549
- schema: definitions["v1EarnPositionsResponse"];
7017
+ schema: definitions["v1GetApiKeyResponse"];
6550
7018
  };
6551
7019
  /** An unexpected error response. */
6552
7020
  default: {
@@ -6554,17 +7022,17 @@ export type operations = {
6554
7022
  };
6555
7023
  };
6556
7024
  };
6557
- /** Get the catalog of all wrappable yield vaults across supported chains, enriched with live TVL and APY. Annotates which vaults the organization has already enabled. */
6558
- PublicApiService_EarnVaults: {
7025
+ /** Get details about API keys for a user. */
7026
+ PublicApiService_GetApiKeys: {
6559
7027
  parameters: {
6560
7028
  body: {
6561
- body: definitions["v1EarnVaultsRequest"];
7029
+ body: definitions["v1GetApiKeysRequest"];
6562
7030
  };
6563
7031
  };
6564
7032
  responses: {
6565
7033
  /** A successful response. */
6566
7034
  200: {
6567
- schema: definitions["v1EarnVaultsResponse"];
7035
+ schema: definitions["v1GetApiKeysResponse"];
6568
7036
  };
6569
7037
  /** An unexpected error response. */
6570
7038
  default: {
@@ -6572,17 +7040,17 @@ export type operations = {
6572
7040
  };
6573
7041
  };
6574
7042
  };
6575
- /** Poll the status of a withdrawal by its withdraw_request_id. */
6576
- PublicApiService_EarnWithdrawStatus: {
7043
+ /** Get live runtime status for a TVC App from the cluster. */
7044
+ PublicApiService_GetAppStatus: {
6577
7045
  parameters: {
6578
7046
  body: {
6579
- body: definitions["v1EarnWithdrawStatusRequest"];
7047
+ body: definitions["v1GetAppStatusRequest"];
6580
7048
  };
6581
7049
  };
6582
7050
  responses: {
6583
7051
  /** A successful response. */
6584
7052
  200: {
6585
- schema: definitions["v1EarnWithdrawStatusResponse"];
7053
+ schema: definitions["v1GetAppStatusResponse"];
6586
7054
  };
6587
7055
  /** An unexpected error response. */
6588
7056
  default: {
@@ -6590,17 +7058,17 @@ export type operations = {
6590
7058
  };
6591
7059
  };
6592
7060
  };
6593
- /** Get details about an activity. */
6594
- PublicApiService_GetActivity: {
7061
+ /** Get details about an authenticator. */
7062
+ PublicApiService_GetAuthenticator: {
6595
7063
  parameters: {
6596
7064
  body: {
6597
- body: definitions["v1GetActivityRequest"];
7065
+ body: definitions["v1GetAuthenticatorRequest"];
6598
7066
  };
6599
7067
  };
6600
7068
  responses: {
6601
7069
  /** A successful response. */
6602
7070
  200: {
6603
- schema: definitions["v1ActivityResponse"];
7071
+ schema: definitions["v1GetAuthenticatorResponse"];
6604
7072
  };
6605
7073
  /** An unexpected error response. */
6606
7074
  default: {
@@ -6608,17 +7076,17 @@ export type operations = {
6608
7076
  };
6609
7077
  };
6610
7078
  };
6611
- /** Get details about an API key. */
6612
- PublicApiService_GetApiKey: {
7079
+ /** Get details about authenticators for a user. */
7080
+ PublicApiService_GetAuthenticators: {
6613
7081
  parameters: {
6614
7082
  body: {
6615
- body: definitions["v1GetApiKeyRequest"];
7083
+ body: definitions["v1GetAuthenticatorsRequest"];
6616
7084
  };
6617
7085
  };
6618
7086
  responses: {
6619
7087
  /** A successful response. */
6620
7088
  200: {
6621
- schema: definitions["v1GetApiKeyResponse"];
7089
+ schema: definitions["v1GetAuthenticatorsResponse"];
6622
7090
  };
6623
7091
  /** An unexpected error response. */
6624
7092
  default: {
@@ -6626,17 +7094,17 @@ export type operations = {
6626
7094
  };
6627
7095
  };
6628
7096
  };
6629
- /** Get details about API keys for a user. */
6630
- PublicApiService_GetApiKeys: {
7097
+ /** Get the boot proof for a given ephemeral key. */
7098
+ PublicApiService_GetBootProof: {
6631
7099
  parameters: {
6632
7100
  body: {
6633
- body: definitions["v1GetApiKeysRequest"];
7101
+ body: definitions["v1GetBootProofRequest"];
6634
7102
  };
6635
7103
  };
6636
7104
  responses: {
6637
7105
  /** A successful response. */
6638
7106
  200: {
6639
- schema: definitions["v1GetApiKeysResponse"];
7107
+ schema: definitions["v1BootProofResponse"];
6640
7108
  };
6641
7109
  /** An unexpected error response. */
6642
7110
  default: {
@@ -6644,17 +7112,17 @@ export type operations = {
6644
7112
  };
6645
7113
  };
6646
7114
  };
6647
- /** Get live runtime status for a TVC App from the cluster. */
6648
- PublicApiService_GetAppStatus: {
7115
+ /** Poll the status of a fee claim by its claim_request_id. */
7116
+ PublicApiService_GetClaimEarnFeesStatus: {
6649
7117
  parameters: {
6650
7118
  body: {
6651
- body: definitions["v1GetAppStatusRequest"];
7119
+ body: definitions["v1GetClaimEarnFeesStatusRequest"];
6652
7120
  };
6653
7121
  };
6654
7122
  responses: {
6655
7123
  /** A successful response. */
6656
7124
  200: {
6657
- schema: definitions["v1GetAppStatusResponse"];
7125
+ schema: definitions["v1GetClaimEarnFeesStatusResponse"];
6658
7126
  };
6659
7127
  /** An unexpected error response. */
6660
7128
  default: {
@@ -6662,17 +7130,17 @@ export type operations = {
6662
7130
  };
6663
7131
  };
6664
7132
  };
6665
- /** Get details about an authenticator. */
6666
- PublicApiService_GetAuthenticator: {
7133
+ /** Poll the status of a wrapper deployment by its deploy_request_id. */
7134
+ PublicApiService_GetEarnDeployStatus: {
6667
7135
  parameters: {
6668
7136
  body: {
6669
- body: definitions["v1GetAuthenticatorRequest"];
7137
+ body: definitions["v1GetEarnDeployStatusRequest"];
6670
7138
  };
6671
7139
  };
6672
7140
  responses: {
6673
7141
  /** A successful response. */
6674
7142
  200: {
6675
- schema: definitions["v1GetAuthenticatorResponse"];
7143
+ schema: definitions["v1GetEarnDeployStatusResponse"];
6676
7144
  };
6677
7145
  /** An unexpected error response. */
6678
7146
  default: {
@@ -6680,17 +7148,17 @@ export type operations = {
6680
7148
  };
6681
7149
  };
6682
7150
  };
6683
- /** Get details about authenticators for a user. */
6684
- PublicApiService_GetAuthenticators: {
7151
+ /** Poll the status of a deposit by its deposit_request_id (for the async/sponsored deposit path). */
7152
+ PublicApiService_GetEarnDepositStatus: {
6685
7153
  parameters: {
6686
7154
  body: {
6687
- body: definitions["v1GetAuthenticatorsRequest"];
7155
+ body: definitions["v1GetEarnDepositStatusRequest"];
6688
7156
  };
6689
7157
  };
6690
7158
  responses: {
6691
7159
  /** A successful response. */
6692
7160
  200: {
6693
- schema: definitions["v1GetAuthenticatorsResponse"];
7161
+ schema: definitions["v1GetEarnDepositStatusResponse"];
6694
7162
  };
6695
7163
  /** An unexpected error response. */
6696
7164
  default: {
@@ -6698,17 +7166,17 @@ export type operations = {
6698
7166
  };
6699
7167
  };
6700
7168
  };
6701
- /** Get the boot proof for a given ephemeral key. */
6702
- PublicApiService_GetBootProof: {
7169
+ /** Poll the status of a withdrawal by its withdraw_request_id. */
7170
+ PublicApiService_GetEarnWithdrawStatus: {
6703
7171
  parameters: {
6704
7172
  body: {
6705
- body: definitions["v1GetBootProofRequest"];
7173
+ body: definitions["v1GetEarnWithdrawStatusRequest"];
6706
7174
  };
6707
7175
  };
6708
7176
  responses: {
6709
7177
  /** A successful response. */
6710
7178
  200: {
6711
- schema: definitions["v1BootProofResponse"];
7179
+ schema: definitions["v1GetEarnWithdrawStatusResponse"];
6712
7180
  };
6713
7181
  /** An unexpected error response. */
6714
7182
  default: {
@@ -7058,25 +7526,7 @@ export type operations = {
7058
7526
  };
7059
7527
  };
7060
7528
  };
7061
- /** Get a swap quote. Asset chains are derived from CAIP-19 asset IDs; cross-chain quotes are supported. */
7062
- PublicApiService_GetSwapQuote: {
7063
- parameters: {
7064
- body: {
7065
- body: definitions["v1GetSwapQuoteRequest"];
7066
- };
7067
- };
7068
- responses: {
7069
- /** A successful response. */
7070
- 200: {
7071
- schema: definitions["v1GetSwapQuoteResponse"];
7072
- };
7073
- /** An unexpected error response. */
7074
- default: {
7075
- schema: definitions["rpcStatus"];
7076
- };
7077
- };
7078
- };
7079
- /** Get the status of a swap by the send_transaction_status_id returned from execute_swap. Covers same-chain and cross-chain swaps. */
7529
+ /** Poll the status of a swap by its swap_request_id. Covers same-chain and cross-chain swaps. */
7080
7530
  PublicApiService_GetSwapStatus: {
7081
7531
  parameters: {
7082
7532
  body: {
@@ -7274,6 +7724,60 @@ export type operations = {
7274
7724
  };
7275
7725
  };
7276
7726
  };
7727
+ /** Get the organization's deployed wrappers with on-chain total deposited and live APY. The management view, distinct from per-wallet positions. */
7728
+ PublicApiService_ListEarnEnabledVaults: {
7729
+ parameters: {
7730
+ body: {
7731
+ body: definitions["v1ListEarnEnabledVaultsRequest"];
7732
+ };
7733
+ };
7734
+ responses: {
7735
+ /** A successful response. */
7736
+ 200: {
7737
+ schema: definitions["v1ListEarnEnabledVaultsResponse"];
7738
+ };
7739
+ /** An unexpected error response. */
7740
+ default: {
7741
+ schema: definitions["rpcStatus"];
7742
+ };
7743
+ };
7744
+ };
7745
+ /** Get the active Earn positions for a specific wallet, including current value, cost basis, yield, and projected fees. */
7746
+ PublicApiService_ListEarnPositions: {
7747
+ parameters: {
7748
+ body: {
7749
+ body: definitions["v1ListEarnPositionsRequest"];
7750
+ };
7751
+ };
7752
+ responses: {
7753
+ /** A successful response. */
7754
+ 200: {
7755
+ schema: definitions["v1ListEarnPositionsResponse"];
7756
+ };
7757
+ /** An unexpected error response. */
7758
+ default: {
7759
+ schema: definitions["rpcStatus"];
7760
+ };
7761
+ };
7762
+ };
7763
+ /** Get the catalog of all wrappable yield vaults across supported chains, enriched with live TVL and APY. Annotates which vaults the organization has already enabled. */
7764
+ PublicApiService_ListEarnVaults: {
7765
+ parameters: {
7766
+ body: {
7767
+ body: definitions["v1ListEarnVaultsRequest"];
7768
+ };
7769
+ };
7770
+ responses: {
7771
+ /** A successful response. */
7772
+ 200: {
7773
+ schema: definitions["v1ListEarnVaultsResponse"];
7774
+ };
7775
+ /** An unexpected error response. */
7776
+ default: {
7777
+ schema: definitions["rpcStatus"];
7778
+ };
7779
+ };
7780
+ };
7277
7781
  /** List email events for the organization. */
7278
7782
  PublicApiService_ListEmailEvents: {
7279
7783
  parameters: {
@@ -7292,6 +7796,24 @@ export type operations = {
7292
7796
  };
7293
7797
  };
7294
7798
  };
7799
+ /** List Ethereum transaction history for a wallet address on the specified network. */
7800
+ PublicApiService_ListEthTransactionHistory: {
7801
+ parameters: {
7802
+ body: {
7803
+ body: definitions["v1ListEthTransactionHistoryRequest"];
7804
+ };
7805
+ };
7806
+ responses: {
7807
+ /** A successful response. */
7808
+ 200: {
7809
+ schema: definitions["v1ListEthTransactionHistoryResponse"];
7810
+ };
7811
+ /** An unexpected error response. */
7812
+ default: {
7813
+ schema: definitions["rpcStatus"];
7814
+ };
7815
+ };
7816
+ };
7295
7817
  /** List all fiat on ramp provider credentials within an organization. */
7296
7818
  PublicApiService_ListFiatOnRampCredentials: {
7297
7819
  parameters: {
@@ -7400,6 +7922,24 @@ export type operations = {
7400
7922
  };
7401
7923
  };
7402
7924
  };
7925
+ /** List Solana transaction history for a wallet address on the specified network. */
7926
+ PublicApiService_ListSolTransactionHistory: {
7927
+ parameters: {
7928
+ body: {
7929
+ body: definitions["v1ListSolTransactionHistoryRequest"];
7930
+ };
7931
+ };
7932
+ responses: {
7933
+ /** A successful response. */
7934
+ 200: {
7935
+ schema: definitions["v1ListSolTransactionHistoryResponse"];
7936
+ };
7937
+ /** An unexpected error response. */
7938
+ default: {
7939
+ schema: definitions["rpcStatus"];
7940
+ };
7941
+ };
7942
+ };
7403
7943
  /** Get all suborg IDs associated given a parent org ID and an optional filter. */
7404
7944
  PublicApiService_GetSubOrgIds: {
7405
7945
  parameters: {
@@ -7634,6 +8174,42 @@ export type operations = {
7634
8174
  };
7635
8175
  };
7636
8176
  };
8177
+ /** Claim earn fees through the activity pipeline. */
8178
+ PublicApiService_ClaimEarnFees: {
8179
+ parameters: {
8180
+ body: {
8181
+ body: definitions["v1ClaimEarnFeesRequest"];
8182
+ };
8183
+ };
8184
+ responses: {
8185
+ /** A successful response. */
8186
+ 200: {
8187
+ schema: definitions["v1ActivityResponse"];
8188
+ };
8189
+ /** An unexpected error response. */
8190
+ default: {
8191
+ schema: definitions["rpcStatus"];
8192
+ };
8193
+ };
8194
+ };
8195
+ /** Claim swap fees through the activity pipeline. */
8196
+ PublicApiService_ClaimSwapFees: {
8197
+ parameters: {
8198
+ body: {
8199
+ body: definitions["v1ClaimSwapFeesRequest"];
8200
+ };
8201
+ };
8202
+ responses: {
8203
+ /** A successful response. */
8204
+ 200: {
8205
+ schema: definitions["v1ActivityResponse"];
8206
+ };
8207
+ /** An unexpected error response. */
8208
+ default: {
8209
+ schema: definitions["rpcStatus"];
8210
+ };
8211
+ };
8212
+ };
7637
8213
  /** Add API keys to an existing user. */
7638
8214
  PublicApiService_CreateApiKeys: {
7639
8215
  parameters: {
@@ -7922,7 +8498,7 @@ export type operations = {
7922
8498
  };
7923
8499
  };
7924
8500
  };
7925
- /** Create a new sub-organization. */
8501
+ /** Create a new sub-organization. Each root user must have at least one valid credential: an API key, an authenticator, an OAuth provider, or an email or phone number with a login method enabled on the sub-organization (email, email OTP, or SMS). */
7926
8502
  PublicApiService_CreateSubOrganization: {
7927
8503
  parameters: {
7928
8504
  body: {
@@ -7940,6 +8516,24 @@ export type operations = {
7940
8516
  };
7941
8517
  };
7942
8518
  };
8519
+ /** Get a swap quote. Asset chains are derived from CAIP-19 asset IDs; cross-chain quotes are supported. */
8520
+ PublicApiService_CreateSwapQuote: {
8521
+ parameters: {
8522
+ body: {
8523
+ body: definitions["v1CreateSwapQuoteRequest"];
8524
+ };
8525
+ };
8526
+ responses: {
8527
+ /** A successful response. */
8528
+ 200: {
8529
+ schema: definitions["v1ActivityResponse"];
8530
+ };
8531
+ /** An unexpected error response. */
8532
+ default: {
8533
+ schema: definitions["rpcStatus"];
8534
+ };
8535
+ };
8536
+ };
7943
8537
  /** Create a new TVC application */
7944
8538
  PublicApiService_CreateTvcApp: {
7945
8539
  parameters: {
@@ -8048,7 +8642,7 @@ export type operations = {
8048
8642
  };
8049
8643
  };
8050
8644
  };
8051
- /** Create users in an existing organization. */
8645
+ /** Create users in an existing organization. Each user must have at least one valid credential: an API key, an authenticator, an OAuth provider, or an email or phone number with a login method enabled on the organization (email, email OTP, or SMS). */
8052
8646
  PublicApiService_CreateUsers: {
8053
8647
  parameters: {
8054
8648
  body: {
@@ -8516,6 +9110,24 @@ export type operations = {
8516
9110
  };
8517
9111
  };
8518
9112
  };
9113
+ /** Enable or disable deposits to a deployed Earn wrapper. Withdrawals are always allowed. */
9114
+ PublicApiService_EarnSetWrapperState: {
9115
+ parameters: {
9116
+ body: {
9117
+ body: definitions["v1EarnSetWrapperStateRequest"];
9118
+ };
9119
+ };
9120
+ responses: {
9121
+ /** A successful response. */
9122
+ 200: {
9123
+ schema: definitions["v1ActivityResponse"];
9124
+ };
9125
+ /** An unexpected error response. */
9126
+ default: {
9127
+ schema: definitions["rpcStatus"];
9128
+ };
9129
+ };
9130
+ };
8519
9131
  /** Withdraw assets or redeem shares from an enabled yield vault. */
8520
9132
  PublicApiService_EarnWithdraw: {
8521
9133
  parameters: {
@@ -8588,7 +9200,25 @@ export type operations = {
8588
9200
  };
8589
9201
  };
8590
9202
  };
8591
- /** Execute a quoted swap through the activity pipeline and Turnkey broadcasting. */
9203
+ /** Submit an EIP-7702 undelegation transaction. */
9204
+ PublicApiService_EthUndelegate7702: {
9205
+ parameters: {
9206
+ body: {
9207
+ body: definitions["v1EthUndelegate7702Request"];
9208
+ };
9209
+ };
9210
+ responses: {
9211
+ /** A successful response. */
9212
+ 200: {
9213
+ schema: definitions["v1ActivityResponse"];
9214
+ };
9215
+ /** An unexpected error response. */
9216
+ default: {
9217
+ schema: definitions["rpcStatus"];
9218
+ };
9219
+ };
9220
+ };
9221
+ /** Execute the exact provider quote identified by quote_id through the activity pipeline and Turnkey broadcasting. Requests must use ACTIVITY_TYPE_EXECUTE_SWAP_V2. */
8592
9222
  PublicApiService_ExecuteSwap: {
8593
9223
  parameters: {
8594
9224
  body: {
@@ -8732,6 +9362,24 @@ export type operations = {
8732
9362
  };
8733
9363
  };
8734
9364
  };
9365
+ /** Initialize secret imports by generating Ingress Encryption Target Keys. */
9366
+ PublicApiService_InitImportSecrets: {
9367
+ parameters: {
9368
+ body: {
9369
+ body: definitions["v1InitImportSecretsRequest"];
9370
+ };
9371
+ };
9372
+ responses: {
9373
+ /** A successful response. */
9374
+ 200: {
9375
+ schema: definitions["v1ActivityResponse"];
9376
+ };
9377
+ /** An unexpected error response. */
9378
+ default: {
9379
+ schema: definitions["rpcStatus"];
9380
+ };
9381
+ };
9382
+ };
8735
9383
  /** Initialize a new wallet import. */
8736
9384
  PublicApiService_InitImportWallet: {
8737
9385
  parameters: {
@@ -9128,7 +9776,7 @@ export type operations = {
9128
9776
  };
9129
9777
  };
9130
9778
  };
9131
- /** Submit a transaction intent describing an SVM transaction you would like to broadcast. */
9779
+ /** Submit a transaction intent describing an SVM transaction you would like to broadcast. Supports single- and multi-signer intents via activity type versioning. */
9132
9780
  PublicApiService_SolSendTransaction: {
9133
9781
  parameters: {
9134
9782
  body: {
@@ -9488,24 +10136,6 @@ export type operations = {
9488
10136
  };
9489
10137
  };
9490
10138
  };
9491
- /** Set the client's Earn fee rate and payout wallet for the organization. */
9492
- PublicApiService_UpsertEarnClientFeeConfig: {
9493
- parameters: {
9494
- body: {
9495
- body: definitions["v1UpsertEarnClientFeeConfigRequest"];
9496
- };
9497
- };
9498
- responses: {
9499
- /** A successful response. */
9500
- 200: {
9501
- schema: definitions["v1ActivityResponse"];
9502
- };
9503
- /** An unexpected error response. */
9504
- default: {
9505
- schema: definitions["rpcStatus"];
9506
- };
9507
- };
9508
- };
9509
10139
  /** Enable or disable swap configuration for an organization. */
9510
10140
  PublicApiService_UpsertSwapConfig: {
9511
10141
  parameters: {