@privy-io/api-types 0.15.0 → 0.16.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 (125) hide show
  1. package/CHANGELOG.md +82 -0
  2. package/client.d.mts +29 -29
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +29 -29
  5. package/client.d.ts.map +1 -1
  6. package/client.js +11 -3
  7. package/client.js.map +1 -1
  8. package/client.mjs +11 -3
  9. package/client.mjs.map +1 -1
  10. package/package.json +1 -1
  11. package/resources/accounts.d.mts +6 -2
  12. package/resources/accounts.d.mts.map +1 -1
  13. package/resources/accounts.d.ts +6 -2
  14. package/resources/accounts.d.ts.map +1 -1
  15. package/resources/aggregations.d.mts +14 -4
  16. package/resources/aggregations.d.mts.map +1 -1
  17. package/resources/aggregations.d.ts +14 -4
  18. package/resources/aggregations.d.ts.map +1 -1
  19. package/resources/apps.d.mts +44 -23
  20. package/resources/apps.d.mts.map +1 -1
  21. package/resources/apps.d.ts +44 -23
  22. package/resources/apps.d.ts.map +1 -1
  23. package/resources/client-auth.d.mts +21 -5
  24. package/resources/client-auth.d.mts.map +1 -1
  25. package/resources/client-auth.d.ts +21 -5
  26. package/resources/client-auth.d.ts.map +1 -1
  27. package/resources/index.d.mts +14 -14
  28. package/resources/index.d.mts.map +1 -1
  29. package/resources/index.d.ts +14 -14
  30. package/resources/index.d.ts.map +1 -1
  31. package/resources/index.js.map +1 -1
  32. package/resources/index.mjs.map +1 -1
  33. package/resources/intents.d.mts +65 -79
  34. package/resources/intents.d.mts.map +1 -1
  35. package/resources/intents.d.ts +65 -79
  36. package/resources/intents.d.ts.map +1 -1
  37. package/resources/intents.js.map +1 -1
  38. package/resources/intents.mjs.map +1 -1
  39. package/resources/key-quorums.d.mts +9 -8
  40. package/resources/key-quorums.d.mts.map +1 -1
  41. package/resources/key-quorums.d.ts +9 -8
  42. package/resources/key-quorums.d.ts.map +1 -1
  43. package/resources/kraken-embed.d.mts +102 -205
  44. package/resources/kraken-embed.d.mts.map +1 -1
  45. package/resources/kraken-embed.d.ts +102 -205
  46. package/resources/kraken-embed.d.ts.map +1 -1
  47. package/resources/kraken-embed.js.map +1 -1
  48. package/resources/kraken-embed.mjs.map +1 -1
  49. package/resources/onramps.d.mts +50 -48
  50. package/resources/onramps.d.mts.map +1 -1
  51. package/resources/onramps.d.ts +50 -48
  52. package/resources/onramps.d.ts.map +1 -1
  53. package/resources/policies.d.mts +47 -18
  54. package/resources/policies.d.mts.map +1 -1
  55. package/resources/policies.d.ts +47 -18
  56. package/resources/policies.d.ts.map +1 -1
  57. package/resources/shared.d.mts +15 -3
  58. package/resources/shared.d.mts.map +1 -1
  59. package/resources/shared.d.ts +15 -3
  60. package/resources/shared.d.ts.map +1 -1
  61. package/resources/swaps.d.mts +3 -2
  62. package/resources/swaps.d.mts.map +1 -1
  63. package/resources/swaps.d.ts +3 -2
  64. package/resources/swaps.d.ts.map +1 -1
  65. package/resources/wallet-actions.d.mts +134 -21
  66. package/resources/wallet-actions.d.mts.map +1 -1
  67. package/resources/wallet-actions.d.ts +134 -21
  68. package/resources/wallet-actions.d.ts.map +1 -1
  69. package/resources/wallets/balance.d.mts +8 -4
  70. package/resources/wallets/balance.d.mts.map +1 -1
  71. package/resources/wallets/balance.d.ts +8 -4
  72. package/resources/wallets/balance.d.ts.map +1 -1
  73. package/resources/wallets/index.d.mts +1 -1
  74. package/resources/wallets/index.d.mts.map +1 -1
  75. package/resources/wallets/index.d.ts +1 -1
  76. package/resources/wallets/index.d.ts.map +1 -1
  77. package/resources/wallets/index.js.map +1 -1
  78. package/resources/wallets/index.mjs.map +1 -1
  79. package/resources/wallets/transactions.d.mts +5 -1
  80. package/resources/wallets/transactions.d.mts.map +1 -1
  81. package/resources/wallets/transactions.d.ts +5 -1
  82. package/resources/wallets/transactions.d.ts.map +1 -1
  83. package/resources/wallets/wallets.d.mts +603 -87
  84. package/resources/wallets/wallets.d.mts.map +1 -1
  85. package/resources/wallets/wallets.d.ts +603 -87
  86. package/resources/wallets/wallets.d.ts.map +1 -1
  87. package/resources/wallets/wallets.js +15 -2
  88. package/resources/wallets/wallets.js.map +1 -1
  89. package/resources/wallets/wallets.mjs +15 -2
  90. package/resources/wallets/wallets.mjs.map +1 -1
  91. package/resources/webhooks.d.mts +241 -54
  92. package/resources/webhooks.d.mts.map +1 -1
  93. package/resources/webhooks.d.ts +241 -54
  94. package/resources/webhooks.d.ts.map +1 -1
  95. package/resources/webhooks.js.map +1 -1
  96. package/resources/webhooks.mjs.map +1 -1
  97. package/resources/yield.d.mts +26 -27
  98. package/resources/yield.d.mts.map +1 -1
  99. package/resources/yield.d.ts +26 -27
  100. package/resources/yield.d.ts.map +1 -1
  101. package/src/client.ts +163 -17
  102. package/src/resources/accounts.ts +7 -1
  103. package/src/resources/aggregations.ts +16 -3
  104. package/src/resources/apps.ts +60 -30
  105. package/src/resources/client-auth.ts +22 -4
  106. package/src/resources/index.ts +72 -3
  107. package/src/resources/intents.ts +73 -91
  108. package/src/resources/key-quorums.ts +11 -9
  109. package/src/resources/kraken-embed.ts +386 -482
  110. package/src/resources/onramps.ts +69 -54
  111. package/src/resources/policies.ts +66 -16
  112. package/src/resources/shared.ts +18 -2
  113. package/src/resources/swaps.ts +3 -2
  114. package/src/resources/wallet-actions.ts +182 -20
  115. package/src/resources/wallets/balance.ts +13 -1
  116. package/src/resources/wallets/index.ts +34 -0
  117. package/src/resources/wallets/transactions.ts +6 -0
  118. package/src/resources/wallets/wallets.ts +782 -94
  119. package/src/resources/webhooks.ts +293 -57
  120. package/src/resources/yield.ts +29 -30
  121. package/src/version.ts +1 -1
  122. package/version.d.mts +1 -1
  123. package/version.d.ts +1 -1
  124. package/version.js +1 -1
  125. package/version.mjs +1 -1
