@ledgerhq/revault-api 1.54.0 → 1.55.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/lib/index.d.mts CHANGED
@@ -1,8 +1,8 @@
1
1
  export { CreateWebhookPayload, DeleteWebhookResponse, WebhookResponse, WebhooksResponse, zCreateWebhookPayload, zDeleteWebhookResponse, zWebhookResponse } from '@ledgerhq/revault-notifier-types/webhook';
2
2
  import * as z from 'zod';
3
3
  import z__default, { z as z$1 } from 'zod';
4
- import { P as PrismaClient, E as Exact, A as Args, R as Result, U as User, a as AssetResponse, b as UserTask } from './app-types-rRMURvoW.mjs';
5
- export { c as AccountFreshAddress, d as AccountLiveDataResponse, e as AccountResponse, f as AccountSortBy, g as AccountType, h as ActivationStatus, i as AdminPermission, j as AdminResponse, k as AllowedAction, l as ApproveVaultRequestInput, C as Challenge, m as ChallengeResponse, n as ChallengeType, o as ClaimedRole, p as CurrencyResponse, q as EnsureNameAvailableInput, r as EnsureNameAvailableOutput, G as GroupResponse, s as GroupSortBy, O as OnboardedUserRole, t as OnboardingStep, u as PsdModel, v as RequestReviewStatus, w as RequestSortBy, x as RequestState, y as RequestType, z as ResourceType, B as RevaultMode, D as ReviewConfigType, S as SoftChallenge, T as TokenResponse, F as TransactionResponse, H as UserDeviceType, I as UserResponse, J as UserRole, K as UserSortBy, V as VaultRequestCreateInput, L as VaultRequestResponse, W as WhitelistResponse, M as WhitelistSortBy, N as WhitelistType, Q as genTransactionSchemas, X as zAccountFreshAddress, Y as zAccountLiveDataResponse, Z as zAccountResponse, _ as zAccountSortBy, $ as zAdminResponse, a0 as zApproveVaultRequestInput, a1 as zAssetCapabilitiesResponse, a2 as zAssetResponse, a3 as zBalance, a4 as zChallengeResponse, a5 as zCurrencyResponse, a6 as zEnsureNameAvailableInput, a7 as zEnsureNameAvailableOutput, a8 as zEstimateFeesResponse, a9 as zGroupResponse, aa as zGroupSortBy, ab as zRequestSortBy, ac as zRequestTaskResponse, ad as zStake, ae as zStakeSortBy, af as zStakingValidator, ag as zStakingValidatorSortBy, ah as zTokenResponse, ai as zUserResponse, aj as zUserSortBy, ak as zVaultRequestCreateInput, al as zVaultRequestResponse, am as zWhitelistAddressResponse, an as zWhitelistResponse, ao as zWhitelistSortBy } from './app-types-rRMURvoW.mjs';
4
+ import { T as TxHandler, U as User, E as ExtendedPrismaClient, a as UserTask } from './app-types-B0n5TLSm.mjs';
5
+ export { A as AccountFreshAddress, b as AccountLiveDataResponse, c as AccountResponse, d as AccountSortBy, e as AccountStakingFields, f as AccountType, g as ActivationStatus, h as AdminPermission, i as AdminResponse, j as AllowedAction, k as ApproveVaultRequestInput, C as ChallengeResponse, l as ChallengeType, m as ClaimedRole, n as EnsureNameAvailableInput, o as EstimatedFees, G as GroupResponse, p as GroupSortBy, M as MessageType, N as NetworkFamily, O as OnboardedUserRole, q as OnboardingStep, P as PsdModel, R as RequestDataOf, r as RequestReviewStatus, s as RequestSortBy, t as RequestState, u as RequestType, v as ResourceType, w as RevaultMode, x as ReviewConfigType, S as SendOnlyTransactionData, y as StakingDataOf, z as TransactionData, B as TransactionDataOf, D as TransactionResponse, F as TransactionType, H as TransactionTypeOf, I as UserDeviceType, J as UserResponse, K as UserRole, L as UserSortBy, V as VaultRequestCreateInput, Q as VaultRequestResponse, W as WhitelistResponse, X as WhitelistSortBy, Y as WhitelistType, Z as convertTxToGovernableIntent, _ as genTransactionSchemas, $ as getTxHsmProps, a0 as zAccountFreshAddress, a1 as zAccountLiveData, a2 as zAccountLiveDataResponse, a3 as zAccountResponse, a4 as zAccountSortBy, a5 as zAccountStakingFields, a6 as zAdminResponse, a7 as zApproveVaultRequestInput, a8 as zBalance, a9 as zChallengeResponse, aa as zCommonLiveData, ab as zEnsureNameAvailableInput, ac as zEstimateFeesResponse, ac as zEstimatedFees, ad as zGovernableAction, ae as zGroupResponse, af as zGroupSortBy, ag as zNetworkAssetFields, ah as zRequestSortBy, ai as zRequestTaskResponse, aj as zSendOnlyTransactionData, ak as zStake, al as zStakeSortBy, am as zStakingValidator, an as zStakingValidatorSortBy, ao as zTransactionData, ap as zTransactionResponse, aq as zTransactionType, ar as zUserResponse, as as zUserSortBy, at as zVaultRequestCreateInput, au as zVaultRequestResponse, av as zWhitelistAddressResponse, aw as zWhitelistResponse, ax as zWhitelistSortBy } from './app-types-B0n5TLSm.mjs';
6
6
  import * as _trpc_server from '@trpc/server';
7
7
  import * as trpc_to_openapi from 'trpc-to-openapi';
8
8
  import * as socket_io from 'socket.io';
@@ -10,18 +10,2197 @@ import * as _trpc_server_unstable_core_do_not_import from '@trpc/server/unstable
10
10
  import * as fastify_types_type_provider from 'fastify/types/type-provider';
11
11
  import * as http from 'http';
12
12
  import * as fastify from 'fastify';
13
+ import * as zod_v4_core from 'zod/v4/core';
13
14
  import '@prisma/client/runtime/client';
14
15
 
