@turnkey/sdk-types 0.11.2 → 0.12.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 CHANGED
@@ -1,5 +1,17 @@
1
1
  # @turnkey/sdk-types
2
2
 
3
+ ## 0.12.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#1206](https://github.com/tkhq/sdk/pull/1206) [`58e04e5`](https://github.com/tkhq/sdk/commit/58e04e5856626d9d2593abb61d8ca32d8ccbb833) Author [@DeRauk](https://github.com/DeRauk) - Adds sdk methods for the GetWalletAddressBalances and ListSupportedAssets apis.
8
+
9
+ ### Patch Changes
10
+
11
+ - [#1201](https://github.com/tkhq/sdk/pull/1201) [`1f6e240`](https://github.com/tkhq/sdk/commit/1f6e2403fca1fd9cbca646f88c88dbc49ddb0c34) Author [@ethankonk](https://github.com/ethankonk) - Synced with Mono v2026.2.0
12
+
13
+ - [#1197](https://github.com/tkhq/sdk/pull/1197) [`7458b7c`](https://github.com/tkhq/sdk/commit/7458b7cd6fc64796b376e3374b7c2ed79467459c) Thanks [@moe-dev](https://github.com/moe-dev)! - Add support for SolSendTransaction and associated abstractions
14
+
3
15
  ## 0.11.2
4
16
 
5
17
  ### Patch Changes
@@ -183,7 +183,7 @@ export type v1ActivityResponse = {
183
183
  activity: v1Activity;
184
184
  };
185
185
  export type v1ActivityStatus = "ACTIVITY_STATUS_CREATED" | "ACTIVITY_STATUS_PENDING" | "ACTIVITY_STATUS_COMPLETED" | "ACTIVITY_STATUS_FAILED" | "ACTIVITY_STATUS_CONSENSUS_NEEDED" | "ACTIVITY_STATUS_REJECTED";
186
- 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";
186
+ 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";
187
187
  export type v1AddressFormat = "ADDRESS_FORMAT_UNCOMPRESSED" | "ADDRESS_FORMAT_COMPRESSED" | "ADDRESS_FORMAT_ETHEREUM" | "ADDRESS_FORMAT_SOLANA" | "ADDRESS_FORMAT_COSMOS" | "ADDRESS_FORMAT_TRON" | "ADDRESS_FORMAT_SUI" | "ADDRESS_FORMAT_APTOS" | "ADDRESS_FORMAT_BITCOIN_MAINNET_P2PKH" | "ADDRESS_FORMAT_BITCOIN_MAINNET_P2SH" | "ADDRESS_FORMAT_BITCOIN_MAINNET_P2WPKH" | "ADDRESS_FORMAT_BITCOIN_MAINNET_P2WSH" | "ADDRESS_FORMAT_BITCOIN_MAINNET_P2TR" | "ADDRESS_FORMAT_BITCOIN_TESTNET_P2PKH" | "ADDRESS_FORMAT_BITCOIN_TESTNET_P2SH" | "ADDRESS_FORMAT_BITCOIN_TESTNET_P2WPKH" | "ADDRESS_FORMAT_BITCOIN_TESTNET_P2WSH" | "ADDRESS_FORMAT_BITCOIN_TESTNET_P2TR" | "ADDRESS_FORMAT_BITCOIN_SIGNET_P2PKH" | "ADDRESS_FORMAT_BITCOIN_SIGNET_P2SH" | "ADDRESS_FORMAT_BITCOIN_SIGNET_P2WPKH" | "ADDRESS_FORMAT_BITCOIN_SIGNET_P2WSH" | "ADDRESS_FORMAT_BITCOIN_SIGNET_P2TR" | "ADDRESS_FORMAT_BITCOIN_REGTEST_P2PKH" | "ADDRESS_FORMAT_BITCOIN_REGTEST_P2SH" | "ADDRESS_FORMAT_BITCOIN_REGTEST_P2WPKH" | "ADDRESS_FORMAT_BITCOIN_REGTEST_P2WSH" | "ADDRESS_FORMAT_BITCOIN_REGTEST_P2TR" | "ADDRESS_FORMAT_SEI" | "ADDRESS_FORMAT_XLM" | "ADDRESS_FORMAT_DOGE_MAINNET" | "ADDRESS_FORMAT_DOGE_TESTNET" | "ADDRESS_FORMAT_TON_V3R2" | "ADDRESS_FORMAT_TON_V4R2" | "ADDRESS_FORMAT_TON_V5R1" | "ADDRESS_FORMAT_XRP";
188
188
  export type v1ApiKey = {
189
189
  /** A User credential that can be used to authenticate to Turnkey. */
@@ -241,6 +241,30 @@ export type v1ApproveActivityRequest = {
241
241
  parameters: v1ApproveActivityIntent;
242
242
  generateAppProofs?: boolean;
243
243
  };
244
+ export type v1AssetBalance = {
245
+ /** The caip-19 asset identifier */
246
+ caip19?: string;
247
+ /** The asset symbol */
248
+ symbol?: string;
249
+ /** The balance in atomic units */
250
+ balance?: string;
251
+ /** The number of decimals this asset uses */
252
+ decimals?: number;
253
+ /** Normalized balance values for display purposes only. Do not do any arithmetic or calculations with these, as the results could be imprecise. Use the balance field instead. */
254
+ display?: v1AssetBalanceDisplay;
255
+ };
256
+ export type v1AssetBalanceDisplay = {
257
+ /** USD value for display purposes only. Do not do any arithmetic or calculations with these, as the results could be imprecise. */
258
+ usd?: string;
259
+ /** Normalized crypto value for display purposes only. Do not do any arithmetic or calculations with these, as the results could be imprecise. */
260
+ crypto?: string;
261
+ };
262
+ export type v1AssetMetadata = {
263
+ caip19?: string;
264
+ symbol?: string;
265
+ decimals?: number;
266
+ logoUrl?: string;
267
+ };
244
268
  export type v1Attestation = {
245
269
  /** The cbor encoded then base64 url encoded id of the credential. */
246
270
  credentialId: string;
@@ -358,15 +382,6 @@ export type v1CreateApiOnlyUsersIntent = {
358
382
  /** A list of API-only Users to create. */
359
383
  apiOnlyUsers: v1ApiOnlyUserParams[];
360
384
  };
361
- export type v1CreateApiOnlyUsersRequest = {
362
- type: string;
363
- /** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
364
- timestampMs: string;
365
- /** Unique identifier for a given Organization. */
366
- organizationId: string;
367
- parameters: v1CreateApiOnlyUsersIntent;
368
- generateAppProofs?: boolean;
369
- };
370
385
  export type v1CreateApiOnlyUsersResult = {
371
386
  /** A list of API-only User IDs. */
372
387
  userIds: string[];
@@ -844,6 +859,74 @@ export type v1CreateSubOrganizationResultV7 = {
844
859
  wallet?: v1WalletResult;
845
860
  rootUserIds?: string[];
846
861
  };
862
+ export type v1CreateTvcAppIntent = {
863
+ /** The name of the new TVC application */
864
+ name: string;
865
+ /** Quorum public key to use for this application */
866
+ quorumPublicKey: string;
867
+ /** Unique identifier for an existing TVC operator set to use as the Manifest Set for this TVC application. If left empty, a new Manifest Set configuration is required */
868
+ manifestSetId?: string;
869
+ /** Configuration to create a new TVC operator set, used as the Manifest Set for this TVC application. If left empty, a Manifest Set ID is required */
870
+ manifestSetParams?: v1TvcOperatorSetParams;
871
+ /** Unique identifier for an existing TVC operator set to use as the Share Set for this TVC application. If left empty, a new Share Set configuration is required */
872
+ shareSetId?: string;
873
+ /** Configuration to create a new TVC operator set, used as the Share Set for this TVC application. If left empty, a Share Set ID is required */
874
+ shareSetParams?: v1TvcOperatorSetParams;
875
+ /** Enables external connectivity for this TVC app. Default if not provided: false. */
876
+ externalConnectivity?: boolean;
877
+ };
878
+ export type v1CreateTvcAppResult = {
879
+ /** The unique identifier for the TVC application */
880
+ appId: string;
881
+ /** The unique identifier for the TVC manifest set */
882
+ manifestSetId: string;
883
+ /** The unique identifier(s) of the manifest set operators */
884
+ manifestSetOperatorIds: string[];
885
+ /** The required number of approvals for the manifest set */
886
+ manifestSetThreshold: number;
887
+ };
888
+ export type v1CreateTvcDeploymentIntent = {
889
+ /** The unique identifier of the to-be-deployed TVC application */
890
+ appId: string;
891
+ /** The QuorumOS version to use to deploy this application */
892
+ qosVersion: string;
893
+ /** URL of the container containing the pivot binary */
894
+ pivotContainerImageUrl: string;
895
+ /** Location of the binary in the pivot container */
896
+ pivotPath: string;
897
+ /** Arguments to pass to the pivot binary at startup. Encoded as a list of strings, for example ["--foo", "bar"] */
898
+ pivotArgs: string[];
899
+ /** Digest of the pivot binary in the pivot container. This value will be inserted in the QOS manifest to ensure application integrity. */
900
+ expectedPivotDigest: string;
901
+ /** URL of the container containing the host binary */
902
+ hostContainerImageUrl: string;
903
+ /** Location of the binary inside the host container */
904
+ hostPath: string;
905
+ /** Arguments to pass to the host binary at startup. Encoded as a list of strings, for example ["--foo", "bar"] */
906
+ hostArgs: string[];
907
+ /** Optional nonce to ensure uniqueness of the deployment manifest. If not provided, it defaults to the current Unix timestamp in seconds. */
908
+ nonce?: number;
909
+ /** Optional encrypted pull secret to authorize Turnkey to pull the pivot container image. If your image is public, leave this empty. */
910
+ pivotContainerEncryptedPullSecret?: string;
911
+ /** Optional encrypted pull secret to authorize Turnkey to pull the host container image. If your image is public, leave this empty. */
912
+ hostContainerEncryptedPullSecret?: string;
913
+ };
914
+ export type v1CreateTvcDeploymentResult = {
915
+ /** The unique identifier for the TVC deployment */
916
+ deploymentId: string;
917
+ /** The unique identifier for the TVC manifest */
918
+ manifestId: string;
919
+ };
920
+ export type v1CreateTvcManifestApprovalsIntent = {
921
+ /** Unique identifier of the TVC deployment to approve */
922
+ manifestId: string;
923
+ /** List of manifest approvals */
924
+ approvals: v1TvcManifestApproval[];
925
+ };
926
+ export type v1CreateTvcManifestApprovalsResult = {
927
+ /** The unique identifier(s) for the manifest approvals */
928
+ approvalIds: string[];
929
+ };
847
930
  export type v1CreateUserTagIntent = {
848
931
  /** Human-readable name for a User Tag. */
849
932
  userTagName: string;
@@ -938,7 +1021,13 @@ export type v1CredPropsAuthenticationExtensionsClientOutputs = {
938
1021
  rk: boolean;
939
1022
  };
940
1023
  export type v1CredentialType = "CREDENTIAL_TYPE_WEBAUTHN_AUTHENTICATOR" | "CREDENTIAL_TYPE_API_KEY_P256" | "CREDENTIAL_TYPE_RECOVER_USER_KEY_P256" | "CREDENTIAL_TYPE_API_KEY_SECP256K1" | "CREDENTIAL_TYPE_EMAIL_AUTH_KEY_P256" | "CREDENTIAL_TYPE_API_KEY_ED25519" | "CREDENTIAL_TYPE_OTP_AUTH_KEY_P256" | "CREDENTIAL_TYPE_READ_WRITE_SESSION_KEY_P256" | "CREDENTIAL_TYPE_OAUTH_KEY_P256" | "CREDENTIAL_TYPE_LOGIN";
941
- export type v1Curve = "CURVE_SECP256K1" | "CURVE_ED25519";
1024
+ export type v1Curve = "CURVE_SECP256K1" | "CURVE_ED25519" | "CURVE_P256";
1025
+ export type v1CustomRevertError = {
1026
+ /** The name of the custom error. */
1027
+ errorName?: string;
1028
+ /** The decoded parameters as a JSON object. */
1029
+ paramsJson?: string;
1030
+ };
942
1031
  export type v1DeleteApiKeysIntent = {
943
1032
  /** Unique identifier for a given User. */
944
1033
  userId: string;
@@ -1366,15 +1455,6 @@ export type v1EthSendRawTransactionIntent = {
1366
1455
  /** CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet). */
1367
1456
  caip2: string;
1368
1457
  };
1369
- export type v1EthSendRawTransactionRequest = {
1370
- type: string;
1371
- /** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
1372
- timestampMs: string;
1373
- /** Unique identifier for a given Organization. */
1374
- organizationId: string;
1375
- parameters: v1EthSendRawTransactionIntent;
1376
- generateAppProofs?: boolean;
1377
- };
1378
1458
  export type v1EthSendRawTransactionResult = {
1379
1459
  /** The transaction hash of the sent transaction */
1380
1460
  transactionHash: string;
@@ -1413,7 +1493,7 @@ export type v1EthSendTransactionRequest = {
1413
1493
  generateAppProofs?: boolean;
1414
1494
  };
1415
1495
  export type v1EthSendTransactionResult = {
1416
- /** The send_transaction_status ID associated with the transaction submission for sponsored transactions */
1496
+ /** The send_transaction_status ID associated with the transaction submission */
1417
1497
  sendTransactionStatusId: string;
1418
1498
  };
1419
1499
  export type v1EthSendTransactionStatus = {
@@ -1564,16 +1644,6 @@ export type v1GetAppProofsRequest = {
1564
1644
  export type v1GetAppProofsResponse = {
1565
1645
  appProofs: v1AppProof[];
1566
1646
  };
1567
- export type v1GetAttestationDocumentRequest = {
1568
- /** Unique identifier for a given organization. */
1569
- organizationId: string;
1570
- /** The enclave type, one of: ump, notarizer, signer, evm-parser. */
1571
- enclaveType: string;
1572
- };
1573
- export type v1GetAttestationDocumentResponse = {
1574
- /** Raw (CBOR-encoded) attestation document. */
1575
- attestationDocument: string;
1576
- };
1577
1647
  export type v1GetAuthenticatorRequest = {
1578
1648
  /** Unique identifier for a given organization. */
1579
1649
  organizationId: string;
@@ -1675,14 +1745,6 @@ export type v1GetOrganizationConfigsResponse = {
1675
1745
  /** Organization configs including quorum settings and organization features. */
1676
1746
  configs: v1Config;
1677
1747
  };
1678
- export type v1GetOrganizationRequest = {
1679
- /** Unique identifier for a given organization. */
1680
- organizationId: string;
1681
- };
1682
- export type v1GetOrganizationResponse = {
1683
- /** Object representing the full current and deleted / disabled collection of users, policies, private keys, and invitations attributable to a particular organization. */
1684
- organizationData: v1OrganizationData;
1685
- };
1686
1748
  export type v1GetPoliciesRequest = {
1687
1749
  /** Unique identifier for a given organization. */
1688
1750
  organizationId: string;
@@ -1741,6 +1803,8 @@ export type v1GetSendTransactionStatusResponse = {
1741
1803
  eth?: v1EthSendTransactionStatus;
1742
1804
  /** The error encountered when broadcasting or confirming the transaction, if any. */
1743
1805
  txError?: string;
1806
+ /** Structured error information including revert details, if available. */
1807
+ error?: v1TxError;
1744
1808
  };
1745
1809
  export type v1GetSmartContractInterfaceRequest = {
1746
1810
  /** Unique identifier for a given organization. */
@@ -1834,6 +1898,18 @@ export type v1GetWalletAccountsResponse = {
1834
1898
  /** A list of accounts generated from a wallet that share a common seed. */
1835
1899
  accounts: v1WalletAccount[];
1836
1900
  };
1901
+ export type v1GetWalletAddressBalancesRequest = {
1902
+ /** Unique identifier for a given organization. */
1903
+ organizationId: string;
1904
+ /** Address corresponding to a wallet account. */
1905
+ address: string;
1906
+ /** The network identifier in CAIP-2 format (e.g., 'eip155:1' for Ethereum mainnet). */
1907
+ caip2: string;
1908
+ };
1909
+ export type v1GetWalletAddressBalancesResponse = {
1910
+ /** List of asset balances */
1911
+ balances?: v1AssetBalance[];
1912
+ };
1837
1913
  export type v1GetWalletRequest = {
1838
1914
  /** Unique identifier for a given organization. */
1839
1915
  organizationId: string;
@@ -2299,24 +2375,10 @@ export type v1Intent = {
2299
2375
  initOtpIntentV2?: v1InitOtpIntentV2;
2300
2376
  initOtpAuthIntentV3?: v1InitOtpAuthIntentV3;
2301
2377
  upsertGasUsageConfigIntent?: v1UpsertGasUsageConfigIntent;
2302
- };
2303
- export type v1Invitation = {
2304
- /** Unique identifier for a given Invitation object. */
2305
- invitationId: string;
2306
- /** The name of the intended Invitation recipient. */
2307
- receiverUserName: string;
2308
- /** The email address of the intended Invitation recipient. */
2309
- receiverEmail: string;
2310
- /** A list of tags assigned to the Invitation recipient. */
2311
- receiverUserTags: string[];
2312
- /** The User's permissible access method(s). */
2313
- accessType: v1AccessType;
2314
- /** The current processing status of a specified Invitation. */
2315
- status: v1InvitationStatus;
2316
- createdAt: externaldatav1Timestamp;
2317
- updatedAt: externaldatav1Timestamp;
2318
- /** Unique identifier for the Sender of an Invitation. */
2319
- senderUserId: string;
2378
+ createTvcAppIntent?: v1CreateTvcAppIntent;
2379
+ createTvcDeploymentIntent?: v1CreateTvcDeploymentIntent;
2380
+ createTvcManifestApprovalsIntent?: v1CreateTvcManifestApprovalsIntent;
2381
+ solSendTransactionIntent?: v1SolSendTransactionIntent;
2320
2382
  };
2321
2383
  export type v1InvitationParams = {
2322
2384
  /** The name of the intended Invitation recipient. */
@@ -2330,7 +2392,6 @@ export type v1InvitationParams = {
2330
2392
  /** Unique identifier for the Sender of an Invitation. */
2331
2393
  senderUserId: string;
2332
2394
  };
2333
- export type v1InvitationStatus = "INVITATION_STATUS_CREATED" | "INVITATION_STATUS_ACCEPTED" | "INVITATION_STATUS_REVOKED";
2334
2395
  export type v1ListFiatOnRampCredentialsRequest = {
2335
2396
  /** Unique identifier for a given Organization. */
2336
2397
  organizationId: string;
@@ -2353,6 +2414,15 @@ export type v1ListPrivateKeyTagsResponse = {
2353
2414
  /** A list of private key tags. */
2354
2415
  privateKeyTags: datav1Tag[];
2355
2416
  };
2417
+ export type v1ListSupportedAssetsRequest = {
2418
+ /** Unique identifier for a given organization. */
2419
+ organizationId: string;
2420
+ /** The network identifier in CAIP-2 format (e.g., 'eip155:1' for Ethereum mainnet). */
2421
+ caip2: string;
2422
+ };
2423
+ export type v1ListSupportedAssetsResponse = {
2424
+ assets?: v1AssetMetadata[];
2425
+ };
2356
2426
  export type v1ListUserTagsRequest = {
2357
2427
  /** Unique identifier for a given organization. */
2358
2428
  organizationId: string;
@@ -2370,6 +2440,14 @@ export type v1NOOPCodegenAnchorResponse = {
2370
2440
  stamp: v1WebAuthnStamp;
2371
2441
  tokenUsage?: v1TokenUsage;
2372
2442
  };
2443
+ export type v1NativeRevertError = {
2444
+ /** The type of native error: 'error_string', 'panic', or 'execution_reverted'. */
2445
+ nativeType?: string;
2446
+ /** The error message for Error(string) reverts. */
2447
+ message?: string;
2448
+ /** The panic code for Panic(uint256) reverts. */
2449
+ panicCode?: string;
2450
+ };
2373
2451
  export type v1Oauth2AuthenticateIntent = {
2374
2452
  /** The OAuth 2.0 credential id whose client_id and client_secret will be used in the OAuth 2.0 flow */
2375
2453
  oauth2CredentialId: string;
@@ -2485,19 +2563,6 @@ export type v1OauthResult = {
2485
2563
  credentialBundle: string;
2486
2564
  };
2487
2565
  export type v1Operator = "OPERATOR_EQUAL" | "OPERATOR_MORE_THAN" | "OPERATOR_MORE_THAN_OR_EQUAL" | "OPERATOR_LESS_THAN" | "OPERATOR_LESS_THAN_OR_EQUAL" | "OPERATOR_CONTAINS" | "OPERATOR_NOT_EQUAL" | "OPERATOR_IN" | "OPERATOR_NOT_IN" | "OPERATOR_CONTAINS_ONE" | "OPERATOR_CONTAINS_ALL";
2488
- export type v1OrganizationData = {
2489
- organizationId?: string;
2490
- name?: string;
2491
- users?: v1User[];
2492
- policies?: v1Policy[];
2493
- privateKeys?: v1PrivateKey[];
2494
- invitations?: v1Invitation[];
2495
- tags?: datav1Tag[];
2496
- rootQuorum?: externaldatav1Quorum;
2497
- features?: v1Feature[];
2498
- wallets?: v1Wallet[];
2499
- smartContractInterfaceReferences?: v1SmartContractInterfaceReference[];
2500
- };
2501
2566
  export type v1OtpAuthIntent = {
2502
2567
  /** ID representing the result of an init OTP activity. */
2503
2568
  otpId: string;
@@ -2767,6 +2832,24 @@ export type v1Result = {
2767
2832
  deleteFiatOnRampCredentialResult?: v1DeleteFiatOnRampCredentialResult;
2768
2833
  ethSendTransactionResult?: v1EthSendTransactionResult;
2769
2834
  upsertGasUsageConfigResult?: v1UpsertGasUsageConfigResult;
2835
+ createTvcAppResult?: v1CreateTvcAppResult;
2836
+ createTvcDeploymentResult?: v1CreateTvcDeploymentResult;
2837
+ createTvcManifestApprovalsResult?: v1CreateTvcManifestApprovalsResult;
2838
+ solSendTransactionResult?: v1SolSendTransactionResult;
2839
+ };
2840
+ export type v1RevertChainEntry = {
2841
+ /** The contract address where the revert occurred. */
2842
+ address?: string;
2843
+ /** Type of error: 'unknown', 'native', or 'custom'. */
2844
+ errorType?: string;
2845
+ /** Human-readable message describing this revert. */
2846
+ displayMessage?: string;
2847
+ /** Details for unknown error types. */
2848
+ unknown?: v1UnknownRevertError;
2849
+ /** Details for native Solidity errors (Error, Panic, execution reverted). */
2850
+ native?: v1NativeRevertError;
2851
+ /** Details for custom contract errors. */
2852
+ custom?: v1CustomRevertError;
2770
2853
  };
2771
2854
  export type v1RootUserParams = {
2772
2855
  /** Human-readable name for a User. */
@@ -2942,16 +3025,36 @@ export type v1SimpleClientExtensionResults = {
2942
3025
  appidExclude?: boolean;
2943
3026
  credProps?: v1CredPropsAuthenticationExtensionsClientOutputs;
2944
3027
  };
2945
- export type v1SmartContractInterfaceReference = {
2946
- smartContractInterfaceId?: string;
2947
- smartContractAddress?: string;
2948
- digest?: string;
2949
- };
2950
3028
  export type v1SmartContractInterfaceType = "SMART_CONTRACT_INTERFACE_TYPE_ETHEREUM" | "SMART_CONTRACT_INTERFACE_TYPE_SOLANA";
2951
3029
  export type v1SmsCustomizationParams = {
2952
3030
  /** Template containing references to .OtpCode i.e Your OTP is {{.OtpCode}} */
2953
3031
  template?: string;
2954
3032
  };
3033
+ export type v1SolSendTransactionIntent = {
3034
+ /** Base64-encoded serialized unsigned Solana transaction */
3035
+ unsignedTransaction: string;
3036
+ /** A wallet or private key address to sign with. This does not support private key IDs. */
3037
+ signWith: string;
3038
+ /** Whether to sponsor this transaction via Gas Station. */
3039
+ sponsor?: boolean;
3040
+ /** CAIP-2 chain ID (e.g., 'solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp' for Solana mainnet). */
3041
+ caip2: string;
3042
+ /** user-provided blockhash for replay protection / deadline control. If omitted and sponsor=true, we fetch a fresh blockhash during execution */
3043
+ recentBlockhash?: string;
3044
+ };
3045
+ export type v1SolSendTransactionRequest = {
3046
+ type: string;
3047
+ /** Timestamp (in milliseconds) of the request, used to verify liveness of user requests. */
3048
+ timestampMs: string;
3049
+ /** Unique identifier for a given Organization. */
3050
+ organizationId: string;
3051
+ parameters: v1SolSendTransactionIntent;
3052
+ generateAppProofs?: boolean;
3053
+ };
3054
+ export type v1SolSendTransactionResult = {
3055
+ /** The send_transaction_status ID associated with the transaction submission */
3056
+ sendTransactionStatusId: string;
3057
+ };
2955
3058
  export type v1StampLoginIntent = {
2956
3059
  /** Client-side public key generated by the user, which will be conditionally added to org data based on the passkey stamp associated with this request */
2957
3060
  publicKey: string;
@@ -2974,15 +3077,6 @@ export type v1StampLoginResult = {
2974
3077
  session: string;
2975
3078
  };
2976
3079
  export type v1TagType = "TAG_TYPE_USER" | "TAG_TYPE_PRIVATE_KEY";
2977
- export type v1TestRateLimitsRequest = {
2978
- /** Unique identifier for a given organization. If the request is being made by a WebAuthN user and their sub-organization ID is unknown, this can be the parent organization ID; using the sub-organization ID when possible is preferred due to performance reasons. */
2979
- organizationId: string;
2980
- /** Whether or not to set a limit on this request. */
2981
- isSetLimit: boolean;
2982
- /** Rate limit to set for org, if is_set_limit is set to true. */
2983
- limit: number;
2984
- };
2985
- export type v1TestRateLimitsResponse = {};
2986
3080
  export type v1TokenUsage = {
2987
3081
  /** Type of token usage */
2988
3082
  type: v1UsageType;
@@ -2991,7 +3085,41 @@ export type v1TokenUsage = {
2991
3085
  signup?: v1SignupUsage;
2992
3086
  login?: v1LoginUsage;
2993
3087
  };
2994
- export type v1TransactionType = "TRANSACTION_TYPE_ETHEREUM" | "TRANSACTION_TYPE_SOLANA" | "TRANSACTION_TYPE_TRON" | "TRANSACTION_TYPE_BITCOIN";
3088
+ export type v1TransactionType = "TRANSACTION_TYPE_ETHEREUM" | "TRANSACTION_TYPE_SOLANA" | "TRANSACTION_TYPE_TRON" | "TRANSACTION_TYPE_BITCOIN" | "TRANSACTION_TYPE_TEMPO";
3089
+ export type v1TvcManifestApproval = {
3090
+ /** Unique identifier of the operator providing this approval */
3091
+ operatorId: string;
3092
+ /** Signature from the operator approving the manifest */
3093
+ signature: string;
3094
+ };
3095
+ export type v1TvcOperatorParams = {
3096
+ /** The name for this new operator */
3097
+ name: string;
3098
+ /** Public key for this operator */
3099
+ publicKey: string;
3100
+ };
3101
+ export type v1TvcOperatorSetParams = {
3102
+ /** Short description for this new operator set */
3103
+ name: string;
3104
+ /** Operators to create as part of this new operator set */
3105
+ newOperators?: v1TvcOperatorParams[];
3106
+ /** Existing operators to use as part of this new operator set */
3107
+ existingOperatorIds?: string[];
3108
+ /** The threshold of operators needed to reach consensus in this new Operator Set */
3109
+ threshold: number;
3110
+ };
3111
+ export type v1TxError = {
3112
+ /** Human-readable error message describing what went wrong. */
3113
+ message?: string;
3114
+ /** Chain of revert errors from nested contract calls, ordered from outermost to innermost. */
3115
+ revertChain?: v1RevertChainEntry[];
3116
+ };
3117
+ export type v1UnknownRevertError = {
3118
+ /** The 4-byte error selector, if available. */
3119
+ selector?: string;
3120
+ /** The raw error data, hex-encoded. */
3121
+ data?: string;
3122
+ };
2995
3123
  export type v1UpdateAllowedOriginsIntent = {
2996
3124
  /** Additional origins requests are allowed from besides Turnkey origins */
2997
3125
  allowedOrigins: string[];
@@ -3304,6 +3432,8 @@ export type v1UpsertGasUsageConfigIntent = {
3304
3432
  subOrgWindowLimitUsd: string;
3305
3433
  /** Rolling sponsorship window duration, expressed in minutes. */
3306
3434
  windowDurationMinutes: string;
3435
+ /** Whether gas sponsorship is enabled for the organization. */
3436
+ enabled?: boolean;
3307
3437
  };
3308
3438
  export type v1UpsertGasUsageConfigResult = {
3309
3439
  /** Unique identifier for the gas usage configuration that was created or updated. */
@@ -3528,18 +3658,6 @@ export type TGetApiKeysBody = {
3528
3658
  export type TGetApiKeysInput = {
3529
3659
  body: TGetApiKeysBody;
3530
3660
  };
3531
- export type TGetAttestationDocumentResponse = {
3532
- /** Raw (CBOR-encoded) attestation document. */
3533
- attestationDocument: string;
3534
- };
3535
- export type TGetAttestationDocumentBody = {
3536
- organizationId?: string;
3537
- /** The enclave type, one of: ump, notarizer, signer, evm-parser. */
3538
- enclaveType: string;
3539
- };
3540
- export type TGetAttestationDocumentInput = {
3541
- body: TGetAttestationDocumentBody;
3542
- };
3543
3661
  export type TGetAuthenticatorResponse = {
3544
3662
  /** An authenticator. */
3545
3663
  authenticator: v1Authenticator;
@@ -3657,16 +3775,6 @@ export type TGetOnRampTransactionStatusBody = {
3657
3775
  export type TGetOnRampTransactionStatusInput = {
3658
3776
  body: TGetOnRampTransactionStatusBody;
3659
3777
  };
3660
- export type TGetOrganizationResponse = {
3661
- /** Object representing the full current and deleted / disabled collection of users, policies, private keys, and invitations attributable to a particular organization. */
3662
- organizationData: v1OrganizationData;
3663
- };
3664
- export type TGetOrganizationBody = {
3665
- organizationId?: string;
3666
- };
3667
- export type TGetOrganizationInput = {
3668
- body: TGetOrganizationBody;
3669
- };
3670
3778
  export type TGetOrganizationConfigsResponse = {
3671
3779
  /** Organization configs including quorum settings and organization features. */
3672
3780
  configs: v1Config;
@@ -3719,6 +3827,8 @@ export type TGetSendTransactionStatusResponse = {
3719
3827
  eth?: v1EthSendTransactionStatus;
3720
3828
  /** The error encountered when broadcasting or confirming the transaction, if any. */
3721
3829
  txError?: string;
3830
+ /** Structured error information including revert details, if available. */
3831
+ error?: v1TxError;
3722
3832
  };
3723
3833
  export type TGetSendTransactionStatusBody = {
3724
3834
  organizationId?: string;
@@ -3780,6 +3890,20 @@ export type TGetWalletAccountBody = {
3780
3890
  export type TGetWalletAccountInput = {
3781
3891
  body: TGetWalletAccountBody;
3782
3892
  };
3893
+ export type TGetWalletAddressBalancesResponse = {
3894
+ /** List of asset balances */
3895
+ balances?: v1AssetBalance[];
3896
+ };
3897
+ export type TGetWalletAddressBalancesBody = {
3898
+ organizationId?: string;
3899
+ /** Address corresponding to a wallet account. */
3900
+ address: string;
3901
+ /** The network identifier in CAIP-2 format (e.g., 'eip155:1' for Ethereum mainnet). */
3902
+ caip2: string;
3903
+ };
3904
+ export type TGetWalletAddressBalancesInput = {
3905
+ body: TGetWalletAddressBalancesBody;
3906
+ };
3783
3907
  export type TGetActivitiesResponse = {
3784
3908
  /** A list of activities. */
3785
3909
  activities: v1Activity[];
@@ -3881,6 +4005,17 @@ export type TGetSubOrgIdsBody = {
3881
4005
  export type TGetSubOrgIdsInput = {
3882
4006
  body: TGetSubOrgIdsBody;
3883
4007
  };
4008
+ export type TListSupportedAssetsResponse = {
4009
+ assets?: v1AssetMetadata[];
4010
+ };
4011
+ export type TListSupportedAssetsBody = {
4012
+ organizationId?: string;
4013
+ /** The network identifier in CAIP-2 format (e.g., 'eip155:1' for Ethereum mainnet). */
4014
+ caip2: string;
4015
+ };
4016
+ export type TListSupportedAssetsInput = {
4017
+ body: TListSupportedAssetsBody;
4018
+ };
3884
4019
  export type TListUserTagsResponse = {
3885
4020
  /** A list of user tags. */
3886
4021
  userTags: datav1Tag[];
@@ -3987,20 +4122,6 @@ export type TCreateApiKeysBody = {
3987
4122
  export type TCreateApiKeysInput = {
3988
4123
  body: TCreateApiKeysBody;
3989
4124
  };
3990
- export type TCreateApiOnlyUsersResponse = {
3991
- activity: v1Activity;
3992
- /** A list of API-only User IDs. */
3993
- userIds: string[];
3994
- };
3995
- export type TCreateApiOnlyUsersBody = {
3996
- timestampMs?: string;
3997
- organizationId?: string;
3998
- /** A list of API-only Users to create. */
3999
- apiOnlyUsers: v1ApiOnlyUserParams[];
4000
- };
4001
- export type TCreateApiOnlyUsersInput = {
4002
- body: TCreateApiOnlyUsersBody;
4003
- };
4004
4125
  export type TCreateAuthenticatorsResponse = {
4005
4126
  activity: v1Activity;
4006
4127
  /** A list of Authenticator IDs. */
@@ -4607,25 +4728,9 @@ export type TEmailAuthBody = {
4607
4728
  export type TEmailAuthInput = {
4608
4729
  body: TEmailAuthBody;
4609
4730
  };
4610
- export type TEthSendRawTransactionResponse = {
4611
- activity: v1Activity;
4612
- /** The transaction hash of the sent transaction */
4613
- transactionHash: string;
4614
- };
4615
- export type TEthSendRawTransactionBody = {
4616
- timestampMs?: string;
4617
- organizationId?: string;
4618
- /** The raw, signed transaction to be sent. */
4619
- signedTransaction: string;
4620
- /** CAIP-2 chain ID (e.g., 'eip155:1' for Ethereum mainnet). */
4621
- caip2: string;
4622
- };
4623
- export type TEthSendRawTransactionInput = {
4624
- body: TEthSendRawTransactionBody;
4625
- };
4626
4731
  export type TEthSendTransactionResponse = {
4627
4732
  activity: v1Activity;
4628
- /** The send_transaction_status ID associated with the transaction submission for sponsored transactions */
4733
+ /** The send_transaction_status ID associated with the transaction submission */
4629
4734
  sendTransactionStatusId: string;
4630
4735
  };
4631
4736
  export type TEthSendTransactionBody = {
@@ -5160,6 +5265,28 @@ export type TSignTransactionBody = {
5160
5265
  export type TSignTransactionInput = {
5161
5266
  body: TSignTransactionBody;
5162
5267
  };
5268
+ export type TSolSendTransactionResponse = {
5269
+ activity: v1Activity;
5270
+ /** The send_transaction_status ID associated with the transaction submission */
5271
+ sendTransactionStatusId: string;
5272
+ };
5273
+ export type TSolSendTransactionBody = {
5274
+ timestampMs?: string;
5275
+ organizationId?: string;
5276
+ /** Base64-encoded serialized unsigned Solana transaction */
5277
+ unsignedTransaction: string;
5278
+ /** A wallet or private key address to sign with. This does not support private key IDs. */
5279
+ signWith: string;
5280
+ /** Whether to sponsor this transaction via Gas Station. */
5281
+ sponsor?: boolean;
5282
+ /** CAIP-2 chain ID (e.g., 'solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp' for Solana mainnet). */
5283
+ caip2: string;
5284
+ /** user-provided blockhash for replay protection / deadline control. If omitted and sponsor=true, we fetch a fresh blockhash during execution */
5285
+ recentBlockhash?: string;
5286
+ };
5287
+ export type TSolSendTransactionInput = {
5288
+ body: TSolSendTransactionBody;
5289
+ };
5163
5290
  export type TStampLoginResponse = {
5164
5291
  activity: v1Activity;
5165
5292
  /** Signed JWT containing an expiry, public key, session type, user id, and organization id */
@@ -5413,17 +5540,6 @@ export type TVerifyOtpInput = {
5413
5540
  export type TNOOPCodegenAnchorResponse = {
5414
5541
  activity: v1Activity;
5415
5542
  };
5416
- export type TTestRateLimitsResponse = {};
5417
- export type TTestRateLimitsBody = {
5418
- organizationId?: string;
5419
- /** Whether or not to set a limit on this request. */
5420
- isSetLimit: boolean;
5421
- /** Rate limit to set for org, if is_set_limit is set to true. */
5422
- limit: number;
5423
- };
5424
- export type TTestRateLimitsInput = {
5425
- body: TTestRateLimitsBody;
5426
- };
5427
5543
  export type ProxyTGetAccountResponse = {
5428
5544
  organizationId?: string;
5429
5545
  };