@@ -2,6 +2,29 @@ import { APIResource } from "../core/resource.mjs";
2
2
  import * as WalletsAPI from "./wallets/wallets.mjs";
3
3
  export declare class WalletActions extends APIResource {
4
4
  }
5
+ /**
6
+ * A wallet action step representing a transaction executed by a custodian (e.g.
7
+ * Bridge).
8
+ */
9
+ export interface CustodianTransactionWalletActionStep {
10
+ /**
11
+ * Identifier of the custodian executing this transaction (e.g. "bridge").
12
+ */
13
+ custodian: string;
14
+ /**
15
+ * Status of a custodian transaction step in a wallet action.
16
+ */
17
+ status: CustodianTransactionWalletActionStepStatus;
18
+ type: 'custodian_transaction';
19
+ /**
20
+ * A description of why a wallet action (or a step within a wallet action) failed.
21
+ */
22
+ failure_reason?: FailureReason;
23
+ }
24
+ /**
25
+ * Status of a custodian transaction step in a wallet action.
26
+ */
27
+ export type CustodianTransactionWalletActionStepStatus = 'preparing' | 'queued' | 'custodian_reviewing' | 'pending' | 'confirmed' | 'rejected' | 'failed';
5
28
  /**
6
29
  * A wallet action step consisting of an EVM transaction.
7
30
  */
@@ -24,6 +47,11 @@ export interface EvmTransactionWalletActionStep {
24
47
  * A description of why a wallet action (or a step within a wallet action) failed.
25
48
  */
26
49
  failure_reason?: FailureReason;
50
+ /**
51
+ * Whether this step has reached on-chain finality. Absent until finality is
52
+ * confirmed.
53
+ */
54
+ finalized?: boolean;
27
55
  }
28
56
  /**
29
57
  * A wallet action step consisting of an EVM user operation.
@@ -56,6 +84,15 @@ export interface EvmUserOperationWalletActionStep {
56
84
  * A description of why a wallet action (or a step within a wallet action) failed.
57
85
  */
58
86
  failure_reason?: FailureReason;
87
+ /**
88
+ * Whether this step has reached on-chain finality. Absent until finality is
89
+ * confirmed.
90
+ */
91
+ finalized?: boolean;
92
+ /**
93
+ * Amount charged in USD for gas sponsorship on this step.
94
+ */
95
+ gas_credits_charged_usd?: string;
59
96
  }
60
97
  /**
61
98
  * Status of an EVM step in a wallet action.
@@ -378,6 +415,10 @@ export interface EthereumEarnPositionQuery {
378
415
  * The vault ID to get position for.
379
416
  */
380
417
  vault_id: string;
418
+ /**
419
+ * Include archived wallets in lookup. Defaults to false.
420
+ */
421
+ include_archived?: boolean;
381
422
  }
382
423
  /**
383
424
  * A wallet's position in an earn vault.
@@ -487,6 +528,24 @@ export interface FailureReason {
487
528
  */
488
529
  details?: unknown;
489
530
  }
531
+ /**
532
+ * Query parameters for listing wallet actions.
533
+ */
534
+ export interface ListWalletActionsQuery {
535
+ cursor?: string;
536
+ limit?: number | null;
537
+ /**
538
+ * Type of wallet action
539
+ */
540
+ type?: WalletActionType;
541
+ }
542
+ /**
543
+ * Paginated list of wallet actions.
544
+ */
545
+ export interface ListWalletActionsResponse {
546
+ data: Array<WalletActionResponse>;
547
+ next_cursor: string | null;
548
+ }
490
549
  /**
491
550
  * A wallet action step consisting of an SVM (Solana) transaction.
492
551
  */
