@skip-go/client 1.0.1-alpha-1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. package/dist/api/getAssets.d.ts +19 -0
  2. package/dist/api/getAssetsBetweenChains.d.ts +56 -0
  3. package/dist/api/getBridges.d.ts +54 -0
  4. package/dist/api/getChains.d.ts +41 -0
  5. package/dist/api/getVenues.d.ts +13 -0
  6. package/dist/api/postAssetsFromSource.d.ts +13 -0
  7. package/dist/api/postBalances.d.ts +35 -0
  8. package/dist/api/postIbcOriginAssets.d.ts +32 -0
  9. package/dist/api/postMessages.d.ts +528 -0
  10. package/dist/api/postMessagesDirect.d.ts +568 -0
  11. package/dist/api/postRecommendAssets.d.ts +40 -0
  12. package/dist/api/postRoute.d.ts +460 -0
  13. package/dist/api/postSubmitTransaction.d.ts +13 -0
  14. package/dist/api/postTrackTransaction.d.ts +13 -0
  15. package/dist/api/postTransactionStatus.d.ts +559 -0
  16. package/dist/apiState-CdzxTxYd.d.ts +6 -0
  17. package/dist/{chunk-Y5EY3Q6D.js → chunk-735L35R6.js} +1 -1
  18. package/dist/client-types-CxjtffyG.d.ts +60 -0
  19. package/dist/executeRoute-BKvMVd1I.d.ts +69 -0
  20. package/dist/generateApi-DqCp36fX.d.ts +22 -0
  21. package/dist/index.d.ts +35 -0
  22. package/dist/index.js +1 -1
  23. package/dist/public-functions/executeRoute.d.ts +9 -0
  24. package/dist/public-functions/executeRoute.js +1 -1
  25. package/dist/public-functions/getFeeInfoForChain.d.ts +9 -0
  26. package/dist/public-functions/getRecommendedGasPrice.d.ts +9 -0
  27. package/dist/public-functions/getSigningStargateClient.d.ts +13 -0
  28. package/dist/public-functions/setApiOptions.d.ts +9 -0
  29. package/dist/public-functions/setClientOptions.d.ts +9 -0
  30. package/dist/setClientOptions-DbanEIwL.d.ts +19 -0
  31. package/dist/swaggerTypes-O9-gvCT1.d.ts +1890 -0
  32. package/package.json +4 -4
