@turnkey/sdk-types 1.6.0 → 1.8.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.
|
@@ -108,7 +108,7 @@ export type v1InitOtpResponse = {
|
|
|
108
108
|
otpId: string;
|
|
109
109
|
};
|
|
110
110
|
export type v1InitOtpV2Request = {
|
|
111
|
-
/** Enum to specify whether to send OTP code via SMS or
|
|
111
|
+
/** Enum to specify whether to send OTP code via SMS, email, or WhatsApp */
|
|
112
112
|
otpType: string;
|
|
113
113
|
/** Email or phone number to send the OTP code to */
|
|
114
114
|
contact: string;
|
|
@@ -367,6 +367,14 @@ export type billingSetPaymentMethodResult = {
|
|
|
367
367
|
/** The email address associated with the payment method. */
|
|
368
368
|
cardHolderEmail: string;
|
|
369
369
|
};
|
|
370
|
+
export type billingUpdatePaymentMethodIntent = {
|
|
371
|
+
/** The email that will receive invoices for the payment method. */
|
|
372
|
+
paymentEmail: string;
|
|
373
|
+
};
|
|
374
|
+
export type billingUpdatePaymentMethodResult = {
|
|
375
|
+
/** The email address associated with the payment method. */
|
|
376
|
+
paymentEmail: string;
|
|
377
|
+
};
|
|
370
378
|
export type datav1Tag = {
|
|
371
379
|
/** Unique identifier for a given Tag. */
|
|
372
380
|
tagId: string;
|
|
@@ -459,6 +467,18 @@ export type v1AcceptInvitationResult = {
|
|
|
459
467
|
userId: string;
|
|
460
468
|
};
|
|
461
469
|
export type v1AccessType = "ACCESS_TYPE_WEB" | "ACCESS_TYPE_API" | "ACCESS_TYPE_ALL";
|
|
470
|
+
export type v1ActivePolicyStatus = {
|
|
471
|
+
/** Unique identifier for the organization the policy belongs to. */
|
|
472
|
+
organizationId: string;
|
|
473
|
+
/** Unique identifier for a given policy. */
|
|
474
|
+
policyId: string;
|
|
475
|
+
/** Whether the policy is currently active. A policy without a time window is always active. */
|
|
476
|
+
active: boolean;
|
|
477
|
+
/** The policy's time expression, absent when the policy has no time window. */
|
|
478
|
+
timeExpr?: string;
|
|
479
|
+
/** Set when the policy's time expression could not be evaluated; the policy is reported inactive. */
|
|
480
|
+
error?: string;
|
|
481
|
+
};
|
|
462
482
|
export type v1Activity = {
|
|
463
483
|
/** Unique identifier for a given Activity object. */
|
|
464
484
|
id: string;
|
|
@@ -490,7 +510,7 @@ export type v1ActivityResponse = {
|
|
|
490
510
|
activity: v1Activity;
|
|
491
511
|
};
|
|
492
512
|
export type v1ActivityStatus = "ACTIVITY_STATUS_CREATED" | "ACTIVITY_STATUS_PENDING" | "ACTIVITY_STATUS_COMPLETED" | "ACTIVITY_STATUS_FAILED" | "ACTIVITY_STATUS_CONSENSUS_NEEDED" | "ACTIVITY_STATUS_REJECTED" | "ACTIVITY_STATUS_AUTHENTICATORS_NEEDED";
|
|
493
|
-
export type v1ActivityType = "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" | "ACTIVITY_TYPE_UPDATE_USER_TAG" | "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2" | "ACTIVITY_TYPE_CREATE_ORGANIZATION_V2" | "ACTIVITY_TYPE_CREATE_USERS_V2" | "ACTIVITY_TYPE_ACCEPT_INVITATION_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V2" | "ACTIVITY_TYPE_UPDATE_ALLOWED_ORIGINS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS_V2" | "ACTIVITY_TYPE_UPDATE_USER" | "ACTIVITY_TYPE_UPDATE_POLICY" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V3" | "ACTIVITY_TYPE_CREATE_WALLET" | "ACTIVITY_TYPE_CREATE_WALLET_ACCOUNTS" | "ACTIVITY_TYPE_INIT_USER_EMAIL_RECOVERY" | "ACTIVITY_TYPE_RECOVER_USER" | "ACTIVITY_TYPE_SET_ORGANIZATION_FEATURE" | "ACTIVITY_TYPE_REMOVE_ORGANIZATION_FEATURE" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD_V2" | "ACTIVITY_TYPE_SIGN_TRANSACTION_V2" | "ACTIVITY_TYPE_EXPORT_PRIVATE_KEY" | "ACTIVITY_TYPE_EXPORT_WALLET" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V4" | "ACTIVITY_TYPE_EMAIL_AUTH" | "ACTIVITY_TYPE_EXPORT_WALLET_ACCOUNT" | "ACTIVITY_TYPE_INIT_IMPORT_WALLET" | "ACTIVITY_TYPE_IMPORT_WALLET" | "ACTIVITY_TYPE_INIT_IMPORT_PRIVATE_KEY" | "ACTIVITY_TYPE_IMPORT_PRIVATE_KEY" | "ACTIVITY_TYPE_CREATE_POLICIES" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOADS" | "ACTIVITY_TYPE_CREATE_READ_ONLY_SESSION" | "ACTIVITY_TYPE_CREATE_OAUTH_PROVIDERS" | "ACTIVITY_TYPE_DELETE_OAUTH_PROVIDERS" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V5" | "ACTIVITY_TYPE_OAUTH" | "ACTIVITY_TYPE_CREATE_API_KEYS_V2" | "ACTIVITY_TYPE_CREATE_READ_WRITE_SESSION" | "ACTIVITY_TYPE_EMAIL_AUTH_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V6" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEYS" | "ACTIVITY_TYPE_DELETE_WALLETS" | "ACTIVITY_TYPE_CREATE_READ_WRITE_SESSION_V2" | "ACTIVITY_TYPE_DELETE_SUB_ORGANIZATION" | "ACTIVITY_TYPE_INIT_OTP_AUTH" | "ACTIVITY_TYPE_OTP_AUTH" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V7" | "ACTIVITY_TYPE_UPDATE_WALLET" | "ACTIVITY_TYPE_UPDATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_USERS_V3" | "ACTIVITY_TYPE_INIT_OTP_AUTH_V2" | "ACTIVITY_TYPE_INIT_OTP" | "ACTIVITY_TYPE_VERIFY_OTP" | "ACTIVITY_TYPE_OTP_LOGIN" | "ACTIVITY_TYPE_STAMP_LOGIN" | "ACTIVITY_TYPE_OAUTH_LOGIN" | "ACTIVITY_TYPE_UPDATE_USER_NAME" | "ACTIVITY_TYPE_UPDATE_USER_EMAIL" | "ACTIVITY_TYPE_UPDATE_USER_PHONE_NUMBER" | "ACTIVITY_TYPE_INIT_FIAT_ON_RAMP" | "ACTIVITY_TYPE_CREATE_SMART_CONTRACT_INTERFACE" | "ACTIVITY_TYPE_DELETE_SMART_CONTRACT_INTERFACE" | "ACTIVITY_TYPE_ENABLE_AUTH_PROXY" | "ACTIVITY_TYPE_DISABLE_AUTH_PROXY" | "ACTIVITY_TYPE_UPDATE_AUTH_PROXY_CONFIG" | "ACTIVITY_TYPE_CREATE_OAUTH2_CREDENTIAL" | "ACTIVITY_TYPE_UPDATE_OAUTH2_CREDENTIAL" | "ACTIVITY_TYPE_DELETE_OAUTH2_CREDENTIAL" | "ACTIVITY_TYPE_OAUTH2_AUTHENTICATE" | "ACTIVITY_TYPE_DELETE_WALLET_ACCOUNTS" | "ACTIVITY_TYPE_DELETE_POLICIES" | "ACTIVITY_TYPE_ETH_SEND_RAW_TRANSACTION" | "ACTIVITY_TYPE_ETH_SEND_TRANSACTION" | "ACTIVITY_TYPE_CREATE_FIAT_ON_RAMP_CREDENTIAL" | "ACTIVITY_TYPE_UPDATE_FIAT_ON_RAMP_CREDENTIAL" | "ACTIVITY_TYPE_DELETE_FIAT_ON_RAMP_CREDENTIAL" | "ACTIVITY_TYPE_EMAIL_AUTH_V3" | "ACTIVITY_TYPE_INIT_USER_EMAIL_RECOVERY_V2" | "ACTIVITY_TYPE_INIT_OTP_AUTH_V3" | "ACTIVITY_TYPE_INIT_OTP_V2" | "ACTIVITY_TYPE_UPSERT_GAS_USAGE_CONFIG" | "ACTIVITY_TYPE_CREATE_TVC_APP" | "ACTIVITY_TYPE_CREATE_TVC_DEPLOYMENT" | "ACTIVITY_TYPE_CREATE_TVC_MANIFEST_APPROVALS" | "ACTIVITY_TYPE_SOL_SEND_TRANSACTION" | "ACTIVITY_TYPE_INIT_OTP_V3" | "ACTIVITY_TYPE_VERIFY_OTP_V2" | "ACTIVITY_TYPE_OTP_LOGIN_V2" | "ACTIVITY_TYPE_UPDATE_ORGANIZATION_NAME" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V8" | "ACTIVITY_TYPE_CREATE_OAUTH_PROVIDERS_V2" | "ACTIVITY_TYPE_CREATE_USERS_V4" | "ACTIVITY_TYPE_CREATE_WEBHOOK_ENDPOINT" | "ACTIVITY_TYPE_UPDATE_WEBHOOK_ENDPOINT" | "ACTIVITY_TYPE_DELETE_WEBHOOK_ENDPOINT" | "ACTIVITY_TYPE_SET_IP_ALLOWLIST" | "ACTIVITY_TYPE_REMOVE_IP_ALLOWLIST" | "ACTIVITY_TYPE_UPDATE_TVC_APP_LIVE_DEPLOYMENT" | "ACTIVITY_TYPE_DELETE_TVC_DEPLOYMENT" | "ACTIVITY_TYPE_DELETE_TVC_APP_AND_DEPLOYMENTS" | "ACTIVITY_TYPE_RESTORE_TVC_DEPLOYMENT" | "ACTIVITY_TYPE_SPARK_SIGN_FROST" | "ACTIVITY_TYPE_SPARK_PREPARE_TRANSFER" | "ACTIVITY_TYPE_SPARK_CLAIM_TRANSFER" | "ACTIVITY_TYPE_SPARK_PREPARE_LIGHTNING_RECEIVE" | "ACTIVITY_TYPE_POST_TVC_QUORUM_KEY_SHARE" | "ACTIVITY_TYPE_ETH_SEND_TRANSACTION_V2" | "ACTIVITY_TYPE_CREATE_MFA_POLICY" | "ACTIVITY_TYPE_UPDATE_MFA_POLICY" | "ACTIVITY_TYPE_DELETE_MFA_POLICY" | "ACTIVITY_TYPE_CREATE_SESSION_PROFILE" | "ACTIVITY_TYPE_EARN_DEPLOY_WRAPPER" | "ACTIVITY_TYPE_EARN_DEPOSIT" | "ACTIVITY_TYPE_EARN_WITHDRAW" | "ACTIVITY_TYPE_EXECUTE_SWAP" | "ACTIVITY_TYPE_UPSERT_SWAP_CONFIG" | "ACTIVITY_TYPE_CREATE_TVC_OPERATOR" | "ACTIVITY_TYPE_CREATE_TVC_QUORUM_KEY" | "ACTIVITY_TYPE_RE_ENCRYPT_TVC_QUORUM_KEY_SHARE" | "ACTIVITY_TYPE_INIT_IMPORT_SECRETS" | "ACTIVITY_TYPE_SOL_SEND_TRANSACTION_V2" | "ACTIVITY_TYPE_CLAIM_SWAP_FEES" | "ACTIVITY_TYPE_EARN_SET_WRAPPER_STATE" | "ACTIVITY_TYPE_CLAIM_EARN_FEES" | "ACTIVITY_TYPE_UPDATE_WALLET_ACCOUNT_NAME" | "ACTIVITY_TYPE_ETH_UNDELEGATE_7702" | "ACTIVITY_TYPE_EXECUTE_SWAP_V2" | "ACTIVITY_TYPE_CREATE_SWAP_QUOTE" | "ACTIVITY_TYPE_IMPORT_SECRETS" | "ACTIVITY_TYPE_EXPORT_SECRETS";
|
|
513
|
+
export type v1ActivityType = "ACTIVITY_TYPE_CREATE_API_KEYS" | "ACTIVITY_TYPE_CREATE_USERS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD" | "ACTIVITY_TYPE_CREATE_INVITATIONS" | "ACTIVITY_TYPE_ACCEPT_INVITATION" | "ACTIVITY_TYPE_CREATE_POLICY" | "ACTIVITY_TYPE_DISABLE_PRIVATE_KEY" | "ACTIVITY_TYPE_DELETE_USERS" | "ACTIVITY_TYPE_DELETE_API_KEYS" | "ACTIVITY_TYPE_DELETE_INVITATION" | "ACTIVITY_TYPE_DELETE_ORGANIZATION" | "ACTIVITY_TYPE_DELETE_POLICY" | "ACTIVITY_TYPE_CREATE_USER_TAG" | "ACTIVITY_TYPE_DELETE_USER_TAGS" | "ACTIVITY_TYPE_CREATE_ORGANIZATION" | "ACTIVITY_TYPE_SIGN_TRANSACTION" | "ACTIVITY_TYPE_APPROVE_ACTIVITY" | "ACTIVITY_TYPE_REJECT_ACTIVITY" | "ACTIVITY_TYPE_DELETE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEY_TAGS" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD" | "ACTIVITY_TYPE_ACTIVATE_BILLING_TIER" | "ACTIVITY_TYPE_DELETE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_POLICY_V3" | "ACTIVITY_TYPE_CREATE_API_ONLY_USERS" | "ACTIVITY_TYPE_UPDATE_ROOT_QUORUM" | "ACTIVITY_TYPE_UPDATE_USER_TAG" | "ACTIVITY_TYPE_UPDATE_PRIVATE_KEY_TAG" | "ACTIVITY_TYPE_CREATE_AUTHENTICATORS_V2" | "ACTIVITY_TYPE_CREATE_ORGANIZATION_V2" | "ACTIVITY_TYPE_CREATE_USERS_V2" | "ACTIVITY_TYPE_ACCEPT_INVITATION_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V2" | "ACTIVITY_TYPE_UPDATE_ALLOWED_ORIGINS" | "ACTIVITY_TYPE_CREATE_PRIVATE_KEYS_V2" | "ACTIVITY_TYPE_UPDATE_USER" | "ACTIVITY_TYPE_UPDATE_POLICY" | "ACTIVITY_TYPE_SET_PAYMENT_METHOD_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V3" | "ACTIVITY_TYPE_CREATE_WALLET" | "ACTIVITY_TYPE_CREATE_WALLET_ACCOUNTS" | "ACTIVITY_TYPE_INIT_USER_EMAIL_RECOVERY" | "ACTIVITY_TYPE_RECOVER_USER" | "ACTIVITY_TYPE_SET_ORGANIZATION_FEATURE" | "ACTIVITY_TYPE_REMOVE_ORGANIZATION_FEATURE" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOAD_V2" | "ACTIVITY_TYPE_SIGN_TRANSACTION_V2" | "ACTIVITY_TYPE_EXPORT_PRIVATE_KEY" | "ACTIVITY_TYPE_EXPORT_WALLET" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V4" | "ACTIVITY_TYPE_EMAIL_AUTH" | "ACTIVITY_TYPE_EXPORT_WALLET_ACCOUNT" | "ACTIVITY_TYPE_INIT_IMPORT_WALLET" | "ACTIVITY_TYPE_IMPORT_WALLET" | "ACTIVITY_TYPE_INIT_IMPORT_PRIVATE_KEY" | "ACTIVITY_TYPE_IMPORT_PRIVATE_KEY" | "ACTIVITY_TYPE_CREATE_POLICIES" | "ACTIVITY_TYPE_SIGN_RAW_PAYLOADS" | "ACTIVITY_TYPE_CREATE_READ_ONLY_SESSION" | "ACTIVITY_TYPE_CREATE_OAUTH_PROVIDERS" | "ACTIVITY_TYPE_DELETE_OAUTH_PROVIDERS" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V5" | "ACTIVITY_TYPE_OAUTH" | "ACTIVITY_TYPE_CREATE_API_KEYS_V2" | "ACTIVITY_TYPE_CREATE_READ_WRITE_SESSION" | "ACTIVITY_TYPE_EMAIL_AUTH_V2" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V6" | "ACTIVITY_TYPE_DELETE_PRIVATE_KEYS" | "ACTIVITY_TYPE_DELETE_WALLETS" | "ACTIVITY_TYPE_CREATE_READ_WRITE_SESSION_V2" | "ACTIVITY_TYPE_DELETE_SUB_ORGANIZATION" | "ACTIVITY_TYPE_INIT_OTP_AUTH" | "ACTIVITY_TYPE_OTP_AUTH" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V7" | "ACTIVITY_TYPE_UPDATE_WALLET" | "ACTIVITY_TYPE_UPDATE_POLICY_V2" | "ACTIVITY_TYPE_CREATE_USERS_V3" | "ACTIVITY_TYPE_INIT_OTP_AUTH_V2" | "ACTIVITY_TYPE_INIT_OTP" | "ACTIVITY_TYPE_VERIFY_OTP" | "ACTIVITY_TYPE_OTP_LOGIN" | "ACTIVITY_TYPE_STAMP_LOGIN" | "ACTIVITY_TYPE_OAUTH_LOGIN" | "ACTIVITY_TYPE_UPDATE_USER_NAME" | "ACTIVITY_TYPE_UPDATE_USER_EMAIL" | "ACTIVITY_TYPE_UPDATE_USER_PHONE_NUMBER" | "ACTIVITY_TYPE_INIT_FIAT_ON_RAMP" | "ACTIVITY_TYPE_CREATE_SMART_CONTRACT_INTERFACE" | "ACTIVITY_TYPE_DELETE_SMART_CONTRACT_INTERFACE" | "ACTIVITY_TYPE_ENABLE_AUTH_PROXY" | "ACTIVITY_TYPE_DISABLE_AUTH_PROXY" | "ACTIVITY_TYPE_UPDATE_AUTH_PROXY_CONFIG" | "ACTIVITY_TYPE_CREATE_OAUTH2_CREDENTIAL" | "ACTIVITY_TYPE_UPDATE_OAUTH2_CREDENTIAL" | "ACTIVITY_TYPE_DELETE_OAUTH2_CREDENTIAL" | "ACTIVITY_TYPE_OAUTH2_AUTHENTICATE" | "ACTIVITY_TYPE_DELETE_WALLET_ACCOUNTS" | "ACTIVITY_TYPE_DELETE_POLICIES" | "ACTIVITY_TYPE_ETH_SEND_RAW_TRANSACTION" | "ACTIVITY_TYPE_ETH_SEND_TRANSACTION" | "ACTIVITY_TYPE_CREATE_FIAT_ON_RAMP_CREDENTIAL" | "ACTIVITY_TYPE_UPDATE_FIAT_ON_RAMP_CREDENTIAL" | "ACTIVITY_TYPE_DELETE_FIAT_ON_RAMP_CREDENTIAL" | "ACTIVITY_TYPE_EMAIL_AUTH_V3" | "ACTIVITY_TYPE_INIT_USER_EMAIL_RECOVERY_V2" | "ACTIVITY_TYPE_INIT_OTP_AUTH_V3" | "ACTIVITY_TYPE_INIT_OTP_V2" | "ACTIVITY_TYPE_UPSERT_GAS_USAGE_CONFIG" | "ACTIVITY_TYPE_CREATE_TVC_APP" | "ACTIVITY_TYPE_CREATE_TVC_DEPLOYMENT" | "ACTIVITY_TYPE_CREATE_TVC_MANIFEST_APPROVALS" | "ACTIVITY_TYPE_SOL_SEND_TRANSACTION" | "ACTIVITY_TYPE_INIT_OTP_V3" | "ACTIVITY_TYPE_VERIFY_OTP_V2" | "ACTIVITY_TYPE_OTP_LOGIN_V2" | "ACTIVITY_TYPE_UPDATE_ORGANIZATION_NAME" | "ACTIVITY_TYPE_CREATE_SUB_ORGANIZATION_V8" | "ACTIVITY_TYPE_CREATE_OAUTH_PROVIDERS_V2" | "ACTIVITY_TYPE_CREATE_USERS_V4" | "ACTIVITY_TYPE_CREATE_WEBHOOK_ENDPOINT" | "ACTIVITY_TYPE_UPDATE_WEBHOOK_ENDPOINT" | "ACTIVITY_TYPE_DELETE_WEBHOOK_ENDPOINT" | "ACTIVITY_TYPE_SET_IP_ALLOWLIST" | "ACTIVITY_TYPE_REMOVE_IP_ALLOWLIST" | "ACTIVITY_TYPE_UPDATE_TVC_APP_LIVE_DEPLOYMENT" | "ACTIVITY_TYPE_DELETE_TVC_DEPLOYMENT" | "ACTIVITY_TYPE_DELETE_TVC_APP_AND_DEPLOYMENTS" | "ACTIVITY_TYPE_RESTORE_TVC_DEPLOYMENT" | "ACTIVITY_TYPE_SPARK_SIGN_FROST" | "ACTIVITY_TYPE_SPARK_PREPARE_TRANSFER" | "ACTIVITY_TYPE_SPARK_CLAIM_TRANSFER" | "ACTIVITY_TYPE_SPARK_PREPARE_LIGHTNING_RECEIVE" | "ACTIVITY_TYPE_POST_TVC_QUORUM_KEY_SHARE" | "ACTIVITY_TYPE_ETH_SEND_TRANSACTION_V2" | "ACTIVITY_TYPE_CREATE_MFA_POLICY" | "ACTIVITY_TYPE_UPDATE_MFA_POLICY" | "ACTIVITY_TYPE_DELETE_MFA_POLICY" | "ACTIVITY_TYPE_CREATE_SESSION_PROFILE" | "ACTIVITY_TYPE_EARN_DEPLOY_WRAPPER" | "ACTIVITY_TYPE_EARN_DEPOSIT" | "ACTIVITY_TYPE_EARN_WITHDRAW" | "ACTIVITY_TYPE_EXECUTE_SWAP" | "ACTIVITY_TYPE_UPSERT_SWAP_CONFIG" | "ACTIVITY_TYPE_CREATE_TVC_OPERATOR" | "ACTIVITY_TYPE_CREATE_TVC_QUORUM_KEY" | "ACTIVITY_TYPE_RE_ENCRYPT_TVC_QUORUM_KEY_SHARE" | "ACTIVITY_TYPE_INIT_IMPORT_SECRETS" | "ACTIVITY_TYPE_SOL_SEND_TRANSACTION_V2" | "ACTIVITY_TYPE_CLAIM_SWAP_FEES" | "ACTIVITY_TYPE_EARN_SET_WRAPPER_STATE" | "ACTIVITY_TYPE_CLAIM_EARN_FEES" | "ACTIVITY_TYPE_UPDATE_WALLET_ACCOUNT_NAME" | "ACTIVITY_TYPE_ETH_UNDELEGATE_7702" | "ACTIVITY_TYPE_EXECUTE_SWAP_V2" | "ACTIVITY_TYPE_CREATE_SWAP_QUOTE" | "ACTIVITY_TYPE_IMPORT_SECRETS" | "ACTIVITY_TYPE_EXPORT_SECRETS" | "ACTIVITY_TYPE_CREATE_VELOCITY_CONTROL" | "ACTIVITY_TYPE_DELETE_VELOCITY_CONTROL" | "ACTIVITY_TYPE_UPDATE_PAYMENT_METHOD" | "ACTIVITY_TYPE_CREATE_SWAP_QUOTE_V2" | "ACTIVITY_TYPE_EXECUTE_SWAP_V3" | "ACTIVITY_TYPE_DELETE_SECRETS";
|
|
494
514
|
export type v1ApiKey = {
|
|
495
515
|
/** A User credential that can be used to authenticate to Turnkey. */
|
|
496
516
|
credential: externaldatav1Credential;
|
|
@@ -567,6 +587,8 @@ export type v1AssetMetadata = {
|
|
|
567
587
|
name?: string;
|
|
568
588
|
/** Whether this asset is on Turnkey's stablecoin list (used for stablepair swap fee pricing). */
|
|
569
589
|
stable?: boolean;
|
|
590
|
+
/** Earn yield providers with vaults denominated in this asset. Empty when the asset is not supported by Earn. */
|
|
591
|
+
earnProviders?: v1EarnProvider[];
|
|
570
592
|
};
|
|
571
593
|
export type v1AuthenticationMethod = {
|
|
572
594
|
/** The type of authenticator (e.g., AUTHENTICATION_TYPE_EMAIL, AUTHENTICATION_TYPE_SESSION) required for this MFA step. */
|
|
@@ -1277,6 +1299,20 @@ export type v1CreateSwapQuoteIntent = {
|
|
|
1277
1299
|
/** Provider-neutral maximum allowed slippage in basis points. Turnkey converts this value to each provider's request format. When omitted, each provider applies its default slippage behavior. */
|
|
1278
1300
|
slippageBps?: string;
|
|
1279
1301
|
};
|
|
1302
|
+
export type v1CreateSwapQuoteIntentV2 = {
|
|
1303
|
+
/** Wallet account address used to price the executable provider quote. Private Key identifiers are not supported. */
|
|
1304
|
+
signWith: string;
|
|
1305
|
+
/** CAIP-19 asset ID for the input asset. The chain is derived from this value. */
|
|
1306
|
+
inputToken: string;
|
|
1307
|
+
/** CAIP-19 asset ID for the output asset. */
|
|
1308
|
+
outputToken: string;
|
|
1309
|
+
/** Base-unit amount of the input asset. */
|
|
1310
|
+
inputAmount: string;
|
|
1311
|
+
/** Provider-neutral maximum allowed slippage in basis points. Turnkey converts this value to each provider's request format. When omitted, each provider applies its default slippage behavior. */
|
|
1312
|
+
slippageBps?: string;
|
|
1313
|
+
/** Raw public address that receives the output asset. Required for cross-protocol swaps. The address must match the output token protocol. Wallet account IDs, private key IDs, and CAIP account or asset identifiers are not supported. */
|
|
1314
|
+
destinationAddress?: string;
|
|
1315
|
+
};
|
|
1280
1316
|
export type v1CreateSwapQuoteRequest = {
|
|
1281
1317
|
type: "ACTIVITY_TYPE_CREATE_SWAP_QUOTE";
|
|
1282
1318
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
@@ -1476,6 +1512,19 @@ export type v1CreateUsersResult = {
|
|
|
1476
1512
|
/** A list of User IDs. */
|
|
1477
1513
|
userIds: string[];
|
|
1478
1514
|
};
|
|
1515
|
+
export type v1CreateVelocityControlIntent = {
|
|
1516
|
+
/** Human-readable name for the Velocity Control. */
|
|
1517
|
+
name: string;
|
|
1518
|
+
/** Data source for the Velocity Control. */
|
|
1519
|
+
dataSource: v1VelocityControlDataSource;
|
|
1520
|
+
/** Aggregation expression that the Velocity Control evaluates. */
|
|
1521
|
+
aggregation: v1VelocityControlAggregation;
|
|
1522
|
+
/** Identifier for the Velocity Control. Policies reference it as `controls.<identifier>`. It must be unique within the Organization. */
|
|
1523
|
+
identifier: string;
|
|
1524
|
+
};
|
|
1525
|
+
export type v1CreateVelocityControlResult = {
|
|
1526
|
+
velocityControlId: string;
|
|
1527
|
+
};
|
|
1479
1528
|
export type v1CreateWalletAccountsIntent = {
|
|
1480
1529
|
/** Unique identifier for a given Wallet. */
|
|
1481
1530
|
walletId: string;
|
|
@@ -1759,6 +1808,22 @@ export type v1DeletePrivateKeysResult = {
|
|
|
1759
1808
|
/** A list of private key unique identifiers that were removed */
|
|
1760
1809
|
privateKeyIds: string[];
|
|
1761
1810
|
};
|
|
1811
|
+
export type v1DeleteSecretsIntent = {
|
|
1812
|
+
/** Unique identifiers of the secrets to delete. Must contain between 1 and 32 distinct UUIDs. All secrets must belong to the organization. */
|
|
1813
|
+
secretIds: string[];
|
|
1814
|
+
};
|
|
1815
|
+
export type v1DeleteSecretsRequest = {
|
|
1816
|
+
type: "ACTIVITY_TYPE_DELETE_SECRETS";
|
|
1817
|
+
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1818
|
+
timestampMs: string;
|
|
1819
|
+
/** Unique identifier for a given Organization. */
|
|
1820
|
+
organizationId: string;
|
|
1821
|
+
parameters: v1DeleteSecretsIntent;
|
|
1822
|
+
};
|
|
1823
|
+
export type v1DeleteSecretsResult = {
|
|
1824
|
+
/** Unique identifiers of the deleted secrets, in the order requested. */
|
|
1825
|
+
secretIds: string[];
|
|
1826
|
+
};
|
|
1762
1827
|
export type v1DeleteSmartContractInterfaceIntent = {
|
|
1763
1828
|
/** The ID of a Smart Contract Interface intended for deletion. */
|
|
1764
1829
|
smartContractInterfaceId: string;
|
|
@@ -1863,6 +1928,12 @@ export type v1DeleteUsersResult = {
|
|
|
1863
1928
|
/** A list of User IDs. */
|
|
1864
1929
|
userIds: string[];
|
|
1865
1930
|
};
|
|
1931
|
+
export type v1DeleteVelocityControlIntent = {
|
|
1932
|
+
velocityControlId: string;
|
|
1933
|
+
};
|
|
1934
|
+
export type v1DeleteVelocityControlResult = {
|
|
1935
|
+
velocityControlId: string;
|
|
1936
|
+
};
|
|
1866
1937
|
export type v1DeleteWalletAccountsIntent = {
|
|
1867
1938
|
/** List of unique identifiers for wallet accounts within an organization */
|
|
1868
1939
|
walletAccountIds: string[];
|
|
@@ -1927,6 +1998,8 @@ export type v1DeploymentStatus = {
|
|
|
1927
1998
|
desiredReplicas: number;
|
|
1928
1999
|
/** Last time this deployment was updated */
|
|
1929
2000
|
lastUpdatedTime: externaldatav1Timestamp;
|
|
2001
|
+
/** Current quorum-key provisioning state for this deployment */
|
|
2002
|
+
provisioningState?: v1ProvisioningState;
|
|
1930
2003
|
};
|
|
1931
2004
|
export type v1DisableAuthProxyIntent = {};
|
|
1932
2005
|
export type v1DisableAuthProxyResult = {};
|
|
@@ -2021,6 +2094,22 @@ export type v1EarnEnabledVault = {
|
|
|
2021
2094
|
claimableClientFeeDisplay?: v1EarnValueDisplay;
|
|
2022
2095
|
/** The wallet address that receives the client's fee payouts on-chain. Unset when a sub-org queries. */
|
|
2023
2096
|
clientFeeWallet?: string;
|
|
2097
|
+
/** Assets currently withdrawable from the underlying vault without a reallocation, in raw on-chain units of the underlying asset. This is the vault's liquidity, not the wrapper's balance. Empty when the provider does not report it. */
|
|
2098
|
+
liquidity?: string;
|
|
2099
|
+
/** Normalized liquidity values for display purposes only (usd + crypto). Do not do arithmetic with these; use liquidity instead. */
|
|
2100
|
+
liquidityDisplay?: v1EarnValueDisplay;
|
|
2101
|
+
/** The underlying markets the vault allocates into, ranked by supplied amount descending. Only populated when the request sets include_exposure, and only for providers that expose an allocation breakdown (Morpho). */
|
|
2102
|
+
exposures?: v1EarnVaultExposure[];
|
|
2103
|
+
/** Additional assets withdrawable from the underlying vault by force-deallocating its non-liquidity adapters at zero penalty, in raw on-chain units of the underlying asset. Additive to liquidity. Empty when the provider does not report it. */
|
|
2104
|
+
forceDeallocatableLiquidity?: string;
|
|
2105
|
+
/** Normalized force-deallocatable liquidity values for display purposes only (usd + crypto). Do not do arithmetic with these; use force_deallocatable_liquidity instead. */
|
|
2106
|
+
forceDeallocatableLiquidityDisplay?: v1EarnValueDisplay;
|
|
2107
|
+
/** On-chain status of the wrapper deployment: PENDING, COMPLETED, or FAILED. Only a COMPLETED wrapper is usable. Empty when no deploy is recorded for the wrapper. */
|
|
2108
|
+
deployStatus?: string;
|
|
2109
|
+
/** Request id of the wrapper's most recent deploy, for polling GetEarnDeployStatus. Empty when no deploy is recorded. */
|
|
2110
|
+
deployRequestId?: string;
|
|
2111
|
+
/** Failure detail when deploy_status is FAILED. */
|
|
2112
|
+
deployError?: string;
|
|
2024
2113
|
};
|
|
2025
2114
|
export type v1EarnPosition = {
|
|
2026
2115
|
/** Address of the underlying yield vault. */
|
|
@@ -2103,6 +2192,30 @@ export type v1EarnVault = {
|
|
|
2103
2192
|
name?: string;
|
|
2104
2193
|
/** Vault curator name(s), comma-separated when a vault has multiple. Empty for providers without curators (e.g. Aave). */
|
|
2105
2194
|
curator?: string;
|
|
2195
|
+
/** Assets currently withdrawable from the vault without a reallocation, in raw on-chain units of the underlying asset. Empty when the provider does not report it. */
|
|
2196
|
+
liquidity?: string;
|
|
2197
|
+
/** Normalized liquidity values for display purposes only (usd + crypto). Do not do arithmetic with these; use liquidity instead. */
|
|
2198
|
+
liquidityDisplay?: v1EarnValueDisplay;
|
|
2199
|
+
/** Additional assets withdrawable from the vault by force-deallocating its non-liquidity adapters at zero penalty, in raw on-chain units of the underlying asset. Additive to liquidity. Empty when the provider does not report it. */
|
|
2200
|
+
forceDeallocatableLiquidity?: string;
|
|
2201
|
+
/** Normalized force-deallocatable liquidity values for display purposes only (usd + crypto). Do not do arithmetic with these; use force_deallocatable_liquidity instead. */
|
|
2202
|
+
forceDeallocatableLiquidityDisplay?: v1EarnValueDisplay;
|
|
2203
|
+
};
|
|
2204
|
+
export type v1EarnVaultExposure = {
|
|
2205
|
+
/** Provider-specific identifier for the market (the Morpho Blue market id). */
|
|
2206
|
+
marketId?: string;
|
|
2207
|
+
/** Symbol of the market's collateral asset (e.g. 'cbBTC'). Empty for an idle/uncollateralized market. */
|
|
2208
|
+
collateralSymbol?: string;
|
|
2209
|
+
/** CAIP-19 asset ID of the market's collateral asset. Empty for an idle/uncollateralized market. */
|
|
2210
|
+
collateralCaip19?: string;
|
|
2211
|
+
/** The market's liquidation loan-to-value, expressed as a decimal fraction (e.g. '0.86' for 86%). */
|
|
2212
|
+
lltvPct?: string;
|
|
2213
|
+
/** Assets the vault supplies to this market, in raw on-chain units of the underlying asset. */
|
|
2214
|
+
supplied?: string;
|
|
2215
|
+
/** Normalized supplied values for display purposes only (usd + crypto). Do not do arithmetic with these; use supplied instead. */
|
|
2216
|
+
display?: v1EarnValueDisplay;
|
|
2217
|
+
/** This market's share of the vault's supplied assets, as a decimal fraction (e.g. '0.997' for 99.7%). */
|
|
2218
|
+
sharePct?: string;
|
|
2106
2219
|
};
|
|
2107
2220
|
export type v1EarnWithdrawIntent = {
|
|
2108
2221
|
/** Address of the deployed Earn wrapper holding the position to withdraw from, from ListEarnPositions. Must be one of the org's deployed wrappers. */
|
|
@@ -2298,7 +2411,7 @@ export type v1EthSendRawTransactionIntent = {
|
|
|
2298
2411
|
/** The raw, signed transaction to be sent. */
|
|
2299
2412
|
signedTransaction: string;
|
|
2300
2413
|
/** CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet). */
|
|
2301
|
-
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";
|
|
2414
|
+
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" | "eip155:4663" | "eip155:46630" | "eip155:5042" | "eip155:5042002";
|
|
2302
2415
|
};
|
|
2303
2416
|
export type v1EthSendRawTransactionResult = {
|
|
2304
2417
|
/** The transaction hash of the sent transaction */
|
|
@@ -2310,7 +2423,7 @@ export type v1EthSendTransactionIntent = {
|
|
|
2310
2423
|
/** Whether to sponsor this transaction via Gas Station. */
|
|
2311
2424
|
sponsor?: boolean;
|
|
2312
2425
|
/** CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet). */
|
|
2313
|
-
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";
|
|
2426
|
+
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" | "eip155:4663" | "eip155:46630" | "eip155:5042" | "eip155:5042002";
|
|
2314
2427
|
/** Recipient address as a hex string with 0x prefix. */
|
|
2315
2428
|
to: string;
|
|
2316
2429
|
/** Amount of native asset to send in wei. */
|
|
@@ -2334,7 +2447,7 @@ export type v1EthSendTransactionIntentV2 = {
|
|
|
2334
2447
|
/** A wallet or private key address to sign with. This does not support private key IDs. */
|
|
2335
2448
|
from: string;
|
|
2336
2449
|
/** CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet). */
|
|
2337
|
-
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";
|
|
2450
|
+
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" | "eip155:4663" | "eip155:46630" | "eip155:5042" | "eip155:5042002";
|
|
2338
2451
|
/** 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. */
|
|
2339
2452
|
sponsor?: boolean;
|
|
2340
2453
|
/** Outer transaction nonce. Omit to auto-fetch. */
|
|
@@ -2392,12 +2505,14 @@ export type v1EthTransactionHistoryItem = {
|
|
|
2392
2505
|
transfers: v1TransactionHistoryTransfer[];
|
|
2393
2506
|
/** Turnkey-specific metadata for transactions originated by Turnkey. */
|
|
2394
2507
|
turnkey?: v1TransactionHistoryTurnkey;
|
|
2508
|
+
/** Whether the transaction failed during on-chain execution. Omitted when execution outcome is unavailable. */
|
|
2509
|
+
executionFailed?: boolean;
|
|
2395
2510
|
};
|
|
2396
2511
|
export type v1EthUndelegate7702Intent = {
|
|
2397
2512
|
/** A wallet or private key address to undelegate. This does not support private key IDs. */
|
|
2398
2513
|
from: string;
|
|
2399
2514
|
/** CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet). */
|
|
2400
|
-
caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002" | "eip155:56" | "eip155:97" | "eip155:10" | "eip155:11155420" | "eip155:143" | "eip155:10143" | "eip155:42161" | "eip155:421614";
|
|
2515
|
+
caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002" | "eip155:56" | "eip155:97" | "eip155:10" | "eip155:11155420" | "eip155:143" | "eip155:10143" | "eip155:42161" | "eip155:421614" | "eip155:4663" | "eip155:46630" | "eip155:5042" | "eip155:5042002";
|
|
2401
2516
|
/** Outer transaction nonce. Omit to auto-fetch. */
|
|
2402
2517
|
nonce?: string;
|
|
2403
2518
|
/** Maximum amount of gas for the undelegation transaction. Omit to use the fixed undelegation gas limit. */
|
|
@@ -2460,6 +2575,30 @@ export type v1ExecuteSwapIntentV2 = {
|
|
|
2460
2575
|
/** Exact gas station delegate contract nonce used in the BatchExecution EIP-712 message. Valid for sponsored EVM swaps and non-sponsored EVM swaps that execute as a multi-call batch (for example ERC-20 approve + swap). This is the replay-protection nonce for gas-station batches; use the nonces endpoint to fetch it. Omit to auto-fetch. */
|
|
2461
2576
|
gasStationNonce?: string;
|
|
2462
2577
|
};
|
|
2578
|
+
export type v1ExecuteSwapIntentV3 = {
|
|
2579
|
+
/** Quote identifier returned by create_swap_quote. Execution is bound to this quote; the signer is derived from the quote and must not be resupplied. */
|
|
2580
|
+
quoteId: string;
|
|
2581
|
+
/** CAIP-19 asset ID for the input asset. */
|
|
2582
|
+
inputToken: string;
|
|
2583
|
+
/** Exact base-unit amount of the input asset committed by the quote. */
|
|
2584
|
+
inputAmount: string;
|
|
2585
|
+
/** CAIP-19 asset ID for the output asset. */
|
|
2586
|
+
outputToken: string;
|
|
2587
|
+
/** Exact quoted base-unit output amount committed by the quote. */
|
|
2588
|
+
quotedOutputAmount: string;
|
|
2589
|
+
/** Exact minimum base-unit output committed by the quote. */
|
|
2590
|
+
minOutputAmount: string;
|
|
2591
|
+
/** Whether the quoted transaction is sponsored. */
|
|
2592
|
+
sponsor: boolean;
|
|
2593
|
+
/** Exact EVM sender (EOA account) nonce. Valid only for a non-sponsored EVM swap. Honored for already-delegated (Type-2) batch swaps and single-call swaps; ignored for not-yet-delegated EIP-7702 (Type-4) batches where the outer nonce is derived from the authorization. Prefer gas_station_nonce for batch replay protection and use the nonces endpoint to fetch it. Omit to auto-fetch. */
|
|
2594
|
+
evmNonce?: string;
|
|
2595
|
+
/** Exact Solana recent blockhash. Valid only for a Solana swap, including sponsored swaps. Omit to auto-fetch. */
|
|
2596
|
+
recentBlockhash?: string;
|
|
2597
|
+
/** Exact gas station delegate contract nonce used in the BatchExecution EIP-712 message. Valid for sponsored EVM swaps and non-sponsored EVM swaps that execute as a multi-call batch (for example ERC-20 approve + swap). This is the replay-protection nonce for gas-station batches; use the nonces endpoint to fetch it. Omit to auto-fetch. */
|
|
2598
|
+
gasStationNonce?: string;
|
|
2599
|
+
/** Raw public address that receives the output asset. Required for cross-protocol swaps. The address must match the output token protocol. Wallet account IDs, private key IDs, and CAIP account or asset identifiers are not supported. */
|
|
2600
|
+
destinationAddress?: string;
|
|
2601
|
+
};
|
|
2463
2602
|
export type v1ExecuteSwapRequest = {
|
|
2464
2603
|
type: "ACTIVITY_TYPE_EXECUTE_SWAP_V2";
|
|
2465
2604
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
@@ -2505,6 +2644,8 @@ export type v1ExportSecretParams = {
|
|
|
2505
2644
|
targetPublicKey: string;
|
|
2506
2645
|
/** Transport encryption suite used for the exported secret. */
|
|
2507
2646
|
encryptionSuite: v1TransportEncryptionSuite;
|
|
2647
|
+
/** Bind metadata to the request. */
|
|
2648
|
+
requestContext?: v1KeyValue[];
|
|
2508
2649
|
};
|
|
2509
2650
|
export type v1ExportSecretsIntent = {
|
|
2510
2651
|
/** A list of secrets to export. */
|
|
@@ -2596,6 +2737,16 @@ export type v1FiatOnRampCryptoCurrency = "FIAT_ON_RAMP_CRYPTO_CURRENCY_BTC" | "F
|
|
|
2596
2737
|
export type v1FiatOnRampCurrency = "FIAT_ON_RAMP_CURRENCY_AUD" | "FIAT_ON_RAMP_CURRENCY_BGN" | "FIAT_ON_RAMP_CURRENCY_BRL" | "FIAT_ON_RAMP_CURRENCY_CAD" | "FIAT_ON_RAMP_CURRENCY_CHF" | "FIAT_ON_RAMP_CURRENCY_COP" | "FIAT_ON_RAMP_CURRENCY_CZK" | "FIAT_ON_RAMP_CURRENCY_DKK" | "FIAT_ON_RAMP_CURRENCY_DOP" | "FIAT_ON_RAMP_CURRENCY_EGP" | "FIAT_ON_RAMP_CURRENCY_EUR" | "FIAT_ON_RAMP_CURRENCY_GBP" | "FIAT_ON_RAMP_CURRENCY_HKD" | "FIAT_ON_RAMP_CURRENCY_IDR" | "FIAT_ON_RAMP_CURRENCY_ILS" | "FIAT_ON_RAMP_CURRENCY_JOD" | "FIAT_ON_RAMP_CURRENCY_KES" | "FIAT_ON_RAMP_CURRENCY_KWD" | "FIAT_ON_RAMP_CURRENCY_LKR" | "FIAT_ON_RAMP_CURRENCY_MXN" | "FIAT_ON_RAMP_CURRENCY_NGN" | "FIAT_ON_RAMP_CURRENCY_NOK" | "FIAT_ON_RAMP_CURRENCY_NZD" | "FIAT_ON_RAMP_CURRENCY_OMR" | "FIAT_ON_RAMP_CURRENCY_PEN" | "FIAT_ON_RAMP_CURRENCY_PLN" | "FIAT_ON_RAMP_CURRENCY_RON" | "FIAT_ON_RAMP_CURRENCY_SEK" | "FIAT_ON_RAMP_CURRENCY_THB" | "FIAT_ON_RAMP_CURRENCY_TRY" | "FIAT_ON_RAMP_CURRENCY_TWD" | "FIAT_ON_RAMP_CURRENCY_USD" | "FIAT_ON_RAMP_CURRENCY_VND" | "FIAT_ON_RAMP_CURRENCY_ZAR";
|
|
2597
2738
|
export type v1FiatOnRampPaymentMethod = "FIAT_ON_RAMP_PAYMENT_METHOD_CREDIT_DEBIT_CARD" | "FIAT_ON_RAMP_PAYMENT_METHOD_APPLE_PAY" | "FIAT_ON_RAMP_PAYMENT_METHOD_GBP_BANK_TRANSFER" | "FIAT_ON_RAMP_PAYMENT_METHOD_GBP_OPEN_BANKING_PAYMENT" | "FIAT_ON_RAMP_PAYMENT_METHOD_GOOGLE_PAY" | "FIAT_ON_RAMP_PAYMENT_METHOD_SEPA_BANK_TRANSFER" | "FIAT_ON_RAMP_PAYMENT_METHOD_PIX_INSTANT_PAYMENT" | "FIAT_ON_RAMP_PAYMENT_METHOD_PAYPAL" | "FIAT_ON_RAMP_PAYMENT_METHOD_VENMO" | "FIAT_ON_RAMP_PAYMENT_METHOD_MOONPAY_BALANCE" | "FIAT_ON_RAMP_PAYMENT_METHOD_CRYPTO_ACCOUNT" | "FIAT_ON_RAMP_PAYMENT_METHOD_FIAT_WALLET" | "FIAT_ON_RAMP_PAYMENT_METHOD_ACH_BANK_ACCOUNT";
|
|
2598
2739
|
export type v1FiatOnRampProvider = "FIAT_ON_RAMP_PROVIDER_COINBASE" | "FIAT_ON_RAMP_PROVIDER_MOONPAY";
|
|
2740
|
+
export type v1GetActivePoliciesRequest = {
|
|
2741
|
+
/** Unique identifier for a given organization. */
|
|
2742
|
+
organizationId: string;
|
|
2743
|
+
};
|
|
2744
|
+
export type v1GetActivePoliciesResponse = {
|
|
2745
|
+
/** The active/inactive status of every policy in the organization. */
|
|
2746
|
+
statuses: v1ActivePolicyStatus[];
|
|
2747
|
+
/** The enclave's trusted timestamp (Unix epoch milliseconds) used to evaluate every policy. */
|
|
2748
|
+
evaluatedAtMs: string;
|
|
2749
|
+
};
|
|
2599
2750
|
export type v1GetActivitiesRequest = {
|
|
2600
2751
|
/** Unique identifier for a given organization. */
|
|
2601
2752
|
organizationId: string;
|
|
@@ -2804,7 +2955,7 @@ export type v1GetNoncesRequest = {
|
|
|
2804
2955
|
/** The Ethereum address to query nonces for. */
|
|
2805
2956
|
address: string;
|
|
2806
2957
|
/** CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet). */
|
|
2807
|
-
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";
|
|
2958
|
+
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" | "eip155:4663" | "eip155:46630" | "eip155:5042" | "eip155:5042002";
|
|
2808
2959
|
/** Whether to fetch the standard on-chain nonce. */
|
|
2809
2960
|
nonce?: boolean;
|
|
2810
2961
|
/** Whether to fetch the gas station nonce used for sponsored transactions. */
|
|
@@ -2999,6 +3150,8 @@ export type v1GetSwapStatusResponse = {
|
|
|
2999
3150
|
updatedAt: string;
|
|
3000
3151
|
/** Normalized failure details, present whenever status is FAILED. */
|
|
3001
3152
|
error?: v1SwapError;
|
|
3153
|
+
/** Address that receives the output asset. */
|
|
3154
|
+
destinationAddress?: string;
|
|
3002
3155
|
};
|
|
3003
3156
|
export type v1GetTvcAppDeploymentsRequest = {
|
|
3004
3157
|
/** Unique identifier for a given organization. */
|
|
@@ -3128,7 +3281,7 @@ export type v1GetWalletAddressBalancesRequest = {
|
|
|
3128
3281
|
/** Address corresponding to a wallet account. Private key addresses are not supported. */
|
|
3129
3282
|
address: string;
|
|
3130
3283
|
/** 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. */
|
|
3131
|
-
caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002" | "eip155:56" | "eip155:97" | "eip155:10" | "eip155:11155420" | "eip155:143" | "eip155:10143" | "eip155:42161" | "eip155:4217" | "eip155:42431" | "eip155:421614" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1";
|
|
3284
|
+
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" | "eip155:4663" | "eip155:46630" | "eip155:5042" | "eip155:5042002" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1";
|
|
3132
3285
|
};
|
|
3133
3286
|
export type v1GetWalletAddressBalancesResponse = {
|
|
3134
3287
|
/** List of asset balances */
|
|
@@ -3311,6 +3464,14 @@ export type v1InitImportSecretsIntent = {
|
|
|
3311
3464
|
/** The number of secrets the user intends to import. */
|
|
3312
3465
|
numSecrets: number;
|
|
3313
3466
|
};
|
|
3467
|
+
export type v1InitImportSecretsRequest = {
|
|
3468
|
+
type: "ACTIVITY_TYPE_INIT_IMPORT_SECRETS";
|
|
3469
|
+
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
3470
|
+
timestampMs: string;
|
|
3471
|
+
/** Unique identifier for a given Organization. */
|
|
3472
|
+
organizationId: string;
|
|
3473
|
+
parameters: v1InitImportSecretsIntent;
|
|
3474
|
+
};
|
|
3314
3475
|
export type v1InitImportSecretsResult = {
|
|
3315
3476
|
/** Enclave ingress target keys along with metadata specific to the encryption suite. For enclave encrypt v1 this will be ServerTargetMsgV1. */
|
|
3316
3477
|
enclaveTargetMessages: string[];
|
|
@@ -3333,7 +3494,7 @@ export type v1InitImportWalletResult = {
|
|
|
3333
3494
|
importBundle: string;
|
|
3334
3495
|
};
|
|
3335
3496
|
export type v1InitOtpAuthIntent = {
|
|
3336
|
-
/** Enum to specify whether to send OTP via SMS or
|
|
3497
|
+
/** Enum to specify whether to send OTP via SMS, email, or WhatsApp */
|
|
3337
3498
|
otpType: string;
|
|
3338
3499
|
/** Email or phone number to send the OTP code to */
|
|
3339
3500
|
contact: string;
|
|
@@ -3351,7 +3512,7 @@ export type v1InitOtpAuthIntent = {
|
|
|
3351
3512
|
replyToEmailAddress?: string;
|
|
3352
3513
|
};
|
|
3353
3514
|
export type v1InitOtpAuthIntentV2 = {
|
|
3354
|
-
/** Enum to specify whether to send OTP via SMS or
|
|
3515
|
+
/** Enum to specify whether to send OTP via SMS, email, or WhatsApp */
|
|
3355
3516
|
otpType: string;
|
|
3356
3517
|
/** Email or phone number to send the OTP code to */
|
|
3357
3518
|
contact: string;
|
|
@@ -3373,7 +3534,7 @@ export type v1InitOtpAuthIntentV2 = {
|
|
|
3373
3534
|
replyToEmailAddress?: string;
|
|
3374
3535
|
};
|
|
3375
3536
|
export type v1InitOtpAuthIntentV3 = {
|
|
3376
|
-
/** Whether to send OTP via SMS or
|
|
3537
|
+
/** Whether to send OTP via SMS, email, or WhatsApp. Possible values: OTP_TYPE_SMS, OTP_TYPE_EMAIL, OTP_TYPE_WHATSAPP */
|
|
3377
3538
|
otpType: string;
|
|
3378
3539
|
/** Email or phone number to send the OTP code to */
|
|
3379
3540
|
contact: string;
|
|
@@ -3416,7 +3577,7 @@ export type v1InitOtpAuthResultV2 = {
|
|
|
3416
3577
|
otpId: string;
|
|
3417
3578
|
};
|
|
3418
3579
|
export type v1InitOtpIntent = {
|
|
3419
|
-
/** Whether to send OTP via SMS or
|
|
3580
|
+
/** Whether to send OTP via SMS, email, or WhatsApp. Possible values: OTP_TYPE_SMS, OTP_TYPE_EMAIL, OTP_TYPE_WHATSAPP */
|
|
3420
3581
|
otpType: string;
|
|
3421
3582
|
/** Email or phone number to send the OTP code to */
|
|
3422
3583
|
contact: string;
|
|
@@ -3440,7 +3601,7 @@ export type v1InitOtpIntent = {
|
|
|
3440
3601
|
replyToEmailAddress?: string;
|
|
3441
3602
|
};
|
|
3442
3603
|
export type v1InitOtpIntentV2 = {
|
|
3443
|
-
/** Whether to send OTP via SMS or
|
|
3604
|
+
/** Whether to send OTP via SMS, email, or WhatsApp. Possible values: OTP_TYPE_SMS, OTP_TYPE_EMAIL, OTP_TYPE_WHATSAPP */
|
|
3444
3605
|
otpType: string;
|
|
3445
3606
|
/** Email or phone number to send the OTP code to */
|
|
3446
3607
|
contact: string;
|
|
@@ -3466,7 +3627,7 @@ export type v1InitOtpIntentV2 = {
|
|
|
3466
3627
|
replyToEmailAddress?: string;
|
|
3467
3628
|
};
|
|
3468
3629
|
export type v1InitOtpIntentV3 = {
|
|
3469
|
-
/** Whether to send OTP via SMS or
|
|
3630
|
+
/** Whether to send OTP via SMS, email, or WhatsApp. Possible values: OTP_TYPE_SMS, OTP_TYPE_EMAIL, OTP_TYPE_WHATSAPP */
|
|
3470
3631
|
otpType: string;
|
|
3471
3632
|
/** Email or phone number to send the OTP code to */
|
|
3472
3633
|
contact: string;
|
|
@@ -3709,6 +3870,12 @@ export type v1Intent = {
|
|
|
3709
3870
|
createSwapQuoteIntent?: v1CreateSwapQuoteIntent;
|
|
3710
3871
|
importSecretsIntent?: v1ImportSecretsIntent;
|
|
3711
3872
|
exportSecretsIntent?: v1ExportSecretsIntent;
|
|
3873
|
+
createVelocityControlIntent?: v1CreateVelocityControlIntent;
|
|
3874
|
+
deleteVelocityControlIntent?: v1DeleteVelocityControlIntent;
|
|
3875
|
+
updatePaymentMethodIntent?: billingUpdatePaymentMethodIntent;
|
|
3876
|
+
createSwapQuoteIntentV2?: v1CreateSwapQuoteIntentV2;
|
|
3877
|
+
executeSwapIntentV3?: v1ExecuteSwapIntentV3;
|
|
3878
|
+
deleteSecretsIntent?: v1DeleteSecretsIntent;
|
|
3712
3879
|
};
|
|
3713
3880
|
export type v1InvitationParams = {
|
|
3714
3881
|
/** The name of the intended Invitation recipient. */
|
|
@@ -3759,6 +3926,8 @@ export type v1ListEarnEnabledVaultsRequest = {
|
|
|
3759
3926
|
provider?: v1EarnProvider;
|
|
3760
3927
|
/** 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. */
|
|
3761
3928
|
caip19?: string;
|
|
3929
|
+
/** When true, populate each vault's exposures (the underlying markets it allocates into). This costs an extra provider query per vault, so leave it off for list views. */
|
|
3930
|
+
includeExposure?: boolean;
|
|
3762
3931
|
};
|
|
3763
3932
|
export type v1ListEarnEnabledVaultsResponse = {
|
|
3764
3933
|
/** The organization's deployed wrappers. */
|
|
@@ -3810,7 +3979,7 @@ export type v1ListEthTransactionHistoryRequest = {
|
|
|
3810
3979
|
/** Address corresponding to a wallet account. Private key addresses are not supported. */
|
|
3811
3980
|
address: string;
|
|
3812
3981
|
/** EVM CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet). */
|
|
3813
|
-
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";
|
|
3982
|
+
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" | "eip155:4663" | "eip155:46630" | "eip155:5042" | "eip155:5042002";
|
|
3814
3983
|
/** Cursor-based pagination options. Cursors are opaque and valid only for the same address and CAIP-2 query. */
|
|
3815
3984
|
paginationOptions?: v1Pagination;
|
|
3816
3985
|
};
|
|
@@ -3870,7 +4039,7 @@ export type v1ListSupportedAssetsRequest = {
|
|
|
3870
4039
|
/** Unique identifier for a given organization. */
|
|
3871
4040
|
organizationId: string;
|
|
3872
4041
|
/** 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. */
|
|
3873
|
-
caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002" | "eip155:56" | "eip155:97" | "eip155:10" | "eip155:11155420" | "eip155:143" | "eip155:10143" | "eip155:42161" | "eip155:4217" | "eip155:42431" | "eip155:421614" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1";
|
|
4042
|
+
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" | "eip155:4663" | "eip155:46630" | "eip155:5042" | "eip155:5042002" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1";
|
|
3874
4043
|
};
|
|
3875
4044
|
export type v1ListSupportedAssetsResponse = {
|
|
3876
4045
|
/** List of asset metadata */
|
|
@@ -4195,6 +4364,7 @@ export type v1PrivateKeyResult = {
|
|
|
4195
4364
|
privateKeyId?: string;
|
|
4196
4365
|
addresses?: immutableactivityv1Address[];
|
|
4197
4366
|
};
|
|
4367
|
+
export type v1ProvisioningState = "PROVISIONING_STATE_PENDING" | "PROVISIONING_STATE_AWAITING_PROVISION" | "PROVISIONING_STATE_PROVISIONED";
|
|
4198
4368
|
export type v1PublicKeyCredentialWithAttestation = {
|
|
4199
4369
|
id: string;
|
|
4200
4370
|
type: "public-key";
|
|
@@ -4457,6 +4627,10 @@ export type v1Result = {
|
|
|
4457
4627
|
createSwapQuoteResult?: v1CreateSwapQuoteResult;
|
|
4458
4628
|
importSecretsResult?: v1ImportSecretsResult;
|
|
4459
4629
|
exportSecretsResult?: v1ExportSecretsResult;
|
|
4630
|
+
createVelocityControlResult?: v1CreateVelocityControlResult;
|
|
4631
|
+
deleteVelocityControlResult?: v1DeleteVelocityControlResult;
|
|
4632
|
+
updatePaymentMethodResult?: billingUpdatePaymentMethodResult;
|
|
4633
|
+
deleteSecretsResult?: v1DeleteSecretsResult;
|
|
4460
4634
|
};
|
|
4461
4635
|
export type v1RevertChainEntry = {
|
|
4462
4636
|
/** The contract address where the revert occurred. */
|
|
@@ -4776,6 +4950,8 @@ export type v1SolTransactionHistoryItem = {
|
|
|
4776
4950
|
transfers: v1TransactionHistoryTransfer[];
|
|
4777
4951
|
/** Turnkey-specific metadata for transactions originated by Turnkey. */
|
|
4778
4952
|
turnkey?: v1TransactionHistoryTurnkey;
|
|
4953
|
+
/** Whether the transaction failed during on-chain execution. Omitted when execution outcome is unavailable. */
|
|
4954
|
+
executionFailed?: boolean;
|
|
4779
4955
|
};
|
|
4780
4956
|
export type v1SolTransactionHistorySigner = {
|
|
4781
4957
|
/** Address of the Solana transaction signer. */
|
|
@@ -5820,6 +5996,86 @@ export type v1ValidateTvcImageRequest = {
|
|
|
5820
5996
|
export type v1ValidateTvcImageResponse = {
|
|
5821
5997
|
resolvedImageDigest?: string;
|
|
5822
5998
|
};
|
|
5999
|
+
export type v1VelocityControlAggregation = {
|
|
6000
|
+
/** Method that aggregates matching data points. */
|
|
6001
|
+
method: v1VelocityControlAggregationMethod;
|
|
6002
|
+
/** Comparison between the aggregate and the threshold. */
|
|
6003
|
+
operator: v1VelocityControlAggregationOperator;
|
|
6004
|
+
/** Non-negative base-10 decimal string with at most 38 total digits and 18 fractional digits. */
|
|
6005
|
+
threshold: string;
|
|
6006
|
+
/** Time window for the aggregation. */
|
|
6007
|
+
window: v1VelocityControlAggregationWindow;
|
|
6008
|
+
/** Scope that partitions matching data before aggregation. */
|
|
6009
|
+
groupBy: v1VelocityControlAggregationGroupBy;
|
|
6010
|
+
};
|
|
6011
|
+
export type v1VelocityControlAggregationGroupBy = {
|
|
6012
|
+
/** Uses one shared bucket for the Organization. */
|
|
6013
|
+
organization?: v1VelocityControlAggregationGroupByOrganization;
|
|
6014
|
+
/** Uses one bucket for each User. */
|
|
6015
|
+
user?: v1VelocityControlAggregationGroupByUser;
|
|
6016
|
+
/** Uses one bucket for each Wallet. */
|
|
6017
|
+
wallet?: v1VelocityControlAggregationGroupByWallet;
|
|
6018
|
+
};
|
|
6019
|
+
export type v1VelocityControlAggregationGroupByOrganization = {};
|
|
6020
|
+
export type v1VelocityControlAggregationGroupByUser = {};
|
|
6021
|
+
export type v1VelocityControlAggregationGroupByWallet = {};
|
|
6022
|
+
export type v1VelocityControlAggregationMethod = "VELOCITY_CONTROL_AGGREGATION_METHOD_SUM" | "VELOCITY_CONTROL_AGGREGATION_METHOD_COUNT";
|
|
6023
|
+
export type v1VelocityControlAggregationOperator = "VELOCITY_CONTROL_AGGREGATION_OPERATOR_LESS_THAN" | "VELOCITY_CONTROL_AGGREGATION_OPERATOR_LESS_THAN_OR_EQUAL" | "VELOCITY_CONTROL_AGGREGATION_OPERATOR_EQUAL" | "VELOCITY_CONTROL_AGGREGATION_OPERATOR_GREATER_THAN_OR_EQUAL" | "VELOCITY_CONTROL_AGGREGATION_OPERATOR_GREATER_THAN";
|
|
6024
|
+
export type v1VelocityControlAggregationWindow = {
|
|
6025
|
+
/** Uses a rolling time window. */
|
|
6026
|
+
rolling?: v1VelocityControlAggregationWindowRolling;
|
|
6027
|
+
/** Uses all matching data without a time limit. */
|
|
6028
|
+
infinite?: v1VelocityControlAggregationWindowInfinite;
|
|
6029
|
+
};
|
|
6030
|
+
export type v1VelocityControlAggregationWindowInfinite = {};
|
|
6031
|
+
export type v1VelocityControlAggregationWindowRolling = {
|
|
6032
|
+
/** Duration of the rolling window, in seconds, as a base-10 integer string. */
|
|
6033
|
+
duration: string;
|
|
6034
|
+
};
|
|
6035
|
+
export type v1VelocityControlDataSource = {
|
|
6036
|
+
/** Uses transfers of the listed on-chain assets as input data. */
|
|
6037
|
+
chainAssetTransfer?: v1VelocityControlDataSourceChainAssetTransfer;
|
|
6038
|
+
/** Uses executed Turnkey activities as input data. */
|
|
6039
|
+
activityExecution?: v1VelocityControlDataSourceActivityExecution;
|
|
6040
|
+
};
|
|
6041
|
+
export type v1VelocityControlDataSourceActivityExecution = {
|
|
6042
|
+
/** Filters activity executions by type. */
|
|
6043
|
+
filter?: v1VelocityControlDataSourceActivityExecutionFilter;
|
|
6044
|
+
};
|
|
6045
|
+
export type v1VelocityControlDataSourceActivityExecutionFilter = {
|
|
6046
|
+
/** Activity types whose executions are included. */
|
|
6047
|
+
activity?: v1VelocityControlDataSourceFilterActivity[];
|
|
6048
|
+
};
|
|
6049
|
+
export type v1VelocityControlDataSourceChainAssetTransfer = {
|
|
6050
|
+
/** Assets whose transfers are included in the data source. */
|
|
6051
|
+
definition: v1VelocityControlDataSourceChainAssetTransferDefinition[];
|
|
6052
|
+
/** Filters asset transfers by activity type. */
|
|
6053
|
+
filter?: v1VelocityControlDataSourceChainAssetTransferFilter;
|
|
6054
|
+
/** Selects when to measure an asset transfer. */
|
|
6055
|
+
phase?: v1VelocityControlDataSourcePhase;
|
|
6056
|
+
};
|
|
6057
|
+
export type v1VelocityControlDataSourceChainAssetTransferDefinition = {
|
|
6058
|
+
/** CAIP-19 identifier for the asset. */
|
|
6059
|
+
caip19: string;
|
|
6060
|
+
/** Base-10 integer string from 0 through 255 that specifies the number of decimal places for the asset. */
|
|
6061
|
+
decimals: string;
|
|
6062
|
+
};
|
|
6063
|
+
export type v1VelocityControlDataSourceChainAssetTransferFilter = {
|
|
6064
|
+
/** Activity types whose asset transfers are included. */
|
|
6065
|
+
activity?: v1VelocityControlDataSourceFilterActivity[];
|
|
6066
|
+
};
|
|
6067
|
+
export type v1VelocityControlDataSourceFilterActivity = {
|
|
6068
|
+
/** Name of an activity type to include, such as `ACTIVITY_TYPE_SOL_SEND_TRANSACTION`. */
|
|
6069
|
+
activityType: string;
|
|
6070
|
+
};
|
|
6071
|
+
export type v1VelocityControlDataSourcePhase = {
|
|
6072
|
+
/** Measures the transfer when Turnkey signs the transaction and returns it to the user. */
|
|
6073
|
+
signature?: v1VelocityControlDataSourcePhaseSignature;
|
|
6074
|
+
/** Reserved for future use. Measures the transfer after the transaction lands on chain. */
|
|
6075
|
+
submission?: v1VelocityControlDataSourcePhaseSubmission;
|
|
6076
|
+
};
|
|
6077
|
+
export type v1VelocityControlDataSourcePhaseSignature = {};
|
|
6078
|
+
export type v1VelocityControlDataSourcePhaseSubmission = {};
|
|
5823
6079
|
export type v1VerifyOtpIntent = {
|
|
5824
6080
|
/** ID representing the result of an init OTP activity. */
|
|
5825
6081
|
otpId: string;
|
|
@@ -5942,6 +6198,18 @@ export type v1WebhookSubscriptionParams = {
|
|
|
5942
6198
|
/** Whether this subscription is active. */
|
|
5943
6199
|
isActive?: boolean;
|
|
5944
6200
|
};
|
|
6201
|
+
export type TGetActivePoliciesResponse = {
|
|
6202
|
+
/** The active/inactive status of every policy in the organization. */
|
|
6203
|
+
statuses: v1ActivePolicyStatus[];
|
|
6204
|
+
/** The enclave's trusted timestamp (Unix epoch milliseconds) used to evaluate every policy. */
|
|
6205
|
+
evaluatedAtMs: string;
|
|
6206
|
+
};
|
|
6207
|
+
export type TGetActivePoliciesBody = {
|
|
6208
|
+
organizationId?: string;
|
|
6209
|
+
};
|
|
6210
|
+
export type TGetActivePoliciesInput = {
|
|
6211
|
+
body: TGetActivePoliciesBody;
|
|
6212
|
+
};
|
|
5945
6213
|
export type TGetActivityResponse = {
|
|
5946
6214
|
/** An action that can be taken within the Turnkey infrastructure. */
|
|
5947
6215
|
activity: v1Activity;
|
|
@@ -6176,7 +6444,7 @@ export type TGetNoncesBody = {
|
|
|
6176
6444
|
/** The Ethereum address to query nonces for. */
|
|
6177
6445
|
address: string;
|
|
6178
6446
|
/** CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet). */
|
|
6179
|
-
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";
|
|
6447
|
+
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" | "eip155:4663" | "eip155:46630" | "eip155:5042" | "eip155:5042002";
|
|
6180
6448
|
/** Whether to fetch the standard on-chain nonce. */
|
|
6181
6449
|
nonce?: boolean;
|
|
6182
6450
|
/** Whether to fetch the gas station nonce used for sponsored transactions. */
|
|
@@ -6346,6 +6614,8 @@ export type TGetSwapStatusResponse = {
|
|
|
6346
6614
|
updatedAt: string;
|
|
6347
6615
|
/** Normalized failure details, present whenever status is FAILED. */
|
|
6348
6616
|
error?: v1SwapError;
|
|
6617
|
+
/** Address that receives the output asset. */
|
|
6618
|
+
destinationAddress?: string;
|
|
6349
6619
|
};
|
|
6350
6620
|
export type TGetSwapStatusBody = {
|
|
6351
6621
|
organizationId?: string;
|
|
@@ -6456,7 +6726,7 @@ export type TGetWalletAddressBalancesBody = {
|
|
|
6456
6726
|
/** Address corresponding to a wallet account. Private key addresses are not supported. */
|
|
6457
6727
|
address: string;
|
|
6458
6728
|
/** 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. */
|
|
6459
|
-
caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002" | "eip155:56" | "eip155:97" | "eip155:10" | "eip155:11155420" | "eip155:143" | "eip155:10143" | "eip155:42161" | "eip155:4217" | "eip155:42431" | "eip155:421614" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1";
|
|
6729
|
+
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" | "eip155:4663" | "eip155:46630" | "eip155:5042" | "eip155:5042002" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1";
|
|
6460
6730
|
};
|
|
6461
6731
|
export type TGetWalletAddressBalancesInput = {
|
|
6462
6732
|
body: TGetWalletAddressBalancesBody;
|
|
@@ -6498,6 +6768,8 @@ export type TListEarnEnabledVaultsBody = {
|
|
|
6498
6768
|
provider?: v1EarnProvider;
|
|
6499
6769
|
/** 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. */
|
|
6500
6770
|
caip19?: string;
|
|
6771
|
+
/** When true, populate each vault's exposures (the underlying markets it allocates into). This costs an extra provider query per vault, so leave it off for list views. */
|
|
6772
|
+
includeExposure?: boolean;
|
|
6501
6773
|
};
|
|
6502
6774
|
export type TListEarnEnabledVaultsInput = {
|
|
6503
6775
|
body: TListEarnEnabledVaultsBody;
|
|
@@ -6558,7 +6830,7 @@ export type TListEthTransactionHistoryBody = {
|
|
|
6558
6830
|
/** Address corresponding to a wallet account. Private key addresses are not supported. */
|
|
6559
6831
|
address: string;
|
|
6560
6832
|
/** EVM CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet). */
|
|
6561
|
-
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";
|
|
6833
|
+
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" | "eip155:4663" | "eip155:46630" | "eip155:5042" | "eip155:5042002";
|
|
6562
6834
|
/** Cursor-based pagination options. Cursors are opaque and valid only for the same address and CAIP-2 query. */
|
|
6563
6835
|
paginationOptions?: v1Pagination;
|
|
6564
6836
|
};
|
|
@@ -6675,7 +6947,7 @@ export type TListSupportedAssetsResponse = {
|
|
|
6675
6947
|
export type TListSupportedAssetsBody = {
|
|
6676
6948
|
organizationId?: string;
|
|
6677
6949
|
/** 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. */
|
|
6678
|
-
caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002" | "eip155:56" | "eip155:97" | "eip155:10" | "eip155:11155420" | "eip155:143" | "eip155:10143" | "eip155:42161" | "eip155:4217" | "eip155:42431" | "eip155:421614" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1";
|
|
6950
|
+
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" | "eip155:4663" | "eip155:46630" | "eip155:5042" | "eip155:5042002" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1";
|
|
6679
6951
|
};
|
|
6680
6952
|
export type TListSupportedAssetsInput = {
|
|
6681
6953
|
body: TListSupportedAssetsBody;
|
|
@@ -7192,7 +7464,7 @@ export type TCreateSwapQuoteResponse = {
|
|
|
7192
7464
|
export type TCreateSwapQuoteBody = {
|
|
7193
7465
|
timestampMs?: string;
|
|
7194
7466
|
organizationId?: string;
|
|
7195
|
-
/** Wallet account
|
|
7467
|
+
/** Wallet account address used to price the executable provider quote. Private Key identifiers are not supported. */
|
|
7196
7468
|
signWith: string;
|
|
7197
7469
|
/** CAIP-19 asset ID for the input asset. The chain is derived from this value. */
|
|
7198
7470
|
inputToken: string;
|
|
@@ -7202,6 +7474,8 @@ export type TCreateSwapQuoteBody = {
|
|
|
7202
7474
|
inputAmount: string;
|
|
7203
7475
|
/** Provider-neutral maximum allowed slippage in basis points. Turnkey converts this value to each provider's request format. When omitted, each provider applies its default slippage behavior. */
|
|
7204
7476
|
slippageBps?: string;
|
|
7477
|
+
/** Raw public address that receives the output asset. Required for cross-protocol swaps. The address must match the output token protocol. Wallet account IDs, private key IDs, and CAIP account or asset identifiers are not supported. */
|
|
7478
|
+
destinationAddress?: string;
|
|
7205
7479
|
generateAppProofs?: boolean;
|
|
7206
7480
|
};
|
|
7207
7481
|
export type TCreateSwapQuoteInput = {
|
|
@@ -7574,6 +7848,20 @@ export type TDeletePrivateKeysBody = {
|
|
|
7574
7848
|
export type TDeletePrivateKeysInput = {
|
|
7575
7849
|
body: TDeletePrivateKeysBody;
|
|
7576
7850
|
};
|
|
7851
|
+
export type TDeleteSecretsResponse = {
|
|
7852
|
+
activity: v1Activity;
|
|
7853
|
+
/** Unique identifiers of the deleted secrets, in the order requested. */
|
|
7854
|
+
secretIds: string[];
|
|
7855
|
+
};
|
|
7856
|
+
export type TDeleteSecretsBody = {
|
|
7857
|
+
timestampMs?: string;
|
|
7858
|
+
organizationId?: string;
|
|
7859
|
+
/** Unique identifiers of the secrets to delete. Must contain between 1 and 32 distinct UUIDs. All secrets must belong to the organization. */
|
|
7860
|
+
secretIds: string[];
|
|
7861
|
+
};
|
|
7862
|
+
export type TDeleteSecretsInput = {
|
|
7863
|
+
body: TDeleteSecretsBody;
|
|
7864
|
+
};
|
|
7577
7865
|
export type TDeleteSmartContractInterfaceResponse = {
|
|
7578
7866
|
activity: v1Activity;
|
|
7579
7867
|
/** The ID of the deleted Smart Contract Interface. */
|
|
@@ -7849,7 +8137,7 @@ export type TEthUndelegate7702Body = {
|
|
|
7849
8137
|
/** A wallet or private key address to undelegate. This does not support private key IDs. */
|
|
7850
8138
|
from: string;
|
|
7851
8139
|
/** CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet). */
|
|
7852
|
-
caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002" | "eip155:56" | "eip155:97" | "eip155:10" | "eip155:11155420" | "eip155:143" | "eip155:10143" | "eip155:42161" | "eip155:421614";
|
|
8140
|
+
caip2: "eip155:1" | "eip155:11155111" | "eip155:8453" | "eip155:84532" | "eip155:137" | "eip155:80002" | "eip155:56" | "eip155:97" | "eip155:10" | "eip155:11155420" | "eip155:143" | "eip155:10143" | "eip155:42161" | "eip155:421614" | "eip155:4663" | "eip155:46630" | "eip155:5042" | "eip155:5042002";
|
|
7853
8141
|
/** Outer transaction nonce. Omit to auto-fetch. */
|
|
7854
8142
|
nonce?: string;
|
|
7855
8143
|
/** Maximum amount of gas for the undelegation transaction. Omit to use the fixed undelegation gas limit. */
|
|
@@ -7895,6 +8183,8 @@ export type TExecuteSwapBody = {
|
|
|
7895
8183
|
recentBlockhash?: string;
|
|
7896
8184
|
/** Exact gas station delegate contract nonce used in the BatchExecution EIP-712 message. Valid for sponsored EVM swaps and non-sponsored EVM swaps that execute as a multi-call batch (for example ERC-20 approve + swap). This is the replay-protection nonce for gas-station batches; use the nonces endpoint to fetch it. Omit to auto-fetch. */
|
|
7897
8185
|
gasStationNonce?: string;
|
|
8186
|
+
/** Raw public address that receives the output asset. Required for cross-protocol swaps. The address must match the output token protocol. Wallet account IDs, private key IDs, and CAIP account or asset identifiers are not supported. */
|
|
8187
|
+
destinationAddress?: string;
|
|
7898
8188
|
generateAppProofs?: boolean;
|
|
7899
8189
|
};
|
|
7900
8190
|
export type TExecuteSwapInput = {
|
|
@@ -8089,6 +8379,22 @@ export type TInitImportPrivateKeyBody = {
|
|
|
8089
8379
|
export type TInitImportPrivateKeyInput = {
|
|
8090
8380
|
body: TInitImportPrivateKeyBody;
|
|
8091
8381
|
};
|
|
8382
|
+
export type TInitImportSecretsResponse = {
|
|
8383
|
+
activity: v1Activity;
|
|
8384
|
+
/** Enclave ingress target keys along with metadata specific to the encryption suite. For enclave encrypt v1 this will be ServerTargetMsgV1. */
|
|
8385
|
+
enclaveTargetMessages: string[];
|
|
8386
|
+
};
|
|
8387
|
+
export type TInitImportSecretsBody = {
|
|
8388
|
+
timestampMs?: string;
|
|
8389
|
+
organizationId?: string;
|
|
8390
|
+
/** Transport encryption suite used for ingress secrets. */
|
|
8391
|
+
encryptionSuite: v1TransportEncryptionSuite;
|
|
8392
|
+
/** The number of secrets the user intends to import. */
|
|
8393
|
+
numSecrets: number;
|
|
8394
|
+
};
|
|
8395
|
+
export type TInitImportSecretsInput = {
|
|
8396
|
+
body: TInitImportSecretsBody;
|
|
8397
|
+
};
|
|
8092
8398
|
export type TInitImportWalletResponse = {
|
|
8093
8399
|
activity: v1Activity;
|
|
8094
8400
|
/** Import bundle containing a public key and signature to use for importing client data. */
|
|
@@ -8114,7 +8420,7 @@ export type TInitOtpResponse = {
|
|
|
8114
8420
|
export type TInitOtpBody = {
|
|
8115
8421
|
timestampMs?: string;
|
|
8116
8422
|
organizationId?: string;
|
|
8117
|
-
/** Whether to send OTP via SMS or
|
|
8423
|
+
/** Whether to send OTP via SMS, email, or WhatsApp. Possible values: OTP_TYPE_SMS, OTP_TYPE_EMAIL, OTP_TYPE_WHATSAPP */
|
|
8118
8424
|
otpType: string;
|
|
8119
8425
|
/** Email or phone number to send the OTP code to */
|
|
8120
8426
|
contact: string;
|
|
@@ -8151,7 +8457,7 @@ export type TInitOtpAuthResponse = {
|
|
|
8151
8457
|
export type TInitOtpAuthBody = {
|
|
8152
8458
|
timestampMs?: string;
|
|
8153
8459
|
organizationId?: string;
|
|
8154
|
-
/** Whether to send OTP via SMS or
|
|
8460
|
+
/** Whether to send OTP via SMS, email, or WhatsApp. Possible values: OTP_TYPE_SMS, OTP_TYPE_EMAIL, OTP_TYPE_WHATSAPP */
|
|
8155
8461
|
otpType: string;
|
|
8156
8462
|
/** Email or phone number to send the OTP code to */
|
|
8157
8463
|
contact: string;
|
|
@@ -8958,7 +9264,7 @@ export type TEthSendTransactionBody = {
|
|
|
8958
9264
|
/** Whether to sponsor this transaction via Gas Station. */
|
|
8959
9265
|
sponsor?: boolean;
|
|
8960
9266
|
/** CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet). */
|
|
8961
|
-
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";
|
|
9267
|
+
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" | "eip155:4663" | "eip155:46630" | "eip155:5042" | "eip155:5042002";
|
|
8962
9268
|
/** Recipient address as a hex string with 0x prefix. */
|
|
8963
9269
|
to: string;
|
|
8964
9270
|
/** Amount of native asset to send in wei. */
|
|
@@ -8993,7 +9299,7 @@ export type TEthSendTransactionV2Body = {
|
|
|
8993
9299
|
/** A wallet or private key address to sign with. This does not support private key IDs. */
|
|
8994
9300
|
from: string;
|
|
8995
9301
|
/** CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet). */
|
|
8996
|
-
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";
|
|
9302
|
+
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" | "eip155:4663" | "eip155:46630" | "eip155:5042" | "eip155:5042002";
|
|
8997
9303
|
/** 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. */
|
|
8998
9304
|
sponsor?: boolean;
|
|
8999
9305
|
/** Outer transaction nonce. Omit to auto-fetch. */
|
|
@@ -9120,7 +9426,7 @@ export type ProxyTInitOtpResponse = {
|
|
|
9120
9426
|
otpId: string;
|
|
9121
9427
|
};
|
|
9122
9428
|
export type ProxyTInitOtpBody = {
|
|
9123
|
-
/** Enum to specify whether to send OTP via SMS or
|
|
9429
|
+
/** Enum to specify whether to send OTP via SMS, email, or WhatsApp */
|
|
9124
9430
|
otpType: string;
|
|
9125
9431
|
/** Email or phone number to send the OTP code to */
|
|
9126
9432
|
contact: string;
|
|
@@ -9137,7 +9443,7 @@ export type ProxyTInitOtpV2Response = {
|
|
|
9137
9443
|
otpEncryptionTargetBundle: string;
|
|
9138
9444
|
};
|
|
9139
9445
|
export type ProxyTInitOtpV2Body = {
|
|
9140
|
-
/** Enum to specify whether to send OTP code via SMS or
|
|
9446
|
+
/** Enum to specify whether to send OTP code via SMS, email, or WhatsApp */
|
|
9141
9447
|
otpType: string;
|
|
9142
9448
|
/** Email or phone number to send the OTP code to */
|
|
9143
9449
|
contact: string;
|