@@ -508,11 +567,20 @@ export interface SvmTransactionWalletActionStep {
508
567
  * A description of why a wallet action (or a step within a wallet action) failed.
509
568
  */
510
569
  failure_reason?: FailureReason;
570
+ /**
571
+ * Whether this step has reached on-chain finality. Absent until finality is
572
+ * confirmed.
573
+ */
574
+ finalized?: boolean;
575
+ /**
576
+ * Amount charged in USD for gas sponsorship on this step.
577
+ */
578
+ gas_credits_charged_usd?: string;
511
579
  }
512
580
  /**
513
581
  * Status of an SVM step in a wallet action.
514
582
  */
515
- export type SvmWalletActionStepStatus = 'preparing' | 'queued' | 'pending' | 'confirmed' | 'finalized' | 'rejected' | 'reverted' | 'failed';
583
+ export type SvmWalletActionStepStatus = 'preparing' | 'queued' | 'pending' | 'confirmed' | 'rejected' | 'reverted' | 'failed';
516
584
  /**
517
585
  * Response for a swap action.
518
586
  */
@@ -554,37 +622,71 @@ export interface SwapActionResponse {
554
622
  * The ID of the wallet involved in the action.
555
623
  */
556
624
  wallet_id: string;
625
+ /**
626
+ * Recipient address on the destination chain. Present for cross-chain swaps. May
627
+ * differ from the source wallet address when swapping between chain types (e.g.
628
+ * EVM to Solana).
629
+ */
630
+ destination_address?: string;
557
631
  /**
558
632
  * Destination chain CAIP-2 identifier. Present for cross-chain swaps.
559
633
  */
560
634
  destination_caip2?: string;
561
635
  /**
562
- * Estimated fee breakdown from the provider quote.
636
+ * Estimated fee breakdown from the provider quote. Only present for cross-chain
637
+ * swaps. Populated after on-chain confirmation.
563
638
  */
564
- estimated_fees?: Array<WalletsAPI.FeeLineItem>;
639
+ estimated_fees?: Array<WalletsAPI.FeeLineItem> | null;
565
640
  /**
566
641
  * Gas cost for a blockchain action. Includes both raw base-unit amount and a
567
642
  * human-readable decimal string, plus the gas token symbol.
568
643
  */
569
- estimated_gas?: WalletsAPI.Gas;
644
+ estimated_gas?: WalletsAPI.Gas | null;
570
645
  /**
571
646
  * A description of why a wallet action (or a step within a wallet action) failed.
572
647
  */
573
648
  failure_reason?: FailureReason;
574
649
  /**
575
- * Actual fees paid for the swap. Populated after on-chain confirmation.
650
+ * Actual fees paid for the swap. Populated after on-chain confirmation. Only
651
+ * present for cross-chain swaps.
576
652
  */
577
- fees?: Array<WalletsAPI.FeeLineItem>;
653
+ fees?: Array<WalletsAPI.FeeLineItem> | null;
578
654
  /**
579
655
  * Gas cost for a blockchain action. Includes both raw base-unit amount and a
580
656
  * human-readable decimal string, plus the gas token symbol.
581
657
  */
582
- gas?: WalletsAPI.Gas;
658
+ gas?: WalletsAPI.Gas | null;
583
659
  /**
584
660
  * The steps of the wallet action. Only returned if `?include=steps` is provided.
585
661
  */
586
662
  steps?: Array<WalletActionStep>;
587
663
  }
664
+ /**
665
+ * A wallet action step consisting of a TVM (Tron) transaction.
666
+ */
667
+ export interface TvmTransactionWalletActionStep {
668
+ /**
669
+ * CAIP-2 chain identifier for the Tron network.
670
+ */
671
+ caip2: string;
672
+ /**
673
+ * Status of a TVM (Tron) step in a wallet action.
674
+ */
675
+ status: TvmWalletActionStepStatus;
676
+ /**
677
+ * The Tron transaction ID. Null until broadcast.
678
+ */
679
+ transaction_id: string | null;
680
+ type: 'tvm_transaction';
681
+ /**
682
+ * A description of why a wallet action (or a step within a wallet action) failed.
683
+ */
684
+ failure_reason?: FailureReason;
685
+ }
686
+ /**
687
+ * Status of a TVM (Tron) step in a wallet action.
688
+ */
689
+ export type TvmWalletActionStepStatus = 'preparing' | 'queued' | 'pending' | 'confirmed' | 'rejected' | 'reverted' | 'failed';
588
690
  /**
589
691
  * Response for a transfer action.
590
692
  */