@@ -0,0 +1,528 @@
1
+ import { S as SkipApiOptions } from '../apiState-CdzxTxYd.js';
2
+ import { I as BridgeType, f as AutopilotAction, b2 as FeeType } from '../swaggerTypes-O9-gvCT1.js';
3
+ import { A as ApiRequest, a as ApiResponse } from '../generateApi-DqCp36fX.js';
4
+
5
+ declare const messages: (options?: ({
6
+ sourceAssetDenom: string;
7
+ sourceAssetChainId: string;
8
+ destAssetDenom: string;
9
+ destAssetChainId: string;
10
+ amountIn: string;
11
+ amountOut: string;
12
+ addressList: string[];
13
+ operations: ({
14
+ axelarTransfer?: {
15
+ asset?: string | undefined;
16
+ feeAmount?: string | undefined;
17
+ feeAsset?: {
18
+ chainId: string;
19
+ coingeckoId?: string | undefined;
20
+ decimals?: number | undefined;
21
+ denom: string;
22
+ description?: string | undefined;
23
+ isCw20: boolean;
24
+ isEvm: boolean;
25
+ isSvm: boolean;
26
+ logoUri?: string | undefined;
27
+ name?: string | undefined;
28
+ originChainId: string;
29
+ originDenom: string;
30
+ recommendedSymbol?: string | undefined;
31
+ symbol?: string | undefined;
32
+ tokenContract?: string | undefined;
33
+ trace: string;
34
+ } | undefined;
35
+ fromChain?: string | undefined;
36
+ fromChainId?: string | undefined;
37
+ isTestnet?: boolean | undefined;
38
+ shouldUnwrap?: boolean | undefined;
39
+ toChain?: string | undefined;
40
+ toChainId?: string | undefined;
41
+ denomIn?: string | undefined;
42
+ denomOut?: string | undefined;
43
+ usdFeeAmount?: string | undefined;
44
+ ibcTransferToAxelar?: {
45
+ fromChainId?: string | undefined;
46
+ toChainId?: string | undefined;
47
+ channel?: string | undefined;
48
+ destDenom?: string | undefined;
49
+ pfmEnabled?: boolean | undefined;
50
+ port?: string | undefined;
51
+ supportsMemo?: boolean | undefined;
52
+ denomIn?: string | undefined;
53
+ denomOut?: string | undefined;
54
+ feeAmount?: string | undefined;
55
+ usdFeeAmount?: string | undefined;
56
+ feeAsset?: {
57
+ chainId: string;
58
+ coingeckoId?: string | undefined;
59
+ decimals?: number | undefined;
60
+ denom: string;
61
+ description?: string | undefined;
62
+ isCw20: boolean;
63
+ isEvm: boolean;
64
+ isSvm: boolean;
65
+ logoUri?: string | undefined;
66
+ name?: string | undefined;
67
+ originChainId: string;
68
+ originDenom: string;
69
+ recommendedSymbol?: string | undefined;
70
+ symbol?: string | undefined;
71
+ tokenContract?: string | undefined;
72
+ trace: string;
73
+ } | undefined;
74
+ bridgeId?: BridgeType | undefined;
75
+ smartRelay?: boolean | undefined;
76
+ } | undefined;
77
+ bridgeId?: BridgeType | undefined;
78
+ smartRelay?: boolean | undefined;
79
+ } | undefined;
80
+ txIndex: number;
81
+ amountIn: string;
82
+ amountOut: string;
83
+ } | {
84
+ cctpTransfer?: {
85
+ fromChainId?: string | undefined;
86
+ toChainId?: string | undefined;
87
+ burnToken?: string | undefined;
88
+ denomIn?: string | undefined;
89
+ denomOut?: string | undefined;
90
+ bridgeId?: BridgeType | undefined;
91
+ smartRelay?: boolean | undefined;
92
+ smartRelayFeeQuote?: {
93
+ feeAmount?: string | undefined;
94
+ feeDenom?: string | undefined;
95
+ feePaymentAddress?: string | undefined;
96
+ relayerAddress?: string | undefined;
97
+ expiration?: string | undefined;
98
+ } | undefined;
99
+ } | undefined;
100
+ txIndex: number;
101
+ amountIn: string;
102
+ amountOut: string;
103
+ } | {
104
+ stargateTransfer?: {
105
+ fromChainId?: string | undefined;
106
+ toChainId?: string | undefined;
107
+ denomIn?: string | undefined;
108
+ denomOut?: string | undefined;
109
+ bridgeId?: BridgeType | undefined;
110
+ poolAddress?: string | undefined;
111
+ destinationEndpointId?: number | undefined;
112
+ oftFeeAsset?: {
113
+ chainId: string;
114
+ coingeckoId?: string | undefined;
115
+ decimals?: number | undefined;
116
+ denom: string;
117
+ description?: string | undefined;
118
+ isCw20: boolean;
119
+ isEvm: boolean;
120
+ isSvm: boolean;
121
+ logoUri?: string | undefined;
122
+ name?: string | undefined;
123
+ originChainId: string;
124
+ originDenom: string;
125
+ recommendedSymbol?: string | undefined;
126
+ symbol?: string | undefined;
127
+ tokenContract?: string | undefined;
128
+ trace: string;
129
+ } | undefined;
130
+ oftFeeAmount?: string | undefined;
131
+ oftFeeAmountUsd?: string | undefined;
132
+ messagingFeeAsset?: {
133
+ chainId: string;
134
+ coingeckoId?: string | undefined;
135
+ decimals?: number | undefined;
136
+ denom: string;
137
+ description?: string | undefined;
138
+ isCw20: boolean;
139
+ isEvm: boolean;
140
+ isSvm: boolean;
141
+ logoUri?: string | undefined;
142
+ name?: string | undefined;
143
+ originChainId: string;
144
+ originDenom: string;
145
+ recommendedSymbol?: string | undefined;
146
+ symbol?: string | undefined;
147
+ tokenContract?: string | undefined;
148
+ trace: string;
149
+ } | undefined;
150
+ messagingFeeAmount?: string | undefined;
151
+ messageingFeeAmountUsd?: string | undefined;
152
+ } | undefined;
153
+ txIndex: number;
154
+ amountIn: string;
155
+ amountOut: string;
156
+ } | {
157
+ bankSend?: {
158
+ chainId?: string | undefined;
159
+ denom?: string | undefined;
160
+ } | undefined;
161
+ txIndex: number;
162
+ amountIn: string;
163
+ amountOut: string;
164
+ } | {
165
+ evmSwap?: {
166
+ inputToken?: string | undefined;
167
+ amountIn?: string | undefined;
168
+ swapCalldata?: string | undefined;
169
+ amountOut?: string | undefined;
170
+ fromChainId?: string | undefined;
171
+ denomIn?: string | undefined;
172
+ denomOut?: string | undefined;
173
+ swapVenues?: {
174
+ chainId?: string | undefined;
175
+ name?: string | undefined;
176
+ logoUri?: string | undefined;
177
+ }[] | undefined;
178
+ } | undefined;
179
+ txIndex: number;
180
+ amountIn: string;
181
+ amountOut: string;
182
+ } | {
183
+ hyperlaneTransfer?: {
184
+ fromChainId?: string | undefined;
185
+ toChainId?: string | undefined;
186
+ denomIn?: string | undefined;
187
+ denomOut?: string | undefined;
188
+ hyperlaneContractAddress?: string | undefined;
189
+ feeAmount?: string | undefined;
190
+ feeAsset?: {
191
+ chainId: string;
192
+ coingeckoId?: string | undefined;
193
+ decimals?: number | undefined;
194
+ denom: string;
195
+ description?: string | undefined;
196
+ isCw20: boolean;
197
+ isEvm: boolean;
198
+ isSvm: boolean;
199
+ logoUri?: string | undefined;
200
+ name?: string | undefined;
201
+ originChainId: string;
202
+ originDenom: string;
203
+ recommendedSymbol?: string | undefined;
204
+ symbol?: string | undefined;
205
+ tokenContract?: string | undefined;
206
+ trace: string;
207
+ } | undefined;
208
+ usdFeeAmount?: string | undefined;
209
+ bridgeId?: BridgeType | undefined;
210
+ smartRelay?: boolean | undefined;
211
+ } | undefined;
212
+ txIndex: number;
213
+ amountIn: string;
214
+ amountOut: string;
215
+ } | {
216
+ transfer?: {
217
+ fromChainId?: string | undefined;
218
+ toChainId?: string | undefined;
219
+ channel?: string | undefined;
220
+ destDenom?: string | undefined;
221
+ pfmEnabled?: boolean | undefined;
222
+ port?: string | undefined;
223
+ supportsMemo?: boolean | undefined;
224
+ denomIn?: string | undefined;
225
+ denomOut?: string | undefined;
226
+ feeAmount?: string | undefined;
227
+ usdFeeAmount?: string | undefined;
228
+ feeAsset?: {
229
+ chainId: string;
230
+ coingeckoId?: string | undefined;
231
+ decimals?: number | undefined;
232
+ denom: string;
233
+ description?: string | undefined;
234
+ isCw20: boolean;
235
+ isEvm: boolean;
236
+ isSvm: boolean;
237
+ logoUri?: string | undefined;
238
+ name?: string | undefined;
239
+ originChainId: string;
240
+ originDenom: string;
241
+ recommendedSymbol?: string | undefined;
242
+ symbol?: string | undefined;
243
+ tokenContract?: string | undefined;
244
+ trace: string;
245
+ } | undefined;
246
+ bridgeId?: BridgeType | undefined;
247
+ smartRelay?: boolean | undefined;
248
+ } | undefined;
249
+ txIndex: number;
250
+ amountIn: string;
251
+ amountOut: string;
252
+ } | {
253
+ swap?: {
254
+ swapIn?: {
255
+ swapAmountIn?: string | undefined;
256
+ swapOperations?: {
257
+ denomIn?: string | undefined;
258
+ denomOut?: string | undefined;
259
+ pool?: string | undefined;
260
+ interface?: string | undefined;
261
+ }[] | undefined;
262
+ swapVenue?: {
263
+ chainId?: string | undefined;
264
+ name?: string | undefined;
265
+ logoUri?: string | undefined;
266
+ } | undefined;
267
+ priceImpactPercent?: string | undefined;
268
+ } | undefined;
269
+ estimatedAffiliateFee?: string | undefined;
270
+ chainId?: string | undefined;
271
+ fromChainId?: string | undefined;
272
+ denomIn?: string | undefined;
273
+ denomOut?: string | undefined;
274
+ swapVenues?: {
275
+ chainId?: string | undefined;
276
+ name?: string | undefined;
277
+ logoUri?: string | undefined;
278
+ }[] | undefined;
279
+ } | {
280
+ swapOut?: {
281
+ swapAmountOut?: string | undefined;
282
+ swapOperations?: {
283
+ denomIn?: string | undefined;
284
+ denomOut?: string | undefined;
285
+ pool?: string | undefined;
286
+ interface?: string | undefined;
287
+ }[] | undefined;
288
+ swapVenue?: {
289
+ chainId?: string | undefined;
290
+ name?: string | undefined;
291
+ logoUri?: string | undefined;
292
+ } | undefined;
293
+ priceImpactPercent?: string | undefined;
294
+ } | undefined;
295
+ estimatedAffiliateFee?: string | undefined;
296
+ chainId?: string | undefined;
297
+ fromChainId?: string | undefined;
298
+ denomIn?: string | undefined;
299
+ denomOut?: string | undefined;
300
+ swapVenues?: {
301
+ chainId?: string | undefined;
302
+ name?: string | undefined;
303
+ logoUri?: string | undefined;
304
+ }[] | undefined;
305
+ } | {
306
+ smartSwapIn?: {
307
+ swapVenue?: {
308
+ chainId?: string | undefined;
309
+ name?: string | undefined;
310
+ logoUri?: string | undefined;
311
+ } | undefined;
312
+ swapRoutes?: {
313
+ swapAmountIn?: string | undefined;
314
+ denomIn?: string | undefined;
315
+ swapOperations?: {
316
+ denomIn?: string | undefined;
317
+ denomOut?: string | undefined;
318
+ pool?: string | undefined;
319
+ interface?: string | undefined;
320
+ }[] | undefined;
321
+ }[] | undefined;
322
+ } | undefined;
323
+ estimatedAffiliateFee?: string | undefined;
324
+ chainId?: string | undefined;
325
+ fromChainId?: string | undefined;
326
+ denomIn?: string | undefined;
327
+ denomOut?: string | undefined;
328
+ swapVenues?: {
329
+ chainId?: string | undefined;
330
+ name?: string | undefined;
331
+ logoUri?: string | undefined;
332
+ }[] | undefined;
333
+ } | undefined;
334
+ txIndex: number;
335
+ amountIn: string;
336
+ amountOut: string;
337
+ } | {
338
+ transfer?: {
339
+ fromChainId?: string | undefined;
340
+ toChainId?: string | undefined;
341
+ denomIn?: string | undefined;
342
+ denomOut?: string | undefined;
343
+ opInitBridgeId?: any;
344
+ bridgeId?: BridgeType | undefined;
345
+ smartRelay?: boolean | undefined;
346
+ } | undefined;
347
+ txIndex: number;
348
+ amountIn: string;
349
+ amountOut: string;
350
+ } | {
351
+ eurekaTransfer?: {
352
+ destinationPort?: string | undefined;
353
+ sourceClient?: string | undefined;
354
+ fromChainId?: string | undefined;
355
+ toChainId?: string | undefined;
356
+ pfmEnabled?: boolean | undefined;
357
+ supportsMemo?: boolean | undefined;
358
+ denomIn?: string | undefined;
359
+ denomOut?: string | undefined;
360
+ entryContractAddress?: string | undefined;
361
+ callbackAdapterContractAddress?: string | undefined;
362
+ bridgeId?: BridgeType | undefined;
363
+ smartRelay?: boolean | undefined;
364
+ smartRelayFeeQuote?: {
365
+ feeAmount?: string | undefined;
366
+ feeDenom?: string | undefined;
367
+ feePaymentAddress?: string | undefined;
368
+ relayerAddress?: string | undefined;
369
+ expiration?: string | undefined;
370
+ } | undefined;
371
+ toChainCallbackContractAddress?: string | undefined;
372
+ toChainEntryContractAddress?: string | undefined;
373
+ } | undefined;
374
+ txIndex: number;
375
+ amountIn: string;
376
+ amountOut: string;
377
+ } | {
378
+ eurekaTransfer?: {
379
+ fromChainId: string;
380
+ toChainId: string;
381
+ denomIn: string;
382
+ denomOut: string;
383
+ sourceOftCntractAddress: string;
384
+ destinationEndpointId: number;
385
+ messagingFeeAsset: {
386
+ chainId: string;
387
+ coingeckoId?: string | undefined;
388
+ decimals?: number | undefined;
389
+ denom: string;
390
+ description?: string | undefined;
391
+ isCw20: boolean;
392
+ isEvm: boolean;
393
+ isSvm: boolean;
394
+ logoUri?: string | undefined;
395
+ name?: string | undefined;
396
+ originChainId: string;
397
+ originDenom: string;
398
+ recommendedSymbol?: string | undefined;
399
+ symbol?: string | undefined;
400
+ tokenContract?: string | undefined;
401
+ trace: string;
402
+ };
403
+ messagingFeeAmount: string;
404
+ messagingFeeAmountUsd: string;
405
+ bridgeId: BridgeType;
406
+ } | undefined;
407
+ txIndex: number;
408
+ amountIn: string;
409
+ amountOut: string;
410
+ })[];
411
+ estimatedAmountOut?: string | undefined;
412
+ slippageTolerancePercent?: string | undefined;
413
+ timeoutSeconds?: string | undefined;
414
+ postRouteHandler?: {
415
+ autpilotMsg?: {
416
+ action?: AutopilotAction | undefined;
417
+ receiver?: string | undefined;
418
+ } | undefined;
419
+ } | {
420
+ wasmMsg?: {
421
+ contractAddress?: string | undefined;
422
+ msg?: string | undefined;
423
+ } | undefined;
424
+ } | undefined;
425
+ chainIdsToAffiliates?: {
426
+ [x: string]: {
427
+ affiliates?: {
428
+ address?: string | undefined;
429
+ basisPointsFee?: string | undefined;
430
+ }[] | undefined;
431
+ };
432
+ } | undefined;
433
+ enableGasWarnings?: boolean | undefined;
434
+ } & SkipApiOptions & {
435
+ abortDuplicateRequests?: boolean | undefined;
436
+ }) | undefined) => Promise<{
437
+ msgs?: ({
438
+ evmTx: {
439
+ chainId: string;
440
+ data?: string | undefined;
441
+ requiredErc20Approvals?: {
442
+ amount: string;
443
+ spender: string;
444
+ tokenContract: string;
445
+ }[] | undefined;
446
+ signerAddress?: string | undefined;
447
+ to?: string | undefined;
448
+ value?: string | undefined;
449
+ };
450
+ } | {
451
+ svmTx: {
452
+ chainId: string;
453
+ signerAddress?: string | undefined;
454
+ tx?: string | undefined;
455
+ };
456
+ } | {
457
+ multiChainMsg?: {
458
+ chainId?: string | undefined;
459
+ msg?: string | undefined;
460
+ msgTypeUrl?: string | undefined;
461
+ path?: string[] | undefined;
462
+ } | undefined;
463
+ })[] | undefined;
464
+ txs?: ({
465
+ cosmosTx: {
466
+ chainId: string;
467
+ path?: string[] | undefined;
468
+ signerAddress?: string | undefined;
469
+ msgs?: {
470
+ msg?: string | undefined;
471
+ msgTypeUrl?: string | undefined;
472
+ }[] | undefined;
473
+ };
474
+ operationsIndices?: number[] | undefined;
475
+ } | {
476
+ evmTx: {
477
+ chainId: string;
478
+ data?: string | undefined;
479
+ requiredErc20Approvals?: {
480
+ amount: string;
481
+ spender: string;
482
+ tokenContract: string;
483
+ }[] | undefined;
484
+ signerAddress?: string | undefined;
485
+ to?: string | undefined;
486
+ value?: string | undefined;
487
+ };
488
+ operationsIndices?: number[] | undefined;
489
+ } | {
490
+ svmTx: {
491
+ chainId: string;
492
+ signerAddress?: string | undefined;
493
+ tx?: string | undefined;
494
+ };
495
+ operationsIndices?: number[] | undefined;
496
+ })[] | undefined;
497
+ estimatedFees?: {
498
+ feeType?: FeeType | undefined;
499
+ bridgeId?: BridgeType | undefined;
500
+ amount?: string | undefined;
501
+ usdAmount?: string | undefined;
502
+ originAsset: {
503
+ chainId: string;
504
+ coingeckoId?: string | undefined;
505
+ decimals?: number | undefined;
506
+ denom: string;
507
+ description?: string | undefined;
508
+ isCw20: boolean;
509
+ isEvm: boolean;
510
+ isSvm: boolean;
511
+ logoUri?: string | undefined;
512
+ name?: string | undefined;
513
+ originChainId: string;
514
+ originDenom: string;
515
+ recommendedSymbol?: string | undefined;
516
+ symbol?: string | undefined;
517
+ tokenContract?: string | undefined;
518
+ trace: string;
519
+ };
520
+ chainId?: string | undefined;
521
+ txIndex?: number | undefined;
522
+ operationIndex?: number | undefined;
523
+ }[] | undefined;
524
+ } | undefined>;
525
+ type MessagesRequest = ApiRequest<"getMsgsV2">;
526
+ type MessagesResponse = ApiResponse<"getMsgsV2">;
527
+
528
+ export { type MessagesRequest, type MessagesResponse, messages };