@crossmint/wallets-sdk 1.0.14 → 1.1.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 (177) hide show
  1. package/dist/api/__tests__/constants.d.cts +1 -1
  2. package/dist/api/__tests__/constants.d.ts +1 -1
  3. package/dist/api/__tests__/test-utils.cjs +1 -1
  4. package/dist/api/__tests__/test-utils.d.cts +1 -1
  5. package/dist/api/__tests__/test-utils.d.ts +1 -1
  6. package/dist/api/__tests__/test-utils.js +1 -1
  7. package/dist/api/client.cjs +1 -1
  8. package/dist/api/client.d.cts +1 -1
  9. package/dist/api/client.d.ts +1 -1
  10. package/dist/api/client.js +1 -1
  11. package/dist/api/gen/sdk.gen.d.cts +1 -1
  12. package/dist/api/gen/sdk.gen.d.ts +1 -1
  13. package/dist/api/gen/types.gen.d.cts +295 -5
  14. package/dist/api/gen/types.gen.d.ts +295 -5
  15. package/dist/api/index.cjs +1 -1
  16. package/dist/api/index.d.cts +1 -1
  17. package/dist/api/index.d.ts +1 -1
  18. package/dist/api/index.js +1 -1
  19. package/dist/api/types.d.cts +1 -1
  20. package/dist/api/types.d.ts +1 -1
  21. package/dist/chains/chains.cjs +1 -1
  22. package/dist/chains/chains.js +1 -1
  23. package/dist/{chunk-EFK26RL5.cjs → chunk-2U7WGZKO.cjs} +1 -1
  24. package/dist/{chunk-SWXDKYWM.js → chunk-5FTEELGX.js} +1 -1
  25. package/dist/chunk-7GRHCD3D.js +1 -0
  26. package/dist/chunk-7N2UI3ZF.js +3 -0
  27. package/dist/{chunk-BS55OS3S.js → chunk-7PJMUI5M.js} +1 -1
  28. package/dist/{chunk-GSGBIM5E.cjs → chunk-AZQCD6KG.cjs} +1 -1
  29. package/dist/chunk-CW6D6JCN.js +1 -0
  30. package/dist/chunk-DXCJLVQZ.js +1 -0
  31. package/dist/chunk-DYJIQP7I.cjs +1 -0
  32. package/dist/{chunk-K5FNXQIQ.js → chunk-EGFMYX2J.js} +1 -1
  33. package/dist/{chunk-7EZQOS37.cjs → chunk-EPG5PWL4.cjs} +1 -1
  34. package/dist/{chunk-QWHQ5NAY.js → chunk-EUE4ZUZX.js} +1 -1
  35. package/dist/chunk-FBPSY3QL.cjs +1 -0
  36. package/dist/{chunk-CF5YIHZX.cjs → chunk-FPFNBH6I.cjs} +1 -1
  37. package/dist/chunk-HILLNWYM.js +1 -0
  38. package/dist/{chunk-LEIODNM5.js → chunk-HZVB2TS2.js} +1 -1
  39. package/dist/{chunk-HFQTOJEG.cjs → chunk-IR6H3POT.cjs} +1 -1
  40. package/dist/chunk-J7D3WVQK.cjs +1 -0
  41. package/dist/{chunk-TP7RAANC.js → chunk-J7WM724X.js} +1 -1
  42. package/dist/{chunk-4NYZ24DW.js → chunk-KTKQ6OL5.js} +1 -1
  43. package/dist/{chunk-CU332MNQ.js → chunk-M5Y7T2U7.js} +1 -1
  44. package/dist/chunk-PGAG6P4Q.cjs +1 -0
  45. package/dist/{chunk-KEEHHSIZ.cjs → chunk-R6HDN7FK.cjs} +1 -1
  46. package/dist/chunk-RFGFHHWP.cjs +1 -0
  47. package/dist/chunk-SL3R26GU.js +1 -0
  48. package/dist/chunk-TLCNLI7Z.cjs +3 -0
  49. package/dist/{chunk-VVLFMWTS.js → chunk-U6Y7VUDY.js} +1 -1
  50. package/dist/{chunk-RUD4GDRD.cjs → chunk-URCSUROA.cjs} +1 -1
  51. package/dist/{chunk-QLHOHXVZ.cjs → chunk-VXCCA7AL.cjs} +1 -1
  52. package/dist/{chunk-5QHWUYYN.js → chunk-W2RVTMBI.js} +1 -1
  53. package/dist/{chunk-PGHXTBM2.cjs → chunk-XQ4IOAFY.cjs} +1 -1
  54. package/dist/{chunk-XKKIMGTA.cjs → chunk-XRZ5RNIN.cjs} +1 -1
  55. package/dist/index.cjs +1 -1
  56. package/dist/index.d.cts +1 -1
  57. package/dist/index.d.ts +1 -1
  58. package/dist/index.js +1 -1
  59. package/dist/logger/index.cjs +1 -1
  60. package/dist/logger/index.js +1 -1
  61. package/dist/logger/init.cjs +1 -1
  62. package/dist/logger/init.js +1 -1
  63. package/dist/sdk.cjs +1 -1
  64. package/dist/sdk.d.cts +1 -1
  65. package/dist/sdk.d.ts +1 -1
  66. package/dist/sdk.js +1 -1
  67. package/dist/signers/device.d.cts +1 -1
  68. package/dist/signers/device.d.ts +1 -1
  69. package/dist/signers/evm-api-key.d.cts +1 -1
  70. package/dist/signers/evm-api-key.d.ts +1 -1
  71. package/dist/signers/evm-external-wallet.d.cts +1 -1
  72. package/dist/signers/evm-external-wallet.d.ts +1 -1
  73. package/dist/signers/external-wallet-signer.d.cts +1 -1
  74. package/dist/signers/external-wallet-signer.d.ts +1 -1
  75. package/dist/signers/index.cjs +1 -1
  76. package/dist/signers/index.d.cts +1 -1
  77. package/dist/signers/index.d.ts +1 -1
  78. package/dist/signers/index.js +1 -1
  79. package/dist/signers/non-custodial/index.cjs +1 -1
  80. package/dist/signers/non-custodial/index.d.cts +1 -1
  81. package/dist/signers/non-custodial/index.d.ts +1 -1
  82. package/dist/signers/non-custodial/index.js +1 -1
  83. package/dist/signers/non-custodial/ncs-evm-signer.cjs +1 -1
  84. package/dist/signers/non-custodial/ncs-evm-signer.d.cts +1 -1
  85. package/dist/signers/non-custodial/ncs-evm-signer.d.ts +1 -1
  86. package/dist/signers/non-custodial/ncs-evm-signer.js +1 -1
  87. package/dist/signers/non-custodial/ncs-signer.cjs +1 -1
  88. package/dist/signers/non-custodial/ncs-signer.d.cts +2 -2
  89. package/dist/signers/non-custodial/ncs-signer.d.ts +2 -2
  90. package/dist/signers/non-custodial/ncs-signer.js +1 -1
  91. package/dist/signers/non-custodial/ncs-solana-signer.cjs +1 -1
  92. package/dist/signers/non-custodial/ncs-solana-signer.d.cts +1 -1
  93. package/dist/signers/non-custodial/ncs-solana-signer.d.ts +1 -1
  94. package/dist/signers/non-custodial/ncs-solana-signer.js +1 -1
  95. package/dist/signers/non-custodial/ncs-stellar-signer.cjs +1 -1
  96. package/dist/signers/non-custodial/ncs-stellar-signer.d.cts +1 -1
  97. package/dist/signers/non-custodial/ncs-stellar-signer.d.ts +1 -1
  98. package/dist/signers/non-custodial/ncs-stellar-signer.js +1 -1
  99. package/dist/signers/passkey.d.cts +1 -1
  100. package/dist/signers/passkey.d.ts +1 -1
  101. package/dist/signers/server/assemble-server-signer.d.cts +1 -1
  102. package/dist/signers/server/assemble-server-signer.d.ts +1 -1
  103. package/dist/signers/server/evm-server-signer.d.cts +1 -1
  104. package/dist/signers/server/evm-server-signer.d.ts +1 -1
  105. package/dist/signers/server/helpers/derive-server-signer.d.cts +1 -1
  106. package/dist/signers/server/helpers/derive-server-signer.d.ts +1 -1
  107. package/dist/signers/server/helpers/index.d.cts +1 -1
  108. package/dist/signers/server/helpers/index.d.ts +1 -1
  109. package/dist/signers/server/index.d.cts +1 -1
  110. package/dist/signers/server/index.d.ts +1 -1
  111. package/dist/signers/server/solana-server-signer.d.cts +1 -1
  112. package/dist/signers/server/solana-server-signer.d.ts +1 -1
  113. package/dist/signers/server/stellar-server-signer.d.cts +1 -1
  114. package/dist/signers/server/stellar-server-signer.d.ts +1 -1
  115. package/dist/signers/solana-api-key.d.cts +1 -1
  116. package/dist/signers/solana-api-key.d.ts +1 -1
  117. package/dist/signers/solana-external-wallet.d.cts +1 -1
  118. package/dist/signers/solana-external-wallet.d.ts +1 -1
  119. package/dist/signers/stellar-external-wallet.d.cts +1 -1
  120. package/dist/signers/stellar-external-wallet.d.ts +1 -1
  121. package/dist/signers/types.d.cts +1 -1
  122. package/dist/signers/types.d.ts +1 -1
  123. package/dist/{types-BZ83dAVx.d.ts → types-CtOIG5sn.d.ts} +8 -2
  124. package/dist/{types-fUCYdXAl.d.cts → types-DZWn68Po.d.cts} +8 -2
  125. package/dist/utils/constants.cjs +1 -1
  126. package/dist/utils/constants.js +1 -1
  127. package/dist/utils/device-signers/IframeDeviceSignerKeyStorage.cjs +1 -1
  128. package/dist/utils/device-signers/IframeDeviceSignerKeyStorage.js +1 -1
  129. package/dist/utils/device-signers/createDeviceSigner.d.cts +1 -1
  130. package/dist/utils/device-signers/createDeviceSigner.d.ts +1 -1
  131. package/dist/utils/device-signers/index.cjs +1 -1
  132. package/dist/utils/device-signers/index.d.cts +1 -1
  133. package/dist/utils/device-signers/index.d.ts +1 -1
  134. package/dist/utils/device-signers/index.js +1 -1
  135. package/dist/utils/signer-locator.d.cts +1 -1
  136. package/dist/utils/signer-locator.d.ts +1 -1
  137. package/dist/utils/signer-mapping.d.cts +1 -1
  138. package/dist/utils/signer-mapping.d.ts +1 -1
  139. package/dist/wallets/__tests__/test-helpers.cjs +1 -1
  140. package/dist/wallets/__tests__/test-helpers.d.cts +1 -1
  141. package/dist/wallets/__tests__/test-helpers.d.ts +1 -1
  142. package/dist/wallets/__tests__/test-helpers.js +1 -1
  143. package/dist/wallets/evm.cjs +1 -1
  144. package/dist/wallets/evm.d.cts +1 -1
  145. package/dist/wallets/evm.d.ts +1 -1
  146. package/dist/wallets/evm.js +1 -1
  147. package/dist/wallets/solana.cjs +1 -1
  148. package/dist/wallets/solana.d.cts +1 -1
  149. package/dist/wallets/solana.d.ts +1 -1
  150. package/dist/wallets/solana.js +1 -1
  151. package/dist/wallets/stellar.cjs +1 -1
  152. package/dist/wallets/stellar.d.cts +40 -1
  153. package/dist/wallets/stellar.d.ts +40 -1
  154. package/dist/wallets/stellar.js +1 -1
  155. package/dist/wallets/types.d.cts +1 -1
  156. package/dist/wallets/types.d.ts +1 -1
  157. package/dist/wallets/wallet-factory.cjs +1 -1
  158. package/dist/wallets/wallet-factory.d.cts +2 -2
  159. package/dist/wallets/wallet-factory.d.ts +2 -2
  160. package/dist/wallets/wallet-factory.js +1 -1
  161. package/dist/wallets/wallet.cjs +1 -1
  162. package/dist/wallets/wallet.d.cts +2 -2
  163. package/dist/wallets/wallet.d.ts +2 -2
  164. package/dist/wallets/wallet.js +1 -1
  165. package/package.json +4 -4
  166. package/dist/chunk-6OELZRMT.cjs +0 -1
  167. package/dist/chunk-6XGP4HMG.cjs +0 -1
  168. package/dist/chunk-6Z4EZBIA.js +0 -1
  169. package/dist/chunk-C7ZRKJGY.cjs +0 -1
  170. package/dist/chunk-LTA4BVJ2.js +0 -1
  171. package/dist/chunk-LTTG4ATS.js +0 -1
  172. package/dist/chunk-OH2QJLHX.cjs +0 -1
  173. package/dist/chunk-PTCXLH65.cjs +0 -3
  174. package/dist/chunk-QMSW23Z6.js +0 -1
  175. package/dist/chunk-XFPV6OUZ.js +0 -3
  176. package/dist/chunk-XWG5HSVL.cjs +0 -1
  177. package/dist/chunk-ZPVXC2SA.js +0 -1