@@ -601,6 +703,12 @@ export interface TransferActionResponse {
601
703
  * Recipient address.
602
704
  */
603
705
  destination_address: string;
706
+ /**
707
+ * Amount received on the destination chain. For exact_output cross-chain
708
+ * transfers, set at creation (the guaranteed exact amount). For exact_input
709
+ * cross-chain transfers, null until fill confirmation.
710
+ */
711
+ destination_amount: string | null;
604
712
  /**
605
713
  * Chain name (e.g. "base", "ethereum").
606
714
  */
@@ -615,10 +723,9 @@ export interface TransferActionResponse {
615
723
  */
616
724
  wallet_id: string;
617
725
  /**
618
- * Amount received on the destination chain. Populated immediately for exact_output
619
- * transfers, or after fill confirmation for exact_input transfers.
726
+ * Whether the amount refers to the input token or output token.
620
727
  */
621
- destination_amount?: string;
728
+ amount_type?: WalletsAPI.AmountType;
622
729
  /**
623
730
  * Destination asset for cross-asset transfers. Omitted for same-asset transfers.
624
731
  */
@@ -628,30 +735,32 @@ export interface TransferActionResponse {
628
735
  */
629
736
  destination_chain?: string;
630
737
  /**
631
- * Estimated fee breakdown from the provider quote.
738
+ * Estimated fee breakdown from the provider quote. Only present for cross-chain or
739
+ * cross-asset transfers. Populated after on-chain confirmation.
632
740
  */
633
- estimated_fees?: Array<WalletsAPI.FeeLineItem>;
741
+ estimated_fees?: Array<WalletsAPI.FeeLineItem> | null;
634
742
  /**
635
743
  * Gas cost for a blockchain action. Includes both raw base-unit amount and a
636
744
  * human-readable decimal string, plus the gas token symbol.
637
745
  */
638
- estimated_gas?: WalletsAPI.Gas;
746
+ estimated_gas?: WalletsAPI.Gas | null;
639
747
  /**
640
748
  * A description of why a wallet action (or a step within a wallet action) failed.
641
749
  */
642
750
  failure_reason?: FailureReason;
643
751
  /**
644
- * Actual fees paid for the transfer. Populated after on-chain confirmation.
752
+ * Actual fees paid for the transfer. Populated after on-chain confirmation. Only
753
+ * present for cross-chain transfers.
645
754
  */
646
- fees?: Array<WalletsAPI.FeeLineItem>;
755
+ fees?: Array<WalletsAPI.FeeLineItem> | null;
647
756
  /**
648
757
  * Gas cost for a blockchain action. Includes both raw base-unit amount and a
649
758
  * human-readable decimal string, plus the gas token symbol.
650
759
  */
651
- gas?: WalletsAPI.Gas;
760
+ gas?: WalletsAPI.Gas | null;
652
761
  /**
653
- * Decimal amount sent on the source chain (e.g. "1.5"). Omitted for exact_output
654
- * cross-chain transfers until the source amount is determined.
762
+ * Decimal amount sent on the source chain (e.g. "1.5"). For exact_output
763
+ * cross-chain transfers, null until fill confirmation.
655
764
  */
656
765
  source_amount?: string;
657
766
  /**
@@ -674,6 +783,10 @@ export interface TransferActionResponse {
674
783
  */
675
784
  steps?: Array<WalletActionStep>;
676
785
  }
786
+ /**
787
+ * Expandable relations to include on a wallet action response.
788
+ */
789
+ export type WalletActionInclude = 'steps';
677
790
  /**
678
791
  * Response for a wallet action, discriminated on type.
679
792
  */
@@ -685,16 +798,16 @@ export type WalletActionStatus = 'pending' | 'succeeded' | 'rejected' | 'failed'
685
798
  /**
686
799
  * A step within a wallet action, representing a single onchain action.
687
800
  */
688
- export type WalletActionStep = EvmTransactionWalletActionStep | EvmUserOperationWalletActionStep | SvmTransactionWalletActionStep | ExternalTransactionWalletActionStep;
801
+ export type WalletActionStep = EvmTransactionWalletActionStep | EvmUserOperationWalletActionStep | SvmTransactionWalletActionStep | TvmTransactionWalletActionStep | ExternalTransactionWalletActionStep | CustodianTransactionWalletActionStep;
689
802
  /**
690
803
  * Type of a wallet action step.
691
804
  */
692
- export type WalletActionStepType = 'evm_transaction' | 'evm_user_operation' | 'svm_transaction' | 'external_transaction';
805
+ export type WalletActionStepType = 'evm_transaction' | 'evm_user_operation' | 'svm_transaction' | 'tvm_transaction' | 'external_transaction' | 'custodian_transaction';
693
806
  /**
694
807
  * Type of wallet action
695
808
  */
696
809
  export type WalletActionType = 'swap' | 'transfer' | 'earn_deposit' | 'earn_withdraw' | 'earn_incentive_claim';
697
810
  export declare namespace WalletActions {
698
- export { type EvmTransactionWalletActionStep as EvmTransactionWalletActionStep, type EvmUserOperationWalletActionStep as EvmUserOperationWalletActionStep, type EvmWalletActionStepStatus as EvmWalletActionStepStatus, type EarnAsset as EarnAsset, type EarnDepositActionResponse as EarnDepositActionResponse, type EarnDepositRequestBody as EarnDepositRequestBody, type EarnIncentiveClaimActionResponse as EarnIncentiveClaimActionResponse, type EarnIncentiveClaimRequestBody as EarnIncentiveClaimRequestBody, type EarnIncentiveRewardEntry as EarnIncentiveRewardEntry, type EarnIncentiveRewardsQuery as EarnIncentiveRewardsQuery, type EarnIncentiveRewardsResponse as EarnIncentiveRewardsResponse, type EarnIncetiveClaimRewardEntry as EarnIncetiveClaimRewardEntry, type EarnWithdrawActionResponse as EarnWithdrawActionResponse, type EarnWithdrawRequestBody as EarnWithdrawRequestBody, type EthereumEarnPositionQuery as EthereumEarnPositionQuery, type EthereumEarnPositionResponse as EthereumEarnPositionResponse, type EthereumEarnProvider as EthereumEarnProvider, type EthereumEarnVaultDetailsResponse as EthereumEarnVaultDetailsResponse, type ExternalTransactionWalletActionStep as ExternalTransactionWalletActionStep, type ExternalTransactionWalletActionStepStatus as ExternalTransactionWalletActionStepStatus, type FailureReason as FailureReason, type SvmTransactionWalletActionStep as SvmTransactionWalletActionStep, type SvmWalletActionStepStatus as SvmWalletActionStepStatus, type SwapActionResponse as SwapActionResponse, type TransferActionResponse as TransferActionResponse, type WalletActionResponse as WalletActionResponse, type WalletActionStatus as WalletActionStatus, type WalletActionStep as WalletActionStep, type WalletActionStepType as WalletActionStepType, type WalletActionType as WalletActionType, };
811
+ export { type CustodianTransactionWalletActionStep as CustodianTransactionWalletActionStep, type CustodianTransactionWalletActionStepStatus as CustodianTransactionWalletActionStepStatus, type EvmTransactionWalletActionStep as EvmTransactionWalletActionStep, type EvmUserOperationWalletActionStep as EvmUserOperationWalletActionStep, type EvmWalletActionStepStatus as EvmWalletActionStepStatus, type EarnAsset as EarnAsset, type EarnDepositActionResponse as EarnDepositActionResponse, type EarnDepositRequestBody as EarnDepositRequestBody, type EarnIncentiveClaimActionResponse as EarnIncentiveClaimActionResponse, type EarnIncentiveClaimRequestBody as EarnIncentiveClaimRequestBody, type EarnIncentiveRewardEntry as EarnIncentiveRewardEntry, type EarnIncentiveRewardsQuery as EarnIncentiveRewardsQuery, type EarnIncentiveRewardsResponse as EarnIncentiveRewardsResponse, type EarnIncetiveClaimRewardEntry as EarnIncetiveClaimRewardEntry, type EarnWithdrawActionResponse as EarnWithdrawActionResponse, type EarnWithdrawRequestBody as EarnWithdrawRequestBody, type EthereumEarnPositionQuery as EthereumEarnPositionQuery, type EthereumEarnPositionResponse as EthereumEarnPositionResponse, type EthereumEarnProvider as EthereumEarnProvider, type EthereumEarnVaultDetailsResponse as EthereumEarnVaultDetailsResponse, type ExternalTransactionWalletActionStep as ExternalTransactionWalletActionStep, type ExternalTransactionWalletActionStepStatus as ExternalTransactionWalletActionStepStatus, type FailureReason as FailureReason, type ListWalletActionsQuery as ListWalletActionsQuery, type ListWalletActionsResponse as ListWalletActionsResponse, type SvmTransactionWalletActionStep as SvmTransactionWalletActionStep, type SvmWalletActionStepStatus as SvmWalletActionStepStatus, type SwapActionResponse as SwapActionResponse, type TvmTransactionWalletActionStep as TvmTransactionWalletActionStep, type TvmWalletActionStepStatus as TvmWalletActionStepStatus, type TransferActionResponse as TransferActionResponse, type WalletActionInclude as WalletActionInclude, type WalletActionResponse as WalletActionResponse, type WalletActionStatus as WalletActionStatus, type WalletActionStep as WalletActionStep, type WalletActionStepType as WalletActionStepType, type WalletActionType as WalletActionType, };
699
812
  }
700
813
  //# sourceMappingURL=wallet-actions.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"wallet-actions.d.mts","sourceRoot":"","sources":["../src/resources/wallet-actions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,KAAK,UAAU,8BAA0B;AAEhD,qBAAa,aAAc,SAAQ,WAAW;CAAG;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AsB,IAAI,sBAAsB,EACrD,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,gBAAgB,IAAI,gBAAgB,GAC1C,CAAC;CACH"}
@@ -2,6 +2,29 @@ import { APIResource } from "../core/resource.js";
2
2
  import * as WalletsAPI from "./wallets/wallets.js";
3
3
  export declare class WalletActions extends APIResource {
4
4
  }
5
+ /**
6
+ * A wallet action step representing a transaction executed by a custodian (e.g.
7
+ * Bridge).
8
+ */
9
+ export interface CustodianTransactionWalletActionStep {
10
+ /**
11
+ * Identifier of the custodian executing this transaction (e.g. "bridge").
12
+ */
13
+ custodian: string;
14
+ /**
15
+ * Status of a custodian transaction step in a wallet action.
16
+ */
17
+ status: CustodianTransactionWalletActionStepStatus;
18
+ type: 'custodian_transaction';
19
+ /**
20
+ * A description of why a wallet action (or a step within a wallet action) failed.
21
+ */
22
+ failure_reason?: FailureReason;
23
+ }
24
+ /**
25
+ * Status of a custodian transaction step in a wallet action.
26
+ */
27
+ export type CustodianTransactionWalletActionStepStatus = 'preparing' | 'queued' | 'custodian_reviewing' | 'pending' | 'confirmed' | 'rejected' | 'failed';
5
28
  /**
6
29
  * A wallet action step consisting of an EVM transaction.
7
30
  */
@@ -24,6 +47,11 @@ export interface EvmTransactionWalletActionStep {
24
47
  * A description of why a wallet action (or a step within a wallet action) failed.
25
48
  */
26
49
  failure_reason?: FailureReason;
50
+ /**
51
+ * Whether this step has reached on-chain finality. Absent until finality is
52
+ * confirmed.
53
+ */
54
+ finalized?: boolean;
27
55
  }
28
56
  /**
29
57
  * A wallet action step consisting of an EVM user operation.
@@ -56,6 +84,15 @@ export interface EvmUserOperationWalletActionStep {
56
84
  * A description of why a wallet action (or a step within a wallet action) failed.
57
85
  */
58
86
  failure_reason?: FailureReason;
87
+ /**
88
+ * Whether this step has reached on-chain finality. Absent until finality is
89
+ * confirmed.
90
+ */
91
+ finalized?: boolean;
92
+ /**
93
+ * Amount charged in USD for gas sponsorship on this step.
94
+ */
95
+ gas_credits_charged_usd?: string;
59
96
  }
60
97
  /**
61
98
  * Status of an EVM step in a wallet action.
@@ -378,6 +415,10 @@ export interface EthereumEarnPositionQuery {
378
415
  * The vault ID to get position for.
379
416
  */
380
417
  vault_id: string;
418
+ /**
419
+ * Include archived wallets in lookup. Defaults to false.
420
+ */
421
+ include_archived?: boolean;
381
422
  }