15
- declare const zGovernableAction: z$1.ZodEnum<{
16
- SIGN_MESSAGE: "SIGN_MESSAGE";
17
- SIGN_DIGESTS: "SIGN_DIGESTS";
18
- SEND: "SEND";
19
- STAKE: "STAKE";
20
- DEPLOY_CONTRACT: "DEPLOY_CONTRACT";
21
- EXECUTE_CONTRACT: "EXECUTE_CONTRACT";
22
- ACTIVATE_TOKEN: "ACTIVATE_TOKEN";
23
- RECEIVE: "RECEIVE";
24
- }>;
16
+ declare const BITCOIN_SPEC: {
17
+ readonly family: "BITCOIN_LIKE";
18
+ readonly zAssetFields: z__default.ZodObject<{
19
+ type: z__default.ZodLiteral<"BITCOIN_LIKE">;
20
+ xpub: z__default.ZodString;
21
+ }, z__default.core.$strip>;
22
+ readonly zLiveData: z__default.ZodObject<{
23
+ id: z__default.ZodString;
24
+ balance: z__default.ZodObject<{
25
+ total: z__default.ZodString;
26
+ pending: z__default.ZodString;
27
+ }, z__default.core.$strip>;
28
+ type: z__default.ZodLiteral<"BITCOIN_LIKE">;
29
+ }, z__default.core.$strip>;
30
+ readonly zTransactionType: z__default.ZodEnum<{
31
+ BITCOIN_LIKE_SEND: "BITCOIN_LIKE_SEND";
32
+ BITCOIN_LIKE_RECEIVE: "BITCOIN_LIKE_RECEIVE";
33
+ }>;
34
+ readonly zTransactionData: z__default.ZodDiscriminatedUnion<[z__default.ZodObject<{
35
+ amount: z__default.ZodString;
36
+ currency: z__default.ZodString;
37
+ maxFee: z__default.ZodNullable<z__default.ZodString>;
38
+ recipient: z__default.ZodString;
39
+ type: z__default.ZodLiteral<"BITCOIN_LIKE_SEND">;
40
+ feeStrategy: z__default.ZodObject<{
41
+ type: z__default.ZodEnum<{
42
+ SLOW: "SLOW";
43
+ NORMAL: "NORMAL";
44
+ FAST: "FAST";
45
+ CUSTOM: "CUSTOM";
46
+ }>;
47
+ feePerByte: z__default.ZodOptional<z__default.ZodNullable<z__default.ZodString>>;
48
+ }, z__default.core.$strip>;
49
+ }, z__default.core.$strip>], "type">;
50
+ readonly zSendTransactionData: z__default.ZodObject<{
51
+ amount: z__default.ZodString;
52
+ currency: z__default.ZodString;
53
+ maxFee: z__default.ZodNullable<z__default.ZodString>;
54
+ recipient: z__default.ZodString;
55
+ type: z__default.ZodLiteral<"BITCOIN_LIKE_SEND">;
56
+ feeStrategy: z__default.ZodObject<{
57
+ type: z__default.ZodEnum<{
58
+ SLOW: "SLOW";
59
+ NORMAL: "NORMAL";
60
+ FAST: "FAST";
61
+ CUSTOM: "CUSTOM";
62
+ }>;
63
+ feePerByte: z__default.ZodOptional<z__default.ZodNullable<z__default.ZodString>>;
64
+ }, z__default.core.$strip>;
65
+ }, z__default.core.$strip>;
66
+ readonly zEstimatedFees: z__default.ZodObject<{
67
+ type: z__default.ZodLiteral<"BITCOIN_LIKE">;
68
+ fee: z__default.ZodString;
69
+ }, z__default.core.$strip>;
70
+ readonly zTransactionResponse: z__default.ZodDiscriminatedUnion<[z__default.ZodObject<{
71
+ id: z__default.ZodString;
72
+ hash: z__default.ZodString;
73
+ block: z__default.ZodObject<{
74
+ height: z__default.ZodNullable<z__default.ZodString>;
75
+ time: z__default.ZodNullable<z__default.ZodString>;
76
+ }, z__default.core.$strip>;
77
+ status: z__default.ZodEnum<{
78
+ FAILED: "FAILED";
79
+ SUCCESSFUL: "SUCCESSFUL";
80
+ }>;
81
+ confirmations: z__default.ZodString;
82
+ amount: z__default.ZodString;
83
+ fee: z__default.ZodString;
84
+ senders: z__default.ZodArray<z__default.ZodString>;
85
+ recipients: z__default.ZodArray<z__default.ZodString>;
86
+ type: z__default.ZodEnum<{
87
+ BITCOIN_LIKE_SEND: "BITCOIN_LIKE_SEND";
88
+ BITCOIN_LIKE_RECEIVE: "BITCOIN_LIKE_RECEIVE";
89
+ }>;
90
+ }, z__default.core.$strip>], "type">;
91
+ readonly zStakingFields: z__default.ZodNever;
92
+ readonly withTx: (tx: {
93
+ amount: string;
94
+ currency: string;
95
+ maxFee: string | null;
96
+ recipient: string;
97
+ type: "BITCOIN_LIKE_SEND";
98
+ feeStrategy: {
99
+ type: "SLOW" | "NORMAL" | "FAST" | "CUSTOM";
100
+ feePerByte?: string | null | undefined;
101
+ };
102
+ }) => TxHandler;
103
+ };
104
+
105
+ declare const zCantonTransferProposal: z__default.ZodObject<{
106
+ amount: z__default.ZodString;
107
+ contractId: z__default.ZodString;
108
+ instrumentAdmin: z__default.ZodString;
109
+ instrumentId: z__default.ZodString;
110
+ expiresAtMicros: z__default.ZodNumber;
111
+ reason: z__default.ZodNullable<z__default.ZodString>;
112
+ sender: z__default.ZodString;
113
+ recipient: z__default.ZodString;
114
+ }, z__default.core.$strip>;
115
+ type CantonTransferProposal = z__default.infer<typeof zCantonTransferProposal>;
116
+
117
+ declare const CANTON_SPEC: {
118
+ readonly family: "CANTON_LIKE";
119
+ readonly zAssetFields: z__default.ZodObject<{
120
+ type: z__default.ZodLiteral<"CANTON_LIKE">;
121
+ address: z__default.ZodNullable<z__default.ZodString>;
122
+ }, z__default.core.$strip>;
123
+ readonly zLiveData: z__default.ZodObject<{
124
+ id: z__default.ZodString;
125
+ balance: z__default.ZodObject<{
126
+ total: z__default.ZodString;
127
+ pending: z__default.ZodString;
128
+ }, z__default.core.$strip>;
129
+ type: z__default.ZodLiteral<"CANTON_LIKE">;
130
+ }, z__default.core.$strip>;
131
+ readonly zTransactionType: z__default.ZodEnum<{
132
+ CANTON_LIKE_SEND: "CANTON_LIKE_SEND";
133
+ CANTON_LIKE_SEND_TOKEN: "CANTON_LIKE_SEND_TOKEN";
134
+ CANTON_LIKE_WITHDRAW: "CANTON_LIKE_WITHDRAW";
135
+ CANTON_LIKE_RECEIVE: "CANTON_LIKE_RECEIVE";
136
+ CANTON_LIKE_PRE_APPROVAL: "CANTON_LIKE_PRE_APPROVAL";
137
+ }>;
138
+ readonly zTransactionData: z__default.ZodDiscriminatedUnion<[z__default.ZodObject<{
139
+ currency: z__default.ZodString;
140
+ recipient: z__default.ZodString;
141
+ amount: z__default.ZodString;
142
+ executeBeforeSeconds: z__default.ZodOptional<z__default.ZodNumber>;
143
+ reason: z__default.ZodNullable<z__default.ZodString>;
144
+ type: z__default.ZodLiteral<"CANTON_LIKE_SEND">;
145
+ }, z__default.core.$strip>, z__default.ZodObject<{
146
+ currency: z__default.ZodString;
147
+ recipient: z__default.ZodString;
148
+ amount: z__default.ZodString;
149
+ executeBeforeSeconds: z__default.ZodOptional<z__default.ZodNumber>;
150
+ reason: z__default.ZodNullable<z__default.ZodString>;
151
+ type: z__default.ZodLiteral<"CANTON_LIKE_SEND_TOKEN">;
152
+ }, z__default.core.$strip>, z__default.ZodObject<{
153
+ currency: z__default.ZodString;
154
+ transferProposal: z__default.ZodObject<{
155
+ amount: z__default.ZodString;
156
+ contractId: z__default.ZodString;
157
+ instrumentAdmin: z__default.ZodString;
158
+ instrumentId: z__default.ZodString;
159
+ expiresAtMicros: z__default.ZodNumber;
160
+ reason: z__default.ZodNullable<z__default.ZodString>;
161
+ sender: z__default.ZodString;
162
+ recipient: z__default.ZodString;
163
+ }, z__default.core.$strip>;
164
+ reason: z__default.ZodNullable<z__default.ZodString>;
165
+ type: z__default.ZodLiteral<"CANTON_LIKE_WITHDRAW">;
166
+ }, z__default.core.$strip>, z__default.ZodObject<{
167
+ currency: z__default.ZodString;
168
+ transferProposal: z__default.ZodObject<{
169
+ amount: z__default.ZodString;
170
+ contractId: z__default.ZodString;
171
+ instrumentAdmin: z__default.ZodString;
172
+ instrumentId: z__default.ZodString;
173
+ expiresAtMicros: z__default.ZodNumber;
174
+ reason: z__default.ZodNullable<z__default.ZodString>;
175
+ sender: z__default.ZodString;
176
+ recipient: z__default.ZodString;
177
+ }, z__default.core.$strip>;
178
+ verdict: z__default.ZodEnum<{
179
+ ACCEPT: "ACCEPT";
180
+ REJECT: "REJECT";
181
+ }>;
182
+ reason: z__default.ZodNullable<z__default.ZodString>;
183
+ type: z__default.ZodLiteral<"CANTON_LIKE_RECEIVE">;
184
+ }, z__default.core.$strip>, z__default.ZodObject<{
185
+ currency: z__default.ZodString;
186
+ recipient: z__default.ZodString;
187
+ type: z__default.ZodLiteral<"CANTON_LIKE_PRE_APPROVAL">;
188
+ }, z__default.core.$strip>], "type">;
189
+ readonly zSendTransactionData: z__default.ZodObject<{
190
+ currency: z__default.ZodString;
191
+ recipient: z__default.ZodString;
192
+ amount: z__default.ZodString;
193
+ executeBeforeSeconds: z__default.ZodOptional<z__default.ZodNumber>;
194
+ reason: z__default.ZodNullable<z__default.ZodString>;
195
+ type: z__default.ZodLiteral<"CANTON_LIKE_SEND">;
196
+ }, z__default.core.$strip>;
197
+ readonly zEstimatedFees: z__default.ZodNever;
198
+ readonly zTransactionResponse: z__default.ZodDiscriminatedUnion<[z__default.ZodObject<{
199
+ id: z__default.ZodString;
200
+ hash: z__default.ZodString;
201
+ block: z__default.ZodObject<{
202
+ height: z__default.ZodNullable<z__default.ZodString>;
203
+ time: z__default.ZodNullable<z__default.ZodString>;
204
+ }, z__default.core.$strip>;
205
+ status: z__default.ZodEnum<{
206
+ FAILED: "FAILED";
207
+ SUCCESSFUL: "SUCCESSFUL";
208
+ }>;
209
+ confirmations: z__default.ZodString;
210
+ amount: z__default.ZodString;
211
+ fee: z__default.ZodString;
212
+ senders: z__default.ZodArray<z__default.ZodString>;
213
+ recipients: z__default.ZodArray<z__default.ZodString>;
214
+ type: z__default.ZodEnum<{
215
+ CANTON_LIKE_SEND: "CANTON_LIKE_SEND";
216
+ CANTON_LIKE_SEND_TOKEN: "CANTON_LIKE_SEND_TOKEN";
217
+ CANTON_LIKE_WITHDRAW: "CANTON_LIKE_WITHDRAW";
218
+ CANTON_LIKE_RECEIVE: "CANTON_LIKE_RECEIVE";
219
+ CANTON_LIKE_PRE_APPROVAL: "CANTON_LIKE_PRE_APPROVAL";
220
+ }>;
221
+ reason: z__default.ZodNullable<z__default.ZodString>;
222
+ }, z__default.core.$strip>], "type">;
223
+ readonly zStakingFields: z__default.ZodNever;
224
+ readonly withTx: (tx: {
225
+ currency: string;
226
+ recipient: string;
227
+ amount: string;
228
+ reason: string | null;
229
+ type: "CANTON_LIKE_SEND";
230
+ executeBeforeSeconds?: number | undefined;
231
+ } | {
232
+ currency: string;
233
+ recipient: string;
234
+ amount: string;
235
+ reason: string | null;
236
+ type: "CANTON_LIKE_SEND_TOKEN";
237
+ executeBeforeSeconds?: number | undefined;
238
+ } | {
239
+ currency: string;
240
+ transferProposal: {
241
+ amount: string;
242
+ contractId: string;
243
+ instrumentAdmin: string;
244
+ instrumentId: string;
245
+ expiresAtMicros: number;
246
+ reason: string | null;
247
+ sender: string;
248
+ recipient: string;
249
+ };
250
+ reason: string | null;
251
+ type: "CANTON_LIKE_WITHDRAW";
252
+ } | {
253
+ currency: string;
254
+ transferProposal: {
255
+ amount: string;
256
+ contractId: string;
257
+ instrumentAdmin: string;
258
+ instrumentId: string;
259
+ expiresAtMicros: number;
260
+ reason: string | null;
261
+ sender: string;
262
+ recipient: string;
263
+ };
264
+ verdict: "ACCEPT" | "REJECT";
265
+ reason: string | null;
266
+ type: "CANTON_LIKE_RECEIVE";
267
+ } | {
268
+ currency: string;
269
+ recipient: string;
270
+ type: "CANTON_LIKE_PRE_APPROVAL";
271
+ }) => TxHandler;
272
+ };
273
+
274
+ declare const CARDANO_SPEC: {
275
+ readonly family: "CARDANO_LIKE";
276
+ readonly zAssetFields: z__default.ZodObject<{
277
+ type: z__default.ZodLiteral<"CARDANO_LIKE">;
278
+ address: z__default.ZodNullable<z__default.ZodString>;
279
+ }, z__default.core.$strip>;
280
+ readonly zLiveData: z__default.ZodObject<{
281
+ id: z__default.ZodString;
282
+ balance: z__default.ZodObject<{
283
+ total: z__default.ZodString;
284
+ pending: z__default.ZodString;
285
+ }, z__default.core.$strip>;
286
+ type: z__default.ZodLiteral<"CARDANO_LIKE">;
287
+ staking: z__default.ZodOptional<z__default.ZodNullable<z__default.ZodObject<{
288
+ staked: z__default.ZodString;
289
+ }, z__default.core.$strip>>>;
290
+ }, z__default.core.$strip>;
291
+ readonly zTransactionType: z__default.ZodEnum<{
292
+ CARDANO_LIKE_SEND: "CARDANO_LIKE_SEND";
293
+ CARDANO_LIKE_RECEIVE: "CARDANO_LIKE_RECEIVE";
294
+ CARDANO_LIKE_STAKING_REGISTER: "CARDANO_LIKE_STAKING_REGISTER";
295
+ CARDANO_LIKE_STAKING_DEREGISTER: "CARDANO_LIKE_STAKING_DEREGISTER";
296
+ CARDANO_LIKE_STAKING_DELEGATE: "CARDANO_LIKE_STAKING_DELEGATE";
297
+ CARDANO_LIKE_STAKING_WITHDRAW: "CARDANO_LIKE_STAKING_WITHDRAW";
298
+ }>;
299
+ readonly zTransactionData: z__default.ZodDiscriminatedUnion<[z__default.ZodObject<{
300
+ amount: z__default.ZodString;
301
+ currency: z__default.ZodString;
302
+ maxFee: z__default.ZodNullable<z__default.ZodString>;
303
+ recipient: z__default.ZodString;
304
+ type: z__default.ZodLiteral<"CARDANO_LIKE_SEND">;
305
+ feeStrategy: z__default.ZodObject<{
306
+ type: z__default.ZodEnum<{
307
+ SLOW: "SLOW";
308
+ NORMAL: "NORMAL";
309
+ FAST: "FAST";
310
+ }>;
311
+ }, z__default.core.$strip>;
312
+ }, z__default.core.$strip>, z__default.ZodObject<{
313
+ type: z__default.ZodLiteral<"CARDANO_LIKE_STAKING_DELEGATE">;
314
+ currency: z__default.ZodString;
315
+ maxFee: z__default.ZodNullable<z__default.ZodString>;
316
+ feeStrategy: z__default.ZodObject<{
317
+ type: z__default.ZodEnum<{
318
+ SLOW: "SLOW";
319
+ NORMAL: "NORMAL";
320
+ FAST: "FAST";
321
+ }>;
322
+ }, z__default.core.$strip>;
323
+ stakePoolId: z__default.ZodString;
324
+ }, z__default.core.$strip>, z__default.ZodObject<{
325
+ type: z__default.ZodLiteral<"CARDANO_LIKE_STAKING_DEREGISTER">;
326
+ currency: z__default.ZodString;
327
+ maxFee: z__default.ZodNullable<z__default.ZodString>;
328
+ feeStrategy: z__default.ZodObject<{
329
+ type: z__default.ZodEnum<{
330
+ SLOW: "SLOW";
331
+ NORMAL: "NORMAL";
332
+ FAST: "FAST";
333
+ }>;
334
+ }, z__default.core.$strip>;
335
+ amount: z__default.ZodString;
336
+ }, z__default.core.$strip>, z__default.ZodObject<{
337
+ type: z__default.ZodLiteral<"CARDANO_LIKE_STAKING_REGISTER">;
338
+ currency: z__default.ZodString;
339
+ maxFee: z__default.ZodNullable<z__default.ZodString>;
340
+ feeStrategy: z__default.ZodObject<{
341
+ type: z__default.ZodEnum<{
342
+ SLOW: "SLOW";
343
+ NORMAL: "NORMAL";
344
+ FAST: "FAST";
345
+ }>;
346
+ }, z__default.core.$strip>;
347
+ amount: z__default.ZodString;
348
+ }, z__default.core.$strip>, z__default.ZodObject<{
349
+ type: z__default.ZodLiteral<"CARDANO_LIKE_STAKING_WITHDRAW">;
350
+ currency: z__default.ZodString;
351
+ maxFee: z__default.ZodNullable<z__default.ZodString>;
352
+ feeStrategy: z__default.ZodObject<{
353
+ type: z__default.ZodEnum<{
354
+ SLOW: "SLOW";
355
+ NORMAL: "NORMAL";
356
+ FAST: "FAST";
357
+ }>;
358
+ }, z__default.core.$strip>;
359
+ amount: z__default.ZodString;
360
+ }, z__default.core.$strip>], "type">;
361
+ readonly zSendTransactionData: z__default.ZodObject<{
362
+ amount: z__default.ZodString;
363
+ currency: z__default.ZodString;
364
+ maxFee: z__default.ZodNullable<z__default.ZodString>;
365
+ recipient: z__default.ZodString;
366
+ type: z__default.ZodLiteral<"CARDANO_LIKE_SEND">;
367
+ feeStrategy: z__default.ZodObject<{
368
+ type: z__default.ZodEnum<{
369
+ SLOW: "SLOW";
370
+ NORMAL: "NORMAL";
371
+ FAST: "FAST";
372
+ }>;
373
+ }, z__default.core.$strip>;
374
+ }, z__default.core.$strip>;
375
+ readonly zEstimatedFees: z__default.ZodNever;
376
+ readonly zTransactionResponse: z__default.ZodDiscriminatedUnion<[z__default.ZodObject<{
377
+ id: z__default.ZodString;
378
+ hash: z__default.ZodString;
379
+ block: z__default.ZodObject<{
380
+ height: z__default.ZodNullable<z__default.ZodString>;
381
+ time: z__default.ZodNullable<z__default.ZodString>;
382
+ }, z__default.core.$strip>;
383
+ status: z__default.ZodEnum<{
384
+ FAILED: "FAILED";
385
+ SUCCESSFUL: "SUCCESSFUL";
386
+ }>;
387
+ confirmations: z__default.ZodString;
388
+ amount: z__default.ZodString;
389
+ fee: z__default.ZodString;
390
+ senders: z__default.ZodArray<z__default.ZodString>;
391
+ recipients: z__default.ZodArray<z__default.ZodString>;
392
+ type: z__default.ZodEnum<{
393
+ CARDANO_LIKE_SEND: "CARDANO_LIKE_SEND";
394
+ CARDANO_LIKE_RECEIVE: "CARDANO_LIKE_RECEIVE";
395
+ CARDANO_LIKE_STAKING_REGISTER: "CARDANO_LIKE_STAKING_REGISTER";
396
+ CARDANO_LIKE_STAKING_DEREGISTER: "CARDANO_LIKE_STAKING_DEREGISTER";
397
+ CARDANO_LIKE_STAKING_DELEGATE: "CARDANO_LIKE_STAKING_DELEGATE";
398
+ CARDANO_LIKE_STAKING_WITHDRAW: "CARDANO_LIKE_STAKING_WITHDRAW";
399
+ }>;
400
+ }, z__default.core.$strip>], "type">;
401
+ readonly zStakingFields: z__default.ZodObject<{
402
+ type: z__default.ZodLiteral<"CARDANO_LIKE">;
403
+ staking: z__default.ZodOptional<z__default.ZodNullable<z__default.ZodObject<{
404
+ staked: z__default.ZodString;
405
+ }, z__default.core.$strip>>>;
406
+ }, z__default.core.$strip>;
407
+ readonly withTx: (tx: {
408
+ amount: string;
409
+ currency: string;
410
+ maxFee: string | null;
411
+ recipient: string;
412
+ type: "CARDANO_LIKE_SEND";
413
+ feeStrategy: {
414
+ type: "SLOW" | "NORMAL" | "FAST";
415
+ };
416
+ } | {
417
+ type: "CARDANO_LIKE_STAKING_DELEGATE";
418
+ currency: string;
419
+ maxFee: string | null;
420
+ feeStrategy: {
421
+ type: "SLOW" | "NORMAL" | "FAST";
422
+ };
423
+ stakePoolId: string;
424
+ } | {
425
+ type: "CARDANO_LIKE_STAKING_DEREGISTER";
426
+ currency: string;
427
+ maxFee: string | null;
428
+ feeStrategy: {
429
+ type: "SLOW" | "NORMAL" | "FAST";
430
+ };
431
+ amount: string;
432
+ } | {
433
+ type: "CARDANO_LIKE_STAKING_REGISTER";
434
+ currency: string;
435
+ maxFee: string | null;
436
+ feeStrategy: {
437
+ type: "SLOW" | "NORMAL" | "FAST";
438
+ };
439
+ amount: string;
440
+ } | {
441
+ type: "CARDANO_LIKE_STAKING_WITHDRAW";
442
+ currency: string;
443
+ maxFee: string | null;
444
+ feeStrategy: {
445
+ type: "SLOW" | "NORMAL" | "FAST";
446
+ };
447
+ amount: string;
448
+ }) => TxHandler;
449
+ };
450
+
451
+ declare const ETHEREUM_SPEC: {
452
+ readonly family: "ETHEREUM_LIKE";
453
+ readonly zAssetFields: z.ZodObject<{
454
+ type: z.ZodLiteral<"ETHEREUM_LIKE">;
455
+ address: z.ZodNullable<z.ZodString>;
456
+ contractAddress: z.ZodOptional<z.ZodNullable<z.ZodString>>;
457
+ }, zod_v4_core.$strip>;
458
+ readonly zLiveData: z.ZodObject<{
459
+ id: z.ZodString;
460
+ balance: z.ZodObject<{
461
+ total: z.ZodString;
462
+ pending: z.ZodString;
463
+ }, zod_v4_core.$strip>;
464
+ type: z.ZodLiteral<"ETHEREUM_LIKE">;
465
+ staking: z.ZodOptional<z.ZodNullable<z.ZodObject<{
466
+ totalStaking: z.ZodString;
467
+ totalRewards: z.ZodString;
468
+ availableRewards: z.ZodString;
469
+ networkApy: z.ZodNumber;
470
+ }, zod_v4_core.$strip>>>;
471
+ }, zod_v4_core.$strip>;
472
+ readonly zTransactionType: z.ZodEnum<{
473
+ ETHEREUM_LIKE_SEND: "ETHEREUM_LIKE_SEND";
474
+ ETHEREUM_LIKE_RECEIVE: "ETHEREUM_LIKE_RECEIVE";
475
+ ETHEREUM_LIKE_EXECUTE_CONTRACT: "ETHEREUM_LIKE_EXECUTE_CONTRACT";
476
+ ETHEREUM_LIKE_DEPLOY_CONTRACT: "ETHEREUM_LIKE_DEPLOY_CONTRACT";
477
+ }>;
478
+ readonly zTransactionData: z.ZodDiscriminatedUnion<[z.ZodObject<{
479
+ amount: z.ZodString;
480
+ currency: z.ZodString;
481
+ maxFee: z.ZodNullable<z.ZodString>;
482
+ type: z.ZodLiteral<"ETHEREUM_LIKE_DEPLOY_CONTRACT">;
483
+ recipient: z.ZodLiteral<"">;
484
+ contractData: z.ZodCodec<z.ZodString, z.ZodString>;
485
+ feeStrategy: z.ZodUnion<readonly [z.ZodObject<{
486
+ type: z.ZodEnum<{
487
+ SLOW: "SLOW";
488
+ NORMAL: "NORMAL";
489
+ FAST: "FAST";
490
+ CUSTOM: "CUSTOM";
491
+ }>;
492
+ gasPrice: z.ZodString;
493
+ gasLimit: z.ZodString;
494
+ }, zod_v4_core.$strip>, z.ZodObject<{
495
+ type: z.ZodEnum<{
496
+ SLOW: "SLOW";
497
+ NORMAL: "NORMAL";
498
+ FAST: "FAST";
499
+ CUSTOM: "CUSTOM";
500
+ }>;
501
+ maxPriorityFeePerGas: z.ZodString;
502
+ maxFeePerGas: z.ZodString;
503
+ gasLimit: z.ZodString;
504
+ }, zod_v4_core.$strip>]>;
505
+ }, zod_v4_core.$strip>, z.ZodObject<{
506
+ amount: z.ZodString;
507
+ currency: z.ZodString;
508
+ maxFee: z.ZodNullable<z.ZodString>;
509
+ recipient: z.ZodString;
510
+ type: z.ZodLiteral<"ETHEREUM_LIKE_EXECUTE_CONTRACT">;
511
+ contractData: z.ZodCodec<z.ZodString, z.ZodString>;
512
+ feeStrategy: z.ZodUnion<readonly [z.ZodObject<{
513
+ type: z.ZodEnum<{
514
+ SLOW: "SLOW";
515
+ NORMAL: "NORMAL";
516
+ FAST: "FAST";
517
+ CUSTOM: "CUSTOM";
518
+ }>;
519
+ gasPrice: z.ZodString;
520
+ gasLimit: z.ZodString;
521
+ }, zod_v4_core.$strip>, z.ZodObject<{
522
+ type: z.ZodEnum<{
523
+ SLOW: "SLOW";
524
+ NORMAL: "NORMAL";
525
+ FAST: "FAST";
526
+ CUSTOM: "CUSTOM";
527
+ }>;
528
+ maxPriorityFeePerGas: z.ZodString;
529
+ maxFeePerGas: z.ZodString;
530
+ gasLimit: z.ZodString;
531
+ }, zod_v4_core.$strip>]>;
532
+ }, zod_v4_core.$strip>, z.ZodObject<{
533
+ amount: z.ZodString;
534
+ currency: z.ZodString;
535
+ maxFee: z.ZodNullable<z.ZodString>;
536
+ recipient: z.ZodString;
537
+ type: z.ZodLiteral<"ETHEREUM_LIKE_SEND">;
538
+ feeStrategy: z.ZodUnion<readonly [z.ZodObject<{
539
+ type: z.ZodEnum<{
540
+ SLOW: "SLOW";
541
+ NORMAL: "NORMAL";
542
+ FAST: "FAST";
543
+ CUSTOM: "CUSTOM";
544
+ }>;
545
+ gasPrice: z.ZodString;
546
+ gasLimit: z.ZodString;
547
+ }, zod_v4_core.$strip>, z.ZodObject<{
548
+ type: z.ZodEnum<{
549
+ SLOW: "SLOW";
550
+ NORMAL: "NORMAL";
551
+ FAST: "FAST";
552
+ CUSTOM: "CUSTOM";
553
+ }>;
554
+ maxPriorityFeePerGas: z.ZodString;
555
+ maxFeePerGas: z.ZodString;
556
+ gasLimit: z.ZodString;
557
+ }, zod_v4_core.$strip>]>;
558
+ }, zod_v4_core.$strip>], "type">;
559
+ readonly zSendTransactionData: z.ZodObject<{
560
+ amount: z.ZodString;
561
+ currency: z.ZodString;
562
+ maxFee: z.ZodNullable<z.ZodString>;
563
+ recipient: z.ZodString;
564
+ type: z.ZodLiteral<"ETHEREUM_LIKE_SEND">;
565
+ feeStrategy: z.ZodUnion<readonly [z.ZodObject<{
566
+ type: z.ZodEnum<{
567
+ SLOW: "SLOW";
568
+ NORMAL: "NORMAL";
569
+ FAST: "FAST";
570
+ CUSTOM: "CUSTOM";
571
+ }>;
572
+ gasPrice: z.ZodString;
573
+ gasLimit: z.ZodString;
574
+ }, zod_v4_core.$strip>, z.ZodObject<{
575
+ type: z.ZodEnum<{
576
+ SLOW: "SLOW";
577
+ NORMAL: "NORMAL";
578
+ FAST: "FAST";
579
+ CUSTOM: "CUSTOM";
580
+ }>;
581
+ maxPriorityFeePerGas: z.ZodString;
582
+ maxFeePerGas: z.ZodString;
583
+ gasLimit: z.ZodString;
584
+ }, zod_v4_core.$strip>]>;
585
+ }, zod_v4_core.$strip>;
586
+ readonly zEstimatedFees: z.ZodObject<{
587
+ type: z.ZodLiteral<"ETHEREUM_LIKE">;
588
+ baseFees: z.ZodString;
589
+ gasLimit: z.ZodString;
590
+ nonce: z.ZodString;
591
+ priorityFees: z.ZodString;
592
+ }, zod_v4_core.$strip>;
593
+ readonly zTransactionResponse: z.ZodDiscriminatedUnion<[z.ZodObject<{
594
+ id: z.ZodString;
595
+ hash: z.ZodString;
596
+ block: z.ZodObject<{
597
+ height: z.ZodNullable<z.ZodString>;
598
+ time: z.ZodNullable<z.ZodString>;
599
+ }, zod_v4_core.$strip>;
600
+ status: z.ZodEnum<{
601
+ FAILED: "FAILED";
602
+ SUCCESSFUL: "SUCCESSFUL";
603
+ }>;
604
+ confirmations: z.ZodString;
605
+ amount: z.ZodString;
606
+ fee: z.ZodString;
607
+ senders: z.ZodArray<z.ZodString>;
608
+ recipients: z.ZodArray<z.ZodString>;
609
+ type: z.ZodEnum<{
610
+ ETHEREUM_LIKE_SEND: "ETHEREUM_LIKE_SEND";
611
+ ETHEREUM_LIKE_RECEIVE: "ETHEREUM_LIKE_RECEIVE";
612
+ }>;
613
+ gasPrice: z.ZodString;
614
+ gasLimit: z.ZodString;
615
+ nonce: z.ZodString;
616
+ }, zod_v4_core.$strip>, z.ZodObject<{
617
+ id: z.ZodString;
618
+ hash: z.ZodString;
619
+ block: z.ZodObject<{
620
+ height: z.ZodNullable<z.ZodString>;
621
+ time: z.ZodNullable<z.ZodString>;
622
+ }, zod_v4_core.$strip>;
623
+ status: z.ZodEnum<{
624
+ FAILED: "FAILED";
625
+ SUCCESSFUL: "SUCCESSFUL";
626
+ }>;
627
+ confirmations: z.ZodString;
628
+ amount: z.ZodString;
629
+ fee: z.ZodString;
630
+ senders: z.ZodArray<z.ZodString>;
631
+ recipients: z.ZodArray<z.ZodString>;
632
+ gasPrice: z.ZodString;
633
+ gasLimit: z.ZodString;
634
+ nonce: z.ZodString;
635
+ type: z.ZodEnum<{
636
+ ETHEREUM_LIKE_EXECUTE_CONTRACT: "ETHEREUM_LIKE_EXECUTE_CONTRACT";
637
+ ETHEREUM_LIKE_DEPLOY_CONTRACT: "ETHEREUM_LIKE_DEPLOY_CONTRACT";
638
+ }>;
639
+ contractData: z.ZodString;
640
+ }, zod_v4_core.$strip>], "type">;
641
+ readonly zStakingFields: z.ZodObject<{
642
+ type: z.ZodLiteral<"ETHEREUM_LIKE">;
643
+ staking: z.ZodOptional<z.ZodNullable<z.ZodObject<{
644
+ totalStaking: z.ZodString;
645
+ totalRewards: z.ZodString;
646
+ availableRewards: z.ZodString;
647
+ networkApy: z.ZodNumber;
648
+ }, zod_v4_core.$strip>>>;
649
+ }, zod_v4_core.$strip>;
650
+ readonly withTx: (tx: {
651
+ amount: string;
652
+ currency: string;
653
+ maxFee: string | null;
654
+ type: "ETHEREUM_LIKE_DEPLOY_CONTRACT";
655
+ recipient: "";
656
+ contractData: string;
657
+ feeStrategy: {
658
+ type: "SLOW" | "NORMAL" | "FAST" | "CUSTOM";
659
+ gasPrice: string;
660
+ gasLimit: string;
661
+ } | {
662
+ type: "SLOW" | "NORMAL" | "FAST" | "CUSTOM";
663
+ maxPriorityFeePerGas: string;
664
+ maxFeePerGas: string;
665
+ gasLimit: string;
666
+ };
667
+ } | {
668
+ amount: string;
669
+ currency: string;
670
+ maxFee: string | null;
671
+ recipient: string;
672
+ type: "ETHEREUM_LIKE_EXECUTE_CONTRACT";
673
+ contractData: string;
674
+ feeStrategy: {
675
+ type: "SLOW" | "NORMAL" | "FAST" | "CUSTOM";
676
+ gasPrice: string;
677
+ gasLimit: string;
678
+ } | {
679
+ type: "SLOW" | "NORMAL" | "FAST" | "CUSTOM";
680
+ maxPriorityFeePerGas: string;
681
+ maxFeePerGas: string;
682
+ gasLimit: string;
683
+ };
684
+ } | {
685
+ amount: string;
686
+ currency: string;
687
+ maxFee: string | null;
688
+ recipient: string;
689
+ type: "ETHEREUM_LIKE_SEND";
690
+ feeStrategy: {
691
+ type: "SLOW" | "NORMAL" | "FAST" | "CUSTOM";
692
+ gasPrice: string;
693
+ gasLimit: string;
694
+ } | {
695
+ type: "SLOW" | "NORMAL" | "FAST" | "CUSTOM";
696
+ maxPriorityFeePerGas: string;
697
+ maxFeePerGas: string;
698
+ gasLimit: string;
699
+ };
700
+ }) => TxHandler;
701
+ };
702
+
703
+ declare const GENERIC_SPEC: {
704
+ readonly family: "GENERIC_LIKE";
705
+ readonly zAssetFields: z__default.ZodObject<{
706
+ type: z__default.ZodLiteral<"GENERIC_LIKE">;
707
+ }, z__default.core.$strip>;
708
+ readonly zLiveData: z__default.ZodObject<{
709
+ id: z__default.ZodString;
710
+ balance: z__default.ZodObject<{
711
+ total: z__default.ZodString;
712
+ pending: z__default.ZodString;
713
+ }, z__default.core.$strip>;
714
+ type: z__default.ZodLiteral<"GENERIC_LIKE">;
715
+ }, z__default.core.$strip>;
716
+ readonly zTransactionType: z__default.ZodEnum<{
717
+ GENERIC_TRANSACTION: "GENERIC_TRANSACTION";
718
+ }>;
719
+ readonly zTransactionData: z__default.ZodDiscriminatedUnion<[z__default.ZodObject<{
720
+ type: z__default.ZodLiteral<"GENERIC_TRANSACTION">;
721
+ currency: z__default.ZodString;
722
+ rawTx: z__default.ZodString;
723
+ }, z__default.core.$strip>], "type">;
724
+ readonly zSendTransactionData: z__default.ZodNever;
725
+ readonly zEstimatedFees: z__default.ZodNever;
726
+ readonly zTransactionResponse: z__default.ZodDiscriminatedUnion<[z__default.ZodObject<{
727
+ id: z__default.ZodString;
728
+ hash: z__default.ZodString;
729
+ block: z__default.ZodObject<{
730
+ height: z__default.ZodNullable<z__default.ZodString>;
731
+ time: z__default.ZodNullable<z__default.ZodString>;
732
+ }, z__default.core.$strip>;
733
+ status: z__default.ZodEnum<{
734
+ FAILED: "FAILED";
735
+ SUCCESSFUL: "SUCCESSFUL";
736
+ }>;
737
+ confirmations: z__default.ZodString;
738
+ amount: z__default.ZodString;
739
+ fee: z__default.ZodString;
740
+ senders: z__default.ZodArray<z__default.ZodString>;
741
+ recipients: z__default.ZodArray<z__default.ZodString>;
742
+ type: z__default.ZodEnum<{
743
+ GENERIC_TRANSACTION: "GENERIC_TRANSACTION";
744
+ }>;
745
+ }, z__default.core.$strip>], "type">;
746
+ readonly zStakingFields: z__default.ZodNever;
747
+ readonly withTx: (tx: {
748
+ type: "GENERIC_TRANSACTION";
749
+ currency: string;
750
+ rawTx: string;
751
+ }) => TxHandler;
752
+ };
753
+
754
+ declare const isErc20Address: (contractAddress: string) => boolean;
755
+
756
+ declare const HEDERA_SPEC: {
757
+ readonly family: "HEDERA_LIKE";
758
+ readonly zAssetFields: z.ZodObject<{
759
+ type: z.ZodLiteral<"HEDERA_LIKE">;
760
+ address: z.ZodNullable<z.ZodString>;
761
+ isActivated: z.ZodBoolean;
762
+ }, zod_v4_core.$strip>;
763
+ readonly zLiveData: z.ZodObject<{
764
+ id: z.ZodString;
765
+ balance: z.ZodObject<{
766
+ total: z.ZodString;
767
+ pending: z.ZodString;
768
+ }, zod_v4_core.$strip>;
769
+ type: z.ZodLiteral<"HEDERA_LIKE">;
770
+ staking: z.ZodOptional<z.ZodNullable<z.ZodObject<{
771
+ totalStaked: z.ZodString;
772
+ totalRewards: z.ZodString;
773
+ }, zod_v4_core.$strip>>>;
774
+ }, zod_v4_core.$strip>;
775
+ readonly zTransactionType: z.ZodEnum<{
776
+ HEDERA_LIKE_SEND: "HEDERA_LIKE_SEND";
777
+ HEDERA_LIKE_RECEIVE: "HEDERA_LIKE_RECEIVE";
778
+ HEDERA_LIKE_SEND_TOKEN: "HEDERA_LIKE_SEND_TOKEN";
779
+ HEDERA_LIKE_RECEIVE_TOKEN: "HEDERA_LIKE_RECEIVE_TOKEN";
780
+ HEDERA_LIKE_STAKE: "HEDERA_LIKE_STAKE";
781
+ HEDERA_LIKE_UNSTAKE: "HEDERA_LIKE_UNSTAKE";
782
+ }>;
783
+ readonly zTransactionData: z.ZodDiscriminatedUnion<[z.ZodObject<{
784
+ amount: z.ZodString;
785
+ currency: z.ZodString;
786
+ maxFee: z.ZodNullable<z.ZodString>;
787
+ recipient: z.ZodString;
788
+ type: z.ZodLiteral<"HEDERA_LIKE_SEND">;
789
+ feeStrategy: z.ZodObject<{
790
+ type: z.ZodEnum<{
791
+ SLOW: "SLOW";
792
+ NORMAL: "NORMAL";
793
+ FAST: "FAST";
794
+ }>;
795
+ }, zod_v4_core.$strip>;
796
+ }, zod_v4_core.$strip>, z.ZodObject<{
797
+ amount: z.ZodString;
798
+ currency: z.ZodString;
799
+ maxFee: z.ZodNullable<z.ZodString>;
800
+ recipient: z.ZodString;
801
+ type: z.ZodLiteral<"HEDERA_LIKE_SEND_TOKEN">;
802
+ feeStrategy: z.ZodObject<{
803
+ type: z.ZodEnum<{
804
+ SLOW: "SLOW";
805
+ NORMAL: "NORMAL";
806
+ FAST: "FAST";
807
+ }>;
808
+ }, zod_v4_core.$strip>;
809
+ }, zod_v4_core.$strip>, z.ZodObject<{
810
+ type: z.ZodLiteral<"HEDERA_LIKE_STAKE">;
811
+ currency: z.ZodString;
812
+ nodeId: z.ZodString;
813
+ maxFee: z.ZodNullable<z.ZodString>;
814
+ feeStrategy: z.ZodObject<{
815
+ type: z.ZodEnum<{
816
+ SLOW: "SLOW";
817
+ NORMAL: "NORMAL";
818
+ FAST: "FAST";
819
+ }>;
820
+ }, zod_v4_core.$strip>;
821
+ }, zod_v4_core.$strip>], "type">;
822
+ readonly zSendTransactionData: z.ZodObject<{
823
+ amount: z.ZodString;
824
+ currency: z.ZodString;
825
+ maxFee: z.ZodNullable<z.ZodString>;
826
+ recipient: z.ZodString;
827
+ type: z.ZodLiteral<"HEDERA_LIKE_SEND">;
828
+ feeStrategy: z.ZodObject<{
829
+ type: z.ZodEnum<{
830
+ SLOW: "SLOW";
831
+ NORMAL: "NORMAL";
832
+ FAST: "FAST";
833
+ }>;
834
+ }, zod_v4_core.$strip>;
835
+ }, zod_v4_core.$strip>;
836
+ readonly zEstimatedFees: z.ZodObject<{
837
+ type: z.ZodLiteral<"HEDERA_LIKE">;
838
+ fee: z.ZodString;
839
+ }, zod_v4_core.$strip>;
840
+ readonly zTransactionResponse: z.ZodDiscriminatedUnion<[z.ZodObject<{
841
+ id: z.ZodString;
842
+ hash: z.ZodString;
843
+ block: z.ZodObject<{
844
+ height: z.ZodNullable<z.ZodString>;
845
+ time: z.ZodNullable<z.ZodString>;
846
+ }, zod_v4_core.$strip>;
847
+ status: z.ZodEnum<{
848
+ FAILED: "FAILED";
849
+ SUCCESSFUL: "SUCCESSFUL";
850
+ }>;
851
+ confirmations: z.ZodString;
852
+ amount: z.ZodString;
853
+ fee: z.ZodString;
854
+ senders: z.ZodArray<z.ZodString>;
855
+ recipients: z.ZodArray<z.ZodString>;
856
+ type: z.ZodEnum<{
857
+ HEDERA_LIKE_SEND: "HEDERA_LIKE_SEND";
858
+ HEDERA_LIKE_RECEIVE: "HEDERA_LIKE_RECEIVE";
859
+ HEDERA_LIKE_SEND_TOKEN: "HEDERA_LIKE_SEND_TOKEN";
860
+ HEDERA_LIKE_RECEIVE_TOKEN: "HEDERA_LIKE_RECEIVE_TOKEN";
861
+ HEDERA_LIKE_STAKE: "HEDERA_LIKE_STAKE";
862
+ HEDERA_LIKE_UNSTAKE: "HEDERA_LIKE_UNSTAKE";
863
+ }>;
864
+ }, zod_v4_core.$strip>], "type">;
865
+ readonly zStakingFields: z.ZodObject<{
866
+ type: z.ZodLiteral<"HEDERA_LIKE">;
867
+ staking: z.ZodOptional<z.ZodNullable<z.ZodObject<{
868
+ totalStaked: z.ZodString;
869
+ totalRewards: z.ZodString;
870
+ }, zod_v4_core.$strip>>>;
871
+ }, zod_v4_core.$strip>;
872
+ readonly withTx: (tx: {
873
+ amount: string;
874
+ currency: string;
875
+ maxFee: string | null;
876
+ recipient: string;
877
+ type: "HEDERA_LIKE_SEND";
878
+ feeStrategy: {
879
+ type: "SLOW" | "NORMAL" | "FAST";
880
+ };
881
+ } | {
882
+ amount: string;
883
+ currency: string;
884
+ maxFee: string | null;
885
+ recipient: string;
886
+ type: "HEDERA_LIKE_SEND_TOKEN";
887
+ feeStrategy: {
888
+ type: "SLOW" | "NORMAL" | "FAST";
889
+ };
890
+ } | {
891
+ type: "HEDERA_LIKE_STAKE";
892
+ currency: string;
893
+ nodeId: string;
894
+ maxFee: string | null;
895
+ feeStrategy: {
896
+ type: "SLOW" | "NORMAL" | "FAST";
897
+ };
898
+ }) => TxHandler;
899
+ };
900
+
901
+ declare const POLKADOT_SPEC: {
902
+ readonly family: "POLKADOT_LIKE";
903
+ readonly zAssetFields: z__default.ZodObject<{
904
+ type: z__default.ZodLiteral<"POLKADOT_LIKE">;
905
+ address: z__default.ZodNullable<z__default.ZodString>;
906
+ }, z__default.core.$strip>;
907
+ readonly zLiveData: z__default.ZodObject<{
908
+ id: z__default.ZodString;
909
+ balance: z__default.ZodObject<{
910
+ total: z__default.ZodString;
911
+ pending: z__default.ZodString;
912
+ }, z__default.core.$strip>;
913
+ type: z__default.ZodLiteral<"POLKADOT_LIKE">;
914
+ staking: z__default.ZodOptional<z__default.ZodNullable<z__default.ZodObject<{
915
+ info: z__default.ZodObject<{
916
+ controllerAddress: z__default.ZodNullable<z__default.ZodString>;
917
+ rewardsDestination: z__default.ZodNullable<z__default.ZodString>;
918
+ proxies: z__default.ZodArray<z__default.ZodString>;
919
+ legacyStaking: z__default.ZodBoolean;
920
+ isNominator: z__default.ZodBoolean;
921
+ }, z__default.core.$strip>;
922
+ balances: z__default.ZodObject<{
923
+ free: z__default.ZodString;
924
+ reserved: z__default.ZodString;
925
+ frozen: z__default.ZodString;
926
+ bonded: z__default.ZodString;
927
+ available: z__default.ZodString;
928
+ unbonding: z__default.ZodArray<z__default.ZodObject<{
929
+ amount: z__default.ZodString;
930
+ waiting_time: z__default.ZodString;
931
+ }, z__default.core.$strip>>;
932
+ unbonded: z__default.ZodArray<z__default.ZodObject<{
933
+ amount: z__default.ZodString;
934
+ waiting_time: z__default.ZodString;
935
+ }, z__default.core.$strip>>;
936
+ totalUnbonding: z__default.ZodString;
937
+ totalUnbonded: z__default.ZodString;
938
+ }, z__default.core.$strip>;
939
+ anonymousProxy: z__default.ZodNullable<z__default.ZodObject<{
940
+ address: z__default.ZodString;
941
+ createdAt: z__default.ZodString;
942
+ isController: z__default.ZodBoolean;
943
+ isMain: z__default.ZodBoolean;
944
+ balances: z__default.ZodNullable<z__default.ZodObject<{
945
+ free: z__default.ZodString;
946
+ reserved: z__default.ZodString;
947
+ frozen: z__default.ZodString;
948
+ bonded: z__default.ZodString;
949
+ available: z__default.ZodString;
950
+ total: z__default.ZodString;
951
+ }, z__default.core.$strip>>;
952
+ blockHeight: z__default.ZodString;
953
+ extIndex: z__default.ZodString;
954
+ index: z__default.ZodString;
955
+ kind: z__default.ZodString;
956
+ }, z__default.core.$strip>>;
957
+ }, z__default.core.$strip>>>;
958
+ }, z__default.core.$strip>;
959
+ readonly zTransactionType: z__default.ZodEnum<{
960
+ POLKADOT_LIKE_SEND: "POLKADOT_LIKE_SEND";
961
+ POLKADOT_LIKE_RECEIVE: "POLKADOT_LIKE_RECEIVE";
962
+ POLKADOT_LIKE_ADDPROXY: "POLKADOT_LIKE_ADDPROXY";
963
+ POLKADOT_LIKE_REMOVEPROXY: "POLKADOT_LIKE_REMOVEPROXY";
964
+ POLKADOT_LIKE_BOND: "POLKADOT_LIKE_BOND";
965
+ POLKADOT_LIKE_REBOND: "POLKADOT_LIKE_REBOND";
966
+ POLKADOT_LIKE_BONDEXTRA: "POLKADOT_LIKE_BONDEXTRA";
967
+ POLKADOT_LIKE_UNBOND: "POLKADOT_LIKE_UNBOND";
968
+ POLKADOT_LIKE_WITHDRAWUNBONDED: "POLKADOT_LIKE_WITHDRAWUNBONDED";
969
+ POLKADOT_LIKE_SETCONTROLLER: "POLKADOT_LIKE_SETCONTROLLER";
970
+ POLKADOT_LIKE_SETPAYEE: "POLKADOT_LIKE_SETPAYEE";
971
+ POLKADOT_LIKE_PROXY: "POLKADOT_LIKE_PROXY";
972
+ POLKADOT_LIKE_ANONYMOUSPROXY: "POLKADOT_LIKE_ANONYMOUSPROXY";
973
+ POLKADOT_LIKE_KILLANONYMOUS: "POLKADOT_LIKE_KILLANONYMOUS";
974
+ POLKADOT_LIKE_PUREPROXY: "POLKADOT_LIKE_PUREPROXY";
975
+ POLKADOT_LIKE_KILLPURE: "POLKADOT_LIKE_KILLPURE";
976
+ POLKADOT_LIKE_NOMINATE: "POLKADOT_LIKE_NOMINATE";
977
+ POLKADOT_LIKE_REWARD: "POLKADOT_LIKE_REWARD";
978
+ POLKADOT_LIKE_CHILL: "POLKADOT_LIKE_CHILL";
979
+ POLKADOT_LIKE_TRANSFERALL: "POLKADOT_LIKE_TRANSFERALL";
980
+ }>;
981
+ readonly zTransactionData: z__default.ZodDiscriminatedUnion<[z__default.ZodObject<{
982
+ type: z__default.ZodLiteral<"POLKADOT_LIKE_ADDPROXY">;
983
+ currency: z__default.ZodString;
984
+ kind: z__default.ZodLiteral<"Staking">;
985
+ proxy: z__default.ZodString;
986
+ }, z__default.core.$strip>, z__default.ZodObject<{
987
+ type: z__default.ZodLiteral<"POLKADOT_LIKE_ANONYMOUSPROXY">;
988
+ currency: z__default.ZodString;
989
+ }, z__default.core.$strip>, z__default.ZodObject<{
990
+ type: z__default.ZodLiteral<"POLKADOT_LIKE_BOND">;
991
+ currency: z__default.ZodString;
992
+ payee: z__default.ZodEnum<{
993
+ Staked: "Staked";
994
+ Stash: "Stash";
995
+ }>;
996
+ amount: z__default.ZodString;
997
+ }, z__default.core.$strip>, z__default.ZodObject<{
998
+ type: z__default.ZodLiteral<"POLKADOT_LIKE_BONDEXTRA">;
999
+ currency: z__default.ZodString;
1000
+ amount: z__default.ZodString;
1001
+ }, z__default.core.$strip>, z__default.ZodObject<{
1002
+ type: z__default.ZodLiteral<"POLKADOT_LIKE_CHILL">;
1003
+ currency: z__default.ZodString;
1004
+ }, z__default.core.$strip>, z__default.ZodObject<{
1005
+ type: z__default.ZodLiteral<"POLKADOT_LIKE_KILLANONYMOUS">;
1006
+ currency: z__default.ZodString;
1007
+ }, z__default.core.$strip>, z__default.ZodObject<{
1008
+ type: z__default.ZodLiteral<"POLKADOT_LIKE_REBOND">;
1009
+ currency: z__default.ZodString;
1010
+ amount: z__default.ZodString;
1011
+ }, z__default.core.$strip>, z__default.ZodObject<{
1012
+ type: z__default.ZodLiteral<"POLKADOT_LIKE_REMOVEPROXY">;
1013
+ currency: z__default.ZodString;
1014
+ kind: z__default.ZodLiteral<"Staking">;
1015
+ proxy: z__default.ZodString;
1016
+ }, z__default.core.$strip>, z__default.ZodObject<{
1017
+ amount: z__default.ZodString;
1018
+ currency: z__default.ZodString;
1019
+ maxFee: z__default.ZodNullable<z__default.ZodString>;
1020
+ recipient: z__default.ZodString;
1021
+ type: z__default.ZodLiteral<"POLKADOT_LIKE_SEND">;
1022
+ }, z__default.core.$strip>, z__default.ZodObject<{
1023
+ type: z__default.ZodLiteral<"POLKADOT_LIKE_SETPAYEE">;
1024
+ currency: z__default.ZodString;
1025
+ payee: z__default.ZodEnum<{
1026
+ Staked: "Staked";
1027
+ Stash: "Stash";
1028
+ }>;
1029
+ }, z__default.core.$strip>, z__default.ZodObject<{
1030
+ type: z__default.ZodLiteral<"POLKADOT_LIKE_UNBOND">;
1031
+ currency: z__default.ZodString;
1032
+ amount: z__default.ZodString;
1033
+ }, z__default.core.$strip>, z__default.ZodObject<{
1034
+ type: z__default.ZodLiteral<"POLKADOT_LIKE_WITHDRAWUNBONDED">;
1035
+ currency: z__default.ZodString;
1036
+ }, z__default.core.$strip>], "type">;
1037
+ readonly zSendTransactionData: z__default.ZodObject<{
1038
+ amount: z__default.ZodString;
1039
+ currency: z__default.ZodString;
1040
+ maxFee: z__default.ZodNullable<z__default.ZodString>;
1041
+ recipient: z__default.ZodString;
1042
+ type: z__default.ZodLiteral<"POLKADOT_LIKE_SEND">;
1043
+ }, z__default.core.$strip>;
1044
+ readonly zEstimatedFees: z__default.ZodNever;
1045
+ readonly zTransactionResponse: z__default.ZodDiscriminatedUnion<[z__default.ZodObject<{
1046
+ id: z__default.ZodString;
1047
+ hash: z__default.ZodString;
1048
+ block: z__default.ZodObject<{
1049
+ height: z__default.ZodNullable<z__default.ZodString>;
1050
+ time: z__default.ZodNullable<z__default.ZodString>;
1051
+ }, z__default.core.$strip>;
1052
+ status: z__default.ZodEnum<{
1053
+ FAILED: "FAILED";
1054
+ SUCCESSFUL: "SUCCESSFUL";
1055
+ }>;
1056
+ confirmations: z__default.ZodString;
1057
+ amount: z__default.ZodString;
1058
+ fee: z__default.ZodString;
1059
+ senders: z__default.ZodArray<z__default.ZodString>;
1060
+ recipients: z__default.ZodArray<z__default.ZodString>;
1061
+ type: z__default.ZodEnum<{
1062
+ POLKADOT_LIKE_SEND: "POLKADOT_LIKE_SEND";
1063
+ POLKADOT_LIKE_RECEIVE: "POLKADOT_LIKE_RECEIVE";
1064
+ POLKADOT_LIKE_ADDPROXY: "POLKADOT_LIKE_ADDPROXY";
1065
+ POLKADOT_LIKE_REMOVEPROXY: "POLKADOT_LIKE_REMOVEPROXY";
1066
+ POLKADOT_LIKE_BOND: "POLKADOT_LIKE_BOND";
1067
+ POLKADOT_LIKE_REBOND: "POLKADOT_LIKE_REBOND";
1068
+ POLKADOT_LIKE_BONDEXTRA: "POLKADOT_LIKE_BONDEXTRA";
1069
+ POLKADOT_LIKE_UNBOND: "POLKADOT_LIKE_UNBOND";
1070
+ POLKADOT_LIKE_WITHDRAWUNBONDED: "POLKADOT_LIKE_WITHDRAWUNBONDED";
1071
+ POLKADOT_LIKE_SETCONTROLLER: "POLKADOT_LIKE_SETCONTROLLER";
1072
+ POLKADOT_LIKE_SETPAYEE: "POLKADOT_LIKE_SETPAYEE";
1073
+ POLKADOT_LIKE_PROXY: "POLKADOT_LIKE_PROXY";
1074
+ POLKADOT_LIKE_ANONYMOUSPROXY: "POLKADOT_LIKE_ANONYMOUSPROXY";
1075
+ POLKADOT_LIKE_KILLANONYMOUS: "POLKADOT_LIKE_KILLANONYMOUS";
1076
+ POLKADOT_LIKE_PUREPROXY: "POLKADOT_LIKE_PUREPROXY";
1077
+ POLKADOT_LIKE_KILLPURE: "POLKADOT_LIKE_KILLPURE";
1078
+ POLKADOT_LIKE_NOMINATE: "POLKADOT_LIKE_NOMINATE";
1079
+ POLKADOT_LIKE_REWARD: "POLKADOT_LIKE_REWARD";
1080
+ POLKADOT_LIKE_CHILL: "POLKADOT_LIKE_CHILL";
1081
+ POLKADOT_LIKE_TRANSFERALL: "POLKADOT_LIKE_TRANSFERALL";
1082
+ }>;
1083
+ }, z__default.core.$strip>], "type">;
1084
+ readonly zStakingFields: z__default.ZodObject<{
1085
+ type: z__default.ZodLiteral<"POLKADOT_LIKE">;
1086
+ staking: z__default.ZodOptional<z__default.ZodNullable<z__default.ZodObject<{
1087
+ info: z__default.ZodObject<{
1088
+ controllerAddress: z__default.ZodNullable<z__default.ZodString>;
1089
+ rewardsDestination: z__default.ZodNullable<z__default.ZodString>;
1090
+ proxies: z__default.ZodArray<z__default.ZodString>;
1091
+ legacyStaking: z__default.ZodBoolean;
1092
+ isNominator: z__default.ZodBoolean;
1093
+ }, z__default.core.$strip>;
1094
+ balances: z__default.ZodObject<{
1095
+ free: z__default.ZodString;
1096
+ reserved: z__default.ZodString;
1097
+ frozen: z__default.ZodString;
1098
+ bonded: z__default.ZodString;
1099
+ available: z__default.ZodString;
1100
+ unbonding: z__default.ZodArray<z__default.ZodObject<{
1101
+ amount: z__default.ZodString;
1102
+ waiting_time: z__default.ZodString;
1103
+ }, z__default.core.$strip>>;
1104
+ unbonded: z__default.ZodArray<z__default.ZodObject<{
1105
+ amount: z__default.ZodString;
1106
+ waiting_time: z__default.ZodString;
1107
+ }, z__default.core.$strip>>;
1108
+ totalUnbonding: z__default.ZodString;
1109
+ totalUnbonded: z__default.ZodString;
1110
+ }, z__default.core.$strip>;
1111
+ anonymousProxy: z__default.ZodNullable<z__default.ZodObject<{
1112
+ address: z__default.ZodString;
1113
+ createdAt: z__default.ZodString;
1114
+ isController: z__default.ZodBoolean;
1115
+ isMain: z__default.ZodBoolean;
1116
+ balances: z__default.ZodNullable<z__default.ZodObject<{
1117
+ free: z__default.ZodString;
1118
+ reserved: z__default.ZodString;
1119
+ frozen: z__default.ZodString;
1120
+ bonded: z__default.ZodString;
1121
+ available: z__default.ZodString;
1122
+ total: z__default.ZodString;
1123
+ }, z__default.core.$strip>>;
1124
+ blockHeight: z__default.ZodString;
1125
+ extIndex: z__default.ZodString;
1126
+ index: z__default.ZodString;
1127
+ kind: z__default.ZodString;
1128
+ }, z__default.core.$strip>>;
1129
+ }, z__default.core.$strip>>>;
1130
+ }, z__default.core.$strip>;
1131
+ readonly withTx: (tx: {
1132
+ type: "POLKADOT_LIKE_ADDPROXY";
1133
+ currency: string;
1134
+ kind: "Staking";
1135
+ proxy: string;
1136
+ } | {
1137
+ type: "POLKADOT_LIKE_ANONYMOUSPROXY";
1138
+ currency: string;
1139
+ } | {
1140
+ type: "POLKADOT_LIKE_BOND";
1141
+ currency: string;
1142
+ payee: "Staked" | "Stash";
1143
+ amount: string;
1144
+ } | {
1145
+ type: "POLKADOT_LIKE_BONDEXTRA";
1146
+ currency: string;
1147
+ amount: string;
1148
+ } | {
1149
+ type: "POLKADOT_LIKE_CHILL";
1150
+ currency: string;
1151
+ } | {
1152
+ type: "POLKADOT_LIKE_KILLANONYMOUS";
1153
+ currency: string;
1154
+ } | {
1155
+ type: "POLKADOT_LIKE_REBOND";
1156
+ currency: string;
1157
+ amount: string;
1158
+ } | {
1159
+ type: "POLKADOT_LIKE_REMOVEPROXY";
1160
+ currency: string;
1161
+ kind: "Staking";
1162
+ proxy: string;
1163
+ } | {
1164
+ amount: string;
1165
+ currency: string;
1166
+ maxFee: string | null;
1167
+ recipient: string;
1168
+ type: "POLKADOT_LIKE_SEND";
1169
+ } | {
1170
+ type: "POLKADOT_LIKE_SETPAYEE";
1171
+ currency: string;
1172
+ payee: "Staked" | "Stash";
1173
+ } | {
1174
+ type: "POLKADOT_LIKE_UNBOND";
1175
+ currency: string;
1176
+ amount: string;
1177
+ } | {
1178
+ type: "POLKADOT_LIKE_WITHDRAWUNBONDED";
1179
+ currency: string;
1180
+ }) => TxHandler;
1181
+ };
1182
+
1183
+ declare const RIPPLE_SPEC: {
1184
+ readonly family: "RIPPLE_LIKE";
1185
+ readonly zAssetFields: z__default.ZodObject<{
1186
+ type: z__default.ZodLiteral<"RIPPLE_LIKE">;
1187
+ address: z__default.ZodNullable<z__default.ZodString>;
1188
+ }, z__default.core.$strip>;
1189
+ readonly zLiveData: z__default.ZodObject<{
1190
+ id: z__default.ZodString;
1191
+ balance: z__default.ZodObject<{
1192
+ total: z__default.ZodString;
1193
+ pending: z__default.ZodString;
1194
+ }, z__default.core.$strip>;
1195
+ type: z__default.ZodLiteral<"RIPPLE_LIKE">;
1196
+ }, z__default.core.$strip>;
1197
+ readonly zTransactionType: z__default.ZodEnum<{
1198
+ RIPPLE_LIKE_SEND: "RIPPLE_LIKE_SEND";
1199
+ RIPPLE_LIKE_RECEIVE: "RIPPLE_LIKE_RECEIVE";
1200
+ }>;
1201
+ readonly zTransactionData: z__default.ZodDiscriminatedUnion<[z__default.ZodObject<{
1202
+ amount: z__default.ZodString;
1203
+ currency: z__default.ZodString;
1204
+ maxFee: z__default.ZodNullable<z__default.ZodString>;
1205
+ recipient: z__default.ZodString;
1206
+ type: z__default.ZodLiteral<"RIPPLE_LIKE_SEND">;
1207
+ destinationTag: z__default.ZodNullable<z__default.ZodString>;
1208
+ feeStrategy: z__default.ZodObject<{
1209
+ type: z__default.ZodEnum<{
1210
+ SLOW: "SLOW";
1211
+ NORMAL: "NORMAL";
1212
+ FAST: "FAST";
1213
+ CUSTOM: "CUSTOM";
1214
+ }>;
1215
+ }, z__default.core.$strip>;
1216
+ }, z__default.core.$strip>], "type">;
1217
+ readonly zSendTransactionData: z__default.ZodObject<{
1218
+ amount: z__default.ZodString;
1219
+ currency: z__default.ZodString;
1220
+ maxFee: z__default.ZodNullable<z__default.ZodString>;
1221
+ recipient: z__default.ZodString;
1222
+ type: z__default.ZodLiteral<"RIPPLE_LIKE_SEND">;
1223
+ destinationTag: z__default.ZodNullable<z__default.ZodString>;
1224
+ feeStrategy: z__default.ZodObject<{
1225
+ type: z__default.ZodEnum<{
1226
+ SLOW: "SLOW";
1227
+ NORMAL: "NORMAL";
1228
+ FAST: "FAST";
1229
+ CUSTOM: "CUSTOM";
1230
+ }>;
1231
+ }, z__default.core.$strip>;
1232
+ }, z__default.core.$strip>;
1233
+ readonly zEstimatedFees: z__default.ZodObject<{
1234
+ type: z__default.ZodLiteral<"RIPPLE_LIKE">;
1235
+ fee: z__default.ZodString;
1236
+ }, z__default.core.$strip>;
1237
+ readonly zTransactionResponse: z__default.ZodDiscriminatedUnion<[z__default.ZodObject<{
1238
+ id: z__default.ZodString;
1239
+ hash: z__default.ZodString;
1240
+ block: z__default.ZodObject<{
1241
+ height: z__default.ZodNullable<z__default.ZodString>;
1242
+ time: z__default.ZodNullable<z__default.ZodString>;
1243
+ }, z__default.core.$strip>;
1244
+ status: z__default.ZodEnum<{
1245
+ FAILED: "FAILED";
1246
+ SUCCESSFUL: "SUCCESSFUL";
1247
+ }>;
1248
+ confirmations: z__default.ZodString;
1249
+ amount: z__default.ZodString;
1250
+ fee: z__default.ZodString;
1251
+ senders: z__default.ZodArray<z__default.ZodString>;
1252
+ recipients: z__default.ZodArray<z__default.ZodString>;
1253
+ type: z__default.ZodEnum<{
1254
+ RIPPLE_LIKE_SEND: "RIPPLE_LIKE_SEND";
1255
+ RIPPLE_LIKE_RECEIVE: "RIPPLE_LIKE_RECEIVE";
1256
+ }>;
1257
+ memos: z__default.ZodArray<z__default.ZodString>;
1258
+ destinationTag: z__default.ZodString;
1259
+ }, z__default.core.$strip>], "type">;
1260
+ readonly zStakingFields: z__default.ZodNever;
1261
+ readonly withTx: (tx: {
1262
+ amount: string;
1263
+ currency: string;
1264
+ maxFee: string | null;
1265
+ recipient: string;
1266
+ type: "RIPPLE_LIKE_SEND";
1267
+ destinationTag: string | null;
1268
+ feeStrategy: {
1269
+ type: "SLOW" | "NORMAL" | "FAST" | "CUSTOM";
1270
+ };
1271
+ }) => TxHandler;
1272
+ };
1273
+
1274
+ declare const SOLANA_SPEC: {
1275
+ readonly family: "SOLANA_LIKE";
1276
+ readonly zAssetFields: z__default.ZodObject<{
1277
+ type: z__default.ZodLiteral<"SOLANA_LIKE">;
1278
+ address: z__default.ZodNullable<z__default.ZodString>;
1279
+ contractAddress: z__default.ZodOptional<z__default.ZodNullable<z__default.ZodString>>;
1280
+ }, z__default.core.$strip>;
1281
+ readonly zLiveData: z__default.ZodObject<{
1282
+ id: z__default.ZodString;
1283
+ balance: z__default.ZodObject<{
1284
+ total: z__default.ZodString;
1285
+ pending: z__default.ZodString;
1286
+ }, z__default.core.$strip>;
1287
+ type: z__default.ZodLiteral<"SOLANA_LIKE">;
1288
+ staking: z__default.ZodOptional<z__default.ZodNullable<z__default.ZodObject<{
1289
+ staked: z__default.ZodString;
1290
+ rewards: z__default.ZodObject<{
1291
+ total: z__default.ZodString;
1292
+ last7: z__default.ZodString;
1293
+ last30: z__default.ZodString;
1294
+ }, z__default.core.$strip>;
1295
+ stakes: z__default.ZodArray<z__default.ZodObject<{
1296
+ uid: z__default.ZodString;
1297
+ baseAccountUid: z__default.ZodString;
1298
+ pubKey: z__default.ZodString;
1299
+ validatorPubKey: z__default.ZodNullable<z__default.ZodString>;
1300
+ initialAmount: z__default.ZodString;
1301
+ activeAmount: z__default.ZodString;
1302
+ inactiveAmount: z__default.ZodString;
1303
+ totalBalance: z__default.ZodString;
1304
+ creationDate: z__default.ZodString;
1305
+ activationEpoch: z__default.ZodNullable<z__default.ZodString>;
1306
+ activationDate: z__default.ZodNullable<z__default.ZodString>;
1307
+ deactivationEpoch: z__default.ZodNullable<z__default.ZodString>;
1308
+ deactivationDate: z__default.ZodNullable<z__default.ZodString>;
1309
+ status: z__default.ZodEnum<{
1310
+ not_sync: "not_sync";
1311
+ activating: "activating";
1312
+ activated: "activated";
1313
+ deactivating: "deactivating";
1314
+ deactivated: "deactivated";
1315
+ deleted: "deleted";
1316
+ }>;
1317
+ rentExemptReserve: z__default.ZodString;
1318
+ withdrawableAmount: z__default.ZodString;
1319
+ totalRewards: z__default.ZodString;
1320
+ creationTxHash: z__default.ZodNullable<z__default.ZodString>;
1321
+ actionsTxHashes: z__default.ZodArray<z__default.ZodString>;
1322
+ }, z__default.core.$strip>>;
1323
+ }, z__default.core.$strip>>>;
1324
+ }, z__default.core.$strip>;
1325
+ readonly zTransactionType: z__default.ZodEnum<{
1326
+ SOLANA_LIKE_SEND: "SOLANA_LIKE_SEND";
1327
+ SOLANA_LIKE_RECEIVE: "SOLANA_LIKE_RECEIVE";
1328
+ SOLANA_LIKE_CREATE_DELEGATE_STAKE: "SOLANA_LIKE_CREATE_DELEGATE_STAKE";
1329
+ SOLANA_LIKE_DELEGATE_STAKE: "SOLANA_LIKE_DELEGATE_STAKE";
1330
+ SOLANA_LIKE_WITHDRAW_STAKE: "SOLANA_LIKE_WITHDRAW_STAKE";
1331
+ SOLANA_LIKE_DEACTIVATE_STAKE: "SOLANA_LIKE_DEACTIVATE_STAKE";
1332
+ SOLANA_LIKE_SPLIT_STAKE: "SOLANA_LIKE_SPLIT_STAKE";
1333
+ SOLANA_LIKE_SPLIT_DEACTIVATE_STAKE: "SOLANA_LIKE_SPLIT_DEACTIVATE_STAKE";
1334
+ SOLANA_LIKE_MERGE_STAKE: "SOLANA_LIKE_MERGE_STAKE";
1335
+ SOLANA_LIKE_SEND_TOKEN: "SOLANA_LIKE_SEND_TOKEN";
1336
+ SOLANA_LIKE_FUND_AND_SEND_TOKEN: "SOLANA_LIKE_FUND_AND_SEND_TOKEN";
1337
+ SOLANA_LIKE_CREATE_SPL_TOKEN_ACCOUNT: "SOLANA_LIKE_CREATE_SPL_TOKEN_ACCOUNT";
1338
+ }>;
1339
+ readonly zTransactionData: z__default.ZodDiscriminatedUnion<[z__default.ZodObject<{
1340
+ amount: z__default.ZodString;
1341
+ currency: z__default.ZodString;
1342
+ maxFee: z__default.ZodNullable<z__default.ZodString>;
1343
+ type: z__default.ZodLiteral<"SOLANA_LIKE_CREATE_DELEGATE_STAKE">;
1344
+ recipient: z__default.ZodString;
1345
+ feeStrategy: z__default.ZodObject<{
1346
+ type: z__default.ZodEnum<{
1347
+ SLOW: "SLOW";
1348
+ NORMAL: "NORMAL";
1349
+ FAST: "FAST";
1350
+ }>;
1351
+ }, z__default.core.$strip>;
1352
+ }, z__default.core.$strip>, z__default.ZodObject<{
1353
+ type: z__default.ZodLiteral<"SOLANA_LIKE_DEACTIVATE_STAKE">;
1354
+ currency: z__default.ZodString;
1355
+ maxFee: z__default.ZodNullable<z__default.ZodString>;
1356
+ stakeAccount: z__default.ZodString;
1357
+ feeStrategy: z__default.ZodObject<{
1358
+ type: z__default.ZodEnum<{
1359
+ SLOW: "SLOW";
1360
+ NORMAL: "NORMAL";
1361
+ FAST: "FAST";
1362
+ }>;
1363
+ }, z__default.core.$strip>;
1364
+ }, z__default.core.$strip>, z__default.ZodObject<{
1365
+ type: z__default.ZodLiteral<"SOLANA_LIKE_DELEGATE_STAKE">;
1366
+ currency: z__default.ZodString;
1367
+ maxFee: z__default.ZodNullable<z__default.ZodString>;
1368
+ recipient: z__default.ZodString;
1369
+ stakeAccount: z__default.ZodString;
1370
+ feeStrategy: z__default.ZodObject<{
1371
+ type: z__default.ZodEnum<{
1372
+ SLOW: "SLOW";
1373
+ NORMAL: "NORMAL";
1374
+ FAST: "FAST";
1375
+ }>;
1376
+ }, z__default.core.$strip>;
1377
+ }, z__default.core.$strip>, z__default.ZodObject<{
1378
+ type: z__default.ZodLiteral<"SOLANA_LIKE_MERGE_STAKE">;
1379
+ currency: z__default.ZodString;
1380
+ maxFee: z__default.ZodNullable<z__default.ZodString>;
1381
+ mergeSrcAccount: z__default.ZodString;
1382
+ mergeDstAccount: z__default.ZodString;
1383
+ feeStrategy: z__default.ZodObject<{
1384
+ type: z__default.ZodEnum<{
1385
+ SLOW: "SLOW";
1386
+ NORMAL: "NORMAL";
1387
+ FAST: "FAST";
1388
+ }>;
1389
+ }, z__default.core.$strip>;
1390
+ }, z__default.core.$strip>, z__default.ZodObject<{
1391
+ amount: z__default.ZodString;
1392
+ currency: z__default.ZodString;
1393
+ maxFee: z__default.ZodNullable<z__default.ZodString>;
1394
+ recipient: z__default.ZodString;
1395
+ type: z__default.ZodLiteral<"SOLANA_LIKE_SEND">;
1396
+ feeStrategy: z__default.ZodObject<{
1397
+ type: z__default.ZodEnum<{
1398
+ SLOW: "SLOW";
1399
+ NORMAL: "NORMAL";
1400
+ FAST: "FAST";
1401
+ }>;
1402
+ }, z__default.core.$strip>;
1403
+ }, z__default.core.$strip>, z__default.ZodObject<{
1404
+ type: z__default.ZodLiteral<"SOLANA_LIKE_SPLIT_DEACTIVATE_STAKE">;
1405
+ amount: z__default.ZodString;
1406
+ currency: z__default.ZodString;
1407
+ maxFee: z__default.ZodNullable<z__default.ZodString>;
1408
+ stakeAccount: z__default.ZodString;
1409
+ feeStrategy: z__default.ZodObject<{
1410
+ type: z__default.ZodEnum<{
1411
+ SLOW: "SLOW";
1412
+ NORMAL: "NORMAL";
1413
+ FAST: "FAST";
1414
+ }>;
1415
+ }, z__default.core.$strip>;
1416
+ }, z__default.core.$strip>, z__default.ZodObject<{
1417
+ type: z__default.ZodLiteral<"SOLANA_LIKE_SPLIT_STAKE">;
1418
+ amount: z__default.ZodString;
1419
+ currency: z__default.ZodString;
1420
+ maxFee: z__default.ZodNullable<z__default.ZodString>;
1421
+ stakeAccount: z__default.ZodString;
1422
+ feeStrategy: z__default.ZodObject<{
1423
+ type: z__default.ZodEnum<{
1424
+ SLOW: "SLOW";
1425
+ NORMAL: "NORMAL";
1426
+ FAST: "FAST";
1427
+ }>;
1428
+ }, z__default.core.$strip>;
1429
+ }, z__default.core.$strip>, z__default.ZodObject<{
1430
+ type: z__default.ZodLiteral<"SOLANA_LIKE_WITHDRAW_STAKE">;
1431
+ amount: z__default.ZodString;
1432
+ currency: z__default.ZodString;
1433
+ maxFee: z__default.ZodNullable<z__default.ZodString>;
1434
+ stakeAccount: z__default.ZodString;
1435
+ feeStrategy: z__default.ZodObject<{
1436
+ type: z__default.ZodEnum<{
1437
+ SLOW: "SLOW";
1438
+ NORMAL: "NORMAL";
1439
+ FAST: "FAST";
1440
+ }>;
1441
+ }, z__default.core.$strip>;
1442
+ }, z__default.core.$strip>, z__default.ZodObject<{
1443
+ amount: z__default.ZodString;
1444
+ currency: z__default.ZodString;
1445
+ maxFee: z__default.ZodNullable<z__default.ZodString>;
1446
+ recipient: z__default.ZodString;
1447
+ type: z__default.ZodLiteral<"SOLANA_LIKE_SEND_TOKEN">;
1448
+ feeStrategy: z__default.ZodObject<{
1449
+ type: z__default.ZodEnum<{
1450
+ SLOW: "SLOW";
1451
+ NORMAL: "NORMAL";
1452
+ FAST: "FAST";
1453
+ }>;
1454
+ }, z__default.core.$strip>;
1455
+ }, z__default.core.$strip>, z__default.ZodObject<{
1456
+ amount: z__default.ZodString;
1457
+ currency: z__default.ZodString;
1458
+ maxFee: z__default.ZodNullable<z__default.ZodString>;
1459
+ recipient: z__default.ZodString;
1460
+ type: z__default.ZodLiteral<"SOLANA_LIKE_FUND_AND_SEND_TOKEN">;
1461
+ feeStrategy: z__default.ZodObject<{
1462
+ type: z__default.ZodEnum<{
1463
+ SLOW: "SLOW";
1464
+ NORMAL: "NORMAL";
1465
+ FAST: "FAST";
1466
+ }>;
1467
+ }, z__default.core.$strip>;
1468
+ }, z__default.core.$strip>, z__default.ZodObject<{
1469
+ type: z__default.ZodLiteral<"SOLANA_LIKE_CREATE_SPL_TOKEN_ACCOUNT">;
1470
+ currency: z__default.ZodString;
1471
+ maxFee: z__default.ZodNullable<z__default.ZodString>;
1472
+ feeStrategy: z__default.ZodObject<{
1473
+ type: z__default.ZodEnum<{
1474
+ SLOW: "SLOW";
1475
+ NORMAL: "NORMAL";
1476
+ FAST: "FAST";
1477
+ }>;
1478
+ }, z__default.core.$strip>;
1479
+ }, z__default.core.$strip>], "type">;
1480
+ readonly zSendTransactionData: z__default.ZodObject<{
1481
+ amount: z__default.ZodString;
1482
+ currency: z__default.ZodString;
1483
+ maxFee: z__default.ZodNullable<z__default.ZodString>;
1484
+ recipient: z__default.ZodString;
1485
+ type: z__default.ZodLiteral<"SOLANA_LIKE_SEND">;
1486
+ feeStrategy: z__default.ZodObject<{
1487
+ type: z__default.ZodEnum<{
1488
+ SLOW: "SLOW";
1489
+ NORMAL: "NORMAL";
1490
+ FAST: "FAST";
1491
+ }>;
1492
+ }, z__default.core.$strip>;
1493
+ }, z__default.core.$strip>;
1494
+ readonly zEstimatedFees: z__default.ZodNever;
1495
+ readonly zTransactionResponse: z__default.ZodDiscriminatedUnion<[z__default.ZodObject<{
1496
+ id: z__default.ZodString;
1497
+ hash: z__default.ZodString;
1498
+ block: z__default.ZodObject<{
1499
+ height: z__default.ZodNullable<z__default.ZodString>;
1500
+ time: z__default.ZodNullable<z__default.ZodString>;
1501
+ }, z__default.core.$strip>;
1502
+ status: z__default.ZodEnum<{
1503
+ FAILED: "FAILED";
1504
+ SUCCESSFUL: "SUCCESSFUL";
1505
+ }>;
1506
+ confirmations: z__default.ZodString;
1507
+ amount: z__default.ZodString;
1508
+ fee: z__default.ZodString;
1509
+ senders: z__default.ZodArray<z__default.ZodString>;
1510
+ recipients: z__default.ZodArray<z__default.ZodString>;
1511
+ type: z__default.ZodEnum<{
1512
+ SOLANA_LIKE_SEND: "SOLANA_LIKE_SEND";
1513
+ SOLANA_LIKE_RECEIVE: "SOLANA_LIKE_RECEIVE";
1514
+ SOLANA_LIKE_CREATE_DELEGATE_STAKE: "SOLANA_LIKE_CREATE_DELEGATE_STAKE";
1515
+ SOLANA_LIKE_DELEGATE_STAKE: "SOLANA_LIKE_DELEGATE_STAKE";
1516
+ SOLANA_LIKE_WITHDRAW_STAKE: "SOLANA_LIKE_WITHDRAW_STAKE";
1517
+ SOLANA_LIKE_DEACTIVATE_STAKE: "SOLANA_LIKE_DEACTIVATE_STAKE";
1518
+ SOLANA_LIKE_SPLIT_STAKE: "SOLANA_LIKE_SPLIT_STAKE";
1519
+ SOLANA_LIKE_SPLIT_DEACTIVATE_STAKE: "SOLANA_LIKE_SPLIT_DEACTIVATE_STAKE";
1520
+ SOLANA_LIKE_MERGE_STAKE: "SOLANA_LIKE_MERGE_STAKE";
1521
+ SOLANA_LIKE_SEND_TOKEN: "SOLANA_LIKE_SEND_TOKEN";
1522
+ SOLANA_LIKE_FUND_AND_SEND_TOKEN: "SOLANA_LIKE_FUND_AND_SEND_TOKEN";
1523
+ SOLANA_LIKE_CREATE_SPL_TOKEN_ACCOUNT: "SOLANA_LIKE_CREATE_SPL_TOKEN_ACCOUNT";
1524
+ }>;
1525
+ }, z__default.core.$strip>], "type">;
1526
+ readonly zStakingFields: z__default.ZodObject<{
1527
+ type: z__default.ZodLiteral<"SOLANA_LIKE">;
1528
+ staking: z__default.ZodOptional<z__default.ZodNullable<z__default.ZodObject<{
1529
+ staked: z__default.ZodString;
1530
+ rewards: z__default.ZodObject<{
1531
+ total: z__default.ZodString;
1532
+ last7: z__default.ZodString;
1533
+ last30: z__default.ZodString;
1534
+ }, z__default.core.$strip>;
1535
+ stakes: z__default.ZodArray<z__default.ZodObject<{
1536
+ uid: z__default.ZodString;
1537
+ baseAccountUid: z__default.ZodString;
1538
+ pubKey: z__default.ZodString;
1539
+ validatorPubKey: z__default.ZodNullable<z__default.ZodString>;
1540
+ initialAmount: z__default.ZodString;
1541
+ activeAmount: z__default.ZodString;
1542
+ inactiveAmount: z__default.ZodString;
1543
+ totalBalance: z__default.ZodString;
1544
+ creationDate: z__default.ZodString;
1545
+ activationEpoch: z__default.ZodNullable<z__default.ZodString>;
1546
+ activationDate: z__default.ZodNullable<z__default.ZodString>;
1547
+ deactivationEpoch: z__default.ZodNullable<z__default.ZodString>;
1548
+ deactivationDate: z__default.ZodNullable<z__default.ZodString>;
1549
+ status: z__default.ZodEnum<{
1550
+ not_sync: "not_sync";
1551
+ activating: "activating";
1552
+ activated: "activated";
1553
+ deactivating: "deactivating";
1554
+ deactivated: "deactivated";
1555
+ deleted: "deleted";
1556
+ }>;
1557
+ rentExemptReserve: z__default.ZodString;
1558
+ withdrawableAmount: z__default.ZodString;
1559
+ totalRewards: z__default.ZodString;
1560
+ creationTxHash: z__default.ZodNullable<z__default.ZodString>;
1561
+ actionsTxHashes: z__default.ZodArray<z__default.ZodString>;
1562
+ }, z__default.core.$strip>>;
1563
+ }, z__default.core.$strip>>>;
1564
+ }, z__default.core.$strip>;
1565
+ readonly withTx: (tx: {
1566
+ amount: string;
1567
+ currency: string;
1568
+ maxFee: string | null;
1569
+ type: "SOLANA_LIKE_CREATE_DELEGATE_STAKE";
1570
+ recipient: string;
1571
+ feeStrategy: {
1572
+ type: "SLOW" | "NORMAL" | "FAST";
1573
+ };
1574
+ } | {
1575
+ type: "SOLANA_LIKE_DEACTIVATE_STAKE";
1576
+ currency: string;
1577
+ maxFee: string | null;
1578
+ stakeAccount: string;
1579
+ feeStrategy: {
1580
+ type: "SLOW" | "NORMAL" | "FAST";
1581
+ };
1582
+ } | {
1583
+ type: "SOLANA_LIKE_DELEGATE_STAKE";
1584
+ currency: string;
1585
+ maxFee: string | null;
1586
+ recipient: string;
1587
+ stakeAccount: string;
1588
+ feeStrategy: {
1589
+ type: "SLOW" | "NORMAL" | "FAST";
1590
+ };
1591
+ } | {
1592
+ type: "SOLANA_LIKE_MERGE_STAKE";
1593
+ currency: string;
1594
+ maxFee: string | null;
1595
+ mergeSrcAccount: string;
1596
+ mergeDstAccount: string;
1597
+ feeStrategy: {
1598
+ type: "SLOW" | "NORMAL" | "FAST";
1599
+ };
1600
+ } | {
1601
+ amount: string;
1602
+ currency: string;
1603
+ maxFee: string | null;
1604
+ recipient: string;
1605
+ type: "SOLANA_LIKE_SEND";
1606
+ feeStrategy: {
1607
+ type: "SLOW" | "NORMAL" | "FAST";
1608
+ };
1609
+ } | {
1610
+ type: "SOLANA_LIKE_SPLIT_DEACTIVATE_STAKE";
1611
+ amount: string;
1612
+ currency: string;
1613
+ maxFee: string | null;
1614
+ stakeAccount: string;
1615
+ feeStrategy: {
1616
+ type: "SLOW" | "NORMAL" | "FAST";
1617
+ };
1618
+ } | {
1619
+ type: "SOLANA_LIKE_SPLIT_STAKE";
1620
+ amount: string;
1621
+ currency: string;
1622
+ maxFee: string | null;
1623
+ stakeAccount: string;
1624
+ feeStrategy: {
1625
+ type: "SLOW" | "NORMAL" | "FAST";
1626
+ };
1627
+ } | {
1628
+ type: "SOLANA_LIKE_WITHDRAW_STAKE";
1629
+ amount: string;
1630
+ currency: string;
1631
+ maxFee: string | null;
1632
+ stakeAccount: string;
1633
+ feeStrategy: {
1634
+ type: "SLOW" | "NORMAL" | "FAST";
1635
+ };
1636
+ } | {
1637
+ amount: string;
1638
+ currency: string;
1639
+ maxFee: string | null;
1640
+ recipient: string;
1641
+ type: "SOLANA_LIKE_SEND_TOKEN";
1642
+ feeStrategy: {
1643
+ type: "SLOW" | "NORMAL" | "FAST";
1644
+ };
1645
+ } | {
1646
+ amount: string;
1647
+ currency: string;
1648
+ maxFee: string | null;
1649
+ recipient: string;
1650
+ type: "SOLANA_LIKE_FUND_AND_SEND_TOKEN";
1651
+ feeStrategy: {
1652
+ type: "SLOW" | "NORMAL" | "FAST";
1653
+ };
1654
+ } | {
1655
+ type: "SOLANA_LIKE_CREATE_SPL_TOKEN_ACCOUNT";
1656
+ currency: string;
1657
+ maxFee: string | null;
1658
+ feeStrategy: {
1659
+ type: "SLOW" | "NORMAL" | "FAST";
1660
+ };
1661
+ }) => TxHandler;
1662
+ };
1663
+
1664
+ declare const STELLAR_SPEC: {
1665
+ readonly family: "STELLAR_LIKE";
1666
+ readonly zAssetFields: z__default.ZodObject<{
1667
+ type: z__default.ZodLiteral<"STELLAR_LIKE">;
1668
+ address: z__default.ZodNullable<z__default.ZodString>;
1669
+ }, z__default.core.$strip>;
1670
+ readonly zLiveData: z__default.ZodObject<{
1671
+ id: z__default.ZodString;
1672
+ balance: z__default.ZodObject<{
1673
+ total: z__default.ZodString;
1674
+ pending: z__default.ZodString;
1675
+ }, z__default.core.$strip>;
1676
+ type: z__default.ZodLiteral<"STELLAR_LIKE">;
1677
+ }, z__default.core.$strip>;
1678
+ readonly zTransactionType: z__default.ZodEnum<{
1679
+ STELLAR_LIKE_SEND: "STELLAR_LIKE_SEND";
1680
+ STELLAR_LIKE_RECEIVE: "STELLAR_LIKE_RECEIVE";
1681
+ }>;
1682
+ readonly zTransactionData: z__default.ZodDiscriminatedUnion<[z__default.ZodObject<{
1683
+ amount: z__default.ZodString;
1684
+ currency: z__default.ZodString;
1685
+ maxFee: z__default.ZodNullable<z__default.ZodString>;
1686
+ recipient: z__default.ZodString;
1687
+ type: z__default.ZodLiteral<"STELLAR_LIKE_SEND">;
1688
+ memo: z__default.ZodNullable<z__default.ZodDiscriminatedUnion<[z__default.ZodObject<{
1689
+ type: z__default.ZodLiteral<"MEMO_TEXT">;
1690
+ value: z__default.ZodString;
1691
+ }, z__default.core.$strip>, z__default.ZodObject<{
1692
+ type: z__default.ZodLiteral<"MEMO_ID">;
1693
+ value: z__default.ZodString;
1694
+ }, z__default.core.$strip>, z__default.ZodObject<{
1695
+ type: z__default.ZodLiteral<"MEMO_HASH">;
1696
+ value: z__default.ZodString;
1697
+ }, z__default.core.$strip>, z__default.ZodObject<{
1698
+ type: z__default.ZodLiteral<"MEMO_RETURN">;
1699
+ value: z__default.ZodString;
1700
+ }, z__default.core.$strip>], "type">>;
1701
+ feeStrategy: z__default.ZodObject<{
1702
+ type: z__default.ZodEnum<{
1703
+ SLOW: "SLOW";
1704
+ NORMAL: "NORMAL";
1705
+ FAST: "FAST";
1706
+ }>;
1707
+ }, z__default.core.$strip>;
1708
+ }, z__default.core.$strip>], "type">;
1709
+ readonly zSendTransactionData: z__default.ZodObject<{
1710
+ amount: z__default.ZodString;
1711
+ currency: z__default.ZodString;
1712
+ maxFee: z__default.ZodNullable<z__default.ZodString>;
1713
+ recipient: z__default.ZodString;
1714
+ type: z__default.ZodLiteral<"STELLAR_LIKE_SEND">;
1715
+ memo: z__default.ZodNullable<z__default.ZodDiscriminatedUnion<[z__default.ZodObject<{
1716
+ type: z__default.ZodLiteral<"MEMO_TEXT">;
1717
+ value: z__default.ZodString;
1718
+ }, z__default.core.$strip>, z__default.ZodObject<{
1719
+ type: z__default.ZodLiteral<"MEMO_ID">;
1720
+ value: z__default.ZodString;
1721
+ }, z__default.core.$strip>, z__default.ZodObject<{
1722
+ type: z__default.ZodLiteral<"MEMO_HASH">;
1723
+ value: z__default.ZodString;
1724
+ }, z__default.core.$strip>, z__default.ZodObject<{
1725
+ type: z__default.ZodLiteral<"MEMO_RETURN">;
1726
+ value: z__default.ZodString;
1727
+ }, z__default.core.$strip>], "type">>;
1728
+ feeStrategy: z__default.ZodObject<{
1729
+ type: z__default.ZodEnum<{
1730
+ SLOW: "SLOW";
1731
+ NORMAL: "NORMAL";
1732
+ FAST: "FAST";
1733
+ }>;
1734
+ }, z__default.core.$strip>;
1735
+ }, z__default.core.$strip>;
1736
+ readonly zEstimatedFees: z__default.ZodObject<{
1737
+ type: z__default.ZodLiteral<"STELLAR_LIKE">;
1738
+ fee: z__default.ZodString;
1739
+ }, z__default.core.$strip>;
1740
+ readonly zTransactionResponse: z__default.ZodDiscriminatedUnion<[z__default.ZodObject<{
1741
+ id: z__default.ZodString;
1742
+ hash: z__default.ZodString;
1743
+ block: z__default.ZodObject<{
1744
+ height: z__default.ZodNullable<z__default.ZodString>;
1745
+ time: z__default.ZodNullable<z__default.ZodString>;
1746
+ }, z__default.core.$strip>;
1747
+ status: z__default.ZodEnum<{
1748
+ FAILED: "FAILED";
1749
+ SUCCESSFUL: "SUCCESSFUL";
1750
+ }>;
1751
+ confirmations: z__default.ZodString;
1752
+ amount: z__default.ZodString;
1753
+ fee: z__default.ZodString;
1754
+ senders: z__default.ZodArray<z__default.ZodString>;
1755
+ recipients: z__default.ZodArray<z__default.ZodString>;
1756
+ type: z__default.ZodEnum<{
1757
+ STELLAR_LIKE_SEND: "STELLAR_LIKE_SEND";
1758
+ STELLAR_LIKE_RECEIVE: "STELLAR_LIKE_RECEIVE";
1759
+ }>;
1760
+ }, z__default.core.$strip>], "type">;
1761
+ readonly zStakingFields: z__default.ZodNever;
1762
+ readonly withTx: (tx: {
1763
+ amount: string;
1764
+ currency: string;
1765
+ maxFee: string | null;
1766
+ recipient: string;
1767
+ type: "STELLAR_LIKE_SEND";
1768
+ memo: {
1769
+ type: "MEMO_TEXT";
1770
+ value: string;
1771
+ } | {
1772
+ type: "MEMO_ID";
1773
+ value: string;
1774
+ } | {
1775
+ type: "MEMO_HASH";
1776
+ value: string;
1777
+ } | {
1778
+ type: "MEMO_RETURN";
1779
+ value: string;
1780
+ } | null;
1781
+ feeStrategy: {
1782
+ type: "SLOW" | "NORMAL" | "FAST";
1783
+ };
1784
+ }) => TxHandler;
1785
+ };
1786
+
1787
+ declare const SUI_SPEC: {
1788
+ readonly family: "SUI_LIKE";
1789
+ readonly zAssetFields: z.ZodObject<{
1790
+ type: z.ZodLiteral<"SUI_LIKE">;
1791
+ address: z.ZodNullable<z.ZodString>;
1792
+ }, zod_v4_core.$strip>;
1793
+ readonly zLiveData: z.ZodObject<{
1794
+ id: z.ZodString;
1795
+ balance: z.ZodObject<{
1796
+ total: z.ZodString;
1797
+ pending: z.ZodString;
1798
+ }, zod_v4_core.$strip>;
1799
+ type: z.ZodLiteral<"SUI_LIKE">;
1800
+ staking: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1801
+ totalStaked: z.ZodString;
1802
+ totalRewards: z.ZodString;
1803
+ }, zod_v4_core.$strip>>>;
1804
+ }, zod_v4_core.$strip>;
1805
+ readonly zTransactionType: z.ZodEnum<{
1806
+ SUI_LIKE_SEND: "SUI_LIKE_SEND";
1807
+ SUI_LIKE_RECEIVE: "SUI_LIKE_RECEIVE";
1808
+ SUI_LIKE_SEND_TOKEN: "SUI_LIKE_SEND_TOKEN";
1809
+ SUI_LIKE_RECEIVE_TOKEN: "SUI_LIKE_RECEIVE_TOKEN";
1810
+ SUI_LIKE_STAKE: "SUI_LIKE_STAKE";
1811
+ SUI_LIKE_UNSTAKE: "SUI_LIKE_UNSTAKE";
1812
+ }>;
1813
+ readonly zTransactionData: z.ZodDiscriminatedUnion<[z.ZodObject<{
1814
+ amount: z.ZodString;
1815
+ currency: z.ZodString;
1816
+ maxFee: z.ZodNullable<z.ZodString>;
1817
+ recipient: z.ZodString;
1818
+ type: z.ZodLiteral<"SUI_LIKE_SEND">;
1819
+ feeStrategy: z.ZodObject<{
1820
+ type: z.ZodEnum<{
1821
+ SLOW: "SLOW";
1822
+ NORMAL: "NORMAL";
1823
+ FAST: "FAST";
1824
+ }>;
1825
+ }, zod_v4_core.$strip>;
1826
+ }, zod_v4_core.$strip>, z.ZodObject<{
1827
+ amount: z.ZodString;
1828
+ currency: z.ZodString;
1829
+ maxFee: z.ZodNullable<z.ZodString>;
1830
+ recipient: z.ZodString;
1831
+ type: z.ZodLiteral<"SUI_LIKE_SEND_TOKEN">;
1832
+ feeStrategy: z.ZodObject<{
1833
+ type: z.ZodEnum<{
1834
+ SLOW: "SLOW";
1835
+ NORMAL: "NORMAL";
1836
+ FAST: "FAST";
1837
+ }>;
1838
+ }, zod_v4_core.$strip>;
1839
+ }, zod_v4_core.$strip>, z.ZodObject<{
1840
+ type: z.ZodLiteral<"SUI_LIKE_STAKE">;
1841
+ feeStrategy: z.ZodObject<{
1842
+ type: z.ZodEnum<{
1843
+ SLOW: "SLOW";
1844
+ NORMAL: "NORMAL";
1845
+ FAST: "FAST";
1846
+ }>;
1847
+ }, zod_v4_core.$strip>;
1848
+ amount: z.ZodString;
1849
+ currency: z.ZodString;
1850
+ maxFee: z.ZodNullable<z.ZodString>;
1851
+ validator: z.ZodString;
1852
+ }, zod_v4_core.$strip>, z.ZodObject<{
1853
+ type: z.ZodLiteral<"SUI_LIKE_UNSTAKE">;
1854
+ feeStrategy: z.ZodObject<{
1855
+ type: z.ZodEnum<{
1856
+ SLOW: "SLOW";
1857
+ NORMAL: "NORMAL";
1858
+ FAST: "FAST";
1859
+ }>;
1860
+ }, zod_v4_core.$strip>;
1861
+ currency: z.ZodString;
1862
+ maxFee: z.ZodNullable<z.ZodString>;
1863
+ stakedSuiId: z.ZodString;
1864
+ amount: z.ZodString;
1865
+ useAllAmount: z.ZodBoolean;
1866
+ }, zod_v4_core.$strip>], "type">;
1867
+ readonly zSendTransactionData: z.ZodObject<{
1868
+ amount: z.ZodString;
1869
+ currency: z.ZodString;
1870
+ maxFee: z.ZodNullable<z.ZodString>;
1871
+ recipient: z.ZodString;
1872
+ type: z.ZodLiteral<"SUI_LIKE_SEND">;
1873
+ feeStrategy: z.ZodObject<{
1874
+ type: z.ZodEnum<{
1875
+ SLOW: "SLOW";
1876
+ NORMAL: "NORMAL";
1877
+ FAST: "FAST";
1878
+ }>;
1879
+ }, zod_v4_core.$strip>;
1880
+ }, zod_v4_core.$strip>;
1881
+ readonly zEstimatedFees: z.ZodObject<{
1882
+ type: z.ZodLiteral<"SUI_LIKE">;
1883
+ fee: z.ZodString;
1884
+ }, zod_v4_core.$strip>;
1885
+ readonly zTransactionResponse: z.ZodDiscriminatedUnion<[z.ZodObject<{
1886
+ id: z.ZodString;
1887
+ hash: z.ZodString;
1888
+ block: z.ZodObject<{
1889
+ height: z.ZodNullable<z.ZodString>;
1890
+ time: z.ZodNullable<z.ZodString>;
1891
+ }, zod_v4_core.$strip>;
1892
+ status: z.ZodEnum<{
1893
+ FAILED: "FAILED";
1894
+ SUCCESSFUL: "SUCCESSFUL";
1895
+ }>;
1896
+ confirmations: z.ZodString;
1897
+ amount: z.ZodString;
1898
+ fee: z.ZodString;
1899
+ senders: z.ZodArray<z.ZodString>;
1900
+ recipients: z.ZodArray<z.ZodString>;
1901
+ type: z.ZodEnum<{
1902
+ SUI_LIKE_SEND: "SUI_LIKE_SEND";
1903
+ SUI_LIKE_RECEIVE: "SUI_LIKE_RECEIVE";
1904
+ SUI_LIKE_SEND_TOKEN: "SUI_LIKE_SEND_TOKEN";
1905
+ SUI_LIKE_RECEIVE_TOKEN: "SUI_LIKE_RECEIVE_TOKEN";
1906
+ SUI_LIKE_STAKE: "SUI_LIKE_STAKE";
1907
+ SUI_LIKE_UNSTAKE: "SUI_LIKE_UNSTAKE";
1908
+ }>;
1909
+ }, zod_v4_core.$strip>], "type">;
1910
+ readonly zStakingFields: z.ZodObject<{
1911
+ type: z.ZodLiteral<"SUI_LIKE">;
1912
+ staking: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1913
+ totalStaked: z.ZodString;
1914
+ totalRewards: z.ZodString;
1915
+ }, zod_v4_core.$strip>>>;
1916
+ }, zod_v4_core.$strip>;
1917
+ readonly withTx: (tx: {
1918
+ amount: string;
1919
+ currency: string;
1920
+ maxFee: string | null;
1921
+ recipient: string;
1922
+ type: "SUI_LIKE_SEND";
1923
+ feeStrategy: {
1924
+ type: "SLOW" | "NORMAL" | "FAST";
1925
+ };
1926
+ } | {
1927
+ amount: string;
1928
+ currency: string;
1929
+ maxFee: string | null;
1930
+ recipient: string;
1931
+ type: "SUI_LIKE_SEND_TOKEN";
1932
+ feeStrategy: {
1933
+ type: "SLOW" | "NORMAL" | "FAST";
1934
+ };
1935
+ } | {
1936
+ type: "SUI_LIKE_STAKE";
1937
+ feeStrategy: {
1938
+ type: "SLOW" | "NORMAL" | "FAST";
1939
+ };
1940
+ amount: string;
1941
+ currency: string;
1942
+ maxFee: string | null;
1943
+ validator: string;
1944
+ } | {
1945
+ type: "SUI_LIKE_UNSTAKE";
1946
+ feeStrategy: {
1947
+ type: "SLOW" | "NORMAL" | "FAST";
1948
+ };
1949
+ currency: string;
1950
+ maxFee: string | null;
1951
+ stakedSuiId: string;
1952
+ amount: string;
1953
+ useAllAmount: boolean;
1954
+ }) => TxHandler;
1955
+ };
1956
+
1957
+ declare const TEZOS_SPEC: {
1958
+ readonly family: "TEZOS_LIKE";
1959
+ readonly zAssetFields: z.ZodObject<{
1960
+ type: z.ZodLiteral<"TEZOS_LIKE">;
1961
+ address: z.ZodNullable<z.ZodString>;
1962
+ }, zod_v4_core.$strip>;
1963
+ readonly zLiveData: z.ZodObject<{
1964
+ id: z.ZodString;
1965
+ balance: z.ZodObject<{
1966
+ total: z.ZodString;
1967
+ pending: z.ZodString;
1968
+ }, zod_v4_core.$strip>;
1969
+ type: z.ZodLiteral<"TEZOS_LIKE">;
1970
+ staking: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1971
+ delegations: z.ZodArray<z.ZodObject<{
1972
+ address: z.ZodString;
1973
+ }, zod_v4_core.$strip>>;
1974
+ }, zod_v4_core.$strip>>>;
1975
+ }, zod_v4_core.$strip>;
1976
+ readonly zTransactionType: z.ZodEnum<{
1977
+ TEZOS_LIKE_SEND: "TEZOS_LIKE_SEND";
1978
+ TEZOS_LIKE_RECEIVE: "TEZOS_LIKE_RECEIVE";
1979
+ TEZOS_LIKE_REVEAL: "TEZOS_LIKE_REVEAL";
1980
+ TEZOS_LIKE_DELEGATE: "TEZOS_LIKE_DELEGATE";
1981
+ TEZOS_LIKE_UNDELEGATE: "TEZOS_LIKE_UNDELEGATE";
1982
+ }>;
1983
+ readonly zTransactionData: z.ZodDiscriminatedUnion<[z.ZodObject<{
1984
+ amount: z.ZodString;
1985
+ currency: z.ZodString;
1986
+ maxFee: z.ZodNullable<z.ZodString>;
1987
+ recipient: z.ZodString;
1988
+ type: z.ZodLiteral<"TEZOS_LIKE_SEND">;
1989
+ feeStrategy: z.ZodObject<{
1990
+ type: z.ZodEnum<{
1991
+ SLOW: "SLOW";
1992
+ NORMAL: "NORMAL";
1993
+ FAST: "FAST";
1994
+ CUSTOM: "CUSTOM";
1995
+ }>;
1996
+ }, zod_v4_core.$strip>;
1997
+ }, zod_v4_core.$strip>, z.ZodObject<{
1998
+ type: z.ZodLiteral<"TEZOS_LIKE_DELEGATE">;
1999
+ amount: z.ZodOptional<z.ZodString>;
2000
+ currency: z.ZodString;
2001
+ maxFee: z.ZodNullable<z.ZodString>;
2002
+ recipient: z.ZodString;
2003
+ feeStrategy: z.ZodObject<{
2004
+ type: z.ZodEnum<{
2005
+ SLOW: "SLOW";
2006
+ NORMAL: "NORMAL";
2007
+ FAST: "FAST";
2008
+ CUSTOM: "CUSTOM";
2009
+ }>;
2010
+ }, zod_v4_core.$strip>;
2011
+ }, zod_v4_core.$strip>, z.ZodObject<{
2012
+ type: z.ZodLiteral<"TEZOS_LIKE_UNDELEGATE">;
2013
+ amount: z.ZodOptional<z.ZodString>;
2014
+ currency: z.ZodString;
2015
+ maxFee: z.ZodNullable<z.ZodString>;
2016
+ recipient: z.ZodOptional<z.ZodString>;
2017
+ feeStrategy: z.ZodObject<{
2018
+ type: z.ZodEnum<{
2019
+ SLOW: "SLOW";
2020
+ NORMAL: "NORMAL";
2021
+ FAST: "FAST";
2022
+ CUSTOM: "CUSTOM";
2023
+ }>;
2024
+ }, zod_v4_core.$strip>;
2025
+ }, zod_v4_core.$strip>], "type">;
2026
+ readonly zSendTransactionData: z.ZodObject<{
2027
+ amount: z.ZodString;
2028
+ currency: z.ZodString;
2029
+ maxFee: z.ZodNullable<z.ZodString>;
2030
+ recipient: z.ZodString;
2031
+ type: z.ZodLiteral<"TEZOS_LIKE_SEND">;
2032
+ feeStrategy: z.ZodObject<{
2033
+ type: z.ZodEnum<{
2034
+ SLOW: "SLOW";
2035
+ NORMAL: "NORMAL";
2036
+ FAST: "FAST";
2037
+ CUSTOM: "CUSTOM";
2038
+ }>;
2039
+ }, zod_v4_core.$strip>;
2040
+ }, zod_v4_core.$strip>;
2041
+ readonly zEstimatedFees: z.ZodObject<{
2042
+ type: z.ZodLiteral<"TEZOS_LIKE">;
2043
+ fee: z.ZodString;
2044
+ }, zod_v4_core.$strip>;
2045
+ readonly zTransactionResponse: z.ZodDiscriminatedUnion<[z.ZodObject<{
2046
+ id: z.ZodString;
2047
+ hash: z.ZodString;
2048
+ block: z.ZodObject<{
2049
+ height: z.ZodNullable<z.ZodString>;
2050
+ time: z.ZodNullable<z.ZodString>;
2051
+ }, zod_v4_core.$strip>;
2052
+ status: z.ZodEnum<{
2053
+ FAILED: "FAILED";
2054
+ SUCCESSFUL: "SUCCESSFUL";
2055
+ }>;
2056
+ confirmations: z.ZodString;
2057
+ amount: z.ZodString;
2058
+ fee: z.ZodString;
2059
+ senders: z.ZodArray<z.ZodString>;
2060
+ recipients: z.ZodArray<z.ZodString>;
2061
+ type: z.ZodEnum<{
2062
+ TEZOS_LIKE_SEND: "TEZOS_LIKE_SEND";
2063
+ TEZOS_LIKE_RECEIVE: "TEZOS_LIKE_RECEIVE";
2064
+ TEZOS_LIKE_REVEAL: "TEZOS_LIKE_REVEAL";
2065
+ TEZOS_LIKE_DELEGATE: "TEZOS_LIKE_DELEGATE";
2066
+ TEZOS_LIKE_UNDELEGATE: "TEZOS_LIKE_UNDELEGATE";
2067
+ }>;
2068
+ }, zod_v4_core.$strip>], "type">;
2069
+ readonly zStakingFields: z.ZodObject<{
2070
+ type: z.ZodLiteral<"TEZOS_LIKE">;
2071
+ staking: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2072
+ delegations: z.ZodArray<z.ZodObject<{
2073
+ address: z.ZodString;
2074
+ }, zod_v4_core.$strip>>;
2075
+ }, zod_v4_core.$strip>>>;
2076
+ }, zod_v4_core.$strip>;
2077
+ readonly withTx: (tx: {
2078
+ amount: string;
2079
+ currency: string;
2080
+ maxFee: string | null;
2081
+ recipient: string;
2082
+ type: "TEZOS_LIKE_SEND";
2083
+ feeStrategy: {
2084
+ type: "SLOW" | "NORMAL" | "FAST" | "CUSTOM";
2085
+ };
2086
+ } | {
2087
+ type: "TEZOS_LIKE_DELEGATE";
2088
+ currency: string;
2089
+ maxFee: string | null;
2090
+ recipient: string;
2091
+ feeStrategy: {
2092
+ type: "SLOW" | "NORMAL" | "FAST" | "CUSTOM";
2093
+ };
2094
+ amount?: string | undefined;
2095
+ } | {
2096
+ type: "TEZOS_LIKE_UNDELEGATE";
2097
+ currency: string;
2098
+ maxFee: string | null;
2099
+ feeStrategy: {
2100
+ type: "SLOW" | "NORMAL" | "FAST" | "CUSTOM";
2101
+ };
2102
+ amount?: string | undefined;
2103
+ recipient?: string | undefined;
2104
+ }) => TxHandler;
2105
+ };
2106
+
2107
+ declare const TRON_SPEC: {
2108
+ readonly family: "TRON_LIKE";
2109
+ readonly zAssetFields: z__default.ZodObject<{
2110
+ type: z__default.ZodLiteral<"TRON_LIKE">;
2111
+ address: z__default.ZodNullable<z__default.ZodString>;
2112
+ contractAddress: z__default.ZodOptional<z__default.ZodNullable<z__default.ZodString>>;
2113
+ }, z__default.core.$strip>;
2114
+ readonly zLiveData: z__default.ZodObject<{
2115
+ id: z__default.ZodString;
2116
+ balance: z__default.ZodObject<{
2117
+ total: z__default.ZodString;
2118
+ pending: z__default.ZodString;
2119
+ }, z__default.core.$strip>;
2120
+ type: z__default.ZodLiteral<"TRON_LIKE">;
2121
+ }, z__default.core.$strip>;
2122
+ readonly zTransactionType: z__default.ZodEnum<{
2123
+ TRON_LIKE_SEND: "TRON_LIKE_SEND";
2124
+ TRON_LIKE_RECEIVE: "TRON_LIKE_RECEIVE";
2125
+ TRON_LIKE_SEND_TOKEN: "TRON_LIKE_SEND_TOKEN";
2126
+ TRON_LIKE_RECEIVE_TOKEN: "TRON_LIKE_RECEIVE_TOKEN";
2127
+ }>;
2128
+ readonly zTransactionData: z__default.ZodDiscriminatedUnion<[z__default.ZodObject<{
2129
+ amount: z__default.ZodString;
2130
+ currency: z__default.ZodString;
2131
+ maxFee: z__default.ZodNullable<z__default.ZodString>;
2132
+ recipient: z__default.ZodString;
2133
+ type: z__default.ZodLiteral<"TRON_LIKE_SEND">;
2134
+ feeStrategy: z__default.ZodObject<{
2135
+ type: z__default.ZodEnum<{
2136
+ SLOW: "SLOW";
2137
+ NORMAL: "NORMAL";
2138
+ FAST: "FAST";
2139
+ }>;
2140
+ }, z__default.core.$strip>;
2141
+ }, z__default.core.$strip>, z__default.ZodObject<{
2142
+ amount: z__default.ZodString;
2143
+ currency: z__default.ZodString;
2144
+ maxFee: z__default.ZodNullable<z__default.ZodString>;
2145
+ recipient: z__default.ZodString;
2146
+ type: z__default.ZodLiteral<"TRON_LIKE_SEND_TOKEN">;
2147
+ feeStrategy: z__default.ZodObject<{
2148
+ type: z__default.ZodEnum<{
2149
+ SLOW: "SLOW";
2150
+ NORMAL: "NORMAL";
2151
+ FAST: "FAST";
2152
+ }>;
2153
+ }, z__default.core.$strip>;
2154
+ }, z__default.core.$strip>], "type">;
2155
+ readonly zSendTransactionData: z__default.ZodNever;
2156
+ readonly zEstimatedFees: z__default.ZodObject<{
2157
+ type: z__default.ZodLiteral<"TRON_LIKE">;
2158
+ fee: z__default.ZodString;
2159
+ }, z__default.core.$strip>;
2160
+ readonly zTransactionResponse: z__default.ZodDiscriminatedUnion<[z__default.ZodObject<{
2161
+ id: z__default.ZodString;
2162
+ hash: z__default.ZodString;
2163
+ block: z__default.ZodObject<{
2164
+ height: z__default.ZodNullable<z__default.ZodString>;
2165
+ time: z__default.ZodNullable<z__default.ZodString>;
2166
+ }, z__default.core.$strip>;
2167
+ status: z__default.ZodEnum<{
2168
+ FAILED: "FAILED";
2169
+ SUCCESSFUL: "SUCCESSFUL";
2170
+ }>;
2171
+ confirmations: z__default.ZodString;
2172
+ amount: z__default.ZodString;
2173
+ fee: z__default.ZodString;
2174
+ senders: z__default.ZodArray<z__default.ZodString>;
2175
+ recipients: z__default.ZodArray<z__default.ZodString>;
2176
+ type: z__default.ZodEnum<{
2177
+ TRON_LIKE_SEND: "TRON_LIKE_SEND";
2178
+ TRON_LIKE_RECEIVE: "TRON_LIKE_RECEIVE";
2179
+ TRON_LIKE_SEND_TOKEN: "TRON_LIKE_SEND_TOKEN";
2180
+ TRON_LIKE_RECEIVE_TOKEN: "TRON_LIKE_RECEIVE_TOKEN";
2181
+ }>;
2182
+ }, z__default.core.$strip>], "type">;
2183
+ readonly zStakingFields: z__default.ZodNever;
2184
+ readonly withTx: (tx: {
2185
+ amount: string;
2186
+ currency: string;
2187
+ maxFee: string | null;
2188
+ recipient: string;
2189
+ type: "TRON_LIKE_SEND";
2190
+ feeStrategy: {
2191
+ type: "SLOW" | "NORMAL" | "FAST";
2192
+ };
2193
+ } | {
2194
+ amount: string;
2195
+ currency: string;
2196
+ maxFee: string | null;
2197
+ recipient: string;
2198
+ type: "TRON_LIKE_SEND_TOKEN";
2199
+ feeStrategy: {
2200
+ type: "SLOW" | "NORMAL" | "FAST";
2201
+ };
2202
+ }) => TxHandler;
2203
+ };
25
2204
 