@@ -2146,6 +2146,22 @@ type CreateSignerV2025InputDtoClass = {
2146
2146
  */
2147
2147
  name?: string;
2148
2148
  }) | string;
2149
+ /**
2150
+ * Optional array of scopes to restrict the signer's capabilities
2151
+ */
2152
+ scopes?: Array<{
2153
+ type: 'transfer';
2154
+ tokenLocator: string;
2155
+ recipients?: Array<string>;
2156
+ spendingLimit?: {
2157
+ amount: string;
2158
+ interval?: number;
2159
+ };
2160
+ }>;
2161
+ /**
2162
+ * The expiry date of the signer in ISO 8601 format
2163
+ */
2164
+ expiresAt?: string;
2149
2165
  } | {
2150
2166
  signer: ({
2151
2167
  /**
@@ -2421,6 +2437,16 @@ type CreateTransactionV2025DtoClass = {
2421
2437
  args: {
2422
2438
  [key: string]: unknown;
2423
2439
  };
2440
+ } | {
2441
+ /**
2442
+ * The type of transaction to execute
2443
+ */
2444
+ type: 'upgrade-wallet';
2445
+ } | {
2446
+ /**
2447
+ * The type of transaction to execute
2448
+ */
2449
+ type: 'migrate-wallet';
2424
2450
  };
2425
2451
  /**
2426
2452
  * Signer Locator
@@ -2432,7 +2458,7 @@ type CreateTransactionV2025DtoClass = {
2432
2458
  type CreateWalletV2025DtoClass = {
2433
2459
  chainType: 'evm';
2434
2460
  type?: 'smart';
2435
- config?: {
2461
+ config: {
2436
2462
  adminSigner: {
2437
2463
  /**
2438
2464
  * Identifier for external wallet signer type
@@ -2605,7 +2631,7 @@ type CreateWalletV2025DtoClass = {
2605
2631
  */
2606
2632
  creationSeed?: string;
2607
2633
  };
2608
- owner?: 'COMPANY' | string;
2634
+ owner?: string;
2609
2635
  /**
2610
2636
  * The wallet alias
2611
2637
  */
@@ -2626,7 +2652,7 @@ type CreateWalletV2025DtoClass = {
2626
2652
  } | {
2627
2653
  chainType: 'solana';
2628
2654
  type?: 'smart';
2629
- config?: {
2655
+ config: {
2630
2656
  adminSigner: {
2631
2657
  /**
2632
2658
  * Identifier for external wallet signer type
@@ -2763,9 +2789,25 @@ type CreateWalletV2025DtoClass = {
2763
2789
  */
2764
2790
  name?: string;
2765
2791
  }) | string;
2792
+ /**
2793
+ * Optional array of scopes to restrict the signer's capabilities
2794
+ */
2795
+ scopes?: Array<{
2796
+ type: 'transfer';
2797
+ tokenLocator: string;
2798
+ recipients?: Array<string>;
2799
+ spendingLimit?: {
2800
+ amount: string;
2801
+ interval?: number;
2802
+ };
2803
+ }>;
2804
+ /**
2805
+ * The expiry date of the signer in ISO 8601 format
2806
+ */
2807
+ expiresAt?: string;
2766
2808
  }>;
2767
2809
  };
2768
- owner?: 'COMPANY' | string;
2810
+ owner?: string;
2769
2811
  /**
2770
2812
  * The wallet alias
2771
2813
  */
@@ -2971,7 +3013,7 @@ type CreateWalletV2025DtoClass = {
2971
3013
  */
2972
3014
  plugins?: Array<string>;
2973
3015
  };
2974
- owner?: 'COMPANY' | string;
3016
+ owner?: string;
2975
3017
  /**
2976
3018
  * The wallet alias
2977
3019
  */
@@ -3111,6 +3153,22 @@ type DelegatedSignerV2025DtoClass = (({
3111
3153
  */
3112
3154
  name?: string;
3113
3155
  }) & {
3156
+ /**
3157
+ * Optional array of scopes restricting the signer's capabilities
3158
+ */
3159
+ scopes?: Array<{
3160
+ type: 'transfer';
3161
+ tokenLocator: string;
3162
+ recipients?: Array<string>;
3163
+ spendingLimit?: {
3164
+ amount: string;
3165
+ interval?: number;
3166
+ };
3167
+ }>;
3168
+ /**
3169
+ * The expiry date of the signer in ISO 8601 format
3170
+ */
3171
+ expiresAt?: number | string;
3114
3172
  /**
3115
3173
  * The transaction for the signer
3116
3174
  */
@@ -3368,6 +3426,20 @@ type DelegatedSignerV2025DtoClass = (({
3368
3426
  recipientAddress: string;
3369
3427
  };
3370
3428
  };
3429
+ /**
3430
+ * Transaction fee information including actual gas costs, billed amounts, and billing status
3431
+ */
3432
+ fees?: {
3433
+ mode: 'user-native' | 'user-fungible' | 'project';
3434
+ estimate?: unknown;
3435
+ actual?: unknown;
3436
+ billed?: {
3437
+ usd: number;
3438
+ };
3439
+ billing?: {
3440
+ status: 'pending' | 'settled' | 'failed';
3441
+ };
3442
+ };
3371
3443
  walletType: 'smart';
3372
3444
  };
3373
3445
  }) | (({
@@ -4122,6 +4194,20 @@ type DelegatedSignerV2025DtoClass = (({
4122
4194
  recipientAddress: string;
4123
4195
  };
4124
4196
  };
4197
+ /**
4198
+ * Transaction fee information including actual gas costs, billed amounts, and billing status
4199
+ */
4200
+ fees?: {
4201
+ mode: 'user-native' | 'user-fungible' | 'project';
4202
+ estimate?: unknown;
4203
+ actual?: unknown;
4204
+ billed?: {
4205
+ usd: number;
4206
+ };
4207
+ billing?: {
4208
+ status: 'pending' | 'settled' | 'failed';
4209
+ };
4210
+ };
4125
4211
  walletType: 'smart';
4126
4212
  };
4127
4213
  });
@@ -5863,6 +5949,20 @@ type WalletsMultipleTransactionV2025ResponseDto = {
5863
5949
  recipientAddress: string;
5864
5950
  };
5865
5951
  };
5952
+ /**
5953
+ * Transaction fee information including actual gas costs, billed amounts, and billing status
5954
+ */
5955
+ fees?: {
5956
+ mode: 'user-native' | 'user-fungible' | 'project';
5957
+ estimate?: unknown;
5958
+ actual?: unknown;
5959
+ billed?: {
5960
+ usd: number;
5961
+ };
5962
+ billing?: {
5963
+ status: 'pending' | 'settled' | 'failed';
5964
+ };
5965
+ };
5866
5966
  } | {
5867
5967
  /**
5868
5968
  * The blockchain type of the wallet
@@ -6175,6 +6275,20 @@ type WalletsMultipleTransactionV2025ResponseDto = {
6175
6275
  recipientAddress: string;
6176
6276
  };
6177
6277
  };
6278
+ /**
6279
+ * Transaction fee information including actual gas costs, billed amounts, and billing status
6280
+ */
6281
+ fees?: {
6282
+ mode: 'user-native' | 'user-fungible' | 'project';
6283
+ estimate?: unknown;
6284
+ actual?: unknown;
6285
+ billed?: {
6286
+ usd: number;
6287
+ };
6288
+ billing?: {
6289
+ status: 'pending' | 'settled' | 'failed';
6290
+ };
6291
+ };
6178
6292
  } | {
6179
6293
  /**
6180
6294
  * The blockchain type of the wallet
@@ -6588,6 +6702,20 @@ type WalletsMultipleTransactionV2025ResponseDto = {
6588
6702
  recipientAddress: string;
6589
6703
  };
6590
6704
  };
6705
+ /**
6706
+ * Transaction fee information including actual gas costs, billed amounts, and billing status
6707
+ */
6708
+ fees?: {
6709
+ mode: 'user-native' | 'user-fungible' | 'project';
6710
+ estimate?: unknown;
6711
+ actual?: unknown;
6712
+ billed?: {
6713
+ usd: number;
6714
+ };
6715
+ billing?: {
6716
+ status: 'pending' | 'settled' | 'failed';
6717
+ };
6718
+ };
6591
6719
  } | {
6592
6720
  /**
6593
6721
  * The blockchain type of the wallet
@@ -6918,6 +7046,20 @@ type WalletsMultipleTransactionV2025ResponseDto = {
6918
7046
  recipientAddress: string;
6919
7047
  };
6920
7048
  };
7049
+ /**
7050
+ * Transaction fee information including actual gas costs, billed amounts, and billing status
7051
+ */
7052
+ fees?: {
7053
+ mode: 'user-native' | 'user-fungible' | 'project';
7054
+ estimate?: unknown;
7055
+ actual?: unknown;
7056
+ billed?: {
7057
+ usd: number;
7058
+ };
7059
+ billing?: {
7060
+ status: 'pending' | 'settled' | 'failed';
7061
+ };
7062
+ };
6921
7063
  } | {
6922
7064
  /**
6923
7065
  * The blockchain type of the wallet
@@ -6963,6 +7105,16 @@ type WalletsMultipleTransactionV2025ResponseDto = {
6963
7105
  args: {
6964
7106
  [key: string]: unknown;
6965
7107
  };
7108
+ } | {
7109
+ /**
7110
+ * The type of transaction to execute
7111
+ */
7112
+ type: 'upgrade-wallet';
7113
+ } | {
7114
+ /**
7115
+ * The type of transaction to execute
7116
+ */
7117
+ type: 'migrate-wallet';
6966
7118
  };