382
423
  /**
383
424
  * A wallet's position in an earn vault.
@@ -487,6 +528,24 @@ export interface FailureReason {
487
528
  */
488
529
  details?: unknown;
489
530
  }
531
+ /**
532
+ * Query parameters for listing wallet actions.
533
+ */
534
+ export interface ListWalletActionsQuery {
535
+ cursor?: string;
536
+ limit?: number | null;
537
+ /**
538
+ * Type of wallet action
539
+ */
540
+ type?: WalletActionType;
541
+ }
542
+ /**
543
+ * Paginated list of wallet actions.
544
+ */
545
+ export interface ListWalletActionsResponse {
546
+ data: Array<WalletActionResponse>;
547
+ next_cursor: string | null;
548
+ }
490
549
  /**
491
550
  * A wallet action step consisting of an SVM (Solana) transaction.
492
551
  */
@@ -508,11 +567,20 @@ export interface SvmTransactionWalletActionStep {
508
567
  * A description of why a wallet action (or a step within a wallet action) failed.
509
568
  */
510
569
  failure_reason?: FailureReason;
570
+ /**
571
+ * Whether this step has reached on-chain finality. Absent until finality is
572
+ * confirmed.
573
+ */
574
+ finalized?: boolean;
575
+ /**
576
+ * Amount charged in USD for gas sponsorship on this step.
577
+ */
578
+ gas_credits_charged_usd?: string;
511
579
  }
