@privy-io/api-types 0.21.0 → 0.22.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.
Files changed (72) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/client.d.mts +10 -10
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +10 -10
  5. package/client.d.ts.map +1 -1
  6. package/client.js.map +1 -1
  7. package/client.mjs.map +1 -1
  8. package/package.json +1 -1
  9. package/resources/cards.d.mts +22 -9
  10. package/resources/cards.d.mts.map +1 -1
  11. package/resources/cards.d.ts +22 -9
  12. package/resources/cards.d.ts.map +1 -1
  13. package/resources/index.d.mts +5 -5
  14. package/resources/index.d.mts.map +1 -1
  15. package/resources/index.d.ts +5 -5
  16. package/resources/index.d.ts.map +1 -1
  17. package/resources/index.js.map +1 -1
  18. package/resources/index.mjs.map +1 -1
  19. package/resources/shared.d.mts +23 -1
  20. package/resources/shared.d.mts.map +1 -1
  21. package/resources/shared.d.ts +23 -1
  22. package/resources/shared.d.ts.map +1 -1
  23. package/resources/swaps.d.mts +2 -1
  24. package/resources/swaps.d.mts.map +1 -1
  25. package/resources/swaps.d.ts +2 -1
  26. package/resources/swaps.d.ts.map +1 -1
  27. package/resources/wallet-automations.d.mts +95 -3
  28. package/resources/wallet-automations.d.mts.map +1 -1
  29. package/resources/wallet-automations.d.ts +95 -3
  30. package/resources/wallet-automations.d.ts.map +1 -1
  31. package/resources/wallet-automations.js.map +1 -1
  32. package/resources/wallet-automations.mjs.map +1 -1
  33. package/resources/wallets/actions.d.mts +37 -4
  34. package/resources/wallets/actions.d.mts.map +1 -1
  35. package/resources/wallets/actions.d.ts +37 -4
  36. package/resources/wallets/actions.d.ts.map +1 -1
  37. package/resources/wallets/balance.d.mts +1 -1
  38. package/resources/wallets/balance.d.mts.map +1 -1
  39. package/resources/wallets/balance.d.ts +1 -1
  40. package/resources/wallets/balance.d.ts.map +1 -1
  41. package/resources/wallets/index.d.mts +2 -2
  42. package/resources/wallets/index.d.mts.map +1 -1
  43. package/resources/wallets/index.d.ts +2 -2
  44. package/resources/wallets/index.d.ts.map +1 -1
  45. package/resources/wallets/index.js.map +1 -1
  46. package/resources/wallets/index.mjs.map +1 -1
  47. package/resources/wallets/wallets.d.mts +150 -15
  48. package/resources/wallets/wallets.d.mts.map +1 -1
  49. package/resources/wallets/wallets.d.ts +150 -15
  50. package/resources/wallets/wallets.d.ts.map +1 -1
  51. package/resources/wallets/wallets.js.map +1 -1
  52. package/resources/wallets/wallets.mjs.map +1 -1
  53. package/resources/webhooks.d.mts +9 -2
  54. package/resources/webhooks.d.mts.map +1 -1
  55. package/resources/webhooks.d.ts +9 -2
  56. package/resources/webhooks.d.ts.map +1 -1
  57. package/src/client.ts +44 -0
  58. package/src/resources/cards.ts +24 -8
  59. package/src/resources/index.ts +22 -0
  60. package/src/resources/shared.ts +32 -0
  61. package/src/resources/swaps.ts +2 -1
  62. package/src/resources/wallet-automations.ts +114 -2
  63. package/src/resources/wallets/actions.ts +45 -3
  64. package/src/resources/wallets/balance.ts +9 -0
  65. package/src/resources/wallets/index.ts +12 -0
  66. package/src/resources/wallets/wallets.ts +195 -11
  67. package/src/resources/webhooks.ts +12 -1
  68. package/src/version.ts +1 -1
  69. package/version.d.mts +1 -1
  70. package/version.d.ts +1 -1
  71. package/version.js +1 -1
  72. package/version.mjs +1 -1