6967
7119
  /**
6968
7120
  * Signer Locator
@@ -7246,6 +7398,20 @@ type WalletsMultipleTransactionV2025ResponseDto = {
7246
7398
  recipientAddress: string;
7247
7399
  };
7248
7400
  };
7401
+ /**
7402
+ * Transaction fee information including actual gas costs, billed amounts, and billing status
7403
+ */
7404
+ fees?: {
7405
+ mode: 'user-native' | 'user-fungible' | 'project';
7406
+ estimate?: unknown;
7407
+ actual?: unknown;
7408
+ billed?: {
7409
+ usd: number;
7410
+ };
7411
+ billing?: {
7412
+ status: 'pending' | 'settled' | 'failed';
7413
+ };
7414
+ };
7249
7415
  }>;
7250
7416
  };
7251
7417
  type WalletsSignatureV2025ResponseDto = {
@@ -8161,6 +8327,20 @@ type WalletsTransactionV2025ResponseDtoClass = {
8161
8327
  recipientAddress: string;
8162
8328
  };
8163
8329
  };
8330
+ /**
8331
+ * Transaction fee information including actual gas costs, billed amounts, and billing status
8332
+ */
8333
+ fees?: {
8334
+ mode: 'user-native' | 'user-fungible' | 'project';
8335
+ estimate?: unknown;
8336
+ actual?: unknown;
8337
+ billed?: {
8338
+ usd: number;
8339
+ };
8340
+ billing?: {
8341
+ status: 'pending' | 'settled' | 'failed';
8342
+ };
8343
+ };
8164
8344
  } | {
8165
8345
  /**
8166
8346
  * The blockchain type of the wallet
@@ -8473,6 +8653,20 @@ type WalletsTransactionV2025ResponseDtoClass = {
8473
8653
  recipientAddress: string;
8474
8654
  };
8475
8655
  };
8656
+ /**
8657
+ * Transaction fee information including actual gas costs, billed amounts, and billing status
8658
+ */
8659
+ fees?: {
8660
+ mode: 'user-native' | 'user-fungible' | 'project';
8661
+ estimate?: unknown;
8662
+ actual?: unknown;
8663
+ billed?: {
8664
+ usd: number;
8665
+ };
8666
+ billing?: {
8667
+ status: 'pending' | 'settled' | 'failed';
8668
+ };
8669
+ };
8476
8670
  } | {
8477
8671
  /**
8478
8672
  * The blockchain type of the wallet
@@ -8886,6 +9080,20 @@ type WalletsTransactionV2025ResponseDtoClass = {
8886
9080
  recipientAddress: string;
8887
9081
  };
8888
9082
  };
9083
+ /**
9084
+ * Transaction fee information including actual gas costs, billed amounts, and billing status
9085
+ */
9086
+ fees?: {
9087
+ mode: 'user-native' | 'user-fungible' | 'project';
9088
+ estimate?: unknown;
9089
+ actual?: unknown;
9090
+ billed?: {
9091
+ usd: number;
9092
+ };
9093
+ billing?: {
9094
+ status: 'pending' | 'settled' | 'failed';
9095
+ };
9096
+ };
8889
9097
  } | {
8890
9098
  /**
8891
9099
  * The blockchain type of the wallet
@@ -9216,6 +9424,20 @@ type WalletsTransactionV2025ResponseDtoClass = {
9216
9424
  recipientAddress: string;
9217
9425
  };
9218
9426
  };
9427
+ /**
9428
+ * Transaction fee information including actual gas costs, billed amounts, and billing status
9429
+ */
9430
+ fees?: {
9431
+ mode: 'user-native' | 'user-fungible' | 'project';
9432
+ estimate?: unknown;
9433
+ actual?: unknown;
9434
+ billed?: {
9435
+ usd: number;
9436
+ };
9437
+ billing?: {
9438
+ status: 'pending' | 'settled' | 'failed';
9439
+ };
9440
+ };
9219
9441
  } | {
9220
9442
  /**
9221
9443
  * The blockchain type of the wallet
@@ -9261,6 +9483,16 @@ type WalletsTransactionV2025ResponseDtoClass = {
9261
9483
  args: {
9262
9484
  [key: string]: unknown;
9263
9485
  };
9486
+ } | {
9487
+ /**
9488
+ * The type of transaction to execute
9489
+ */
9490
+ type: 'upgrade-wallet';
9491
+ } | {
9492
+ /**
9493
+ * The type of transaction to execute
9494
+ */
9495
+ type: 'migrate-wallet';
9264
9496
  };