512
580
  /**
513
581
  * Status of an SVM step in a wallet action.
514
582
  */
515
- export type SvmWalletActionStepStatus = 'preparing' | 'queued' | 'pending' | 'confirmed' | 'finalized' | 'rejected' | 'reverted' | 'failed';
583
+ export type SvmWalletActionStepStatus = 'preparing' | 'queued' | 'pending' | 'confirmed' | 'rejected' | 'reverted' | 'failed';
516
584
  /**
517
585
  * Response for a swap action.
518
586
  */
@@ -554,37 +622,71 @@ export interface SwapActionResponse {
554
622
  * The ID of the wallet involved in the action.
555
623
  */
556
624
  wallet_id: string;
625
+ /**
626
+ * Recipient address on the destination chain. Present for cross-chain swaps. May
627
+ * differ from the source wallet address when swapping between chain types (e.g.
628
+ * EVM to Solana).
629
+ */
630
+ destination_address?: string;
557
631
  /**
558
632
  * Destination chain CAIP-2 identifier. Present for cross-chain swaps.
559
633
  */
560
634
  destination_caip2?: string;
561
635
  /**
562
- * Estimated fee breakdown from the provider quote.
636
+ * Estimated fee breakdown from the provider quote. Only present for cross-chain
637
+ * swaps. Populated after on-chain confirmation.
563
638
  */
564
- estimated_fees?: Array<WalletsAPI.FeeLineItem>;
639
+ estimated_fees?: Array<WalletsAPI.FeeLineItem> | null;
565
640
  /**
566
641
  * Gas cost for a blockchain action. Includes both raw base-unit amount and a
567
642
  * human-readable decimal string, plus the gas token symbol.
568
643
  */
569
- estimated_gas?: WalletsAPI.Gas;
644
+ estimated_gas?: WalletsAPI.Gas | null;
570
645
  /**
571
646
  * A description of why a wallet action (or a step within a wallet action) failed.
572
647
  */
573
648
  failure_reason?: FailureReason;
574
649
  /**
575
- * Actual fees paid for the swap. Populated after on-chain confirmation.
650
+ * Actual fees paid for the swap. Populated after on-chain confirmation. Only
651
+ * present for cross-chain swaps.
576
652
  */
577
- fees?: Array<WalletsAPI.FeeLineItem>;
653
+ fees?: Array<WalletsAPI.FeeLineItem> | null;
578
654
  /**
579
655
  * Gas cost for a blockchain action. Includes both raw base-unit amount and a
580
656
  * human-readable decimal string, plus the gas token symbol.
581
657
  */
582
- gas?: WalletsAPI.Gas;
658
+ gas?: WalletsAPI.Gas | null;
583
659
  /**
584
660
  * The steps of the wallet action. Only returned if `?include=steps` is provided.
585
661
  */
586
662
  steps?: Array<WalletActionStep>;
587
663
  }