@@ -57,7 +57,7 @@ export interface CardIssuingCardResponse {
57
57
  id: string;
58
58
 
59
59
  /**
60
- * The asset the card funds from. 'usdc' on EVM and Solana, 'path_usd' on Tempo.
60
+ * The asset the card funds from. 'usdc' on EVM and Solana, 'pathusd' on Tempo.
61
61
  */
62
62
  asset: string;
63
63
 
@@ -163,7 +163,7 @@ export interface CardIssuingConfigResponse {
163
163
  */
164
164
  export interface CardIssuingCreateCardInput {
165
165
  /**
166
- * The asset to fund the card. Must be 'usdc' on EVM and Solana, or 'path_usd' on
166
+ * The asset to fund the card. Must be 'usdc' on EVM and Solana, or 'pathusd' on
167
167
  * Tempo.
168
168
  */
169
169
  asset: string;
@@ -431,6 +431,16 @@ export interface CardIssuingMerchant {
431
431
  name: string | null;
432
432
  }
433
433
 
434
+ /**
435
+ * Encrypted PIN to set on the card.
436
+ */
437
+ export interface CardIssuingPinUpdate {
438
+ /**
439
+ * The PIN, encrypted with the Stripe Issuing key.
440
+ */
441
+ encrypted_number: string;
442
+ }
443
+
434
444
  /**
435
445
  * Input for replacing a lost, stolen, or expired card.
436
446
  */
@@ -504,7 +514,7 @@ export interface CardIssuingTransactionsResponse {
504
514
  }
505
515
 
506
516
  /**
507
- * Input for updating the status of a card.
517
+ * Input for updating a card.
508
518
  */
509
519
  export interface CardIssuingUpdateCardInput {
510
520
  /**
@@ -513,15 +523,20 @@ export interface CardIssuingUpdateCardInput {
513
523
  environment: SharedAPI.IntegrationEnvironment;
514
524
 
515
525
  /**
516
- * Lifecycle status of a card. Active unfreezes the card, inactive freezes it, and
517
- * canceled closes it.
526
+ * Why a lost or stolen card is being canceled.
518
527
  */
519
- status: CardIssuingCardStatus;
528
+ cancellation_reason?: CardIssuingCancellationReason;
520
529
 
521
530
  /**
522
- * Why a lost or stolen card is being canceled.
531
+ * Encrypted PIN to set on the card.
523
532
  */
524
- cancellation_reason?: CardIssuingCancellationReason;
533
+ pin?: CardIssuingPinUpdate;
534
+
535
+ /**
536
+ * Lifecycle status of a card. Active unfreezes the card, inactive freezes it, and
537
+ * canceled closes it.
538
+ */
539
+ status?: CardIssuingCardStatus;
525
540
  }
526
541
 
527
542
  export declare namespace Cards {
@@ -559,6 +574,7 @@ export declare namespace Cards {
559
574
  type CardIssuingListCardsInput as CardIssuingListCardsInput,
560
575
  type CardIssuingListTransactionsInput as CardIssuingListTransactionsInput,
561
576
  type CardIssuingMerchant as CardIssuingMerchant,
577
+ type CardIssuingPinUpdate as CardIssuingPinUpdate,
562
578
  type CardIssuingReplaceCardRequestBody as CardIssuingReplaceCardRequestBody,
563
579
  type CardIssuingReplacementReason as CardIssuingReplacementReason,
564
580
  type CardIssuingStatementQueryParams as CardIssuingStatementQueryParams,
@@ -105,6 +105,7 @@ export {
105
105
  type CardIssuingListCardsInput,
106
106
  type CardIssuingListTransactionsInput,
107
107
  type CardIssuingMerchant,
108
+ type CardIssuingPinUpdate,
108
109
  type CardIssuingReplaceCardRequestBody,
109
110
  type CardIssuingReplacementReason,
110
111
  type CardIssuingStatementQueryParams,
@@ -663,9 +664,12 @@ export {
663
664
  export {
664
665
  Shared,
665
666
  type BitcoinAddress,
667
+ type BitcoinCaip2,
668
+ type Bps,
666
669
  type CurrencyAmount,
667
670
  type IntegrationEnvironment,
668
671
  type EvmAddress,
672
+ type EvmCaip2,
669
673
  type EvmChecksumAddress,
670
674
  type HyperliquidTokenAddress,
671
675
  type KeyQuorumID,
@@ -676,9 +680,11 @@ export {
676
680
  type OwnerInputUser,
677
681
  type P256PublicKey,
678
682
  type SolanaAddress,
683
+ type SolanaCaip2,
679
684
  type SuccessResponse,
680
685
  type TokenIdentifier,
681
686
  type TronAddress,
687
+ type TronCaip2,
682
688
  type TronHexAddress,
683
689
  } from './shared';
684
690
  export {
@@ -817,6 +823,11 @@ export {
817
823
  type WalletAutomationExecutionResponse,
818
824
  type WalletAutomationExecutionStatus,
819
825
  type WalletAutomationListResponse,
826
+ type WalletAutomationReindexAssetResult,
827
+ type WalletAutomationReindexAssetStatus,
828
+ type WalletAutomationReindexCaip2,
829
+ type WalletAutomationReindexRequestBody,
830
+ type WalletAutomationReindexResponse,
820
831
  type WalletAutomationResponse,
821
832
  type WalletAutomationStatus,
822
833
  type WalletAutomationSuccessResponse,
@@ -840,6 +851,7 @@ export {
840
851
  type AptosSignTransactionRpcResponseData,
841
852
  type AptosSignedTransactionBcsHex,
842
853
  type AttachWalletAutomationRequestBody,
854
+ type AttachedWalletAutomation,
843
855
  type AuthorizationKeyDashboardResponse,
844
856
  type AuthorizationKeyResponse,
845
857
  type AuthorizationKeyRole,
@@ -847,6 +859,11 @@ export {
847
859
  type CreateCryptoDepositAccountResponse,
848
860
  type CreateCryptoDepositAccountWithConfigRequestBody,
849
861
  type CreateCryptoDepositAccountWithRouteRequestBody,
862
+ type CryptoDepositAccountCaip2,
863
+ type CryptoDepositAccountChain,
864
+ type CryptoDepositAccountConfigResponse,
865
+ type CryptoDepositAccountSourceChain,
866
+ type CryptoDepositAccountSourceCurrency,
850
867
  type CryptoDepositAddressRoute,
851
868
  type CryptoDepositAsset,
852
869
  type CryptoDepositAssetFilter,
@@ -856,6 +873,7 @@ export {
856
873
  type CurveSigningChainType,
857
874
  type CurveType,
858
875
  type CustodialWallet,
876
+ type CustodialWalletChain,
859
877
  type CustodialWalletChainType,
860
878
  type CustodialWalletCreateInput,
861
879
  type CustodialWalletProvider,
@@ -914,6 +932,8 @@ export {
914
932
  type FirstClassChainType,
915
933
  type Gas,
916
934
  type GetByWalletAddressRequestBody,
935
+ type GetCryptoDepositAccountNextOrderResponse,
936
+ type GetCryptoDepositAccountOrderResponse,
917
937
  type HDInitInput,
918
938
  type HDPath,
919
939
  type HDSubmitInput,
@@ -922,6 +942,7 @@ export {
922
942
  type HpkeImportConfig,
923
943
  type Hex,
924
944
  type IntentBinding,
945
+ type ListCryptoDepositAccountsResponse,
925
946
  type NamedTokenTransferSource,
926
947
  type NearRpcRequestBody,
927
948
  type NearRpcResponse,
@@ -1218,6 +1239,7 @@ export {
1218
1239
  type WalletArchivedWebhookPayload,
1219
1240
  type WalletAutomationSubmittedWebhookPayload,
1220
1241
  type WalletFundsAsset,
1242
+ type WalletFundsBtknAsset,
1221
1243
  type WalletFundsErc20Asset,
1222
1244
  type WalletFundsNativeTokenAsset,
1223
1245
  type WalletFundsSacAsset,
@@ -9,6 +9,17 @@ export class Shared extends APIResource {}
9
9
  */
10
10
  export type BitcoinAddress = string;
11
11
 
12
+ /**
13
+ * Bitcoin CAIP-2 chain identifier (e.g.
14
+ * "bip122:000000000019d6689c085ae165831e93").
15
+ */
16
+ export type BitcoinCaip2 = 'bip122:mainnet' | (string & {});
17
+
18
+ /**
19
+ * Value in basis points: integer from 0 to 10000 (0% to 100%).
20
+ */
21
+ export type Bps = number;
22
+
12
23
  /**
13
24
  * A monetary value with its currency denomination.
14
25
  */
@@ -34,6 +45,12 @@ export type IntegrationEnvironment = 'sandbox' | 'production';
34
45
  */
35
46
  export type EvmAddress = string;
36
47
 
48
+ /**
49
+ * EVM CAIP-2 chain identifier (e.g. "eip155:4217" for Tempo, "eip155:1" for
50
+ * Ethereum).
51
+ */
52
+ export type EvmCaip2 = string;
53
+
37
54
  /**
38
55
  * EVM address normalized to EIP-55 checksum case.
39
56
  */
@@ -95,6 +112,11 @@ export type P256PublicKey = string;
95
112
  */
96
113
  export type SolanaAddress = string;
97
114
 
115
+ /**
116
+ * Solana CAIP-2 chain identifier (e.g. "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp").
117
+ */
118
+ export type SolanaCaip2 = string;
119
+
98
120
  /**
99
121
  * A simple success response.
100
122
  */
@@ -114,6 +136,11 @@ export type TokenIdentifier = string;
114
136
  */
115
137
  export type TronAddress = string;
116
138
 
139
+ /**
140
+ * Tron CAIP-2 chain identifier. Supported values: "tron:mainnet", "tron:nile".
141
+ */
142
+ export type TronCaip2 = 'tron:mainnet' | 'tron:nile';
143
+
117
144
  /**
118
145
  * Tron address in hex format: 41-prefixed, 42 hex characters (21 bytes), no 0x
119
146
  * prefix.
@@ -123,9 +150,12 @@ export type TronHexAddress = string;
123
150
  export declare namespace Shared {
124
151
  export {
125
152
  type BitcoinAddress as BitcoinAddress,
153
+ type BitcoinCaip2 as BitcoinCaip2,
154
+ type Bps as Bps,
126
155
  type CurrencyAmount as CurrencyAmount,
127
156
  type IntegrationEnvironment as IntegrationEnvironment,
128
157
  type EvmAddress as EvmAddress,
158
+ type EvmCaip2 as EvmCaip2,
129
159
  type EvmChecksumAddress as EvmChecksumAddress,
130
160
  type HyperliquidTokenAddress as HyperliquidTokenAddress,
131
161
  type KeyQuorumID as KeyQuorumID,
@@ -136,9 +166,11 @@ export declare namespace Shared {
136
166
  type OwnerInputUser as OwnerInputUser,
137
167
  type P256PublicKey as P256PublicKey,
138
168
  type SolanaAddress as SolanaAddress,
169
+ type SolanaCaip2 as SolanaCaip2,
139
170
  type SuccessResponse as SuccessResponse,
140
171
  type TokenIdentifier as TokenIdentifier,
141
172
  type TronAddress as TronAddress,
173
+ type TronCaip2 as TronCaip2,
142
174
  type TronHexAddress as TronHexAddress,
143
175
  };
144
176
  }
@@ -22,7 +22,8 @@ export interface SwapDestination {
22
22
 
23
23
  /**
24
24
  * Address to receive the output tokens. Defaults to the swapping wallet address.
25
- * Required when swapping between different chain types (e.g. EVM to Solana).
25
+ * Required when swapping between chains with different address types (e.g. EVM to
26
+ * Solana) and for same-asset transfers.
26
27
  */
27
28
  destination_address?: string;
28
29
  }
@@ -1,6 +1,7 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
3
  import { APIResource } from '../core/resource';
4
+ import * as SharedAPI from './shared';
4
5
 
5
6
  export class WalletAutomations extends APIResource {}
6
7
 
@@ -77,7 +78,10 @@ export interface AutomationAssetFilterInputInclude {
77
78
  }
78
79
 
79
80
  /**
80
- * An asset identified by contract address, scoped to a chain via CAIP-2.
81
+ * An asset identified by contract address on a specific chain (CAIP-2). Either
82
+ * field may be "_": asset_address: "_" matches any asset on the chain; caip2: "\*"
83
+ * matches the asset on any chain (in this case asset_address holds the asset
84
+ * symbol id, e.g. "usdc" or "eth", not a contract address).
81
85
  */
82
86
  export interface AutomationAssetSpec {
83
87
  asset_address: string;
@@ -88,7 +92,10 @@ export interface AutomationAssetSpec {
88
92
  /**
89
93
  * An asset spec accepting either raw identifiers (asset_address, caip2) or
90
94
  * human-readable aliases (asset, chain). Exactly one of asset_address or asset
91
- * must be provided; at most one of caip2 or chain may be provided.
95
+ * must be provided; at most one of caip2 or chain may be provided. Use "_" for
96
+ * asset_address or asset to match any asset on a given chain (chain is then
97
+ * required). Omitting chain/caip2 (or passing "_" for either) matches the
98
+ * specified asset on any chain.
92
99
  */
93
100
  export interface AutomationAssetSpecInput extends AutomationAssetSpec {
94
101
  asset?: string;
@@ -276,6 +283,11 @@ export interface UpdateAutomationRequestBody {
276
283
  enabled?: boolean;
277
284
 
278
285
  name?: string | null;
286
+
287
+ /**
288
+ * A unique identifier for a key quorum.
289
+ */
290
+ owner_id?: SharedAPI.KeyQuorumID | null;
279
291
  }
280
292
 
281
293
  /**
@@ -339,6 +351,101 @@ export interface WalletAutomationListResponse {
339
351
  next_cursor: string | null;
340
352
  }
341
353
 
354
+ /**
355
+ * The outcome of checking one asset on the requested chain during a reindex.
356
+ */
357
+ export interface WalletAutomationReindexAssetResult {
358
+ /**
359
+ * Asset contract address; the native asset uses `native`.
360
+ */
361
+ asset_address: string;
362
+
363
+ /**
364
+ * An EVM, Solana, or Tron CAIP-2 chain identifier supported by wallet automation
365
+ * reindex.
366
+ */
367
+ caip2: WalletAutomationReindexCaip2;
368
+
369
+ /**
370
+ * ID of the in-flight execution blocking a re-trigger. Populated only when
371
+ * `status` is `skipped_existing_execution`; `null` otherwise.
372
+ */
373
+ existing_execution_id: string | null;
374
+
375
+ /**
376
+ * On-chain balance in base units. Populated when `status` is `triggered` or
377
+ * `skipped_zero_balance`; `null` otherwise. For example, 1 OUSD is `1000000`.
378
+ */
379
+ raw_balance: string | null;
380
+
381
+ /**
382
+ * Outcome of checking a single asset during a wallet automation reindex. One of
383
+ * `triggered`, `skipped_zero_balance`, `skipped_no_match`,
384
+ * `skipped_existing_execution`, or `failed`.
385
+ */
386
+ status: WalletAutomationReindexAssetStatus;
387
+ }
388
+
389
+ /**
390
+ * Outcome of checking a single asset during a wallet automation reindex. One of
391
+ * `triggered`, `skipped_zero_balance`, `skipped_no_match`,
392
+ * `skipped_existing_execution`, or `failed`.
393
+ */
394
+ export type WalletAutomationReindexAssetStatus = string;
395
+
396
+ /**
397
+ * An EVM, Solana, or Tron CAIP-2 chain identifier supported by wallet automation
398
+ * reindex.
399
+ */
400
+ export type WalletAutomationReindexCaip2 = SharedAPI.EvmCaip2 | SharedAPI.TronCaip2;
401
+
402
+ /**
403
+ * Request body for re-checking a wallet against its wallet automations. Identify
404
+ * the wallet by wallet_id or deposit_address (at least one is required). If both
405
+ * are provided, wallet_id takes precedence and deposit_address must match that
406
+ * wallet's address. Specify exactly one of caip2 or chain, and the asset_address
407
+ * to check. Useful for recovering a deposit that was missed or failed to trigger
408
+ * its automation.
409
+ */
410
+ export interface WalletAutomationReindexRequestBody {
411
+ /**
412
+ * Asset contract address to check; the native asset uses `native`.
413
+ */
414
+ asset_address: string;
415
+
416
+ /**
417
+ * An EVM, Solana, or Tron CAIP-2 chain identifier supported by wallet automation
418
+ * reindex.
419
+ */
420
+ caip2?: WalletAutomationReindexCaip2;
421
+
422
+ /**
423
+ * Human-readable chain name to check. Specify exactly one of `caip2` or `chain`.
424
+ */
425
+ chain?: string;
426
+
427
+ /**
428
+ * On-chain deposit address of the wallet to reindex. Must match the resolved
429
+ * wallet's address if `wallet_id` is also provided.
430
+ */
431
+ deposit_address?: string;
432
+
433
+ /**
434
+ * Privy wallet ID to reindex. Takes precedence over `deposit_address` when both
435
+ * are supplied.
436
+ */
437
+ wallet_id?: string;
438
+ }
439
+
440
+ /**
441
+ * Result of re-checking a wallet against its wallet automations.
442
+ */
443
+ export interface WalletAutomationReindexResponse {
444
+ results: Array<WalletAutomationReindexAssetResult>;
445
+
446
+ wallet_id: string;
447
+ }
448
+
342
449
  /**
343
450
  * A wallet automation.
344
451
  */
@@ -410,6 +517,11 @@ export declare namespace WalletAutomations {
410
517
  type WalletAutomationExecutionResponse as WalletAutomationExecutionResponse,
411
518
  type WalletAutomationExecutionStatus as WalletAutomationExecutionStatus,
412
519
  type WalletAutomationListResponse as WalletAutomationListResponse,
520
+ type WalletAutomationReindexAssetResult as WalletAutomationReindexAssetResult,
521
+ type WalletAutomationReindexAssetStatus as WalletAutomationReindexAssetStatus,
522
+ type WalletAutomationReindexCaip2 as WalletAutomationReindexCaip2,
523
+ type WalletAutomationReindexRequestBody as WalletAutomationReindexRequestBody,
524
+ type WalletAutomationReindexResponse as WalletAutomationReindexResponse,
413
525
  type WalletAutomationResponse as WalletAutomationResponse,
414
526
  type WalletAutomationStatus as WalletAutomationStatus,
415
527
  type WalletAutomationSuccessResponse as WalletAutomationSuccessResponse,
@@ -143,6 +143,11 @@ export interface EvmTransactionWalletActionStep {
143
143
  * confirmed.
144
144
  */
145
145
  finalized?: boolean;
146
+
147
+ /**
148
+ * Amount charged in USD for gas sponsorship on this step.
149
+ */
150
+ gas_credits_charged_usd?: string;
146
151
  }
147
152
 
148
153
  /**
@@ -617,6 +622,31 @@ export interface EarnIncetiveClaimRewardEntry {
617
622
  token_decimals?: number;
618
623
  }
619
624
 
625
+ /**
626
+ * An APY allocation within a vault position.
627
+ */
628
+ export interface EarnPositionApyAllocation {
629
+ /**
630
+ * Net APY in basis points, rounded to the nearest integer.
631
+ */
632
+ apy_bps: number;
633
+
634
+ /**
635
+ * Allocated assets in the smallest unit of the underlying asset.
636
+ */
637
+ assets_in_vault: string;
638
+
639
+ /**
640
+ * Whether an APY allocation earns the base or boosted rate.
641
+ */
642
+ type: EarnPositionApyType;
643
+ }
644
+
645
+ /**
646
+ * Whether an APY allocation earns the base or boosted rate.
647
+ */
648
+ export type EarnPositionApyType = 'boost' | 'base';
649
+
620
650
  /**
621
651
  * Response for an earn withdraw action.
622
652
  */
@@ -784,6 +814,17 @@ export interface EthereumEarnPositionResponse {
784
814
  * Total amount withdrawn from the vault, in smallest unit.
785
815
  */
786
816
  total_withdrawn: string;
817
+
818
+ /**
819
+ * Vault APY allocations by origin, returned together with apy_bps when available.
820
+ */
821
+ apy_allocation?: Array<EarnPositionApyAllocation>;
822
+
823
+ /**
824
+ * Wallet-specific net APY in basis points, rounded to the nearest integer.
825
+ * Returned together with apy_allocation when available.
826
+ */
827
+ apy_bps?: number;
787
828
  }
788
829
 
789
830
  /**
@@ -1102,9 +1143,8 @@ export interface SwapActionResponse {
1102
1143
  wallet_id: string;
1103
1144
 
1104
1145
  /**
1105
- * Recipient address on the destination chain. Present for cross-chain swaps. May
1106
- * differ from the source wallet address when swapping between chain types (e.g.
1107
- * EVM to Solana).
1146
+ * Recipient address for the swap. Present for newly created swaps; may be absent
1147
+ * for older swap actions.
1108
1148
  */
1109
1149
  destination_address?: string;
1110
1150
 
@@ -1519,6 +1559,8 @@ export declare namespace Actions {
1519
1559
  type EarnIncentiveRewardsQuery as EarnIncentiveRewardsQuery,
1520
1560
  type EarnIncentiveRewardsResponse as EarnIncentiveRewardsResponse,
1521
1561
  type EarnIncetiveClaimRewardEntry as EarnIncetiveClaimRewardEntry,
1562
+ type EarnPositionApyAllocation as EarnPositionApyAllocation,
1563
+ type EarnPositionApyType as EarnPositionApyType,
1522
1564
  type EarnWithdrawActionResponse as EarnWithdrawActionResponse,
1523
1565
  type EarnWithdrawRequestBody as EarnWithdrawRequestBody,
1524
1566
  type EthereumEarnPositionQuery as EthereumEarnPositionQuery,
@@ -111,6 +111,14 @@ export interface BalanceGetParams {
111
111
  | 'tron'
112
112
  | 'zksync_era'
113
113
  | 'robinhood'
114
+ | 'unichain'
115
+ | 'worldchain'
116
+ | 'ink'
117
+ | 'soneium'
118
+ | 'megaeth'
119
+ | 'hyperevm'
120
+ | 'hypercore'
121
+ | 'arc'
114
122
  | 'tempo_testnet'
115
123
  | 'hoodi'
116
124
  | 'sepolia'
@@ -125,6 +133,7 @@ export interface BalanceGetParams {
125
133
  | 'solana_testnet'
126
134
  | 'tron_nile'
127
135
  | 'robinhood_testnet'
136
+ | 'ink_sepolia'
128
137
  | string
129
138
  | Array<WalletsAPI.WalletAssetChainNameInput>;
130
139
 
@@ -20,6 +20,8 @@ export {
20
20
  type EarnIncentiveRewardsQuery,
21
21
  type EarnIncentiveRewardsResponse,
22
22
  type EarnIncetiveClaimRewardEntry,
23
+ type EarnPositionApyAllocation,
24
+ type EarnPositionApyType,
23
25
  type EarnWithdrawActionResponse,
24
26
  type EarnWithdrawRequestBody,
25
27
  type EthereumEarnPositionQuery,
@@ -69,6 +71,7 @@ export {
69
71
  type AptosSignTransactionRpcResponseData,
70
72
  type AptosSignedTransactionBcsHex,
71
73
  type AttachWalletAutomationRequestBody,
74
+ type AttachedWalletAutomation,
72
75
  type AuthorizationKeyDashboardResponse,
73
76
  type AuthorizationKeyResponse,
74
77
  type AuthorizationKeyRole,
@@ -76,6 +79,11 @@ export {
76
79
  type CreateCryptoDepositAccountResponse,
77
80
  type CreateCryptoDepositAccountWithConfigRequestBody,
78
81
  type CreateCryptoDepositAccountWithRouteRequestBody,
82
+ type CryptoDepositAccountCaip2,
83
+ type CryptoDepositAccountChain,
84
+ type CryptoDepositAccountConfigResponse,
85
+ type CryptoDepositAccountSourceChain,
86
+ type CryptoDepositAccountSourceCurrency,
79
87
  type CryptoDepositAddressRoute,
80
88
  type CryptoDepositAsset,
81
89
  type CryptoDepositAssetFilter,
@@ -85,6 +93,7 @@ export {
85
93
  type CurveSigningChainType,
86
94
  type CurveType,
87
95
  type CustodialWallet,
96
+ type CustodialWalletChain,
88
97
  type CustodialWalletChainType,
89
98
  type CustodialWalletCreateInput,
90
99
  type CustodialWalletProvider,
@@ -143,6 +152,8 @@ export {
143
152
  type FirstClassChainType,
144
153
  type Gas,
145
154
  type GetByWalletAddressRequestBody,
155
+ type GetCryptoDepositAccountNextOrderResponse,
156
+ type GetCryptoDepositAccountOrderResponse,
146
157
  type HDInitInput,
147
158
  type HDPath,
148
159
  type HDSubmitInput,
@@ -151,6 +162,7 @@ export {
151
162
  type HpkeImportConfig,
152
163
  type Hex,
153
164
  type IntentBinding,
165
+ type ListCryptoDepositAccountsResponse,
154
166
  type NamedTokenTransferSource,
155
167
  type NearRpcRequestBody,
156
168
  type NearRpcResponse,