9265
9497
  /**
9266
9498
  * Signer Locator
@@ -9544,6 +9776,20 @@ type WalletsTransactionV2025ResponseDtoClass = {
9544
9776
  recipientAddress: string;
9545
9777
  };
9546
9778
  };
9779
+ /**
9780
+ * Transaction fee information including actual gas costs, billed amounts, and billing status
9781
+ */
9782
+ fees?: {
9783
+ mode: 'user-native' | 'user-fungible' | 'project';
9784
+ estimate?: unknown;
9785
+ actual?: unknown;
9786
+ billed?: {
9787
+ usd: number;
9788
+ };
9789
+ billing?: {
9790
+ status: 'pending' | 'settled' | 'failed';
9791
+ };
9792
+ };
9547
9793
  };
9548
9794
  type WalletsV1Alpha2TransactionResponseDtoClass = {
9549
9795
  /**
@@ -11699,6 +11945,22 @@ type WalletV2025ResponseDtoClass = {
11699
11945
  */
11700
11946
  name?: string;
11701
11947
  }) & {
11948
+ /**
11949
+ * Optional array of scopes restricting the signer's capabilities
11950
+ */
11951
+ scopes?: Array<{
11952
+ type: 'transfer';
11953
+ tokenLocator: string;
11954
+ recipients?: Array<string>;
11955
+ spendingLimit?: {
11956
+ amount: string;
11957
+ interval?: number;
11958
+ };
11959
+ }>;
11960
+ /**
11961
+ * The expiry date of the signer in ISO 8601 format
11962
+ */
11963
+ expiresAt?: number | string;
11702
11964
  /**
11703
11965
  * The transaction for the signer
11704
11966
  */
@@ -11956,6 +12218,20 @@ type WalletV2025ResponseDtoClass = {
11956
12218
  recipientAddress: string;
11957
12219
  };
11958
12220
  };
