@turnkey/sdk-types 1.5.1 → 1.7.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 +38 -0
- package/dist/__generated__/types.d.ts +380 -25
- package/dist/__generated__/types.d.ts.map +1 -1
- package/dist/__inputs__/public_api.types.d.ts +410 -19
- package/dist/__inputs__/public_api.types.d.ts.map +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -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";
|
|
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,28 @@ 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 v1CreateVelocityControlRequest = {
|
|
1526
|
+
type: "ACTIVITY_TYPE_CREATE_VELOCITY_CONTROL";
|
|
1527
|
+
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1528
|
+
timestampMs: string;
|
|
1529
|
+
/** Unique identifier for a given Organization. */
|
|
1530
|
+
organizationId: string;
|
|
1531
|
+
parameters: v1CreateVelocityControlIntent;
|
|
1532
|
+
generateAppProofs?: boolean;
|
|
1533
|
+
};
|
|
1534
|
+
export type v1CreateVelocityControlResult = {
|
|
1535
|
+
velocityControlId: string;
|
|
1536
|
+
};
|
|
1479
1537
|
export type v1CreateWalletAccountsIntent = {
|
|
1480
1538
|
/** Unique identifier for a given Wallet. */
|
|
1481
1539
|
walletId: string;
|
|
@@ -1863,6 +1921,21 @@ export type v1DeleteUsersResult = {
|
|
|
1863
1921
|
/** A list of User IDs. */
|
|
1864
1922
|
userIds: string[];
|
|
1865
1923
|
};
|
|
1924
|
+
export type v1DeleteVelocityControlIntent = {
|
|
1925
|
+
velocityControlId: string;
|
|
1926
|
+
};
|
|
1927
|
+
export type v1DeleteVelocityControlRequest = {
|
|
1928
|
+
type: "ACTIVITY_TYPE_DELETE_VELOCITY_CONTROL";
|
|
1929
|
+
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
1930
|
+
timestampMs: string;
|
|
1931
|
+
/** Unique identifier for a given Organization. */
|
|
1932
|
+
organizationId: string;
|
|
1933
|
+
parameters: v1DeleteVelocityControlIntent;
|
|
1934
|
+
generateAppProofs?: boolean;
|
|
1935
|
+
};
|
|
1936
|
+
export type v1DeleteVelocityControlResult = {
|
|
1937
|
+
velocityControlId: string;
|
|
1938
|
+
};
|
|
1866
1939
|
export type v1DeleteWalletAccountsIntent = {
|
|
1867
1940
|
/** List of unique identifiers for wallet accounts within an organization */
|
|
1868
1941
|
walletAccountIds: string[];
|
|
@@ -1927,6 +2000,8 @@ export type v1DeploymentStatus = {
|
|
|
1927
2000
|
desiredReplicas: number;
|
|
1928
2001
|
/** Last time this deployment was updated */
|
|
1929
2002
|
lastUpdatedTime: externaldatav1Timestamp;
|
|
2003
|
+
/** Current quorum-key provisioning state for this deployment */
|
|
2004
|
+
provisioningState?: v1ProvisioningState;
|
|
1930
2005
|
};
|
|
1931
2006
|
export type v1DisableAuthProxyIntent = {};
|
|
1932
2007
|
export type v1DisableAuthProxyResult = {};
|
|
@@ -2021,6 +2096,12 @@ export type v1EarnEnabledVault = {
|
|
|
2021
2096
|
claimableClientFeeDisplay?: v1EarnValueDisplay;
|
|
2022
2097
|
/** The wallet address that receives the client's fee payouts on-chain. Unset when a sub-org queries. */
|
|
2023
2098
|
clientFeeWallet?: string;
|
|
2099
|
+
/** 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. */
|
|
2100
|
+
liquidity?: string;
|
|
2101
|
+
/** Normalized liquidity values for display purposes only (usd + crypto). Do not do arithmetic with these; use liquidity instead. */
|
|
2102
|
+
liquidityDisplay?: v1EarnValueDisplay;
|
|
2103
|
+
/** 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). */
|
|
2104
|
+
exposures?: v1EarnVaultExposure[];
|
|
2024
2105
|
};
|
|
2025
2106
|
export type v1EarnPosition = {
|
|
2026
2107
|
/** Address of the underlying yield vault. */
|
|
@@ -2103,6 +2184,26 @@ export type v1EarnVault = {
|
|
|
2103
2184
|
name?: string;
|
|
2104
2185
|
/** Vault curator name(s), comma-separated when a vault has multiple. Empty for providers without curators (e.g. Aave). */
|
|
2105
2186
|
curator?: string;
|
|
2187
|
+
/** 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. */
|
|
2188
|
+
liquidity?: string;
|
|
2189
|
+
/** Normalized liquidity values for display purposes only (usd + crypto). Do not do arithmetic with these; use liquidity instead. */
|
|
2190
|
+
liquidityDisplay?: v1EarnValueDisplay;
|
|
2191
|
+
};
|
|
2192
|
+
export type v1EarnVaultExposure = {
|
|
2193
|
+
/** Provider-specific identifier for the market (the Morpho Blue market id). */
|
|
2194
|
+
marketId?: string;
|
|
2195
|
+
/** Symbol of the market's collateral asset (e.g. 'cbBTC'). Empty for an idle/uncollateralized market. */
|
|
2196
|
+
collateralSymbol?: string;
|
|
2197
|
+
/** CAIP-19 asset ID of the market's collateral asset. Empty for an idle/uncollateralized market. */
|
|
2198
|
+
collateralCaip19?: string;
|
|
2199
|
+
/** The market's liquidation loan-to-value, expressed as a decimal fraction (e.g. '0.86' for 86%). */
|
|
2200
|
+
lltvPct?: string;
|
|
2201
|
+
/** Assets the vault supplies to this market, in raw on-chain units of the underlying asset. */
|
|
2202
|
+
supplied?: string;
|
|
2203
|
+
/** Normalized supplied values for display purposes only (usd + crypto). Do not do arithmetic with these; use supplied instead. */
|
|
2204
|
+
display?: v1EarnValueDisplay;
|
|
2205
|
+
/** This market's share of the vault's supplied assets, as a decimal fraction (e.g. '0.997' for 99.7%). */
|
|
2206
|
+
sharePct?: string;
|
|
2106
2207
|
};
|
|
2107
2208
|
export type v1EarnWithdrawIntent = {
|
|
2108
2209
|
/** 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 +2399,7 @@ export type v1EthSendRawTransactionIntent = {
|
|
|
2298
2399
|
/** The raw, signed transaction to be sent. */
|
|
2299
2400
|
signedTransaction: string;
|
|
2300
2401
|
/** 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";
|
|
2402
|
+
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";
|
|
2302
2403
|
};
|
|
2303
2404
|
export type v1EthSendRawTransactionResult = {
|
|
2304
2405
|
/** The transaction hash of the sent transaction */
|
|
@@ -2310,7 +2411,7 @@ export type v1EthSendTransactionIntent = {
|
|
|
2310
2411
|
/** Whether to sponsor this transaction via Gas Station. */
|
|
2311
2412
|
sponsor?: boolean;
|
|
2312
2413
|
/** 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";
|
|
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";
|
|
2314
2415
|
/** Recipient address as a hex string with 0x prefix. */
|
|
2315
2416
|
to: string;
|
|
2316
2417
|
/** Amount of native asset to send in wei. */
|
|
@@ -2334,7 +2435,7 @@ export type v1EthSendTransactionIntentV2 = {
|
|
|
2334
2435
|
/** A wallet or private key address to sign with. This does not support private key IDs. */
|
|
2335
2436
|
from: string;
|
|
2336
2437
|
/** 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";
|
|
2438
|
+
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";
|
|
2338
2439
|
/** 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
2440
|
sponsor?: boolean;
|
|
2340
2441
|
/** Outer transaction nonce. Omit to auto-fetch. */
|
|
@@ -2397,7 +2498,7 @@ export type v1EthUndelegate7702Intent = {
|
|
|
2397
2498
|
/** A wallet or private key address to undelegate. This does not support private key IDs. */
|
|
2398
2499
|
from: string;
|
|
2399
2500
|
/** 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";
|
|
2501
|
+
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";
|
|
2401
2502
|
/** Outer transaction nonce. Omit to auto-fetch. */
|
|
2402
2503
|
nonce?: string;
|
|
2403
2504
|
/** Maximum amount of gas for the undelegation transaction. Omit to use the fixed undelegation gas limit. */
|
|
@@ -2460,6 +2561,30 @@ export type v1ExecuteSwapIntentV2 = {
|
|
|
2460
2561
|
/** 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
2562
|
gasStationNonce?: string;
|
|
2462
2563
|
};
|
|
2564
|
+
export type v1ExecuteSwapIntentV3 = {
|
|
2565
|
+
/** 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. */
|
|
2566
|
+
quoteId: string;
|
|
2567
|
+
/** CAIP-19 asset ID for the input asset. */
|
|
2568
|
+
inputToken: string;
|
|
2569
|
+
/** Exact base-unit amount of the input asset committed by the quote. */
|
|
2570
|
+
inputAmount: string;
|
|
2571
|
+
/** CAIP-19 asset ID for the output asset. */
|
|
2572
|
+
outputToken: string;
|
|
2573
|
+
/** Exact quoted base-unit output amount committed by the quote. */
|
|
2574
|
+
quotedOutputAmount: string;
|
|
2575
|
+
/** Exact minimum base-unit output committed by the quote. */
|
|
2576
|
+
minOutputAmount: string;
|
|
2577
|
+
/** Whether the quoted transaction is sponsored. */
|
|
2578
|
+
sponsor: boolean;
|
|
2579
|
+
/** 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. */
|
|
2580
|
+
evmNonce?: string;
|
|
2581
|
+
/** Exact Solana recent blockhash. Valid only for a Solana swap, including sponsored swaps. Omit to auto-fetch. */
|
|
2582
|
+
recentBlockhash?: string;
|
|
2583
|
+
/** 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. */
|
|
2584
|
+
gasStationNonce?: string;
|
|
2585
|
+
/** 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. */
|
|
2586
|
+
destinationAddress?: string;
|
|
2587
|
+
};
|
|
2463
2588
|
export type v1ExecuteSwapRequest = {
|
|
2464
2589
|
type: "ACTIVITY_TYPE_EXECUTE_SWAP_V2";
|
|
2465
2590
|
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
@@ -2596,6 +2721,16 @@ export type v1FiatOnRampCryptoCurrency = "FIAT_ON_RAMP_CRYPTO_CURRENCY_BTC" | "F
|
|
|
2596
2721
|
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
2722
|
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
2723
|
export type v1FiatOnRampProvider = "FIAT_ON_RAMP_PROVIDER_COINBASE" | "FIAT_ON_RAMP_PROVIDER_MOONPAY";
|
|
2724
|
+
export type v1GetActivePoliciesRequest = {
|
|
2725
|
+
/** Unique identifier for a given organization. */
|
|
2726
|
+
organizationId: string;
|
|
2727
|
+
};
|
|
2728
|
+
export type v1GetActivePoliciesResponse = {
|
|
2729
|
+
/** The active/inactive status of every policy in the organization. */
|
|
2730
|
+
statuses: v1ActivePolicyStatus[];
|
|
2731
|
+
/** The enclave's trusted timestamp (Unix epoch milliseconds) used to evaluate every policy. */
|
|
2732
|
+
evaluatedAtMs: string;
|
|
2733
|
+
};
|
|
2599
2734
|
export type v1GetActivitiesRequest = {
|
|
2600
2735
|
/** Unique identifier for a given organization. */
|
|
2601
2736
|
organizationId: string;
|
|
@@ -2804,7 +2939,7 @@ export type v1GetNoncesRequest = {
|
|
|
2804
2939
|
/** The Ethereum address to query nonces for. */
|
|
2805
2940
|
address: string;
|
|
2806
2941
|
/** 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";
|
|
2942
|
+
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";
|
|
2808
2943
|
/** Whether to fetch the standard on-chain nonce. */
|
|
2809
2944
|
nonce?: boolean;
|
|
2810
2945
|
/** Whether to fetch the gas station nonce used for sponsored transactions. */
|
|
@@ -3080,6 +3215,13 @@ export type v1GetUsersResponse = {
|
|
|
3080
3215
|
/** A list of users. */
|
|
3081
3216
|
users: v1User[];
|
|
3082
3217
|
};
|
|
3218
|
+
export type v1GetVelocityControlRequest = {
|
|
3219
|
+
organizationId: string;
|
|
3220
|
+
velocityControlId: string;
|
|
3221
|
+
};
|
|
3222
|
+
export type v1GetVelocityControlResponse = {
|
|
3223
|
+
velocityControl: v1VelocityControl;
|
|
3224
|
+
};
|
|
3083
3225
|
export type v1GetVerifiedSubOrgIdsRequest = {
|
|
3084
3226
|
/** Unique identifier for the parent organization. This is used to find sub-organizations within it. */
|
|
3085
3227
|
organizationId: string;
|
|
@@ -3128,7 +3270,7 @@ export type v1GetWalletAddressBalancesRequest = {
|
|
|
3128
3270
|
/** Address corresponding to a wallet account. Private key addresses are not supported. */
|
|
3129
3271
|
address: string;
|
|
3130
3272
|
/** 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";
|
|
3273
|
+
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" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1";
|
|
3132
3274
|
};
|
|
3133
3275
|
export type v1GetWalletAddressBalancesResponse = {
|
|
3134
3276
|
/** List of asset balances */
|
|
@@ -3311,6 +3453,14 @@ export type v1InitImportSecretsIntent = {
|
|
|
3311
3453
|
/** The number of secrets the user intends to import. */
|
|
3312
3454
|
numSecrets: number;
|
|
3313
3455
|
};
|
|
3456
|
+
export type v1InitImportSecretsRequest = {
|
|
3457
|
+
type: "ACTIVITY_TYPE_INIT_IMPORT_SECRETS";
|
|
3458
|
+
/** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
|
|
3459
|
+
timestampMs: string;
|
|
3460
|
+
/** Unique identifier for a given Organization. */
|
|
3461
|
+
organizationId: string;
|
|
3462
|
+
parameters: v1InitImportSecretsIntent;
|
|
3463
|
+
};
|
|
3314
3464
|
export type v1InitImportSecretsResult = {
|
|
3315
3465
|
/** Enclave ingress target keys along with metadata specific to the encryption suite. For enclave encrypt v1 this will be ServerTargetMsgV1. */
|
|
3316
3466
|
enclaveTargetMessages: string[];
|
|
@@ -3333,7 +3483,7 @@ export type v1InitImportWalletResult = {
|
|
|
3333
3483
|
importBundle: string;
|
|
3334
3484
|
};
|
|
3335
3485
|
export type v1InitOtpAuthIntent = {
|
|
3336
|
-
/** Enum to specify whether to send OTP via SMS or
|
|
3486
|
+
/** Enum to specify whether to send OTP via SMS, email, or WhatsApp */
|
|
3337
3487
|
otpType: string;
|
|
3338
3488
|
/** Email or phone number to send the OTP code to */
|
|
3339
3489
|
contact: string;
|
|
@@ -3351,7 +3501,7 @@ export type v1InitOtpAuthIntent = {
|
|
|
3351
3501
|
replyToEmailAddress?: string;
|
|
3352
3502
|
};
|
|
3353
3503
|
export type v1InitOtpAuthIntentV2 = {
|
|
3354
|
-
/** Enum to specify whether to send OTP via SMS or
|
|
3504
|
+
/** Enum to specify whether to send OTP via SMS, email, or WhatsApp */
|
|
3355
3505
|
otpType: string;
|
|
3356
3506
|
/** Email or phone number to send the OTP code to */
|
|
3357
3507
|
contact: string;
|
|
@@ -3373,7 +3523,7 @@ export type v1InitOtpAuthIntentV2 = {
|
|
|
3373
3523
|
replyToEmailAddress?: string;
|
|
3374
3524
|
};
|
|
3375
3525
|
export type v1InitOtpAuthIntentV3 = {
|
|
3376
|
-
/** Whether to send OTP via SMS or
|
|
3526
|
+
/** Whether to send OTP via SMS, email, or WhatsApp. Possible values: OTP_TYPE_SMS, OTP_TYPE_EMAIL, OTP_TYPE_WHATSAPP */
|
|
3377
3527
|
otpType: string;
|
|
3378
3528
|
/** Email or phone number to send the OTP code to */
|
|
3379
3529
|
contact: string;
|
|
@@ -3416,7 +3566,7 @@ export type v1InitOtpAuthResultV2 = {
|
|
|
3416
3566
|
otpId: string;
|
|
3417
3567
|
};
|
|
3418
3568
|
export type v1InitOtpIntent = {
|
|
3419
|
-
/** Whether to send OTP via SMS or
|
|
3569
|
+
/** Whether to send OTP via SMS, email, or WhatsApp. Possible values: OTP_TYPE_SMS, OTP_TYPE_EMAIL, OTP_TYPE_WHATSAPP */
|
|
3420
3570
|
otpType: string;
|
|
3421
3571
|
/** Email or phone number to send the OTP code to */
|
|
3422
3572
|
contact: string;
|
|
@@ -3440,7 +3590,7 @@ export type v1InitOtpIntent = {
|
|
|
3440
3590
|
replyToEmailAddress?: string;
|
|
3441
3591
|
};
|
|
3442
3592
|
export type v1InitOtpIntentV2 = {
|
|
3443
|
-
/** Whether to send OTP via SMS or
|
|
3593
|
+
/** Whether to send OTP via SMS, email, or WhatsApp. Possible values: OTP_TYPE_SMS, OTP_TYPE_EMAIL, OTP_TYPE_WHATSAPP */
|
|
3444
3594
|
otpType: string;
|
|
3445
3595
|
/** Email or phone number to send the OTP code to */
|
|
3446
3596
|
contact: string;
|
|
@@ -3466,7 +3616,7 @@ export type v1InitOtpIntentV2 = {
|
|
|
3466
3616
|
replyToEmailAddress?: string;
|
|
3467
3617
|
};
|
|
3468
3618
|
export type v1InitOtpIntentV3 = {
|
|
3469
|
-
/** Whether to send OTP via SMS or
|
|
3619
|
+
/** Whether to send OTP via SMS, email, or WhatsApp. Possible values: OTP_TYPE_SMS, OTP_TYPE_EMAIL, OTP_TYPE_WHATSAPP */
|
|
3470
3620
|
otpType: string;
|
|
3471
3621
|
/** Email or phone number to send the OTP code to */
|
|
3472
3622
|
contact: string;
|
|
@@ -3709,6 +3859,11 @@ export type v1Intent = {
|
|
|
3709
3859
|
createSwapQuoteIntent?: v1CreateSwapQuoteIntent;
|
|
3710
3860
|
importSecretsIntent?: v1ImportSecretsIntent;
|
|
3711
3861
|
exportSecretsIntent?: v1ExportSecretsIntent;
|
|
3862
|
+
createVelocityControlIntent?: v1CreateVelocityControlIntent;
|
|
3863
|
+
deleteVelocityControlIntent?: v1DeleteVelocityControlIntent;
|
|
3864
|
+
updatePaymentMethodIntent?: billingUpdatePaymentMethodIntent;
|
|
3865
|
+
createSwapQuoteIntentV2?: v1CreateSwapQuoteIntentV2;
|
|
3866
|
+
executeSwapIntentV3?: v1ExecuteSwapIntentV3;
|
|
3712
3867
|
};
|
|
3713
3868
|
export type v1InvitationParams = {
|
|
3714
3869
|
/** The name of the intended Invitation recipient. */
|
|
@@ -3759,6 +3914,8 @@ export type v1ListEarnEnabledVaultsRequest = {
|
|
|
3759
3914
|
provider?: v1EarnProvider;
|
|
3760
3915
|
/** 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
3916
|
caip19?: string;
|
|
3917
|
+
/** 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. */
|
|
3918
|
+
includeExposure?: boolean;
|
|
3762
3919
|
};
|
|
3763
3920
|
export type v1ListEarnEnabledVaultsResponse = {
|
|
3764
3921
|
/** The organization's deployed wrappers. */
|
|
@@ -3810,7 +3967,7 @@ export type v1ListEthTransactionHistoryRequest = {
|
|
|
3810
3967
|
/** Address corresponding to a wallet account. Private key addresses are not supported. */
|
|
3811
3968
|
address: string;
|
|
3812
3969
|
/** 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";
|
|
3970
|
+
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";
|
|
3814
3971
|
/** Cursor-based pagination options. Cursors are opaque and valid only for the same address and CAIP-2 query. */
|
|
3815
3972
|
paginationOptions?: v1Pagination;
|
|
3816
3973
|
};
|
|
@@ -3870,7 +4027,7 @@ export type v1ListSupportedAssetsRequest = {
|
|
|
3870
4027
|
/** Unique identifier for a given organization. */
|
|
3871
4028
|
organizationId: string;
|
|
3872
4029
|
/** 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";
|
|
4030
|
+
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" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1";
|
|
3874
4031
|
};
|
|
3875
4032
|
export type v1ListSupportedAssetsResponse = {
|
|
3876
4033
|
/** List of asset metadata */
|
|
@@ -3884,6 +4041,14 @@ export type v1ListUserTagsResponse = {
|
|
|
3884
4041
|
/** A list of user tags. */
|
|
3885
4042
|
userTags: datav1Tag[];
|
|
3886
4043
|
};
|
|
4044
|
+
export type v1ListVelocityControlsRequest = {
|
|
4045
|
+
organizationId: string;
|
|
4046
|
+
paginationOptions?: v1Pagination;
|
|
4047
|
+
};
|
|
4048
|
+
export type v1ListVelocityControlsResponse = {
|
|
4049
|
+
velocityControls: v1VelocityControl[];
|
|
4050
|
+
pageInfo: v1PageInfo;
|
|
4051
|
+
};
|
|
3887
4052
|
export type v1ListWebhookEndpointsRequest = {
|
|
3888
4053
|
/** Unique identifier for a given Organization. */
|
|
3889
4054
|
organizationId: string;
|
|
@@ -4195,6 +4360,7 @@ export type v1PrivateKeyResult = {
|
|
|
4195
4360
|
privateKeyId?: string;
|
|
4196
4361
|
addresses?: immutableactivityv1Address[];
|
|
4197
4362
|
};
|
|
4363
|
+
export type v1ProvisioningState = "PROVISIONING_STATE_PENDING" | "PROVISIONING_STATE_AWAITING_PROVISION" | "PROVISIONING_STATE_PROVISIONED";
|
|
4198
4364
|
export type v1PublicKeyCredentialWithAttestation = {
|
|
4199
4365
|
id: string;
|
|
4200
4366
|
type: "public-key";
|
|
@@ -4457,6 +4623,9 @@ export type v1Result = {
|
|
|
4457
4623
|
createSwapQuoteResult?: v1CreateSwapQuoteResult;
|
|
4458
4624
|
importSecretsResult?: v1ImportSecretsResult;
|
|
4459
4625
|
exportSecretsResult?: v1ExportSecretsResult;
|
|
4626
|
+
createVelocityControlResult?: v1CreateVelocityControlResult;
|
|
4627
|
+
deleteVelocityControlResult?: v1DeleteVelocityControlResult;
|
|
4628
|
+
updatePaymentMethodResult?: billingUpdatePaymentMethodResult;
|
|
4460
4629
|
};
|
|
4461
4630
|
export type v1RevertChainEntry = {
|
|
4462
4631
|
/** The contract address where the revert occurred. */
|
|
@@ -5820,6 +5989,104 @@ export type v1ValidateTvcImageRequest = {
|
|
|
5820
5989
|
export type v1ValidateTvcImageResponse = {
|
|
5821
5990
|
resolvedImageDigest?: string;
|
|
5822
5991
|
};
|
|
5992
|
+
export type v1VelocityControl = {
|
|
5993
|
+
/** Unique identifier for the Velocity Control. */
|
|
5994
|
+
velocityControlId: string;
|
|
5995
|
+
/** Identifier of the Organization that owns the Velocity Control. */
|
|
5996
|
+
organizationId: string;
|
|
5997
|
+
/** Human-readable name for the Velocity Control. */
|
|
5998
|
+
name: string;
|
|
5999
|
+
/** Data source for the Velocity Control. */
|
|
6000
|
+
dataSource: v1VelocityControlDataSource;
|
|
6001
|
+
/** Aggregation expression that the Velocity Control evaluates. */
|
|
6002
|
+
aggregation: v1VelocityControlAggregation;
|
|
6003
|
+
/** Time when the Velocity Control was created. */
|
|
6004
|
+
createdAt: externaldatav1Timestamp;
|
|
6005
|
+
/** Time when the Velocity Control was last updated. */
|
|
6006
|
+
updatedAt: externaldatav1Timestamp;
|
|
6007
|
+
/** Identifier for the Velocity Control. Policies reference it as `controls.<identifier>`. It must be unique within the Organization. */
|
|
6008
|
+
identifier: string;
|
|
6009
|
+
};
|
|
6010
|
+
export type v1VelocityControlAggregation = {
|
|
6011
|
+
/** Method that aggregates matching data points. */
|
|
6012
|
+
method: v1VelocityControlAggregationMethod;
|
|
6013
|
+
/** Comparison between the aggregate and the threshold. */
|
|
6014
|
+
operator: v1VelocityControlAggregationOperator;
|
|
6015
|
+
/** Non-negative base-10 decimal string with at most 38 total digits and 18 fractional digits. */
|
|
6016
|
+
threshold: string;
|
|
6017
|
+
/** Time window for the aggregation. */
|
|
6018
|
+
window: v1VelocityControlAggregationWindow;
|
|
6019
|
+
/** Scope that partitions matching data before aggregation. */
|
|
6020
|
+
groupBy: v1VelocityControlAggregationGroupBy;
|
|
6021
|
+
};
|
|
6022
|
+
export type v1VelocityControlAggregationGroupBy = {
|
|
6023
|
+
/** Uses one shared bucket for the Organization. */
|
|
6024
|
+
organization?: v1VelocityControlAggregationGroupByOrganization;
|
|
6025
|
+
/** Uses one bucket for each User. */
|
|
6026
|
+
user?: v1VelocityControlAggregationGroupByUser;
|
|
6027
|
+
/** Uses one bucket for each Wallet. */
|
|
6028
|
+
wallet?: v1VelocityControlAggregationGroupByWallet;
|
|
6029
|
+
};
|
|
6030
|
+
export type v1VelocityControlAggregationGroupByOrganization = {};
|
|
6031
|
+
export type v1VelocityControlAggregationGroupByUser = {};
|
|
6032
|
+
export type v1VelocityControlAggregationGroupByWallet = {};
|
|
6033
|
+
export type v1VelocityControlAggregationMethod = "VELOCITY_CONTROL_AGGREGATION_METHOD_SUM" | "VELOCITY_CONTROL_AGGREGATION_METHOD_COUNT";
|
|
6034
|
+
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";
|
|
6035
|
+
export type v1VelocityControlAggregationWindow = {
|
|
6036
|
+
/** Uses a rolling time window. */
|
|
6037
|
+
rolling?: v1VelocityControlAggregationWindowRolling;
|
|
6038
|
+
/** Uses all matching data without a time limit. */
|
|
6039
|
+
infinite?: v1VelocityControlAggregationWindowInfinite;
|
|
6040
|
+
};
|
|
6041
|
+
export type v1VelocityControlAggregationWindowInfinite = {};
|
|
6042
|
+
export type v1VelocityControlAggregationWindowRolling = {
|
|
6043
|
+
/** Duration of the rolling window, in seconds, as a base-10 integer string. */
|
|
6044
|
+
duration: string;
|
|
6045
|
+
};
|
|
6046
|
+
export type v1VelocityControlDataSource = {
|
|
6047
|
+
/** Uses transfers of the listed on-chain assets as input data. */
|
|
6048
|
+
chainAssetTransfer?: v1VelocityControlDataSourceChainAssetTransfer;
|
|
6049
|
+
/** Uses executed Turnkey activities as input data. */
|
|
6050
|
+
activityExecution?: v1VelocityControlDataSourceActivityExecution;
|
|
6051
|
+
};
|
|
6052
|
+
export type v1VelocityControlDataSourceActivityExecution = {
|
|
6053
|
+
/** Filters activity executions by type. */
|
|
6054
|
+
filter?: v1VelocityControlDataSourceActivityExecutionFilter;
|
|
6055
|
+
};
|
|
6056
|
+
export type v1VelocityControlDataSourceActivityExecutionFilter = {
|
|
6057
|
+
/** Activity types whose executions are included. */
|
|
6058
|
+
activity?: v1VelocityControlDataSourceFilterActivity[];
|
|
6059
|
+
};
|
|
6060
|
+
export type v1VelocityControlDataSourceChainAssetTransfer = {
|
|
6061
|
+
/** Assets whose transfers are included in the data source. */
|
|
6062
|
+
definition: v1VelocityControlDataSourceChainAssetTransferDefinition[];
|
|
6063
|
+
/** Filters asset transfers by activity type. */
|
|
6064
|
+
filter?: v1VelocityControlDataSourceChainAssetTransferFilter;
|
|
6065
|
+
/** Selects when to measure an asset transfer. */
|
|
6066
|
+
phase?: v1VelocityControlDataSourcePhase;
|
|
6067
|
+
};
|
|
6068
|
+
export type v1VelocityControlDataSourceChainAssetTransferDefinition = {
|
|
6069
|
+
/** CAIP-19 identifier for the asset. */
|
|
6070
|
+
caip19: string;
|
|
6071
|
+
/** Base-10 integer string from 0 through 255 that specifies the number of decimal places for the asset. */
|
|
6072
|
+
decimals: string;
|
|
6073
|
+
};
|
|
6074
|
+
export type v1VelocityControlDataSourceChainAssetTransferFilter = {
|
|
6075
|
+
/** Activity types whose asset transfers are included. */
|
|
6076
|
+
activity?: v1VelocityControlDataSourceFilterActivity[];
|
|
6077
|
+
};
|
|
6078
|
+
export type v1VelocityControlDataSourceFilterActivity = {
|
|
6079
|
+
/** Name of an activity type to include, such as `ACTIVITY_TYPE_SOL_SEND_TRANSACTION`. */
|
|
6080
|
+
activityType: string;
|
|
6081
|
+
};
|
|
6082
|
+
export type v1VelocityControlDataSourcePhase = {
|
|
6083
|
+
/** Measures the transfer when Turnkey signs the transaction and returns it to the user. */
|
|
6084
|
+
signature?: v1VelocityControlDataSourcePhaseSignature;
|
|
6085
|
+
/** Reserved for future use. Measures the transfer after the transaction lands on chain. */
|
|
6086
|
+
submission?: v1VelocityControlDataSourcePhaseSubmission;
|
|
6087
|
+
};
|
|
6088
|
+
export type v1VelocityControlDataSourcePhaseSignature = {};
|
|
6089
|
+
export type v1VelocityControlDataSourcePhaseSubmission = {};
|
|
5823
6090
|
export type v1VerifyOtpIntent = {
|
|
5824
6091
|
/** ID representing the result of an init OTP activity. */
|
|
5825
6092
|
otpId: string;
|
|
@@ -5942,6 +6209,18 @@ export type v1WebhookSubscriptionParams = {
|
|
|
5942
6209
|
/** Whether this subscription is active. */
|
|
5943
6210
|
isActive?: boolean;
|
|
5944
6211
|
};
|
|
6212
|
+
export type TGetActivePoliciesResponse = {
|
|
6213
|
+
/** The active/inactive status of every policy in the organization. */
|
|
6214
|
+
statuses: v1ActivePolicyStatus[];
|
|
6215
|
+
/** The enclave's trusted timestamp (Unix epoch milliseconds) used to evaluate every policy. */
|
|
6216
|
+
evaluatedAtMs: string;
|
|
6217
|
+
};
|
|
6218
|
+
export type TGetActivePoliciesBody = {
|
|
6219
|
+
organizationId?: string;
|
|
6220
|
+
};
|
|
6221
|
+
export type TGetActivePoliciesInput = {
|
|
6222
|
+
body: TGetActivePoliciesBody;
|
|
6223
|
+
};
|
|
5945
6224
|
export type TGetActivityResponse = {
|
|
5946
6225
|
/** An action that can be taken within the Turnkey infrastructure. */
|
|
5947
6226
|
activity: v1Activity;
|
|
@@ -6176,7 +6455,7 @@ export type TGetNoncesBody = {
|
|
|
6176
6455
|
/** The Ethereum address to query nonces for. */
|
|
6177
6456
|
address: string;
|
|
6178
6457
|
/** 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";
|
|
6458
|
+
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";
|
|
6180
6459
|
/** Whether to fetch the standard on-chain nonce. */
|
|
6181
6460
|
nonce?: boolean;
|
|
6182
6461
|
/** Whether to fetch the gas station nonce used for sponsored transactions. */
|
|
@@ -6419,6 +6698,16 @@ export type TGetUserBody = {
|
|
|
6419
6698
|
export type TGetUserInput = {
|
|
6420
6699
|
body: TGetUserBody;
|
|
6421
6700
|
};
|
|
6701
|
+
export type TGetVelocityControlResponse = {
|
|
6702
|
+
velocityControl: v1VelocityControl;
|
|
6703
|
+
};
|
|
6704
|
+
export type TGetVelocityControlBody = {
|
|
6705
|
+
organizationId?: string;
|
|
6706
|
+
velocityControlId: string;
|
|
6707
|
+
};
|
|
6708
|
+
export type TGetVelocityControlInput = {
|
|
6709
|
+
body: TGetVelocityControlBody;
|
|
6710
|
+
};
|
|
6422
6711
|
export type TGetWalletResponse = {
|
|
6423
6712
|
/** A collection of deterministically generated cryptographic public / private key pairs that share a common seed. */
|
|
6424
6713
|
wallet: v1Wallet;
|
|
@@ -6456,7 +6745,7 @@ export type TGetWalletAddressBalancesBody = {
|
|
|
6456
6745
|
/** Address corresponding to a wallet account. Private key addresses are not supported. */
|
|
6457
6746
|
address: string;
|
|
6458
6747
|
/** 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";
|
|
6748
|
+
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" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1";
|
|
6460
6749
|
};
|
|
6461
6750
|
export type TGetWalletAddressBalancesInput = {
|
|
6462
6751
|
body: TGetWalletAddressBalancesBody;
|
|
@@ -6498,6 +6787,8 @@ export type TListEarnEnabledVaultsBody = {
|
|
|
6498
6787
|
provider?: v1EarnProvider;
|
|
6499
6788
|
/** 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
6789
|
caip19?: string;
|
|
6790
|
+
/** 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. */
|
|
6791
|
+
includeExposure?: boolean;
|
|
6501
6792
|
};
|
|
6502
6793
|
export type TListEarnEnabledVaultsInput = {
|
|
6503
6794
|
body: TListEarnEnabledVaultsBody;
|
|
@@ -6558,7 +6849,7 @@ export type TListEthTransactionHistoryBody = {
|
|
|
6558
6849
|
/** Address corresponding to a wallet account. Private key addresses are not supported. */
|
|
6559
6850
|
address: string;
|
|
6560
6851
|
/** 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";
|
|
6852
|
+
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";
|
|
6562
6853
|
/** Cursor-based pagination options. Cursors are opaque and valid only for the same address and CAIP-2 query. */
|
|
6563
6854
|
paginationOptions?: v1Pagination;
|
|
6564
6855
|
};
|
|
@@ -6675,7 +6966,7 @@ export type TListSupportedAssetsResponse = {
|
|
|
6675
6966
|
export type TListSupportedAssetsBody = {
|
|
6676
6967
|
organizationId?: string;
|
|
6677
6968
|
/** 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";
|
|
6969
|
+
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" | "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp" | "solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1";
|
|
6679
6970
|
};
|
|
6680
6971
|
export type TListSupportedAssetsInput = {
|
|
6681
6972
|
body: TListSupportedAssetsBody;
|
|
@@ -6722,6 +7013,17 @@ export type TGetUsersBody = {
|
|
|
6722
7013
|
export type TGetUsersInput = {
|
|
6723
7014
|
body: TGetUsersBody;
|
|
6724
7015
|
};
|
|
7016
|
+
export type TListVelocityControlsResponse = {
|
|
7017
|
+
velocityControls: v1VelocityControl[];
|
|
7018
|
+
pageInfo: v1PageInfo;
|
|
7019
|
+
};
|
|
7020
|
+
export type TListVelocityControlsBody = {
|
|
7021
|
+
organizationId?: string;
|
|
7022
|
+
paginationOptions?: v1Pagination;
|
|
7023
|
+
};
|
|
7024
|
+
export type TListVelocityControlsInput = {
|
|
7025
|
+
body: TListVelocityControlsBody;
|
|
7026
|
+
};
|
|
6725
7027
|
export type TGetVerifiedSubOrgIdsResponse = {
|
|
6726
7028
|
/** List of unique identifiers for the matching sub-organizations. */
|
|
6727
7029
|
organizationIds: string[];
|
|
@@ -7192,7 +7494,7 @@ export type TCreateSwapQuoteResponse = {
|
|
|
7192
7494
|
export type TCreateSwapQuoteBody = {
|
|
7193
7495
|
timestampMs?: string;
|
|
7194
7496
|
organizationId?: string;
|
|
7195
|
-
/** Wallet account
|
|
7497
|
+
/** Wallet account address used to price the executable provider quote. Private Key identifiers are not supported. */
|
|
7196
7498
|
signWith: string;
|
|
7197
7499
|
/** CAIP-19 asset ID for the input asset. The chain is derived from this value. */
|
|
7198
7500
|
inputToken: string;
|
|
@@ -7202,6 +7504,8 @@ export type TCreateSwapQuoteBody = {
|
|
|
7202
7504
|
inputAmount: string;
|
|
7203
7505
|
/** 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
7506
|
slippageBps?: string;
|
|
7507
|
+
/** 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. */
|
|
7508
|
+
destinationAddress?: string;
|
|
7205
7509
|
generateAppProofs?: boolean;
|
|
7206
7510
|
};
|
|
7207
7511
|
export type TCreateSwapQuoteInput = {
|
|
@@ -7337,6 +7641,26 @@ export type TCreateUsersBody = {
|
|
|
7337
7641
|
export type TCreateUsersInput = {
|
|
7338
7642
|
body: TCreateUsersBody;
|
|
7339
7643
|
};
|
|
7644
|
+
export type TCreateVelocityControlResponse = {
|
|
7645
|
+
activity: v1Activity;
|
|
7646
|
+
velocityControlId: string;
|
|
7647
|
+
};
|
|
7648
|
+
export type TCreateVelocityControlBody = {
|
|
7649
|
+
timestampMs?: string;
|
|
7650
|
+
organizationId?: string;
|
|
7651
|
+
/** Human-readable name for the Velocity Control. */
|
|
7652
|
+
name: string;
|
|
7653
|
+
/** Data source for the Velocity Control. */
|
|
7654
|
+
dataSource: v1VelocityControlDataSource;
|
|
7655
|
+
/** Aggregation expression that the Velocity Control evaluates. */
|
|
7656
|
+
aggregation: v1VelocityControlAggregation;
|
|
7657
|
+
/** Identifier for the Velocity Control. Policies reference it as `controls.<identifier>`. It must be unique within the Organization. */
|
|
7658
|
+
identifier: string;
|
|
7659
|
+
generateAppProofs?: boolean;
|
|
7660
|
+
};
|
|
7661
|
+
export type TCreateVelocityControlInput = {
|
|
7662
|
+
body: TCreateVelocityControlBody;
|
|
7663
|
+
};
|
|
7340
7664
|
export type TCreateWalletResponse = {
|
|
7341
7665
|
activity: v1Activity;
|
|
7342
7666
|
/** Unique identifier for a Wallet. */
|
|
@@ -7666,6 +7990,19 @@ export type TDeleteUsersBody = {
|
|
|
7666
7990
|
export type TDeleteUsersInput = {
|
|
7667
7991
|
body: TDeleteUsersBody;
|
|
7668
7992
|
};
|
|
7993
|
+
export type TDeleteVelocityControlResponse = {
|
|
7994
|
+
activity: v1Activity;
|
|
7995
|
+
velocityControlId: string;
|
|
7996
|
+
};
|
|
7997
|
+
export type TDeleteVelocityControlBody = {
|
|
7998
|
+
timestampMs?: string;
|
|
7999
|
+
organizationId?: string;
|
|
8000
|
+
velocityControlId: string;
|
|
8001
|
+
generateAppProofs?: boolean;
|
|
8002
|
+
};
|
|
8003
|
+
export type TDeleteVelocityControlInput = {
|
|
8004
|
+
body: TDeleteVelocityControlBody;
|
|
8005
|
+
};
|
|
7669
8006
|
export type TDeleteWalletAccountsResponse = {
|
|
7670
8007
|
activity: v1Activity;
|
|
7671
8008
|
/** A list of wallet account unique identifiers that were removed */
|
|
@@ -7849,7 +8186,7 @@ export type TEthUndelegate7702Body = {
|
|
|
7849
8186
|
/** A wallet or private key address to undelegate. This does not support private key IDs. */
|
|
7850
8187
|
from: string;
|
|
7851
8188
|
/** 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";
|
|
8189
|
+
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";
|
|
7853
8190
|
/** Outer transaction nonce. Omit to auto-fetch. */
|
|
7854
8191
|
nonce?: string;
|
|
7855
8192
|
/** Maximum amount of gas for the undelegation transaction. Omit to use the fixed undelegation gas limit. */
|
|
@@ -7895,6 +8232,8 @@ export type TExecuteSwapBody = {
|
|
|
7895
8232
|
recentBlockhash?: string;
|
|
7896
8233
|
/** 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
8234
|
gasStationNonce?: string;
|
|
8235
|
+
/** 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. */
|
|
8236
|
+
destinationAddress?: string;
|
|
7898
8237
|
generateAppProofs?: boolean;
|
|
7899
8238
|
};
|
|
7900
8239
|
export type TExecuteSwapInput = {
|
|
@@ -8089,6 +8428,22 @@ export type TInitImportPrivateKeyBody = {
|
|
|
8089
8428
|
export type TInitImportPrivateKeyInput = {
|
|
8090
8429
|
body: TInitImportPrivateKeyBody;
|
|
8091
8430
|
};
|
|
8431
|
+
export type TInitImportSecretsResponse = {
|
|
8432
|
+
activity: v1Activity;
|
|
8433
|
+
/** Enclave ingress target keys along with metadata specific to the encryption suite. For enclave encrypt v1 this will be ServerTargetMsgV1. */
|
|
8434
|
+
enclaveTargetMessages: string[];
|
|
8435
|
+
};
|
|
8436
|
+
export type TInitImportSecretsBody = {
|
|
8437
|
+
timestampMs?: string;
|
|
8438
|
+
organizationId?: string;
|
|
8439
|
+
/** Transport encryption suite used for ingress secrets. */
|
|
8440
|
+
encryptionSuite: v1TransportEncryptionSuite;
|
|
8441
|
+
/** The number of secrets the user intends to import. */
|
|
8442
|
+
numSecrets: number;
|
|
8443
|
+
};
|
|
8444
|
+
export type TInitImportSecretsInput = {
|
|
8445
|
+
body: TInitImportSecretsBody;
|
|
8446
|
+
};
|
|
8092
8447
|
export type TInitImportWalletResponse = {
|
|
8093
8448
|
activity: v1Activity;
|
|
8094
8449
|
/** Import bundle containing a public key and signature to use for importing client data. */
|
|
@@ -8114,7 +8469,7 @@ export type TInitOtpResponse = {
|
|
|
8114
8469
|
export type TInitOtpBody = {
|
|
8115
8470
|
timestampMs?: string;
|
|
8116
8471
|
organizationId?: string;
|
|
8117
|
-
/** Whether to send OTP via SMS or
|
|
8472
|
+
/** Whether to send OTP via SMS, email, or WhatsApp. Possible values: OTP_TYPE_SMS, OTP_TYPE_EMAIL, OTP_TYPE_WHATSAPP */
|
|
8118
8473
|
otpType: string;
|
|
8119
8474
|
/** Email or phone number to send the OTP code to */
|
|
8120
8475
|
contact: string;
|
|
@@ -8151,7 +8506,7 @@ export type TInitOtpAuthResponse = {
|
|
|
8151
8506
|
export type TInitOtpAuthBody = {
|
|
8152
8507
|
timestampMs?: string;
|
|
8153
8508
|
organizationId?: string;
|
|
8154
|
-
/** Whether to send OTP via SMS or
|
|
8509
|
+
/** Whether to send OTP via SMS, email, or WhatsApp. Possible values: OTP_TYPE_SMS, OTP_TYPE_EMAIL, OTP_TYPE_WHATSAPP */
|
|
8155
8510
|
otpType: string;
|
|
8156
8511
|
/** Email or phone number to send the OTP code to */
|
|
8157
8512
|
contact: string;
|
|
@@ -8958,7 +9313,7 @@ export type TEthSendTransactionBody = {
|
|
|
8958
9313
|
/** Whether to sponsor this transaction via Gas Station. */
|
|
8959
9314
|
sponsor?: boolean;
|
|
8960
9315
|
/** 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";
|
|
9316
|
+
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";
|
|
8962
9317
|
/** Recipient address as a hex string with 0x prefix. */
|
|
8963
9318
|
to: string;
|
|
8964
9319
|
/** Amount of native asset to send in wei. */
|
|
@@ -8993,7 +9348,7 @@ export type TEthSendTransactionV2Body = {
|
|
|
8993
9348
|
/** A wallet or private key address to sign with. This does not support private key IDs. */
|
|
8994
9349
|
from: string;
|
|
8995
9350
|
/** 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";
|
|
9351
|
+
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";
|
|
8997
9352
|
/** 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
9353
|
sponsor?: boolean;
|
|
8999
9354
|
/** Outer transaction nonce. Omit to auto-fetch. */
|