26
2205
  declare const zPubKey: z$1.ZodString;
27
2206
  type PubKey = z$1.infer<typeof zPubKey>;
@@ -1029,27 +3208,6 @@ type RateLimitMetricsMeta = {
1029
3208
  metrics?: RateLimitRouteMetricsConfig;
1030
3209
  };
1031
3210
 
1032
- type FindManyAndCountType = typeof findManyAndCount.model.$allModels.findManyAndCount;
1033
- type ModelsWithCustomMethods = {
1034
- [Model in keyof PrismaClient]: PrismaClient[Model] extends {
1035
- findMany: (...args: any[]) => Promise<any>;
1036
- } ? {
1037
- findManyAndCount: FindManyAndCountType;
1038
- } & PrismaClient[Model] : PrismaClient[Model];
1039
- };
1040
- type ExtendedPrismaClient = PrismaClient & ModelsWithCustomMethods;
1041
- declare global {
1042
- var prismaGlobal: ExtendedPrismaClient | undefined;
1043
- }
1044
- declare const findManyAndCount: {
1045
- name: string;
1046
- model: {
1047
- $allModels: {
1048
- findManyAndCount<Model, Args>(this: Model, args: Exact<Args, Args<Model, "findMany">>): Promise<[Result<Model, Args, "findMany">, number]>;
1049
- };
1050
- };
1051
- };
1052
-
1053
3211
  /**
1054
3212
  * A place to trace an activity, such as correlation ID or some performance metrics.
1055
3213
  *
@@ -2140,6 +4298,36 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
2140
4298
  };
2141
4299
  } & RateLimitMetricsMeta;
2142
4300
  }>;
4301
+ queryUsageMode: _trpc_server.TRPCQueryProcedure<{
4302
+ input: {
4303
+ resourceType: "Group" | "WorkspaceRule" | "Whitelist" | "Policy" | "Account" | "Entity" | "TradelinkCustodian" | "TradelinkEntity" | "TradelinkPledge" | "User" | "UserRegistration" | "Workspace";
4304
+ resourceId: string;
4305
+ };
4306
+ output: {
4307
+ canUse: boolean;
4308
+ canModify: boolean;
4309
+ };
4310
+ meta: {
4311
+ [x: string]: unknown;
4312
+ } & {
4313
+ openapi?: {
4314
+ enabled?: boolean;
4315
+ method: trpc_to_openapi.OpenApiMethod;
4316
+ path: `/${string}`;
4317
+ operationId?: string;
4318
+ summary?: string;
4319
+ description?: string;
4320
+ protect?: boolean;
4321
+ tags?: string[];
4322
+ contentTypes?: trpc_to_openapi.OpenApiContentType[];
4323
+ deprecated?: boolean;
4324
+ requestHeaders?: z.ZodObject;
4325
+ responseHeaders?: z.ZodObject;
4326
+ successDescription?: string;
4327
+ errorResponses?: number[] | Record<number, string>;
4328
+ };
4329
+ } & RateLimitMetricsMeta;
4330
+ }>;
2143
4331
  findAllowedResources: _trpc_server.TRPCQueryProcedure<{
2144
4332
  input: {
2145
4333
  action: "CREATE_ACCOUNT_WITH_POLICY" | "SIGN_MESSAGE" | "SIGN_DIGESTS" | "TRADELINK_FORCE_UNPLEDGE" | "TRADELINK_ARBITRATE" | "TRADELINK_WITHDRAW" | "TRADELINK_REPLEDGE" | "READ" | "EDIT" | "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "ACTIVATE_TOKEN" | "RECEIVE" | "TRADELINK_PLEDGE" | "TRADELINK_SETTLE";
@@ -2629,7 +4817,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
2629
4817
  };
2630
4818
  } & RateLimitMetricsMeta;
2631
4819
  }>;
2632
- deleteWorkspace: _trpc_server.TRPCQueryProcedure<{
4820
+ deleteWorkspace: _trpc_server.TRPCMutationProcedure<{
2633
4821
  input: {
2634
4822
  workspaceName: string;
2635
4823
  };
@@ -3493,7 +5681,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
3493
5681
  currency: string;
3494
5682
  maxFee: string | null;
3495
5683
  type: "ETHEREUM_LIKE_DEPLOY_CONTRACT";
3496
- recipient: "0x0000000000000000000000000000000000000000";
5684
+ recipient: "";
3497
5685
  contractData: string;
3498
5686
  feeStrategy: {
3499
5687
  type: "SLOW" | "NORMAL" | "FAST" | "CUSTOM";
@@ -5721,6 +7909,8 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
5721
7909
  pageSize?: number | undefined;
5722
7910
  name?: string | undefined;
5723
7911
  isPrivate?: boolean | undefined;
7912
+ currency?: string | undefined;
7913
+ currencyLess?: boolean | undefined;
5724
7914
  sortBy?: "name" | "createdAt" | "updatedAt" | undefined;
5725
7915
  sortOrder?: "asc" | "desc" | undefined;
5726
7916
  };
@@ -6078,6 +8268,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
6078
8268
  sortOrder?: "asc" | "desc" | undefined;
6079
8269
  fromDate?: unknown;
6080
8270
  toDate?: unknown;
8271
+ support?: "standalone" | "legacy" | undefined;
6081
8272
  };
6082
8273
  output: {
6083
8274
  page: number;
@@ -7095,7 +9286,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
7095
9286
  currency: string;
7096
9287
  maxFee: string | null;
7097
9288
  type: "ETHEREUM_LIKE_DEPLOY_CONTRACT";
7098
- recipient: "0x0000000000000000000000000000000000000000";
9289
+ recipient: "";
7099
9290
  contractData: string;
7100
9291
  feeStrategy: {
7101
9292
  type: "SLOW" | "NORMAL" | "FAST" | "CUSTOM";
@@ -9569,7 +11760,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
9569
11760
  currency: string;
9570
11761
  maxFee: string | null;
9571
11762
  type: "ETHEREUM_LIKE_DEPLOY_CONTRACT";
9572
- recipient: "0x0000000000000000000000000000000000000000";
11763
+ recipient: "";
9573
11764
  contractData: string;
9574
11765
  feeStrategy: {
9575
11766
  type: "SLOW" | "NORMAL" | "FAST" | "CUSTOM";
@@ -11728,7 +13919,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
11728
13919
  currency: string;
11729
13920
  maxFee: string | null;
11730
13921
  type: "ETHEREUM_LIKE_DEPLOY_CONTRACT";
11731
- recipient: "0x0000000000000000000000000000000000000000";
13922
+ recipient: "";
11732
13923
  contractData: string;
11733
13924
  feeStrategy: {
11734
13925
  type: "SLOW" | "NORMAL" | "FAST" | "CUSTOM";
@@ -13411,7 +15602,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
13411
15602
  currency: string;
13412
15603
  maxFee: string | null;
13413
15604
  type: "ETHEREUM_LIKE_DEPLOY_CONTRACT";
13414
- recipient: "0x0000000000000000000000000000000000000000";
15605
+ recipient: "";
13415
15606
  contractData: string;
13416
15607
  feeStrategy: {
13417
15608
  type: "SLOW" | "NORMAL" | "FAST" | "CUSTOM";
@@ -14992,7 +17183,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
14992
17183
  currency: string;
14993
17184
  maxFee: string | null;
14994
17185
  type: "ETHEREUM_LIKE_DEPLOY_CONTRACT";
14995
- recipient: "0x0000000000000000000000000000000000000000";
17186
+ recipient: "";
14996
17187
  contractData: string;
14997
17188
  feeStrategy: {
14998
17189
  type: "SLOW" | "NORMAL" | "FAST" | "CUSTOM";
@@ -16317,7 +18508,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
16317
18508
  currency: string;
16318
18509
  maxFee: string | null;
16319
18510
  type: "ETHEREUM_LIKE_DEPLOY_CONTRACT";
16320
- recipient: "0x0000000000000000000000000000000000000000";
18511
+ recipient: "";
16321
18512
  contractData: string;
16322
18513
  feeStrategy: {
16323
18514
  type: "SLOW" | "NORMAL" | "FAST" | "CUSTOM";
@@ -18794,7 +20985,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
18794
20985
  currency: string;
18795
20986
  maxFee: string | null;
18796
20987
  type: "ETHEREUM_LIKE_DEPLOY_CONTRACT";
18797
- recipient: "0x0000000000000000000000000000000000000000";
20988
+ recipient: "";
18798
20989
  contractData: string;
18799
20990
  feeStrategy: {
18800
20991
  type: "SLOW" | "NORMAL" | "FAST" | "CUSTOM";
@@ -21273,7 +23464,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
21273
23464
  currency: string;
21274
23465
  maxFee: string | null;
21275
23466
  type: "ETHEREUM_LIKE_DEPLOY_CONTRACT";
21276
- recipient: "0x0000000000000000000000000000000000000000";
23467
+ recipient: "";
21277
23468
  contractData: string;
21278
23469
  feeStrategy: {
21279
23470
  type: "SLOW" | "NORMAL" | "FAST" | "CUSTOM";
@@ -23750,7 +25941,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
23750
25941
  currency: string;
23751
25942
  maxFee: string | null;
23752
25943
  type: "ETHEREUM_LIKE_DEPLOY_CONTRACT";
23753
- recipient: "0x0000000000000000000000000000000000000000";
25944
+ recipient: "";
23754
25945
  contractData: string;
23755
25946
  feeStrategy: {
23756
25947
  type: "SLOW" | "NORMAL" | "FAST" | "CUSTOM";
@@ -26223,7 +28414,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
26223
28414
  currency: string;
26224
28415
  maxFee: string | null;
26225
28416
  type: "ETHEREUM_LIKE_DEPLOY_CONTRACT";
26226
- recipient: "0x0000000000000000000000000000000000000000";
28417
+ recipient: "";
26227
28418
  contractData: string;
26228
28419
  feeStrategy: {
26229
28420
  type: "SLOW" | "NORMAL" | "FAST" | "CUSTOM";
@@ -27974,7 +30165,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
27974
30165
  startOnboarding: _trpc_server.TRPCMutationProcedure<{
27975
30166
  input: {
27976
30167
  workspaceName: string;
27977
- compartmentId: number;
30168
+ compartmentId?: number | undefined;
27978
30169
  mode?: "GATE_COMPAT" | "STANDALONE" | undefined;
27979
30170
  };
27980
30171
  output: {
@@ -34093,7 +36284,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
34093
36284
  currency: string;
34094
36285
  maxFee: string | null;
34095
36286
  type: "ETHEREUM_LIKE_DEPLOY_CONTRACT";
34096
- recipient: "0x0000000000000000000000000000000000000000";
36287
+ recipient: "";
34097
36288
  contractData: string;
34098
36289
  feeStrategy: {
34099
36290
  type: "SLOW" | "NORMAL" | "FAST" | "CUSTOM";
@@ -34523,6 +36714,101 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
34523
36714
  }>>;
34524
36715
  type AppRouter = typeof appRouter;
34525
36716
 
36717
+ declare const zAssetResponse: z__default.ZodDiscriminatedUnion<[z__default.ZodObject<{
36718
+ id: z__default.ZodString;
36719
+ name: z__default.ZodString;
36720
+ ticker: z__default.ZodString;
36721
+ family: z__default.ZodString;
36722
+ units: z__default.ZodArray<z__default.ZodObject<{
36723
+ code: z__default.ZodString;
36724
+ name: z__default.ZodString;
36725
+ magnitude: z__default.ZodNumber;
36726
+ }, z__default.core.$strip>>;
36727
+ network: z__default.ZodString;
36728
+ assetType: z__default.ZodLiteral<"NATIVE">;
36729
+ }, z__default.core.$strip>, z__default.ZodObject<{
36730
+ id: z__default.ZodString;
36731
+ name: z__default.ZodString;
36732
+ ticker: z__default.ZodString;
36733
+ family: z__default.ZodString;
36734
+ units: z__default.ZodArray<z__default.ZodObject<{
36735
+ code: z__default.ZodString;
36736
+ name: z__default.ZodString;
36737
+ magnitude: z__default.ZodNumber;
36738
+ }, z__default.core.$strip>>;
36739
+ network: z__default.ZodString;
36740
+ assetType: z__default.ZodLiteral<"TOKEN">;
36741
+ contractAddress: z__default.ZodString;
36742
+ tokenIdentifier: z__default.ZodNullable<z__default.ZodString>;
36743
+ metaCurrencyId: z__default.ZodNullable<z__default.ZodString>;
36744
+ }, z__default.core.$strip>], "assetType">;
36745
+ type AssetResponse = z__default.infer<typeof zAssetResponse>;
36746
+ declare const zAssetCapabilitiesResponse: z__default.ZodObject<{
36747
+ SEND: z__default.ZodBoolean;
36748
+ STAKE: z__default.ZodBoolean;
36749
+ EXECUTE_CONTRACT: z__default.ZodBoolean;
36750
+ SIGN_MESSAGE: z__default.ZodBoolean;
36751
+ DEPLOY_CONTRACT: z__default.ZodBoolean;
36752
+ ACTIVATE_TOKEN: z__default.ZodBoolean;
36753
+ RECEIVE: z__default.ZodBoolean;
36754
+ }, z__default.core.$strip>;
36755
+ declare const zCurrencyResponse: z__default.ZodObject<{
36756
+ id: z__default.ZodString;
36757
+ name: z__default.ZodString;
36758
+ ticker: z__default.ZodString;
36759
+ type: z__default.ZodEnum<{
36760
+ readonly BITCOIN_LIKE: "BITCOIN_LIKE";
36761
+ readonly CANTON_LIKE: "CANTON_LIKE";
36762
+ readonly CARDANO_LIKE: "CARDANO_LIKE";
36763
+ readonly ETHEREUM_LIKE: "ETHEREUM_LIKE";
36764
+ readonly GENERIC_LIKE: "GENERIC_LIKE";
36765
+ readonly HEDERA_LIKE: "HEDERA_LIKE";
36766
+ readonly POLKADOT_LIKE: "POLKADOT_LIKE";
36767
+ readonly RAW_SIGNING: "RAW_SIGNING";
36768
+ readonly RIPPLE_LIKE: "RIPPLE_LIKE";
36769
+ readonly SOLANA_LIKE: "SOLANA_LIKE";
36770
+ readonly STELLAR_LIKE: "STELLAR_LIKE";
36771
+ readonly SUI_LIKE: "SUI_LIKE";
36772
+ readonly TEZOS_LIKE: "TEZOS_LIKE";
36773
+ readonly TRON_LIKE: "TRON_LIKE";
36774
+ }>;
36775
+ units: z__default.ZodArray<z__default.ZodObject<{
36776
+ code: z__default.ZodString;
36777
+ name: z__default.ZodString;
36778
+ magnitude: z__default.ZodNumber;
36779
+ }, z__default.core.$strip>>;
36780
+ }, z__default.core.$strip>;
36781
+ type CurrencyResponse = z__default.infer<typeof zCurrencyResponse>;
36782
+ declare const zTokenResponse: z__default.ZodObject<{
36783
+ id: z__default.ZodString;
36784
+ name: z__default.ZodString;
36785
+ ticker: z__default.ZodString;
36786
+ type: z__default.ZodEnum<{
36787
+ readonly BITCOIN_LIKE: "BITCOIN_LIKE";
36788
+ readonly CANTON_LIKE: "CANTON_LIKE";
36789
+ readonly CARDANO_LIKE: "CARDANO_LIKE";
36790
+ readonly ETHEREUM_LIKE: "ETHEREUM_LIKE";
36791
+ readonly GENERIC_LIKE: "GENERIC_LIKE";
36792
+ readonly HEDERA_LIKE: "HEDERA_LIKE";
36793
+ readonly POLKADOT_LIKE: "POLKADOT_LIKE";
36794
+ readonly RAW_SIGNING: "RAW_SIGNING";
36795
+ readonly RIPPLE_LIKE: "RIPPLE_LIKE";
36796
+ readonly SOLANA_LIKE: "SOLANA_LIKE";
36797
+ readonly STELLAR_LIKE: "STELLAR_LIKE";
36798
+ readonly SUI_LIKE: "SUI_LIKE";
36799
+ readonly TEZOS_LIKE: "TEZOS_LIKE";
36800
+ readonly TRON_LIKE: "TRON_LIKE";
36801
+ }>;
36802
+ units: z__default.ZodArray<z__default.ZodObject<{
36803
+ code: z__default.ZodString;
36804
+ name: z__default.ZodString;
36805
+ magnitude: z__default.ZodNumber;
36806
+ }, z__default.core.$strip>>;
36807
+ contractAddress: z__default.ZodString;
36808
+ currency: z__default.ZodString;
36809
+ }, z__default.core.$strip>;
36810
+ type TokenResponse = z__default.infer<typeof zTokenResponse>;
36811
+
34526
36812
  declare const zAuthResponse: z$1.ZodObject<{
34527
36813
  accessToken: z$1.ZodString;
34528
36814
  expiresInSeconds: z$1.ZodNumber;
@@ -34633,7 +36919,7 @@ type WorkspaceRulesResponse = z__default.infer<typeof zWorkspaceRulesResponse>;
34633
36919
  /** Options to start an onboarding. */