664
+ /**
665
+ * A wallet action step consisting of a TVM (Tron) transaction.
666
+ */
667
+ export interface TvmTransactionWalletActionStep {
668
+ /**
669
+ * CAIP-2 chain identifier for the Tron network.
670
+ */
671
+ caip2: string;
672
+ /**
673
+ * Status of a TVM (Tron) step in a wallet action.
674
+ */
675
+ status: TvmWalletActionStepStatus;
676
+ /**
677
+ * The Tron transaction ID. Null until broadcast.
678
+ */
679
+ transaction_id: string | null;
680
+ type: 'tvm_transaction';
681
+ /**
682
+ * A description of why a wallet action (or a step within a wallet action) failed.
683
+ */
684
+ failure_reason?: FailureReason;
685
+ }
686
+ /**
687
+ * Status of a TVM (Tron) step in a wallet action.
688
+ */
689
+ export type TvmWalletActionStepStatus = 'preparing' | 'queued' | 'pending' | 'confirmed' | 'rejected' | 'reverted' | 'failed';
588
690
  /**
589
691
  * Response for a transfer action.
590
692
  */
@@ -601,6 +703,12 @@ export interface TransferActionResponse {
601
703
  * Recipient address.
602
704
  */
603
705
  destination_address: string;
706
+ /**
707
+ * Amount received on the destination chain. For exact_output cross-chain
708
+ * transfers, set at creation (the guaranteed exact amount). For exact_input
709
+ * cross-chain transfers, null until fill confirmation.
710
+ */
711
+ destination_amount: string | null;
604
712
  /**
605
713
  * Chain name (e.g. "base", "ethereum").
606
714
  */
@@ -615,10 +723,9 @@ export interface TransferActionResponse {
615
723
  */
616
724
  wallet_id: string;
617
725
  /**
618
- * Amount received on the destination chain. Populated immediately for exact_output
619
- * transfers, or after fill confirmation for exact_input transfers.
726
+ * Whether the amount refers to the input token or output token.
620
727
  */
621
- destination_amount?: string;
728
+ amount_type?: WalletsAPI.AmountType;
622
729
  /**
623
730
  * Destination asset for cross-asset transfers. Omitted for same-asset transfers.
624
731
  */
@@ -628,30 +735,32 @@ export interface TransferActionResponse {
628
735
  */
629
736
  destination_chain?: string;
630
737
  /**
631
- * Estimated fee breakdown from the provider quote.
738
+ * Estimated fee breakdown from the provider quote. Only present for cross-chain or
739
+ * cross-asset transfers. Populated after on-chain confirmation.
632
740
  */
633
- estimated_fees?: Array<WalletsAPI.FeeLineItem>;
741
+ estimated_fees?: Array<WalletsAPI.FeeLineItem> | null;
634
742
  /**
635
743
  * Gas cost for a blockchain action. Includes both raw base-unit amount and a
636
744
  * human-readable decimal string, plus the gas token symbol.
637
745
  */
638
- estimated_gas?: WalletsAPI.Gas;
746
+ estimated_gas?: WalletsAPI.Gas | null;
639
747
  /**
640
748
  * A description of why a wallet action (or a step within a wallet action) failed.
641
749
  */
642
750
  failure_reason?: FailureReason;
643
751
  /**
644
- * Actual fees paid for the transfer. Populated after on-chain confirmation.
752
+ * Actual fees paid for the transfer. Populated after on-chain confirmation. Only
753
+ * present for cross-chain transfers.
645
754
  */
646
- fees?: Array<WalletsAPI.FeeLineItem>;
755
+ fees?: Array<WalletsAPI.FeeLineItem> | null;
647
756
  /**
648
757
  * Gas cost for a blockchain action. Includes both raw base-unit amount and a
649
758
  * human-readable decimal string, plus the gas token symbol.
650
759
  */
651
- gas?: WalletsAPI.Gas;
760
+ gas?: WalletsAPI.Gas | null;
652
761
  /**
653
- * Decimal amount sent on the source chain (e.g. "1.5"). Omitted for exact_output
654
- * cross-chain transfers until the source amount is determined.
762
+ * Decimal amount sent on the source chain (e.g. "1.5"). For exact_output
763
+ * cross-chain transfers, null until fill confirmation.
655
764
  */
656
765
  source_amount?: string;
657
766
  /**
@@ -674,6 +783,10 @@ export interface TransferActionResponse {
674
783
  */
675
784
  steps?: Array<WalletActionStep>;
676
785
  }
786
+ /**
787
+ * Expandable relations to include on a wallet action response.
788
+ */
789
+ export type WalletActionInclude = 'steps';
677
790
  /**
678
791
  * Response for a wallet action, discriminated on type.
679
792
  */
@@ -685,16 +798,16 @@ export type WalletActionStatus = 'pending' | 'succeeded' | 'rejected' | 'failed'
685
798
  /**
686
799
  * A step within a wallet action, representing a single onchain action.
687
800
  */
688
- export type WalletActionStep = EvmTransactionWalletActionStep | EvmUserOperationWalletActionStep | SvmTransactionWalletActionStep | ExternalTransactionWalletActionStep;
801
+ export type WalletActionStep = EvmTransactionWalletActionStep | EvmUserOperationWalletActionStep | SvmTransactionWalletActionStep | TvmTransactionWalletActionStep | ExternalTransactionWalletActionStep | CustodianTransactionWalletActionStep;
689
802
  /**
690
803
  * Type of a wallet action step.
691
804
  */
692
- export type WalletActionStepType = 'evm_transaction' | 'evm_user_operation' | 'svm_transaction' | 'external_transaction';
805
+ export type WalletActionStepType = 'evm_transaction' | 'evm_user_operation' | 'svm_transaction' | 'tvm_transaction' | 'external_transaction' | 'custodian_transaction';
693
806
  /**
694
807
  * Type of wallet action
695
808
  */
696
809
  export type WalletActionType = 'swap' | 'transfer' | 'earn_deposit' | 'earn_withdraw' | 'earn_incentive_claim';
697
810
  export declare namespace WalletActions {
698
- export { type EvmTransactionWalletActionStep as EvmTransactionWalletActionStep, type EvmUserOperationWalletActionStep as EvmUserOperationWalletActionStep, type EvmWalletActionStepStatus as EvmWalletActionStepStatus, type EarnAsset as EarnAsset, type EarnDepositActionResponse as EarnDepositActionResponse, type EarnDepositRequestBody as EarnDepositRequestBody, type EarnIncentiveClaimActionResponse as EarnIncentiveClaimActionResponse, type EarnIncentiveClaimRequestBody as EarnIncentiveClaimRequestBody, type EarnIncentiveRewardEntry as EarnIncentiveRewardEntry, type EarnIncentiveRewardsQuery as EarnIncentiveRewardsQuery, type EarnIncentiveRewardsResponse as EarnIncentiveRewardsResponse, type EarnIncetiveClaimRewardEntry as EarnIncetiveClaimRewardEntry, type EarnWithdrawActionResponse as EarnWithdrawActionResponse, type EarnWithdrawRequestBody as EarnWithdrawRequestBody, type EthereumEarnPositionQuery as EthereumEarnPositionQuery, type EthereumEarnPositionResponse as EthereumEarnPositionResponse, type EthereumEarnProvider as EthereumEarnProvider, type EthereumEarnVaultDetailsResponse as EthereumEarnVaultDetailsResponse, type ExternalTransactionWalletActionStep as ExternalTransactionWalletActionStep, type ExternalTransactionWalletActionStepStatus as ExternalTransactionWalletActionStepStatus, type FailureReason as FailureReason, type SvmTransactionWalletActionStep as SvmTransactionWalletActionStep, type SvmWalletActionStepStatus as SvmWalletActionStepStatus, type SwapActionResponse as SwapActionResponse, type TransferActionResponse as TransferActionResponse, type WalletActionResponse as WalletActionResponse, type WalletActionStatus as WalletActionStatus, type WalletActionStep as WalletActionStep, type WalletActionStepType as WalletActionStepType, type WalletActionType as WalletActionType, };
811
+ export { type CustodianTransactionWalletActionStep as CustodianTransactionWalletActionStep, type CustodianTransactionWalletActionStepStatus as CustodianTransactionWalletActionStepStatus, type EvmTransactionWalletActionStep as EvmTransactionWalletActionStep, type EvmUserOperationWalletActionStep as EvmUserOperationWalletActionStep, type EvmWalletActionStepStatus as EvmWalletActionStepStatus, type EarnAsset as EarnAsset, type EarnDepositActionResponse as EarnDepositActionResponse, type EarnDepositRequestBody as EarnDepositRequestBody, type EarnIncentiveClaimActionResponse as EarnIncentiveClaimActionResponse, type EarnIncentiveClaimRequestBody as EarnIncentiveClaimRequestBody, type EarnIncentiveRewardEntry as EarnIncentiveRewardEntry, type EarnIncentiveRewardsQuery as EarnIncentiveRewardsQuery, type EarnIncentiveRewardsResponse as EarnIncentiveRewardsResponse, type EarnIncetiveClaimRewardEntry as EarnIncetiveClaimRewardEntry, type EarnWithdrawActionResponse as EarnWithdrawActionResponse, type EarnWithdrawRequestBody as EarnWithdrawRequestBody, type EthereumEarnPositionQuery as EthereumEarnPositionQuery, type EthereumEarnPositionResponse as EthereumEarnPositionResponse, type EthereumEarnProvider as EthereumEarnProvider, type EthereumEarnVaultDetailsResponse as EthereumEarnVaultDetailsResponse, type ExternalTransactionWalletActionStep as ExternalTransactionWalletActionStep, type ExternalTransactionWalletActionStepStatus as ExternalTransactionWalletActionStepStatus, type FailureReason as FailureReason, type ListWalletActionsQuery as ListWalletActionsQuery, type ListWalletActionsResponse as ListWalletActionsResponse, type SvmTransactionWalletActionStep as SvmTransactionWalletActionStep, type SvmWalletActionStepStatus as SvmWalletActionStepStatus, type SwapActionResponse as SwapActionResponse, type TvmTransactionWalletActionStep as TvmTransactionWalletActionStep, type TvmWalletActionStepStatus as TvmWalletActionStepStatus, type TransferActionResponse as TransferActionResponse, type WalletActionInclude as WalletActionInclude, type WalletActionResponse as WalletActionResponse, type WalletActionStatus as WalletActionStatus, type WalletActionStep as WalletActionStep, type WalletActionStepType as WalletActionStepType, type WalletActionType as WalletActionType, };
699
812
  }
700
813
  //# sourceMappingURL=wallet-actions.d.ts.map