12221
+ /**
12222
+ * Transaction fee information including actual gas costs, billed amounts, and billing status
12223
+ */
12224
+ fees?: {
12225
+ mode: 'user-native' | 'user-fungible' | 'project';
12226
+ estimate?: unknown;
12227
+ actual?: unknown;
12228
+ billed?: {
12229
+ usd: number;
12230
+ };
12231
+ billing?: {
12232
+ status: 'pending' | 'settled' | 'failed';
12233
+ };
12234
+ };
11959
12235
  walletType: 'smart';
11960
12236
  };
11961
12237
  }>;
@@ -12556,6 +12832,20 @@ type WalletV2025ResponseDtoClass = {
12556
12832
  recipientAddress: string;
12557
12833
  };
12558
12834
  };
12835
+ /**
12836
+ * Transaction fee information including actual gas costs, billed amounts, and billing status
12837
+ */
12838
+ fees?: {
12839
+ mode: 'user-native' | 'user-fungible' | 'project';
12840
+ estimate?: unknown;
12841
+ actual?: unknown;
12842
+ billed?: {
12843
+ usd: number;
12844
+ };
12845
+ billing?: {
12846
+ status: 'pending' | 'settled' | 'failed';
12847
+ };
12848
+ };
12559
12849
  walletType: 'smart';
12560
12850
  };
12561
12851
  }>;