@turnkey/http 5.0.0 → 6.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +41 -0
- package/dist/__generated__/services/coordinator/public/v1/public_api.client.d.ts +198 -93
- package/dist/__generated__/services/coordinator/public/v1/public_api.client.d.ts.map +1 -1
- package/dist/__generated__/services/coordinator/public/v1/public_api.client.js +327 -152
- package/dist/__generated__/services/coordinator/public/v1/public_api.client.js.map +1 -1
- package/dist/__generated__/services/coordinator/public/v1/public_api.client.mjs +327 -152
- package/dist/__generated__/services/coordinator/public/v1/public_api.client.mjs.map +1 -1
- package/dist/__generated__/services/coordinator/public/v1/public_api.fetcher.d.ts +26556 -10074
- package/dist/__generated__/services/coordinator/public/v1/public_api.fetcher.d.ts.map +1 -1
- package/dist/__generated__/services/coordinator/public/v1/public_api.fetcher.js +315 -147
- package/dist/__generated__/services/coordinator/public/v1/public_api.fetcher.js.map +1 -1
- package/dist/__generated__/services/coordinator/public/v1/public_api.fetcher.mjs +290 -136
- package/dist/__generated__/services/coordinator/public/v1/public_api.fetcher.mjs.map +1 -1
- package/dist/__generated__/services/coordinator/public/v1/public_api.types.d.ts +741 -253
- package/dist/__generated__/services/coordinator/public/v1/public_api.types.d.ts.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/version.mjs +1 -1
- package/package.json +4 -4
|
@@ -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"];
|
|
@@ -175,10 +171,26 @@ export type paths = {
|
|
|
175
171
|
/** List the App Proofs for the given activity. */
|
|
176
172
|
post: operations["PublicApiService_GetAppProofs"];
|
|
177
173
|
};
|
|
174
|
+
"/public/v1/query/list_earn_enabled_vaults": {
|
|
175
|
+
/** Get the organization's deployed wrappers with on-chain total deposited and live APY. The management view, distinct from per-wallet positions. */
|
|
176
|
+
post: operations["PublicApiService_ListEarnEnabledVaults"];
|
|
177
|
+
};
|
|
178
|
+
"/public/v1/query/list_earn_positions": {
|
|
179
|
+
/** Get the active Earn positions for a specific wallet, including current value, cost basis, yield, and projected fees. */
|
|
180
|
+
post: operations["PublicApiService_ListEarnPositions"];
|
|
181
|
+
};
|
|
182
|
+
"/public/v1/query/list_earn_vaults": {
|
|
183
|
+
/** 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. */
|
|
184
|
+
post: operations["PublicApiService_ListEarnVaults"];
|
|
185
|
+
};
|
|
178
186
|
"/public/v1/query/list_email_events": {
|
|
179
187
|
/** List email events for the organization. */
|
|
180
188
|
post: operations["PublicApiService_ListEmailEvents"];
|
|
181
189
|
};
|
|
190
|
+
"/public/v1/query/list_eth_transaction_history": {
|
|
191
|
+
/** List Ethereum transaction history for a wallet address on the specified network. */
|
|
192
|
+
post: operations["PublicApiService_ListEthTransactionHistory"];
|
|
193
|
+
};
|
|
182
194
|
"/public/v1/query/list_fiat_on_ramp_credentials": {
|
|
183
195
|
/** List all fiat on ramp provider credentials within an organization. */
|
|
184
196
|
post: operations["PublicApiService_ListFiatOnRampCredentials"];
|
|
@@ -203,6 +215,10 @@ export type paths = {
|
|
|
203
215
|
/** List all smart contract interfaces within an organization. */
|
|
204
216
|
post: operations["PublicApiService_GetSmartContractInterfaces"];
|
|
205
217
|
};
|
|
218
|
+
"/public/v1/query/list_sol_transaction_history": {
|
|
219
|
+
/** List Solana transaction history for a wallet address on the specified network. */
|
|
220
|
+
post: operations["PublicApiService_ListSolTransactionHistory"];
|
|
221
|
+
};
|
|
206
222
|
"/public/v1/query/list_suborgs": {
|
|
207
223
|
/** Get all suborg IDs associated given a parent org ID and an optional filter. */
|
|
208
224
|
post: operations["PublicApiService_GetSubOrgIds"];
|
|
@@ -255,6 +271,14 @@ export type paths = {
|
|
|
255
271
|
/** Approve an activity. */
|
|
256
272
|
post: operations["PublicApiService_ApproveActivity"];
|
|
257
273
|
};
|
|
274
|
+
"/public/v1/submit/claim_earn_fees": {
|
|
275
|
+
/** Claim earn fees through the activity pipeline. */
|
|
276
|
+
post: operations["PublicApiService_ClaimEarnFees"];
|
|
277
|
+
};
|
|
278
|
+
"/public/v1/submit/claim_swap_fees": {
|
|
279
|
+
/** Claim swap fees through the activity pipeline. */
|
|
280
|
+
post: operations["PublicApiService_ClaimSwapFees"];
|
|
281
|
+
};
|
|
258
282
|
"/public/v1/submit/create_api_keys": {
|
|
259
283
|
/** Add API keys to an existing user. */
|
|
260
284
|
post: operations["PublicApiService_CreateApiKeys"];
|
|
@@ -320,7 +344,7 @@ export type paths = {
|
|
|
320
344
|
post: operations["PublicApiService_CreateSmartContractInterface"];
|
|
321
345
|
};
|
|
322
346
|
"/public/v1/submit/create_sub_organization": {
|
|
323
|
-
/** Create a new sub-organization. */
|
|
347
|
+
/** 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
348
|
post: operations["PublicApiService_CreateSubOrganization"];
|
|
325
349
|
};
|
|
326
350
|
"/public/v1/submit/create_tvc_app": {
|
|
@@ -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"];
|
|
@@ -499,6 +527,10 @@ export type paths = {
|
|
|
499
527
|
/** Initialize a new private key import. */
|
|
500
528
|
post: operations["PublicApiService_InitImportPrivateKey"];
|
|
501
529
|
};
|
|
530
|
+
"/public/v1/submit/init_import_secrets": {
|
|
531
|
+
/** Initialize secret imports by generating Ingress Encryption Target Keys. */
|
|
532
|
+
post: operations["PublicApiService_InitImportSecrets"];
|
|
533
|
+
};
|
|
502
534
|
"/public/v1/submit/init_import_wallet": {
|
|
503
535
|
/** Initialize a new wallet import. */
|
|
504
536
|
post: operations["PublicApiService_InitImportWallet"];
|
|
@@ -588,7 +620,7 @@ export type paths = {
|
|
|
588
620
|
post: operations["PublicApiService_SignTransaction"];
|
|
589
621
|
};
|
|
590
622
|
"/public/v1/submit/sol_send_transaction": {
|
|
591
|
-
/** Submit a transaction intent describing an SVM transaction you would like to broadcast. */
|
|
623
|
+
/** Submit a transaction intent describing an SVM transaction you would like to broadcast. Supports single- and multi-signer intents via activity type versioning. */
|
|
592
624
|
post: operations["PublicApiService_SolSendTransaction"];
|
|
593
625
|
};
|
|
594
626
|
"/public/v1/submit/spark_claim_transfer": {
|
|
@@ -667,10 +699,6 @@ export type paths = {
|
|
|
667
699
|
/** Update a webhook endpoint for an organization. */
|
|
668
700
|
post: operations["PublicApiService_UpdateWebhookEndpoint"];
|
|
669
701
|
};
|
|
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
702
|
"/public/v1/submit/upsert_swap_config": {
|
|
675
703
|
/** Enable or disable swap configuration for an organization. */
|
|
676
704
|
post: operations["PublicApiService_UpsertSwapConfig"];
|
|
@@ -889,7 +917,7 @@ export type definitions = {
|
|
|
889
917
|
/** @enum {string} */
|
|
890
918
|
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
919
|
/** @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" | "
|
|
920
|
+
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";
|
|
893
921
|
/** @enum {string} */
|
|
894
922
|
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
923
|
v1ApiKey: {
|
|
@@ -1090,6 +1118,41 @@ export type definitions = {
|
|
|
1090
1118
|
v1BootProofResponse: {
|
|
1091
1119
|
bootProof: definitions["v1BootProof"];
|
|
1092
1120
|
};
|
|
1121
|
+
v1ClaimEarnFeesIntent: {
|
|
1122
|
+
/** @description Address of the deployed Earn wrapper to claim fees for. Must be one of the org's deployed wrappers. */
|
|
1123
|
+
wrapperAddress: string;
|
|
1124
|
+
};
|
|
1125
|
+
v1ClaimEarnFeesRequest: {
|
|
1126
|
+
/** @enum {string} */
|
|
1127
|
+
type: "ACTIVITY_TYPE_CLAIM_EARN_FEES";
|
|
1128
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1129
|
+
timestampMs: string;
|
|
1130
|
+
/** @description Unique identifier for a given Organization. */
|
|
1131
|
+
organizationId: string;
|
|
1132
|
+
parameters: definitions["v1ClaimEarnFeesIntent"];
|
|
1133
|
+
generateAppProofs?: boolean;
|
|
1134
|
+
};
|
|
1135
|
+
v1ClaimEarnFeesResult: {
|
|
1136
|
+
/** @description Identifier to poll claim status and tx hash via GetClaimEarnFeesStatus. */
|
|
1137
|
+
claimRequestId: string;
|
|
1138
|
+
};
|
|
1139
|
+
v1ClaimSwapFeesIntent: {
|
|
1140
|
+
[key: string]: unknown;
|
|
1141
|
+
};
|
|
1142
|
+
v1ClaimSwapFeesRequest: {
|
|
1143
|
+
/** @enum {string} */
|
|
1144
|
+
type: "ACTIVITY_TYPE_CLAIM_SWAP_FEES";
|
|
1145
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1146
|
+
timestampMs: string;
|
|
1147
|
+
/** @description Unique identifier for a given Organization. */
|
|
1148
|
+
organizationId: string;
|
|
1149
|
+
parameters: definitions["v1ClaimSwapFeesIntent"];
|
|
1150
|
+
generateAppProofs?: boolean;
|
|
1151
|
+
};
|
|
1152
|
+
v1ClaimSwapFeesResult: {
|
|
1153
|
+
/** @description Relay claim request ID submitted through the permit endpoint. */
|
|
1154
|
+
requestId: string;
|
|
1155
|
+
};
|
|
1093
1156
|
v1ClientSignature: {
|
|
1094
1157
|
/** @description The public component of a cryptographic key pair used to create the signature. */
|
|
1095
1158
|
publicKey: string;
|
|
@@ -1826,6 +1889,11 @@ export type definitions = {
|
|
|
1826
1889
|
* @description Port to use for public ingress.
|
|
1827
1890
|
*/
|
|
1828
1891
|
publicIngressPort: number;
|
|
1892
|
+
/**
|
|
1893
|
+
* Format: int64
|
|
1894
|
+
* @description Optional desired replica count for this deployment.
|
|
1895
|
+
*/
|
|
1896
|
+
replicas?: number;
|
|
1829
1897
|
};
|
|
1830
1898
|
v1CreateTvcDeploymentRequest: {
|
|
1831
1899
|
/** @enum {string} */
|
|
@@ -2472,13 +2540,17 @@ export type definitions = {
|
|
|
2472
2540
|
privateKeyId: string;
|
|
2473
2541
|
};
|
|
2474
2542
|
v1EarnDeployWrapperIntent: {
|
|
2475
|
-
/** @description Address of the underlying yield vault to wrap (from the
|
|
2543
|
+
/** @description Address of the underlying yield vault to wrap (from the ListEarnVaults catalog). */
|
|
2476
2544
|
vaultAddress: string;
|
|
2477
2545
|
/**
|
|
2478
2546
|
* @description CAIP-2 chain ID the vault lives on (e.g., 'eip155:8453' for Base).
|
|
2479
2547
|
* @enum {string}
|
|
2480
2548
|
*/
|
|
2481
2549
|
chainCaip2: "eip155:1" | "eip155:8453" | "eip155:42161" | "eip155:137" | "eip155:56" | "eip155:4217";
|
|
2550
|
+
/** @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. */
|
|
2551
|
+
clientFeeBps: string;
|
|
2552
|
+
/** @description The wallet address that receives the client's fee payouts on-chain. Must be a Turnkey-managed wallet address. */
|
|
2553
|
+
clientFeeWallet: string;
|
|
2482
2554
|
};
|
|
2483
2555
|
v1EarnDeployWrapperRequest: {
|
|
2484
2556
|
/** @enum {string} */
|
|
@@ -2495,12 +2567,12 @@ export type definitions = {
|
|
|
2495
2567
|
wrapperAddress: string;
|
|
2496
2568
|
/** @description Address of the deployed fee splitter (PaymentSplitter for Morpho, RevenueSplitterOwner for Aave). */
|
|
2497
2569
|
splitterAddress: string;
|
|
2498
|
-
/** @description
|
|
2499
|
-
|
|
2570
|
+
/** @description Identifier to poll deploy status. */
|
|
2571
|
+
deployRequestId: string;
|
|
2500
2572
|
};
|
|
2501
2573
|
v1EarnDepositIntent: {
|
|
2502
|
-
/** @description Address of the
|
|
2503
|
-
|
|
2574
|
+
/** @description Address of the deployed Earn wrapper to deposit into, from ListEarnVaults/ListEarnPositions. Must be one of the org's deployed wrappers. */
|
|
2575
|
+
wrapperAddress: string;
|
|
2504
2576
|
/** @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
2577
|
signWith: string;
|
|
2506
2578
|
/** @description Amount of the underlying asset to deposit, in raw on-chain units (e.g., '1000000' for 1 USDC at 6 decimals). */
|
|
@@ -2524,119 +2596,126 @@ export type definitions = {
|
|
|
2524
2596
|
generateAppProofs?: boolean;
|
|
2525
2597
|
};
|
|
2526
2598
|
v1EarnDepositResult: {
|
|
2527
|
-
/** @description
|
|
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. */
|
|
2599
|
+
/** @description Identifier to poll deposit status and tx hash via GetEarnDepositStatus. */
|
|
2540
2600
|
depositRequestId: string;
|
|
2541
2601
|
};
|
|
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
2602
|
v1EarnEnabledVault: {
|
|
2552
2603
|
/** @description Address of the underlying yield vault. */
|
|
2553
2604
|
vaultAddress?: string;
|
|
2554
2605
|
/** @description Address of the deployed fee wrapper (the deposit target). */
|
|
2555
2606
|
wrapperAddress?: string;
|
|
2556
|
-
/** @description
|
|
2557
|
-
|
|
2558
|
-
/** @description CAIP-
|
|
2559
|
-
|
|
2560
|
-
/** @description
|
|
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. */
|
|
2607
|
+
/** @description Yield provider for the vault. */
|
|
2608
|
+
provider?: definitions["v1EarnProvider"];
|
|
2609
|
+
/** @description CAIP-19 asset ID of the vault's underlying asset (e.g. 'eip155:8453/erc20:0x833589...'); the chain is encoded in the identifier. */
|
|
2610
|
+
caip19?: string;
|
|
2611
|
+
/** @description Gross annual percentage yield, expressed as a decimal fraction (before Turnkey and client fees). */
|
|
2565
2612
|
apyPct?: string;
|
|
2566
2613
|
/** @description Total deposited through this wrapper (wrapper TVL), in raw on-chain units of the underlying asset. */
|
|
2567
2614
|
totalDeposited?: string;
|
|
2568
|
-
|
|
2569
|
-
|
|
2570
|
-
/** @description
|
|
2571
|
-
|
|
2572
|
-
|
|
2573
|
-
|
|
2574
|
-
/** @description
|
|
2575
|
-
|
|
2615
|
+
/** @description Normalized total-deposited values for display only (usd + crypto). Do not do arithmetic with these; use total_deposited instead. */
|
|
2616
|
+
display?: definitions["v1EarnValueDisplay"];
|
|
2617
|
+
/** @description Annual percentage yield net of the Turnkey and client performance fees, expressed as a decimal fraction. */
|
|
2618
|
+
netApyPct?: string;
|
|
2619
|
+
/** @description Client performance fee taken on yield, in basis points. Currently org-wide; moving to a per-vault setting. */
|
|
2620
|
+
clientFeeBps?: string;
|
|
2621
|
+
/** @description When true, deposits to this wrapper are rejected; withdrawals are unaffected. Toggled via EarnSetWrapperState. */
|
|
2622
|
+
depositsDisabled?: boolean;
|
|
2623
|
+
/** @description Human-readable vault name from the provider (e.g. 'Steakhouse Prime USDC' for Morpho; the reserve symbol for Aave). */
|
|
2624
|
+
name?: string;
|
|
2625
|
+
/** @description Vault curator name(s), comma-separated when a vault has multiple. Empty for providers without curators (e.g. Aave). */
|
|
2626
|
+
curator?: string;
|
|
2627
|
+
/** @description The client's claimable performance 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. */
|
|
2628
|
+
claimableClientFee?: string;
|
|
2629
|
+
/** @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. */
|
|
2630
|
+
claimableClientFeeDisplay?: definitions["v1EarnValueDisplay"];
|
|
2576
2631
|
};
|
|
2577
2632
|
v1EarnPosition: {
|
|
2578
2633
|
/** @description Address of the underlying yield vault. */
|
|
2579
2634
|
vaultAddress?: string;
|
|
2580
2635
|
/** @description Address of the fee wrapper holding the position. */
|
|
2581
2636
|
wrapperAddress?: string;
|
|
2582
|
-
/** @description
|
|
2583
|
-
|
|
2584
|
-
/** @description
|
|
2585
|
-
|
|
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;
|
|
2637
|
+
/** @description Yield provider for the vault. */
|
|
2638
|
+
provider?: definitions["v1EarnProvider"];
|
|
2639
|
+
/** @description CAIP-19 asset ID of the vault's underlying asset (e.g. 'eip155:8453/erc20:0x833589...'); the chain is encoded in the identifier. */
|
|
2640
|
+
caip19?: string;
|
|
2590
2641
|
/** @description Current value of the position in the underlying asset, in raw on-chain units (already net of the wrapper fee). */
|
|
2591
2642
|
currentValue?: string;
|
|
2592
|
-
/** @description
|
|
2593
|
-
|
|
2594
|
-
/** @description
|
|
2595
|
-
|
|
2596
|
-
/** @description
|
|
2597
|
-
|
|
2598
|
-
/** @description
|
|
2599
|
-
|
|
2643
|
+
/** @description Lifetime total deposited into this position, in raw on-chain units. */
|
|
2644
|
+
totalDeposited?: string;
|
|
2645
|
+
/** @description Lifetime total withdrawn from this position, in raw on-chain units. */
|
|
2646
|
+
totalWithdrawn?: string;
|
|
2647
|
+
/** @description USD + crypto renderings for display only. Do not do arithmetic with these. */
|
|
2648
|
+
display?: definitions["v1EarnPositionDisplay"];
|
|
2649
|
+
/** @description When true, deposits to this wrapper are rejected; withdrawals are unaffected. Toggled via EarnSetWrapperState. */
|
|
2650
|
+
depositsDisabled?: boolean;
|
|
2651
|
+
};
|
|
2652
|
+
v1EarnPositionDisplay: {
|
|
2653
|
+
/** @description Current value in USD, for display only. */
|
|
2654
|
+
currentValueUsd?: string;
|
|
2655
|
+
/** @description Total deposited in USD, for display only. */
|
|
2656
|
+
totalDepositedUsd?: string;
|
|
2657
|
+
/** @description Total withdrawn in USD, for display only. */
|
|
2658
|
+
totalWithdrawnUsd?: string;
|
|
2659
|
+
/** @description Current value in the asset's own units, for display only. */
|
|
2660
|
+
currentValueCrypto?: string;
|
|
2661
|
+
/** @description Total deposited in the asset's own units, for display only. */
|
|
2662
|
+
totalDepositedCrypto?: string;
|
|
2663
|
+
/** @description Total withdrawn in the asset's own units, for display only. */
|
|
2664
|
+
totalWithdrawnCrypto?: string;
|
|
2600
2665
|
};
|
|
2601
|
-
|
|
2666
|
+
/** @enum {string} */
|
|
2667
|
+
v1EarnProvider: "EARN_PROVIDER_MORPHO" | "EARN_PROVIDER_AAVE";
|
|
2668
|
+
v1EarnSetWrapperStateIntent: {
|
|
2669
|
+
/** @description Address of the deployed Earn wrapper to update, from ListEarnVaults/ListEarnPositions. Must be one of the org's deployed wrappers. */
|
|
2670
|
+
wrapperAddress: string;
|
|
2671
|
+
/** @description When true, deposits to this wrapper are rejected; withdrawals are unaffected. Set to false to re-enable deposits. */
|
|
2672
|
+
depositsDisabled: boolean;
|
|
2673
|
+
};
|
|
2674
|
+
v1EarnSetWrapperStateRequest: {
|
|
2675
|
+
/** @enum {string} */
|
|
2676
|
+
type: "ACTIVITY_TYPE_EARN_SET_WRAPPER_STATE";
|
|
2677
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
2678
|
+
timestampMs: string;
|
|
2602
2679
|
/** @description Unique identifier for a given Organization. */
|
|
2603
2680
|
organizationId: string;
|
|
2604
|
-
|
|
2605
|
-
|
|
2681
|
+
parameters: definitions["v1EarnSetWrapperStateIntent"];
|
|
2682
|
+
generateAppProofs?: boolean;
|
|
2606
2683
|
};
|
|
2607
|
-
|
|
2608
|
-
/** @description
|
|
2609
|
-
|
|
2684
|
+
v1EarnSetWrapperStateResult: {
|
|
2685
|
+
/** @description Address of the updated Earn wrapper. */
|
|
2686
|
+
wrapperAddress: string;
|
|
2687
|
+
/** @description The wrapper's deposit state after this activity. */
|
|
2688
|
+
depositsDisabled: boolean;
|
|
2689
|
+
};
|
|
2690
|
+
v1EarnValueDisplay: {
|
|
2691
|
+
/** @description USD value, for display only. */
|
|
2692
|
+
usd?: string;
|
|
2693
|
+
/** @description Normalized amount in the asset's own units, for display only. */
|
|
2694
|
+
crypto?: string;
|
|
2610
2695
|
};
|
|
2611
2696
|
v1EarnVault: {
|
|
2612
2697
|
/** @description Address of the underlying yield vault. */
|
|
2613
2698
|
vaultAddress?: string;
|
|
2614
|
-
/** @description
|
|
2615
|
-
|
|
2616
|
-
/** @description
|
|
2617
|
-
|
|
2618
|
-
/** @description
|
|
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. */
|
|
2699
|
+
/** @description Yield provider for the vault. */
|
|
2700
|
+
provider?: definitions["v1EarnProvider"];
|
|
2701
|
+
/** @description CAIP-19 asset ID of the vault's underlying asset (e.g. 'eip155:8453/erc20:0x833589...'); the chain is encoded in the identifier. */
|
|
2702
|
+
caip19?: string;
|
|
2703
|
+
/** @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
2704
|
tvl?: string;
|
|
2624
2705
|
/** @description Current annual percentage yield, expressed as a decimal fraction (e.g., '0.0812' for 8.12%). */
|
|
2625
2706
|
apyPct?: string;
|
|
2626
2707
|
/** @description Whether the organization has enabled this vault. */
|
|
2627
2708
|
enabled?: boolean;
|
|
2628
|
-
|
|
2629
|
-
|
|
2630
|
-
/** @description
|
|
2631
|
-
|
|
2632
|
-
|
|
2633
|
-
|
|
2634
|
-
/** @description The catalog of wrappable vaults, sorted by TVL descending. */
|
|
2635
|
-
vaults?: definitions["v1EarnVault"][];
|
|
2709
|
+
/** @description Normalized TVL values for display purposes only (usd + crypto). Do not do arithmetic with these; use tvl instead. */
|
|
2710
|
+
display?: definitions["v1EarnValueDisplay"];
|
|
2711
|
+
/** @description Human-readable vault name from the provider (e.g. 'Steakhouse Prime USDC' for Morpho; the reserve symbol for Aave). */
|
|
2712
|
+
name?: string;
|
|
2713
|
+
/** @description Vault curator name(s), comma-separated when a vault has multiple. Empty for providers without curators (e.g. Aave). */
|
|
2714
|
+
curator?: string;
|
|
2636
2715
|
};
|
|
2637
2716
|
v1EarnWithdrawIntent: {
|
|
2638
|
-
/** @description Address of the
|
|
2639
|
-
|
|
2717
|
+
/** @description Address of the deployed Earn wrapper holding the position to withdraw from, from ListEarnPositions. Must be one of the org's deployed wrappers. */
|
|
2718
|
+
wrapperAddress: string;
|
|
2640
2719
|
/** @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
2720
|
signWith: string;
|
|
2642
2721
|
/**
|
|
@@ -2646,12 +2725,7 @@ export type definitions = {
|
|
|
2646
2725
|
chainCaip2: "eip155:1" | "eip155:8453" | "eip155:42161" | "eip155:137" | "eip155:56" | "eip155:4217";
|
|
2647
2726
|
/** @description Whether to sponsor this transaction via Gas Station. */
|
|
2648
2727
|
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. */
|
|
2728
|
+
/** @description The amount of the underlying asset to withdraw, in raw on-chain units. Pass 'MAX' to withdraw the entire position. */
|
|
2655
2729
|
amountValue: string;
|
|
2656
2730
|
};
|
|
2657
2731
|
v1EarnWithdrawRequest: {
|
|
@@ -2665,29 +2739,8 @@ export type definitions = {
|
|
|
2665
2739
|
generateAppProofs?: boolean;
|
|
2666
2740
|
};
|
|
2667
2741
|
v1EarnWithdrawResult: {
|
|
2668
|
-
/** @description
|
|
2669
|
-
withdrawTxHash: string;
|
|
2670
|
-
/** @description Identifier to poll withdrawal status via EarnWithdrawStatus. */
|
|
2742
|
+
/** @description Identifier to poll withdrawal status and tx hash via GetEarnWithdrawStatus. */
|
|
2671
2743
|
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. */
|
|
2681
|
-
withdrawRequestId: string;
|
|
2682
|
-
};
|
|
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
2744
|
};
|
|
2692
2745
|
/** @enum {string} */
|
|
2693
2746
|
v1Effect: "EFFECT_ALLOW" | "EFFECT_DENY";
|
|
@@ -2866,7 +2919,7 @@ export type definitions = {
|
|
|
2866
2919
|
* @description CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet).
|
|
2867
2920
|
* @enum {string}
|
|
2868
2921
|
*/
|
|
2869
|
-
caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002" | "eip155:56" | "eip155:97";
|
|
2922
|
+
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
2923
|
};
|
|
2871
2924
|
v1EthSendRawTransactionRequest: {
|
|
2872
2925
|
/** @enum {string} */
|
|
@@ -2891,7 +2944,7 @@ export type definitions = {
|
|
|
2891
2944
|
* @description CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet).
|
|
2892
2945
|
* @enum {string}
|
|
2893
2946
|
*/
|
|
2894
|
-
caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002" | "eip155:56" | "eip155:97";
|
|
2947
|
+
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
2948
|
/** @description Recipient address as a hex string with 0x prefix. */
|
|
2896
2949
|
to: string;
|
|
2897
2950
|
/** @description Amount of native asset to send in wei. */
|
|
@@ -2918,7 +2971,7 @@ export type definitions = {
|
|
|
2918
2971
|
* @description CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet).
|
|
2919
2972
|
* @enum {string}
|
|
2920
2973
|
*/
|
|
2921
|
-
caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002" | "eip155:56" | "eip155:97";
|
|
2974
|
+
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
2975
|
/** @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
2976
|
sponsor?: boolean;
|
|
2924
2977
|
/** @description Outer transaction nonce. Omit to auto-fetch. */
|
|
@@ -2958,6 +3011,29 @@ export type definitions = {
|
|
|
2958
3011
|
/** @description The Ethereum transaction hash, if available. */
|
|
2959
3012
|
txHash?: string;
|
|
2960
3013
|
};
|
|
3014
|
+
v1EthTransactionHistoryItem: {
|
|
3015
|
+
/** @description EVM transaction hash. */
|
|
3016
|
+
transactionHash: string;
|
|
3017
|
+
/** @description Block metadata for the transaction. */
|
|
3018
|
+
block: definitions["v1TransactionHistoryBlock"];
|
|
3019
|
+
/**
|
|
3020
|
+
* @description Transaction confirmation status.
|
|
3021
|
+
* @enum {string}
|
|
3022
|
+
*/
|
|
3023
|
+
status: "CONFIRMED" | "FINALIZED";
|
|
3024
|
+
/** @description Origin of the transaction. Examples include TURNKEY. */
|
|
3025
|
+
origin: string;
|
|
3026
|
+
/** @description EVM sender address for the transaction. */
|
|
3027
|
+
from: string;
|
|
3028
|
+
/** @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. */
|
|
3029
|
+
to?: string;
|
|
3030
|
+
/** @description Transaction fee information. */
|
|
3031
|
+
fee: definitions["v1TransactionHistoryFee"];
|
|
3032
|
+
/** @description Asset transfers associated with the transaction. */
|
|
3033
|
+
transfers: definitions["v1TransactionHistoryTransfer"][];
|
|
3034
|
+
/** @description Turnkey-specific metadata for transactions originated by Turnkey. */
|
|
3035
|
+
turnkey?: definitions["v1TransactionHistoryTurnkey"];
|
|
3036
|
+
};
|
|
2961
3037
|
v1ExecuteSwapIntent: {
|
|
2962
3038
|
/** @description CAIP-19 asset ID for the input asset. The chain is derived from this value. */
|
|
2963
3039
|
inputToken: string;
|
|
@@ -2973,6 +3049,8 @@ export type definitions = {
|
|
|
2973
3049
|
slippage?: string;
|
|
2974
3050
|
/** @description Swap provider to execute with, as returned by get_swap_quote. When omitted, execution uses the default provider. */
|
|
2975
3051
|
provider?: string;
|
|
3052
|
+
/** @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. */
|
|
3053
|
+
minOutputAmount: string;
|
|
2976
3054
|
};
|
|
2977
3055
|
v1ExecuteSwapRequest: {
|
|
2978
3056
|
/** @enum {string} */
|
|
@@ -3181,6 +3259,74 @@ export type definitions = {
|
|
|
3181
3259
|
/** @description Hex encoded ephemeral public key. */
|
|
3182
3260
|
ephemeralKey: string;
|
|
3183
3261
|
};
|
|
3262
|
+
v1GetClaimEarnFeesStatusRequest: {
|
|
3263
|
+
/** @description Unique identifier for a given Organization. */
|
|
3264
|
+
organizationId: string;
|
|
3265
|
+
/** @description The claim_request_id returned by ClaimEarnFees. */
|
|
3266
|
+
claimRequestId: string;
|
|
3267
|
+
};
|
|
3268
|
+
v1GetClaimEarnFeesStatusResponse: {
|
|
3269
|
+
/**
|
|
3270
|
+
* @description Status of the fee claim.
|
|
3271
|
+
* @enum {string}
|
|
3272
|
+
*/
|
|
3273
|
+
status: "PENDING" | "COMPLETED" | "FAILED";
|
|
3274
|
+
/** @description Transaction hash of the fee claim, once available. */
|
|
3275
|
+
claimTxHash?: string;
|
|
3276
|
+
/** @description Reason the fee claim transaction failed, when status is FAILED. */
|
|
3277
|
+
error?: string;
|
|
3278
|
+
};
|
|
3279
|
+
v1GetEarnDeployStatusRequest: {
|
|
3280
|
+
/** @description Unique identifier for a given Organization. */
|
|
3281
|
+
organizationId: string;
|
|
3282
|
+
/** @description The deploy_request_id returned by EarnDeployWrapper. */
|
|
3283
|
+
deployRequestId: string;
|
|
3284
|
+
};
|
|
3285
|
+
v1GetEarnDeployStatusResponse: {
|
|
3286
|
+
/**
|
|
3287
|
+
* @description Status of the wrapper deployment.
|
|
3288
|
+
* @enum {string}
|
|
3289
|
+
*/
|
|
3290
|
+
status: "PENDING" | "COMPLETED" | "FAILED";
|
|
3291
|
+
/** @description Transaction hash of the deployment, once available. */
|
|
3292
|
+
deployTxHash?: string;
|
|
3293
|
+
/** @description Reason the deployment transaction failed, when status is FAILED. */
|
|
3294
|
+
error?: string;
|
|
3295
|
+
};
|
|
3296
|
+
v1GetEarnDepositStatusRequest: {
|
|
3297
|
+
/** @description Unique identifier for a given Organization. */
|
|
3298
|
+
organizationId: string;
|
|
3299
|
+
/** @description The deposit_request_id returned by EarnDeposit. */
|
|
3300
|
+
depositRequestId: string;
|
|
3301
|
+
};
|
|
3302
|
+
v1GetEarnDepositStatusResponse: {
|
|
3303
|
+
/**
|
|
3304
|
+
* @description Status of the deposit.
|
|
3305
|
+
* @enum {string}
|
|
3306
|
+
*/
|
|
3307
|
+
status: "PENDING" | "COMPLETED" | "FAILED";
|
|
3308
|
+
/** @description Transaction hash of the deposit, once available. */
|
|
3309
|
+
depositTxHash?: string;
|
|
3310
|
+
/** @description Reason the deposit transaction failed, when status is FAILED. */
|
|
3311
|
+
error?: string;
|
|
3312
|
+
};
|
|
3313
|
+
v1GetEarnWithdrawStatusRequest: {
|
|
3314
|
+
/** @description Unique identifier for a given Organization. */
|
|
3315
|
+
organizationId: string;
|
|
3316
|
+
/** @description The withdraw_request_id returned by EarnWithdraw. */
|
|
3317
|
+
withdrawRequestId: string;
|
|
3318
|
+
};
|
|
3319
|
+
v1GetEarnWithdrawStatusResponse: {
|
|
3320
|
+
/**
|
|
3321
|
+
* @description Status of the withdrawal.
|
|
3322
|
+
* @enum {string}
|
|
3323
|
+
*/
|
|
3324
|
+
status: "PENDING" | "COMPLETED" | "FAILED";
|
|
3325
|
+
/** @description Transaction hash of the withdrawal, once available. */
|
|
3326
|
+
withdrawTxHash?: string;
|
|
3327
|
+
/** @description Reason the withdrawal transaction failed, when status is FAILED. */
|
|
3328
|
+
error?: string;
|
|
3329
|
+
};
|
|
3184
3330
|
v1GetGasUsageRequest: {
|
|
3185
3331
|
/** @description Unique identifier for a given Organization. */
|
|
3186
3332
|
organizationId: string;
|
|
@@ -3254,7 +3400,7 @@ export type definitions = {
|
|
|
3254
3400
|
* @description CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet).
|
|
3255
3401
|
* @enum {string}
|
|
3256
3402
|
*/
|
|
3257
|
-
caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002" | "eip155:56" | "eip155:97";
|
|
3403
|
+
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
3404
|
/** @description Whether to fetch the standard on-chain nonce. */
|
|
3259
3405
|
nonce?: boolean;
|
|
3260
3406
|
/** @description Whether to fetch the gas station nonce used for sponsored transactions. */
|
|
@@ -3441,6 +3587,8 @@ export type definitions = {
|
|
|
3441
3587
|
outputToken: string;
|
|
3442
3588
|
/** @description Base-unit amount of the input asset. */
|
|
3443
3589
|
inputAmount: string;
|
|
3590
|
+
/** @description Wallet account address used to price the executable provider quote. */
|
|
3591
|
+
walletAccount: string;
|
|
3444
3592
|
/** @description Maximum allowed slippage in basis points. */
|
|
3445
3593
|
slippage?: string;
|
|
3446
3594
|
};
|
|
@@ -3635,7 +3783,7 @@ export type definitions = {
|
|
|
3635
3783
|
* @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
3784
|
* @enum {string}
|
|
3637
3785
|
*/
|
|
3638
|
-
caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002" | "eip155:
|
|
3786
|
+
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" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1";
|
|
3639
3787
|
};
|
|
3640
3788
|
v1GetWalletAddressBalancesResponse: {
|
|
3641
3789
|
/** @description List of asset balances */
|
|
@@ -3789,6 +3937,28 @@ export type definitions = {
|
|
|
3789
3937
|
/** @description Import bundle containing a public key and signature to use for importing client data. */
|
|
3790
3938
|
importBundle: string;
|
|
3791
3939
|
};
|
|
3940
|
+
v1InitImportSecretsIntent: {
|
|
3941
|
+
/** @description Transport encryption suite used for ingress secrets. */
|
|
3942
|
+
encryptionSuite: definitions["v1TransportEncryptionSuite"];
|
|
3943
|
+
/**
|
|
3944
|
+
* Format: int32
|
|
3945
|
+
* @description The number of secrets the user intends to import.
|
|
3946
|
+
*/
|
|
3947
|
+
numSecrets: number;
|
|
3948
|
+
};
|
|
3949
|
+
v1InitImportSecretsRequest: {
|
|
3950
|
+
/** @enum {string} */
|
|
3951
|
+
type: "ACTIVITY_TYPE_INIT_IMPORT_SECRETS";
|
|
3952
|
+
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
3953
|
+
timestampMs: string;
|
|
3954
|
+
/** @description Unique identifier for a given Organization. */
|
|
3955
|
+
organizationId: string;
|
|
3956
|
+
parameters: definitions["v1InitImportSecretsIntent"];
|
|
3957
|
+
};
|
|
3958
|
+
v1InitImportSecretsResult: {
|
|
3959
|
+
/** @description Enclave ingress target keys along with metadata specific to the encryption suite. For enclave encrypt v1 this will be ServerTargetMsgV1. */
|
|
3960
|
+
enclaveTargetMessages: string[];
|
|
3961
|
+
};
|
|
3792
3962
|
v1InitImportWalletIntent: {
|
|
3793
3963
|
/** @description The ID of the User importing a Wallet. */
|
|
3794
3964
|
userId: string;
|
|
@@ -4195,12 +4365,16 @@ export type definitions = {
|
|
|
4195
4365
|
earnDeployWrapperIntent?: definitions["v1EarnDeployWrapperIntent"];
|
|
4196
4366
|
earnDepositIntent?: definitions["v1EarnDepositIntent"];
|
|
4197
4367
|
earnWithdrawIntent?: definitions["v1EarnWithdrawIntent"];
|
|
4198
|
-
upsertEarnClientFeeConfigIntent?: definitions["v1UpsertEarnClientFeeConfigIntent"];
|
|
4199
4368
|
executeSwapIntent?: definitions["v1ExecuteSwapIntent"];
|
|
4200
4369
|
upsertSwapConfigIntent?: definitions["v1UpsertSwapConfigIntent"];
|
|
4201
4370
|
createTvcOperatorIntent?: definitions["v1CreateTvcOperatorIntent"];
|
|
4202
4371
|
createTvcQuorumKeyIntent?: definitions["v1CreateTvcQuorumKeyIntent"];
|
|
4203
4372
|
reEncryptTvcQuorumKeyShareIntent?: definitions["v1ReEncryptTvcQuorumKeyShareIntent"];
|
|
4373
|
+
initImportSecretsIntent?: definitions["v1InitImportSecretsIntent"];
|
|
4374
|
+
solSendTransactionIntentV2?: definitions["v1SolSendTransactionIntentV2"];
|
|
4375
|
+
claimSwapFeesIntent?: definitions["v1ClaimSwapFeesIntent"];
|
|
4376
|
+
earnSetWrapperStateIntent?: definitions["v1EarnSetWrapperStateIntent"];
|
|
4377
|
+
claimEarnFeesIntent?: definitions["v1ClaimEarnFeesIntent"];
|
|
4204
4378
|
};
|
|
4205
4379
|
v1Invitation: {
|
|
4206
4380
|
/** @description Unique identifier for a given Invitation object. */
|
|
@@ -4260,6 +4434,42 @@ export type definitions = {
|
|
|
4260
4434
|
/** @description Creation timestamp as millisecond epoch string. */
|
|
4261
4435
|
createdAt?: string;
|
|
4262
4436
|
};
|
|
4437
|
+
v1ListEarnEnabledVaultsRequest: {
|
|
4438
|
+
/** @description Unique identifier for a given Organization. */
|
|
4439
|
+
organizationId: string;
|
|
4440
|
+
/** @description Optional filter: only return enabled vaults from this provider. Leave EARN_PROVIDER_UNSPECIFIED to return all providers. */
|
|
4441
|
+
provider?: definitions["v1EarnProvider"];
|
|
4442
|
+
/** @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. */
|
|
4443
|
+
caip19?: string;
|
|
4444
|
+
};
|
|
4445
|
+
v1ListEarnEnabledVaultsResponse: {
|
|
4446
|
+
/** @description The organization's deployed wrappers. */
|
|
4447
|
+
enabledVaults?: definitions["v1EarnEnabledVault"][];
|
|
4448
|
+
};
|
|
4449
|
+
v1ListEarnPositionsRequest: {
|
|
4450
|
+
/** @description Unique identifier for a given Organization. */
|
|
4451
|
+
organizationId: string;
|
|
4452
|
+
/** @description The wallet address to return positions for. */
|
|
4453
|
+
walletAddress: string;
|
|
4454
|
+
};
|
|
4455
|
+
v1ListEarnPositionsResponse: {
|
|
4456
|
+
/** @description The wallet's active Earn positions. */
|
|
4457
|
+
positions?: definitions["v1EarnPosition"][];
|
|
4458
|
+
};
|
|
4459
|
+
v1ListEarnVaultsRequest: {
|
|
4460
|
+
/** @description Unique identifier for a given Organization. Annotates which vaults the organization has already enabled. */
|
|
4461
|
+
organizationId: string;
|
|
4462
|
+
/** @description Optional filter: only return vaults from this provider. Leave EARN_PROVIDER_UNSPECIFIED to return all providers. */
|
|
4463
|
+
provider?: definitions["v1EarnProvider"];
|
|
4464
|
+
/** @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. */
|
|
4465
|
+
caip19: string;
|
|
4466
|
+
/** @description Pagination over the TVL-sorted catalog. before/after cursors are a vault_address from a prior page. */
|
|
4467
|
+
paginationOptions?: definitions["v1Pagination"];
|
|
4468
|
+
};
|
|
4469
|
+
v1ListEarnVaultsResponse: {
|
|
4470
|
+
/** @description The catalog of wrappable vaults, sorted by TVL (USD) descending. To page, pass the last vault_address as the pagination after cursor. */
|
|
4471
|
+
vaults?: definitions["v1EarnVault"][];
|
|
4472
|
+
};
|
|
4263
4473
|
v1ListEmailEventsRequest: {
|
|
4264
4474
|
/** @description Unique identifier for a given organization */
|
|
4265
4475
|
organizationId: string;
|
|
@@ -4274,6 +4484,25 @@ export type definitions = {
|
|
|
4274
4484
|
/** @description Email events matching the requested filters, ordered by most recent event first. */
|
|
4275
4485
|
emailEvents: definitions["v1EmailEvent"][];
|
|
4276
4486
|
};
|
|
4487
|
+
v1ListEthTransactionHistoryRequest: {
|
|
4488
|
+
/** @description Unique identifier for a given organization. */
|
|
4489
|
+
organizationId: string;
|
|
4490
|
+
/** @description Address corresponding to a wallet account. Private key addresses are not supported. */
|
|
4491
|
+
address: string;
|
|
4492
|
+
/**
|
|
4493
|
+
* @description EVM CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet).
|
|
4494
|
+
* @enum {string}
|
|
4495
|
+
*/
|
|
4496
|
+
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";
|
|
4497
|
+
/** @description Cursor-based pagination options. Cursors are opaque and valid only for the same address and CAIP-2 query. */
|
|
4498
|
+
paginationOptions?: definitions["v1TransactionHistoryPaginationOptions"];
|
|
4499
|
+
};
|
|
4500
|
+
v1ListEthTransactionHistoryResponse: {
|
|
4501
|
+
/** @description EVM transactions for the requested address, ordered by most recent first. */
|
|
4502
|
+
transactions: definitions["v1EthTransactionHistoryItem"][];
|
|
4503
|
+
/** @description Opaque pagination cursors for fetching adjacent transaction-history pages. */
|
|
4504
|
+
paginationCursors: definitions["v1TransactionHistoryPaginationCursors"];
|
|
4505
|
+
};
|
|
4277
4506
|
v1ListFiatOnRampCredentialsRequest: {
|
|
4278
4507
|
/** @description Unique identifier for a given Organization. */
|
|
4279
4508
|
organizationId: string;
|
|
@@ -4296,6 +4525,25 @@ export type definitions = {
|
|
|
4296
4525
|
/** @description A list of private key tags. */
|
|
4297
4526
|
privateKeyTags: definitions["datav1Tag"][];
|
|
4298
4527
|
};
|
|
4528
|
+
v1ListSolTransactionHistoryRequest: {
|
|
4529
|
+
/** @description Unique identifier for a given organization. */
|
|
4530
|
+
organizationId: string;
|
|
4531
|
+
/** @description Address corresponding to a wallet account. Private key addresses are not supported. */
|
|
4532
|
+
address: string;
|
|
4533
|
+
/**
|
|
4534
|
+
* @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.
|
|
4535
|
+
* @enum {string}
|
|
4536
|
+
*/
|
|
4537
|
+
caip2: "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1" | "solana:mainnet" | "solana:devnet";
|
|
4538
|
+
/** @description Cursor-based pagination options. Cursors are opaque and valid only for the same address and CAIP-2 query. */
|
|
4539
|
+
paginationOptions?: definitions["v1TransactionHistoryPaginationOptions"];
|
|
4540
|
+
};
|
|
4541
|
+
v1ListSolTransactionHistoryResponse: {
|
|
4542
|
+
/** @description Solana transactions for the requested address, ordered by most recent first. */
|
|
4543
|
+
transactions: definitions["v1SolTransactionHistoryItem"][];
|
|
4544
|
+
/** @description Opaque pagination cursors for fetching adjacent transaction-history pages. */
|
|
4545
|
+
paginationCursors: definitions["v1TransactionHistoryPaginationCursors"];
|
|
4546
|
+
};
|
|
4299
4547
|
v1ListSupportedAssetsRequest: {
|
|
4300
4548
|
/** @description Unique identifier for a given organization. */
|
|
4301
4549
|
organizationId: string;
|
|
@@ -4303,7 +4551,7 @@ export type definitions = {
|
|
|
4303
4551
|
* @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
4552
|
* @enum {string}
|
|
4305
4553
|
*/
|
|
4306
|
-
caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002" | "eip155:
|
|
4554
|
+
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:421614solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1";
|
|
4307
4555
|
};
|
|
4308
4556
|
v1ListSupportedAssetsResponse: {
|
|
4309
4557
|
/** @description List of asset metadata */
|
|
@@ -4964,12 +5212,16 @@ export type definitions = {
|
|
|
4964
5212
|
earnDeployWrapperResult?: definitions["v1EarnDeployWrapperResult"];
|
|
4965
5213
|
earnDepositResult?: definitions["v1EarnDepositResult"];
|
|
4966
5214
|
earnWithdrawResult?: definitions["v1EarnWithdrawResult"];
|
|
4967
|
-
upsertEarnClientFeeConfigResult?: definitions["v1UpsertEarnClientFeeConfigResult"];
|
|
4968
5215
|
executeSwapResult?: definitions["v1ExecuteSwapResult"];
|
|
4969
5216
|
upsertSwapConfigResult?: definitions["v1UpsertSwapConfigResult"];
|
|
4970
5217
|
createTvcOperatorResult?: definitions["v1CreateTvcOperatorResult"];
|
|
4971
5218
|
createTvcQuorumKeyResult?: definitions["v1CreateTvcQuorumKeyResult"];
|
|
4972
5219
|
reEncryptTvcQuorumKeyShareResult?: definitions["v1ReEncryptTvcQuorumKeyShareResult"];
|
|
5220
|
+
initImportSecretsResult?: definitions["v1InitImportSecretsResult"];
|
|
5221
|
+
solSendTransactionResultV2?: definitions["v1SolSendTransactionResultV2"];
|
|
5222
|
+
claimSwapFeesResult?: definitions["v1ClaimSwapFeesResult"];
|
|
5223
|
+
earnSetWrapperStateResult?: definitions["v1EarnSetWrapperStateResult"];
|
|
5224
|
+
claimEarnFeesResult?: definitions["v1ClaimEarnFeesResult"];
|
|
4973
5225
|
};
|
|
4974
5226
|
v1RevertChainEntry: {
|
|
4975
5227
|
/** @description The contract address where the revert occurred. */
|
|
@@ -5247,20 +5499,68 @@ export type definitions = {
|
|
|
5247
5499
|
/** @description user-provided blockhash for replay protection / deadline control. If omitted and sponsor=true, we fetch a fresh blockhash during execution */
|
|
5248
5500
|
recentBlockhash?: string;
|
|
5249
5501
|
};
|
|
5502
|
+
v1SolSendTransactionIntentV2: {
|
|
5503
|
+
/** @description Hex-encoded serialized unsigned Solana transaction (full wire format with zeroed signature placeholders) */
|
|
5504
|
+
unsignedTransaction: string;
|
|
5505
|
+
/** @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. */
|
|
5506
|
+
signWiths: string[];
|
|
5507
|
+
/** @description Whether to sponsor this transaction via Gas Station. */
|
|
5508
|
+
sponsor?: boolean;
|
|
5509
|
+
/**
|
|
5510
|
+
* @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.
|
|
5511
|
+
* @enum {string}
|
|
5512
|
+
*/
|
|
5513
|
+
caip2: "solana:mainnet" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdpKuc147dw2N9d" | "solana:devnet" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1wcaWoxPkrZBG";
|
|
5514
|
+
/** @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. */
|
|
5515
|
+
recentBlockhash?: string;
|
|
5516
|
+
};
|
|
5250
5517
|
v1SolSendTransactionRequest: {
|
|
5251
5518
|
/** @enum {string} */
|
|
5252
|
-
type: "
|
|
5519
|
+
type: "ACTIVITY_TYPE_SOL_SEND_TRANSACTION_V2";
|
|
5253
5520
|
/** @description Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
5254
5521
|
timestampMs: string;
|
|
5255
5522
|
/** @description Unique identifier for a given Organization. */
|
|
5256
5523
|
organizationId: string;
|
|
5257
|
-
parameters: definitions["
|
|
5524
|
+
parameters: definitions["v1SolSendTransactionIntentV2"];
|
|
5258
5525
|
generateAppProofs?: boolean;
|
|
5259
5526
|
};
|
|
5260
5527
|
v1SolSendTransactionResult: {
|
|
5261
5528
|
/** @description The send_transaction_status ID associated with the transaction submission */
|
|
5262
5529
|
sendTransactionStatusId: string;
|
|
5263
5530
|
};
|
|
5531
|
+
v1SolSendTransactionResultV2: {
|
|
5532
|
+
/** @description The send_transaction_status ID associated with the transaction submission */
|
|
5533
|
+
sendTransactionStatusId: string;
|
|
5534
|
+
};
|
|
5535
|
+
v1SolTransactionHistoryItem: {
|
|
5536
|
+
/** @description Solana transaction signature. */
|
|
5537
|
+
signature: string;
|
|
5538
|
+
/** @description Block metadata for the transaction. */
|
|
5539
|
+
block: definitions["v1TransactionHistoryBlock"];
|
|
5540
|
+
/**
|
|
5541
|
+
* @description Transaction confirmation status.
|
|
5542
|
+
* @enum {string}
|
|
5543
|
+
*/
|
|
5544
|
+
status: "CONFIRMED" | "FINALIZED";
|
|
5545
|
+
/** @description Origin of the transaction. Examples include TURNKEY. */
|
|
5546
|
+
origin: string;
|
|
5547
|
+
/** @description Address that paid the Solana transaction fee. This is the first signer in the transaction message. */
|
|
5548
|
+
feePayer: string;
|
|
5549
|
+
/** @description Addresses that signed the Solana transaction, in message order. */
|
|
5550
|
+
signers: definitions["v1SolTransactionHistorySigner"][];
|
|
5551
|
+
/** @description Transaction fee information. */
|
|
5552
|
+
fee: definitions["v1TransactionHistoryFee"];
|
|
5553
|
+
/** @description Asset transfers associated with the transaction. */
|
|
5554
|
+
transfers: definitions["v1TransactionHistoryTransfer"][];
|
|
5555
|
+
/** @description Turnkey-specific metadata for transactions originated by Turnkey. */
|
|
5556
|
+
turnkey?: definitions["v1TransactionHistoryTurnkey"];
|
|
5557
|
+
};
|
|
5558
|
+
v1SolTransactionHistorySigner: {
|
|
5559
|
+
/** @description Address of the Solana transaction signer. */
|
|
5560
|
+
address: string;
|
|
5561
|
+
/** @description Whether the signer account was writable in the Solana transaction message. */
|
|
5562
|
+
writable: boolean;
|
|
5563
|
+
};
|
|
5264
5564
|
v1SolanaConfig: {
|
|
5265
5565
|
/** @description Whether Solana rent prefunding is enabled for the organization. When omitted, the existing rent-prefund state is left unchanged. */
|
|
5266
5566
|
rentPrefundEnabled?: boolean;
|
|
@@ -5573,8 +5873,83 @@ export type definitions = {
|
|
|
5573
5873
|
login?: definitions["v1LoginUsage"];
|
|
5574
5874
|
signupV2?: definitions["v1SignupUsageV2"];
|
|
5575
5875
|
};
|
|
5876
|
+
v1TransactionHistoryAsset: {
|
|
5877
|
+
/** @description The CAIP-19 asset identifier. */
|
|
5878
|
+
caip19: string;
|
|
5879
|
+
/** @description The asset symbol. */
|
|
5880
|
+
symbol: string;
|
|
5881
|
+
/** @description The asset name. */
|
|
5882
|
+
name: string;
|
|
5883
|
+
/**
|
|
5884
|
+
* Format: int32
|
|
5885
|
+
* @description The number of decimals this asset uses.
|
|
5886
|
+
*/
|
|
5887
|
+
decimals: number;
|
|
5888
|
+
};
|
|
5889
|
+
v1TransactionHistoryBlock: {
|
|
5890
|
+
/**
|
|
5891
|
+
* Format: int64
|
|
5892
|
+
* @description Block number containing the transaction.
|
|
5893
|
+
*/
|
|
5894
|
+
number: string;
|
|
5895
|
+
/** @description Block hash containing the transaction. */
|
|
5896
|
+
hash: string;
|
|
5897
|
+
/** @description Block timestamp in RFC 3339 format. */
|
|
5898
|
+
timestamp: string;
|
|
5899
|
+
};
|
|
5900
|
+
v1TransactionHistoryDisplay: {
|
|
5901
|
+
/** @description Normalized crypto value for display purposes only. Do not do any arithmetic or calculations with these, as the results could be imprecise. */
|
|
5902
|
+
crypto?: string;
|
|
5903
|
+
/** @description USD value for display purposes only. Do not do any arithmetic or calculations with these, as the results could be imprecise. */
|
|
5904
|
+
usd?: string;
|
|
5905
|
+
};
|
|
5906
|
+
v1TransactionHistoryFee: {
|
|
5907
|
+
/** @description Fee amount in atomic units. */
|
|
5908
|
+
amount: string;
|
|
5909
|
+
/** @description The CAIP-19 asset identifier. */
|
|
5910
|
+
caip19: string;
|
|
5911
|
+
};
|
|
5912
|
+
v1TransactionHistoryPaginationCursors: {
|
|
5913
|
+
/** @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. */
|
|
5914
|
+
before?: string;
|
|
5915
|
+
/** @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. */
|
|
5916
|
+
after?: string;
|
|
5917
|
+
};
|
|
5918
|
+
v1TransactionHistoryPaginationOptions: {
|
|
5919
|
+
/** @description Maximum number of transactions to return, between 1 and 100. Defaults to 25. */
|
|
5920
|
+
limit?: string;
|
|
5921
|
+
/** @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. */
|
|
5922
|
+
before?: string;
|
|
5923
|
+
/** @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. */
|
|
5924
|
+
after?: string;
|
|
5925
|
+
};
|
|
5926
|
+
v1TransactionHistoryTransfer: {
|
|
5927
|
+
/**
|
|
5928
|
+
* @description Transfer direction relative to the queried address.
|
|
5929
|
+
* @enum {string}
|
|
5930
|
+
*/
|
|
5931
|
+
direction: "IN" | "OUT";
|
|
5932
|
+
/** @description Asset metadata for the transfer. Omitted when the asset cannot be determined. */
|
|
5933
|
+
asset?: definitions["v1TransactionHistoryAsset"];
|
|
5934
|
+
/** @description Transfer amount in atomic units. */
|
|
5935
|
+
amount: string;
|
|
5936
|
+
/** @description Counterparty address for the transfer. */
|
|
5937
|
+
counterparty: string;
|
|
5938
|
+
/** @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. */
|
|
5939
|
+
display?: definitions["v1TransactionHistoryDisplay"];
|
|
5940
|
+
};
|
|
5941
|
+
v1TransactionHistoryTurnkey: {
|
|
5942
|
+
/** @description Whether the transaction fee was sponsored by Turnkey. */
|
|
5943
|
+
sponsored: boolean;
|
|
5944
|
+
/** @description Fingerprint of the Turnkey activity that submitted the transaction. */
|
|
5945
|
+
activityFingerprint?: string;
|
|
5946
|
+
/** @description Timestamp when Turnkey submitted the transaction, in RFC 3339 format. */
|
|
5947
|
+
submittedAt?: string;
|
|
5948
|
+
};
|
|
5576
5949
|
/** @enum {string} */
|
|
5577
5950
|
v1TransactionType: "TRANSACTION_TYPE_ETHEREUM" | "TRANSACTION_TYPE_SOLANA" | "TRANSACTION_TYPE_TRON" | "TRANSACTION_TYPE_BITCOIN" | "TRANSACTION_TYPE_TEMPO";
|
|
5951
|
+
/** @enum {string} */
|
|
5952
|
+
v1TransportEncryptionSuite: "TRANSPORT_ENCRYPTION_SUITE_ENCLAVE_ENCRYPT_V1";
|
|
5578
5953
|
v1TvcApp: {
|
|
5579
5954
|
/** @description Unique Identifier for this TVC App. */
|
|
5580
5955
|
id: string;
|
|
@@ -5803,6 +6178,8 @@ export type definitions = {
|
|
|
5803
6178
|
verificationTokenRequiredForGetAccountPii?: boolean;
|
|
5804
6179
|
/** @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
6180
|
socialLinkingClientIds?: string[];
|
|
6181
|
+
/** @description Whether captcha verification is required on sign up & otp init. */
|
|
6182
|
+
captchaEnabled?: boolean;
|
|
5806
6183
|
};
|
|
5807
6184
|
v1UpdateAuthProxyConfigResult: {
|
|
5808
6185
|
/** @description Unique identifier for a given User. (representing the turnkey signer user id) */
|
|
@@ -6181,25 +6558,6 @@ export type definitions = {
|
|
|
6181
6558
|
/** @description The updated webhook endpoint data. */
|
|
6182
6559
|
webhookEndpoint: definitions["v1WebhookEndpointData"];
|
|
6183
6560
|
};
|
|
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
6561
|
v1UpsertGasUsageConfigIntent: {
|
|
6204
6562
|
/** @description Gas sponsorship USD limit for the billing organization window. */
|
|
6205
6563
|
orgWindowLimitUsd: string;
|
|
@@ -6218,8 +6576,11 @@ export type definitions = {
|
|
|
6218
6576
|
};
|
|
6219
6577
|
v1UpsertSwapConfigIntent: {
|
|
6220
6578
|
feeReceiverWalletAddress?: string;
|
|
6579
|
+
/** @description Client fee in basis points applied to swaps; used for all pairs unless stable_fee_bps is set. */
|
|
6221
6580
|
feeBps?: string;
|
|
6222
6581
|
provider?: string;
|
|
6582
|
+
/** @description Optional override applied when both swap assets are stablecoins; falls back to fee_bps when unset. */
|
|
6583
|
+
stableFeeBps?: string;
|
|
6223
6584
|
};
|
|
6224
6585
|
v1UpsertSwapConfigRequest: {
|
|
6225
6586
|
/** @enum {string} */
|
|
@@ -6234,6 +6595,7 @@ export type definitions = {
|
|
|
6234
6595
|
v1UpsertSwapConfigResult: {
|
|
6235
6596
|
feeReceiverWalletAddress?: string;
|
|
6236
6597
|
feeBps?: string;
|
|
6598
|
+
stableFeeBps?: string;
|
|
6237
6599
|
};
|
|
6238
6600
|
/** @enum {string} */
|
|
6239
6601
|
v1UsageType: "USAGE_TYPE_SIGNUP" | "USAGE_TYPE_LOGIN";
|
|
@@ -6500,35 +6862,17 @@ export type definitions = {
|
|
|
6500
6862
|
};
|
|
6501
6863
|
};
|
|
6502
6864
|
export type operations = {
|
|
6503
|
-
/**
|
|
6504
|
-
|
|
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: {
|
|
6865
|
+
/** Get details about an activity. */
|
|
6866
|
+
PublicApiService_GetActivity: {
|
|
6523
6867
|
parameters: {
|
|
6524
6868
|
body: {
|
|
6525
|
-
body: definitions["
|
|
6869
|
+
body: definitions["v1GetActivityRequest"];
|
|
6526
6870
|
};
|
|
6527
6871
|
};
|
|
6528
6872
|
responses: {
|
|
6529
6873
|
/** A successful response. */
|
|
6530
6874
|
200: {
|
|
6531
|
-
schema: definitions["
|
|
6875
|
+
schema: definitions["v1ActivityResponse"];
|
|
6532
6876
|
};
|
|
6533
6877
|
/** An unexpected error response. */
|
|
6534
6878
|
default: {
|
|
@@ -6536,17 +6880,17 @@ export type operations = {
|
|
|
6536
6880
|
};
|
|
6537
6881
|
};
|
|
6538
6882
|
};
|
|
6539
|
-
/** Get
|
|
6540
|
-
|
|
6883
|
+
/** Get details about an API key. */
|
|
6884
|
+
PublicApiService_GetApiKey: {
|
|
6541
6885
|
parameters: {
|
|
6542
6886
|
body: {
|
|
6543
|
-
body: definitions["
|
|
6887
|
+
body: definitions["v1GetApiKeyRequest"];
|
|
6544
6888
|
};
|
|
6545
6889
|
};
|
|
6546
6890
|
responses: {
|
|
6547
6891
|
/** A successful response. */
|
|
6548
6892
|
200: {
|
|
6549
|
-
schema: definitions["
|
|
6893
|
+
schema: definitions["v1GetApiKeyResponse"];
|
|
6550
6894
|
};
|
|
6551
6895
|
/** An unexpected error response. */
|
|
6552
6896
|
default: {
|
|
@@ -6554,17 +6898,17 @@ export type operations = {
|
|
|
6554
6898
|
};
|
|
6555
6899
|
};
|
|
6556
6900
|
};
|
|
6557
|
-
/** Get
|
|
6558
|
-
|
|
6901
|
+
/** Get details about API keys for a user. */
|
|
6902
|
+
PublicApiService_GetApiKeys: {
|
|
6559
6903
|
parameters: {
|
|
6560
6904
|
body: {
|
|
6561
|
-
body: definitions["
|
|
6905
|
+
body: definitions["v1GetApiKeysRequest"];
|
|
6562
6906
|
};
|
|
6563
6907
|
};
|
|
6564
6908
|
responses: {
|
|
6565
6909
|
/** A successful response. */
|
|
6566
6910
|
200: {
|
|
6567
|
-
schema: definitions["
|
|
6911
|
+
schema: definitions["v1GetApiKeysResponse"];
|
|
6568
6912
|
};
|
|
6569
6913
|
/** An unexpected error response. */
|
|
6570
6914
|
default: {
|
|
@@ -6572,17 +6916,17 @@ export type operations = {
|
|
|
6572
6916
|
};
|
|
6573
6917
|
};
|
|
6574
6918
|
};
|
|
6575
|
-
/**
|
|
6576
|
-
|
|
6919
|
+
/** Get live runtime status for a TVC App from the cluster. */
|
|
6920
|
+
PublicApiService_GetAppStatus: {
|
|
6577
6921
|
parameters: {
|
|
6578
6922
|
body: {
|
|
6579
|
-
body: definitions["
|
|
6923
|
+
body: definitions["v1GetAppStatusRequest"];
|
|
6580
6924
|
};
|
|
6581
6925
|
};
|
|
6582
6926
|
responses: {
|
|
6583
6927
|
/** A successful response. */
|
|
6584
6928
|
200: {
|
|
6585
|
-
schema: definitions["
|
|
6929
|
+
schema: definitions["v1GetAppStatusResponse"];
|
|
6586
6930
|
};
|
|
6587
6931
|
/** An unexpected error response. */
|
|
6588
6932
|
default: {
|
|
@@ -6590,17 +6934,17 @@ export type operations = {
|
|
|
6590
6934
|
};
|
|
6591
6935
|
};
|
|
6592
6936
|
};
|
|
6593
|
-
/** Get details about an
|
|
6594
|
-
|
|
6937
|
+
/** Get details about an authenticator. */
|
|
6938
|
+
PublicApiService_GetAuthenticator: {
|
|
6595
6939
|
parameters: {
|
|
6596
6940
|
body: {
|
|
6597
|
-
body: definitions["
|
|
6941
|
+
body: definitions["v1GetAuthenticatorRequest"];
|
|
6598
6942
|
};
|
|
6599
6943
|
};
|
|
6600
6944
|
responses: {
|
|
6601
6945
|
/** A successful response. */
|
|
6602
6946
|
200: {
|
|
6603
|
-
schema: definitions["
|
|
6947
|
+
schema: definitions["v1GetAuthenticatorResponse"];
|
|
6604
6948
|
};
|
|
6605
6949
|
/** An unexpected error response. */
|
|
6606
6950
|
default: {
|
|
@@ -6608,17 +6952,17 @@ export type operations = {
|
|
|
6608
6952
|
};
|
|
6609
6953
|
};
|
|
6610
6954
|
};
|
|
6611
|
-
/** Get details about
|
|
6612
|
-
|
|
6955
|
+
/** Get details about authenticators for a user. */
|
|
6956
|
+
PublicApiService_GetAuthenticators: {
|
|
6613
6957
|
parameters: {
|
|
6614
6958
|
body: {
|
|
6615
|
-
body: definitions["
|
|
6959
|
+
body: definitions["v1GetAuthenticatorsRequest"];
|
|
6616
6960
|
};
|
|
6617
6961
|
};
|
|
6618
6962
|
responses: {
|
|
6619
6963
|
/** A successful response. */
|
|
6620
6964
|
200: {
|
|
6621
|
-
schema: definitions["
|
|
6965
|
+
schema: definitions["v1GetAuthenticatorsResponse"];
|
|
6622
6966
|
};
|
|
6623
6967
|
/** An unexpected error response. */
|
|
6624
6968
|
default: {
|
|
@@ -6626,17 +6970,17 @@ export type operations = {
|
|
|
6626
6970
|
};
|
|
6627
6971
|
};
|
|
6628
6972
|
};
|
|
6629
|
-
/** Get
|
|
6630
|
-
|
|
6973
|
+
/** Get the boot proof for a given ephemeral key. */
|
|
6974
|
+
PublicApiService_GetBootProof: {
|
|
6631
6975
|
parameters: {
|
|
6632
6976
|
body: {
|
|
6633
|
-
body: definitions["
|
|
6977
|
+
body: definitions["v1GetBootProofRequest"];
|
|
6634
6978
|
};
|
|
6635
6979
|
};
|
|
6636
6980
|
responses: {
|
|
6637
6981
|
/** A successful response. */
|
|
6638
6982
|
200: {
|
|
6639
|
-
schema: definitions["
|
|
6983
|
+
schema: definitions["v1BootProofResponse"];
|
|
6640
6984
|
};
|
|
6641
6985
|
/** An unexpected error response. */
|
|
6642
6986
|
default: {
|
|
@@ -6644,17 +6988,17 @@ export type operations = {
|
|
|
6644
6988
|
};
|
|
6645
6989
|
};
|
|
6646
6990
|
};
|
|
6647
|
-
/**
|
|
6648
|
-
|
|
6991
|
+
/** Poll the status of a fee claim by its claim_request_id. */
|
|
6992
|
+
PublicApiService_GetClaimEarnFeesStatus: {
|
|
6649
6993
|
parameters: {
|
|
6650
6994
|
body: {
|
|
6651
|
-
body: definitions["
|
|
6995
|
+
body: definitions["v1GetClaimEarnFeesStatusRequest"];
|
|
6652
6996
|
};
|
|
6653
6997
|
};
|
|
6654
6998
|
responses: {
|
|
6655
6999
|
/** A successful response. */
|
|
6656
7000
|
200: {
|
|
6657
|
-
schema: definitions["
|
|
7001
|
+
schema: definitions["v1GetClaimEarnFeesStatusResponse"];
|
|
6658
7002
|
};
|
|
6659
7003
|
/** An unexpected error response. */
|
|
6660
7004
|
default: {
|
|
@@ -6662,17 +7006,17 @@ export type operations = {
|
|
|
6662
7006
|
};
|
|
6663
7007
|
};
|
|
6664
7008
|
};
|
|
6665
|
-
/**
|
|
6666
|
-
|
|
7009
|
+
/** Poll the status of a wrapper deployment by its deploy_request_id. */
|
|
7010
|
+
PublicApiService_GetEarnDeployStatus: {
|
|
6667
7011
|
parameters: {
|
|
6668
7012
|
body: {
|
|
6669
|
-
body: definitions["
|
|
7013
|
+
body: definitions["v1GetEarnDeployStatusRequest"];
|
|
6670
7014
|
};
|
|
6671
7015
|
};
|
|
6672
7016
|
responses: {
|
|
6673
7017
|
/** A successful response. */
|
|
6674
7018
|
200: {
|
|
6675
|
-
schema: definitions["
|
|
7019
|
+
schema: definitions["v1GetEarnDeployStatusResponse"];
|
|
6676
7020
|
};
|
|
6677
7021
|
/** An unexpected error response. */
|
|
6678
7022
|
default: {
|
|
@@ -6680,17 +7024,17 @@ export type operations = {
|
|
|
6680
7024
|
};
|
|
6681
7025
|
};
|
|
6682
7026
|
};
|
|
6683
|
-
/**
|
|
6684
|
-
|
|
7027
|
+
/** Poll the status of a deposit by its deposit_request_id (for the async/sponsored deposit path). */
|
|
7028
|
+
PublicApiService_GetEarnDepositStatus: {
|
|
6685
7029
|
parameters: {
|
|
6686
7030
|
body: {
|
|
6687
|
-
body: definitions["
|
|
7031
|
+
body: definitions["v1GetEarnDepositStatusRequest"];
|
|
6688
7032
|
};
|
|
6689
7033
|
};
|
|
6690
7034
|
responses: {
|
|
6691
7035
|
/** A successful response. */
|
|
6692
7036
|
200: {
|
|
6693
|
-
schema: definitions["
|
|
7037
|
+
schema: definitions["v1GetEarnDepositStatusResponse"];
|
|
6694
7038
|
};
|
|
6695
7039
|
/** An unexpected error response. */
|
|
6696
7040
|
default: {
|
|
@@ -6698,17 +7042,17 @@ export type operations = {
|
|
|
6698
7042
|
};
|
|
6699
7043
|
};
|
|
6700
7044
|
};
|
|
6701
|
-
/**
|
|
6702
|
-
|
|
7045
|
+
/** Poll the status of a withdrawal by its withdraw_request_id. */
|
|
7046
|
+
PublicApiService_GetEarnWithdrawStatus: {
|
|
6703
7047
|
parameters: {
|
|
6704
7048
|
body: {
|
|
6705
|
-
body: definitions["
|
|
7049
|
+
body: definitions["v1GetEarnWithdrawStatusRequest"];
|
|
6706
7050
|
};
|
|
6707
7051
|
};
|
|
6708
7052
|
responses: {
|
|
6709
7053
|
/** A successful response. */
|
|
6710
7054
|
200: {
|
|
6711
|
-
schema: definitions["
|
|
7055
|
+
schema: definitions["v1GetEarnWithdrawStatusResponse"];
|
|
6712
7056
|
};
|
|
6713
7057
|
/** An unexpected error response. */
|
|
6714
7058
|
default: {
|
|
@@ -7274,6 +7618,60 @@ export type operations = {
|
|
|
7274
7618
|
};
|
|
7275
7619
|
};
|
|
7276
7620
|
};
|
|
7621
|
+
/** Get the organization's deployed wrappers with on-chain total deposited and live APY. The management view, distinct from per-wallet positions. */
|
|
7622
|
+
PublicApiService_ListEarnEnabledVaults: {
|
|
7623
|
+
parameters: {
|
|
7624
|
+
body: {
|
|
7625
|
+
body: definitions["v1ListEarnEnabledVaultsRequest"];
|
|
7626
|
+
};
|
|
7627
|
+
};
|
|
7628
|
+
responses: {
|
|
7629
|
+
/** A successful response. */
|
|
7630
|
+
200: {
|
|
7631
|
+
schema: definitions["v1ListEarnEnabledVaultsResponse"];
|
|
7632
|
+
};
|
|
7633
|
+
/** An unexpected error response. */
|
|
7634
|
+
default: {
|
|
7635
|
+
schema: definitions["rpcStatus"];
|
|
7636
|
+
};
|
|
7637
|
+
};
|
|
7638
|
+
};
|
|
7639
|
+
/** Get the active Earn positions for a specific wallet, including current value, cost basis, yield, and projected fees. */
|
|
7640
|
+
PublicApiService_ListEarnPositions: {
|
|
7641
|
+
parameters: {
|
|
7642
|
+
body: {
|
|
7643
|
+
body: definitions["v1ListEarnPositionsRequest"];
|
|
7644
|
+
};
|
|
7645
|
+
};
|
|
7646
|
+
responses: {
|
|
7647
|
+
/** A successful response. */
|
|
7648
|
+
200: {
|
|
7649
|
+
schema: definitions["v1ListEarnPositionsResponse"];
|
|
7650
|
+
};
|
|
7651
|
+
/** An unexpected error response. */
|
|
7652
|
+
default: {
|
|
7653
|
+
schema: definitions["rpcStatus"];
|
|
7654
|
+
};
|
|
7655
|
+
};
|
|
7656
|
+
};
|
|
7657
|
+
/** 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. */
|
|
7658
|
+
PublicApiService_ListEarnVaults: {
|
|
7659
|
+
parameters: {
|
|
7660
|
+
body: {
|
|
7661
|
+
body: definitions["v1ListEarnVaultsRequest"];
|
|
7662
|
+
};
|
|
7663
|
+
};
|
|
7664
|
+
responses: {
|
|
7665
|
+
/** A successful response. */
|
|
7666
|
+
200: {
|
|
7667
|
+
schema: definitions["v1ListEarnVaultsResponse"];
|
|
7668
|
+
};
|
|
7669
|
+
/** An unexpected error response. */
|
|
7670
|
+
default: {
|
|
7671
|
+
schema: definitions["rpcStatus"];
|
|
7672
|
+
};
|
|
7673
|
+
};
|
|
7674
|
+
};
|
|
7277
7675
|
/** List email events for the organization. */
|
|
7278
7676
|
PublicApiService_ListEmailEvents: {
|
|
7279
7677
|
parameters: {
|
|
@@ -7292,6 +7690,24 @@ export type operations = {
|
|
|
7292
7690
|
};
|
|
7293
7691
|
};
|
|
7294
7692
|
};
|
|
7693
|
+
/** List Ethereum transaction history for a wallet address on the specified network. */
|
|
7694
|
+
PublicApiService_ListEthTransactionHistory: {
|
|
7695
|
+
parameters: {
|
|
7696
|
+
body: {
|
|
7697
|
+
body: definitions["v1ListEthTransactionHistoryRequest"];
|
|
7698
|
+
};
|
|
7699
|
+
};
|
|
7700
|
+
responses: {
|
|
7701
|
+
/** A successful response. */
|
|
7702
|
+
200: {
|
|
7703
|
+
schema: definitions["v1ListEthTransactionHistoryResponse"];
|
|
7704
|
+
};
|
|
7705
|
+
/** An unexpected error response. */
|
|
7706
|
+
default: {
|
|
7707
|
+
schema: definitions["rpcStatus"];
|
|
7708
|
+
};
|
|
7709
|
+
};
|
|
7710
|
+
};
|
|
7295
7711
|
/** List all fiat on ramp provider credentials within an organization. */
|
|
7296
7712
|
PublicApiService_ListFiatOnRampCredentials: {
|
|
7297
7713
|
parameters: {
|
|
@@ -7400,6 +7816,24 @@ export type operations = {
|
|
|
7400
7816
|
};
|
|
7401
7817
|
};
|
|
7402
7818
|
};
|
|
7819
|
+
/** List Solana transaction history for a wallet address on the specified network. */
|
|
7820
|
+
PublicApiService_ListSolTransactionHistory: {
|
|
7821
|
+
parameters: {
|
|
7822
|
+
body: {
|
|
7823
|
+
body: definitions["v1ListSolTransactionHistoryRequest"];
|
|
7824
|
+
};
|
|
7825
|
+
};
|
|
7826
|
+
responses: {
|
|
7827
|
+
/** A successful response. */
|
|
7828
|
+
200: {
|
|
7829
|
+
schema: definitions["v1ListSolTransactionHistoryResponse"];
|
|
7830
|
+
};
|
|
7831
|
+
/** An unexpected error response. */
|
|
7832
|
+
default: {
|
|
7833
|
+
schema: definitions["rpcStatus"];
|
|
7834
|
+
};
|
|
7835
|
+
};
|
|
7836
|
+
};
|
|
7403
7837
|
/** Get all suborg IDs associated given a parent org ID and an optional filter. */
|
|
7404
7838
|
PublicApiService_GetSubOrgIds: {
|
|
7405
7839
|
parameters: {
|
|
@@ -7634,6 +8068,42 @@ export type operations = {
|
|
|
7634
8068
|
};
|
|
7635
8069
|
};
|
|
7636
8070
|
};
|
|
8071
|
+
/** Claim earn fees through the activity pipeline. */
|
|
8072
|
+
PublicApiService_ClaimEarnFees: {
|
|
8073
|
+
parameters: {
|
|
8074
|
+
body: {
|
|
8075
|
+
body: definitions["v1ClaimEarnFeesRequest"];
|
|
8076
|
+
};
|
|
8077
|
+
};
|
|
8078
|
+
responses: {
|
|
8079
|
+
/** A successful response. */
|
|
8080
|
+
200: {
|
|
8081
|
+
schema: definitions["v1ActivityResponse"];
|
|
8082
|
+
};
|
|
8083
|
+
/** An unexpected error response. */
|
|
8084
|
+
default: {
|
|
8085
|
+
schema: definitions["rpcStatus"];
|
|
8086
|
+
};
|
|
8087
|
+
};
|
|
8088
|
+
};
|
|
8089
|
+
/** Claim swap fees through the activity pipeline. */
|
|
8090
|
+
PublicApiService_ClaimSwapFees: {
|
|
8091
|
+
parameters: {
|
|
8092
|
+
body: {
|
|
8093
|
+
body: definitions["v1ClaimSwapFeesRequest"];
|
|
8094
|
+
};
|
|
8095
|
+
};
|
|
8096
|
+
responses: {
|
|
8097
|
+
/** A successful response. */
|
|
8098
|
+
200: {
|
|
8099
|
+
schema: definitions["v1ActivityResponse"];
|
|
8100
|
+
};
|
|
8101
|
+
/** An unexpected error response. */
|
|
8102
|
+
default: {
|
|
8103
|
+
schema: definitions["rpcStatus"];
|
|
8104
|
+
};
|
|
8105
|
+
};
|
|
8106
|
+
};
|
|
7637
8107
|
/** Add API keys to an existing user. */
|
|
7638
8108
|
PublicApiService_CreateApiKeys: {
|
|
7639
8109
|
parameters: {
|
|
@@ -7922,7 +8392,7 @@ export type operations = {
|
|
|
7922
8392
|
};
|
|
7923
8393
|
};
|
|
7924
8394
|
};
|
|
7925
|
-
/** Create a new sub-organization. */
|
|
8395
|
+
/** 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
8396
|
PublicApiService_CreateSubOrganization: {
|
|
7927
8397
|
parameters: {
|
|
7928
8398
|
body: {
|
|
@@ -8048,7 +8518,7 @@ export type operations = {
|
|
|
8048
8518
|
};
|
|
8049
8519
|
};
|
|
8050
8520
|
};
|
|
8051
|
-
/** Create users in an existing organization. */
|
|
8521
|
+
/** 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
8522
|
PublicApiService_CreateUsers: {
|
|
8053
8523
|
parameters: {
|
|
8054
8524
|
body: {
|
|
@@ -8516,6 +8986,24 @@ export type operations = {
|
|
|
8516
8986
|
};
|
|
8517
8987
|
};
|
|
8518
8988
|
};
|
|
8989
|
+
/** Enable or disable deposits to a deployed Earn wrapper. Withdrawals are always allowed. */
|
|
8990
|
+
PublicApiService_EarnSetWrapperState: {
|
|
8991
|
+
parameters: {
|
|
8992
|
+
body: {
|
|
8993
|
+
body: definitions["v1EarnSetWrapperStateRequest"];
|
|
8994
|
+
};
|
|
8995
|
+
};
|
|
8996
|
+
responses: {
|
|
8997
|
+
/** A successful response. */
|
|
8998
|
+
200: {
|
|
8999
|
+
schema: definitions["v1ActivityResponse"];
|
|
9000
|
+
};
|
|
9001
|
+
/** An unexpected error response. */
|
|
9002
|
+
default: {
|
|
9003
|
+
schema: definitions["rpcStatus"];
|
|
9004
|
+
};
|
|
9005
|
+
};
|
|
9006
|
+
};
|
|
8519
9007
|
/** Withdraw assets or redeem shares from an enabled yield vault. */
|
|
8520
9008
|
PublicApiService_EarnWithdraw: {
|
|
8521
9009
|
parameters: {
|
|
@@ -8732,6 +9220,24 @@ export type operations = {
|
|
|
8732
9220
|
};
|
|
8733
9221
|
};
|
|
8734
9222
|
};
|
|
9223
|
+
/** Initialize secret imports by generating Ingress Encryption Target Keys. */
|
|
9224
|
+
PublicApiService_InitImportSecrets: {
|
|
9225
|
+
parameters: {
|
|
9226
|
+
body: {
|
|
9227
|
+
body: definitions["v1InitImportSecretsRequest"];
|
|
9228
|
+
};
|
|
9229
|
+
};
|
|
9230
|
+
responses: {
|
|
9231
|
+
/** A successful response. */
|
|
9232
|
+
200: {
|
|
9233
|
+
schema: definitions["v1ActivityResponse"];
|
|
9234
|
+
};
|
|
9235
|
+
/** An unexpected error response. */
|
|
9236
|
+
default: {
|
|
9237
|
+
schema: definitions["rpcStatus"];
|
|
9238
|
+
};
|
|
9239
|
+
};
|
|
9240
|
+
};
|
|
8735
9241
|
/** Initialize a new wallet import. */
|
|
8736
9242
|
PublicApiService_InitImportWallet: {
|
|
8737
9243
|
parameters: {
|
|
@@ -9128,7 +9634,7 @@ export type operations = {
|
|
|
9128
9634
|
};
|
|
9129
9635
|
};
|
|
9130
9636
|
};
|
|
9131
|
-
/** Submit a transaction intent describing an SVM transaction you would like to broadcast. */
|
|
9637
|
+
/** Submit a transaction intent describing an SVM transaction you would like to broadcast. Supports single- and multi-signer intents via activity type versioning. */
|
|
9132
9638
|
PublicApiService_SolSendTransaction: {
|
|
9133
9639
|
parameters: {
|
|
9134
9640
|
body: {
|
|
@@ -9488,24 +9994,6 @@ export type operations = {
|
|
|
9488
9994
|
};
|
|
9489
9995
|
};
|
|
9490
9996
|
};
|
|
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
9997
|
/** Enable or disable swap configuration for an organization. */
|
|
9510
9998
|
PublicApiService_UpsertSwapConfig: {
|
|
9511
9999
|
parameters: {
|