34634
36920
  declare const zOnboardingOpts: z$1.ZodObject<{
34635
36921
  workspaceName: z$1.ZodString;
34636
- compartmentId: z$1.ZodNumber;
36922
+ compartmentId: z$1.ZodOptional<z$1.ZodNumber>;
34637
36923
  mode: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodEnum<{
34638
36924
  readonly GATE_COMPAT: "GATE_COMPAT";
34639
36925
  readonly STANDALONE: "STANDALONE";
@@ -35116,6 +37402,37 @@ declare const zExportRequestsToCsvInput: z__default.ZodObject<{
35116
37402
  toDate: z__default.ZodOptional<z__default.ZodCoercedDate<unknown>>;
35117
37403
  }, z__default.core.$strip>;
35118
37404
 
37405
+ declare const zSoftChallenge: z$1.ZodObject<{
37406
+ challengeType: z$1.ZodLiteral<"SOFT">;
37407
+ }, z$1.core.$strip>;
37408
+ type SoftChallenge = z$1.infer<typeof zSoftChallenge>;
37409
+ declare const zChallenge: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
37410
+ challengeType: z$1.ZodLiteral<"PSD">;
37411
+ wActions: z$1.ZodArray<z$1.ZodString>;
37412
+ handshake: z$1.ZodString;
37413
+ handshakeAttestation: z$1.ZodObject<{
37414
+ codeHash: z$1.ZodBase64;
37415
+ attestationPub: z$1.ZodBase64;
37416
+ certificate: z$1.ZodBase64;
37417
+ signature: z$1.ZodBase64;
37418
+ }, z$1.core.$strip>;
37419
+ partitionId: z$1.ZodString;
37420
+ }, z$1.core.$strip>, z$1.ZodObject<{
37421
+ challengeType: z$1.ZodLiteral<"API">;
37422
+ payload: z$1.ZodObject<{
37423
+ approve: z$1.ZodString;
37424
+ reject: z$1.ZodString;
37425
+ }, z$1.core.$strip>;
37426
+ }, z$1.core.$strip>, z$1.ZodObject<{
37427
+ challengeType: z$1.ZodLiteral<"SOFT">;
37428
+ }, z$1.core.$strip>], "challengeType">;
37429
+ type Challenge = z$1.infer<typeof zChallenge>;
37430
+ declare const zEnsureNameAvailableOutput: z$1.ZodObject<{
37431
+ available: z$1.ZodBoolean;
37432
+ reason: z$1.ZodOptional<z$1.ZodString>;
37433
+ }, z$1.core.$strip>;
37434
+ type EnsureNameAvailableOutput = z$1.infer<typeof zEnsureNameAvailableOutput>;
37435
+
35119
37436
  declare const zUserTaskResponse: z__default.ZodIntersection<z__default.ZodObject<{
35120
37437
  id: z__default.ZodString;
35121
37438
  status: z__default.ZodEnum<{
@@ -35575,4 +37892,4 @@ declare const emptyPage: <T>(paginationQuery: {
35575
37892
  declare const fetchAllPages: <T>(fetchPage: (page: number) => Promise<Paginated<T>>) => Promise<T[]>;
35576
37893
  declare const fetchAllCursorPages: <T>(fetchPage: (cursor: string | null) => Promise<CursorPaginated<T>>) => Promise<T[]>;
35577
37894
 
35578
- export { type AllowedActionsResponse, type AllowedResourcesResponse, type ApiChallenge, type AppRouter, AssetResponse, type AuthResponse, type CreateTradelinkOrgEntityInput as CreateTradelinkExchangeInput, type CursorPaginated, DEFAULT_PAGE_SIZE, type DeleteTradelinkExchangeInput, type DeviceClaim, type EntityResponse, type EntitySortBy, type HsmCertificate, type OidcConfig, type OnboardingFullState as OnboardingFullStateResponse, type OnboardingOpts, type OnboardingSeedChallenge, type OnboardingSeedFragment, type Paginated, type PledgeResponse, type PolicyResponse, type PolicySortBy, type PsdAuthChallengeData as PsdAuthChallengeResponse, type PsdChallenge, type PsdPairingData, type PsdPairingInputData, type PsdSignature, type PubKey, type ReviewStepWithUsers, type RootWorkspaceRuleResponse, type SortOrder, type TradelinkCustodianResponse, type TradelinkEntityResponse, type TradelinkNetworkBlueprintResponse, type TradelinkNetworkResponse, type TradelinkOrgEntityResponse, type TradelinkSettlementWithAccountAndExchangeInfoResponse, type TransactionWithMetaResponse, type UserRegistrationChallenge, type UserRegistrationChallengeResponse, type UserRegistrationCreateInput, type UserRegistrationDeviceData, type UserRegistrationResponse, type UserTaskResponse, type WorkspaceResponse, type WorkspaceRuleResponse, type WorkspaceRulesResponse, type WrappingKeyFragmentInput, type WrappingKeyProvisioningEphemeralPubKey, type WrappingKeyResponse, emptyPage, fetchAllCursorPages, fetchAllPages, paginate, serializePage, serializeUserTask, stableOrdering, zAllowedActionsResponse, zAllowedResourcesResponse, zApiUserCredentialsResponse, zAuthResponse, zCantonPreApprovalStateResponse, zCantonTransferProposalResponse, zCreateTradelinkNetworkBlueprintInput, zCreateTradelinkOrgEntityInput, zCursorPaginated, zCursorQuery, zDeleteTradelinkOrgEntityInput, zDeviceClaim, zEntityResponse, zEntitySortBy, zExchangeCredentialsResponse, zExportRequestsToCsvInput, zGovernableAction, zOidcConfig, zOnboardingFullState as zOnboardingFullStateResponse, zOnboardingId, zOnboardingOpts, zOnboardingSeedFragment, zPageQuery, zPaginated, zPledgeResponse, zPolicyResponse, zPolicySortBy, zPsdAuthChallengeData as zPsdAuthChallengeResponse, zPsdPairingData, zPsdPairingInputData, zPsdSignature, zPubKey, zReviewStepsArray, zRootWorkspaceRuleResponse, zSignedMessageResponse, zSortOrder, zTradelinkCustodianResponse, zTradelinkEntityResponse, zTradelinkNetworkBlueprintResponse, zTradelinkNetworkResponse, zTradelinkOrgEntityResponse, zTradelinkSettlementWithAccountAndExchangeInfoResponse, zTradelinkWhitelist, zTransactionWithMetaResponse, zUserRegistrationChallenge, zUserRegistrationChallengeResponse, zUserRegistrationCreateInput, zUserRegistrationDeviceData, zUserRegistrationResponse, zUserTaskResponse, zWorkspaceResponse, zWorkspaceRuleResponse, zWorkspaceRulesResponse, zWrappingKeyFragmentInput };
37895
+ export { type AllowedActionsResponse, type AllowedResourcesResponse, type ApiChallenge, type AppRouter, type AssetResponse, type AuthResponse, BITCOIN_SPEC, CANTON_SPEC, CARDANO_SPEC, type CantonTransferProposal, type Challenge, type CreateTradelinkOrgEntityInput as CreateTradelinkExchangeInput, type CurrencyResponse, type CursorPaginated, DEFAULT_PAGE_SIZE, type DeleteTradelinkExchangeInput, type DeviceClaim, ETHEREUM_SPEC, type EnsureNameAvailableOutput, type EntityResponse, type EntitySortBy, GENERIC_SPEC, HEDERA_SPEC, type HsmCertificate, type OidcConfig, type OnboardingFullState as OnboardingFullStateResponse, type OnboardingOpts, type OnboardingSeedChallenge, type OnboardingSeedFragment, POLKADOT_SPEC, type Paginated, type PledgeResponse, type PolicyResponse, type PolicySortBy, type PsdAuthChallengeData as PsdAuthChallengeResponse, type PsdChallenge, type PsdPairingData, type PsdPairingInputData, type PsdSignature, type PubKey, RIPPLE_SPEC, type ReviewStepWithUsers, type RootWorkspaceRuleResponse, SOLANA_SPEC, STELLAR_SPEC, SUI_SPEC, type SoftChallenge, type SortOrder, TEZOS_SPEC, TRON_SPEC, type TokenResponse, type TradelinkCustodianResponse, type TradelinkEntityResponse, type TradelinkNetworkBlueprintResponse, type TradelinkNetworkResponse, type TradelinkOrgEntityResponse, type TradelinkSettlementWithAccountAndExchangeInfoResponse, type TransactionWithMetaResponse, type UserRegistrationChallenge, type UserRegistrationChallengeResponse, type UserRegistrationCreateInput, type UserRegistrationDeviceData, type UserRegistrationResponse, type UserTaskResponse, type WorkspaceResponse, type WorkspaceRuleResponse, type WorkspaceRulesResponse, type WrappingKeyFragmentInput, type WrappingKeyProvisioningEphemeralPubKey, type WrappingKeyResponse, emptyPage, fetchAllCursorPages, fetchAllPages, isErc20Address, paginate, serializePage, serializeUserTask, stableOrdering, zAllowedActionsResponse, zAllowedResourcesResponse, zApiUserCredentialsResponse, zAssetCapabilitiesResponse, zAssetResponse, zAuthResponse, zCantonPreApprovalStateResponse, zCantonTransferProposal, zCantonTransferProposalResponse, zCreateTradelinkNetworkBlueprintInput, zCreateTradelinkOrgEntityInput, zCurrencyResponse, zCursorPaginated, zCursorQuery, zDeleteTradelinkOrgEntityInput, zDeviceClaim, zEnsureNameAvailableOutput, zEntityResponse, zEntitySortBy, zExchangeCredentialsResponse, zExportRequestsToCsvInput, zOidcConfig, zOnboardingFullState as zOnboardingFullStateResponse, zOnboardingId, zOnboardingOpts, zOnboardingSeedFragment, zPageQuery, zPaginated, zPledgeResponse, zPolicyResponse, zPolicySortBy, zPsdAuthChallengeData as zPsdAuthChallengeResponse, zPsdPairingData, zPsdPairingInputData, zPsdSignature, zPubKey, zReviewStepsArray, zRootWorkspaceRuleResponse, zSignedMessageResponse, zSortOrder, zTokenResponse, zTradelinkCustodianResponse, zTradelinkEntityResponse, zTradelinkNetworkBlueprintResponse, zTradelinkNetworkResponse, zTradelinkOrgEntityResponse, zTradelinkSettlementWithAccountAndExchangeInfoResponse, zTradelinkWhitelist, zTransactionWithMetaResponse, zUserRegistrationChallenge, zUserRegistrationChallengeResponse, zUserRegistrationCreateInput, zUserRegistrationDeviceData, zUserRegistrationResponse, zUserTaskResponse, zWorkspaceResponse, zWorkspaceRuleResponse, zWorkspaceRulesResponse, zWrappingKeyFragmentInput };