@skip-go/client 1.0.0-alpha-4 → 1.0.1-alpha-0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (118) hide show
  1. package/dist/api/getAssets.cjs +15 -0
  2. package/dist/api/getAssets.d.cts +19 -0
  3. package/dist/api/getAssets.js +2 -2
  4. package/dist/api/getAssetsBetweenChains.cjs +11 -0
  5. package/dist/api/getAssetsBetweenChains.d.cts +56 -0
  6. package/dist/api/getAssetsBetweenChains.js +2 -2
  7. package/dist/api/getBridges.cjs +11 -0
  8. package/dist/api/getBridges.d.cts +54 -0
  9. package/dist/api/getBridges.js +2 -2
  10. package/dist/api/getChains.cjs +11 -0
  11. package/dist/api/getChains.d.cts +41 -0
  12. package/dist/api/getChains.js +2 -2
  13. package/dist/api/getVenues.cjs +11 -0
  14. package/dist/api/getVenues.d.cts +13 -0
  15. package/dist/api/getVenues.js +2 -2
  16. package/dist/api/postAssetsFromSource.cjs +12 -0
  17. package/dist/api/postAssetsFromSource.d.cts +13 -0
  18. package/dist/api/postAssetsFromSource.js +3 -3
  19. package/dist/api/postBalances.cjs +11 -0
  20. package/dist/api/postBalances.d.cts +35 -0
  21. package/dist/api/postBalances.js +2 -2
  22. package/dist/api/postIbcOriginAssets.cjs +11 -0
  23. package/dist/api/postIbcOriginAssets.d.cts +32 -0
  24. package/dist/api/postIbcOriginAssets.js +2 -2
  25. package/dist/api/postMessages.cjs +11 -0
  26. package/dist/api/postMessages.d.cts +528 -0
  27. package/dist/api/postMessages.js +2 -2
  28. package/dist/api/postMessagesDirect.cjs +11 -0
  29. package/dist/api/postMessagesDirect.d.cts +568 -0
  30. package/dist/api/postMessagesDirect.js +2 -2
  31. package/dist/api/postRecommendAssets.cjs +11 -0
  32. package/dist/api/postRecommendAssets.d.cts +40 -0
  33. package/dist/api/postRecommendAssets.js +2 -2
  34. package/dist/api/postRoute.cjs +11 -0
  35. package/dist/api/postRoute.d.cts +460 -0
  36. package/dist/api/postRoute.js +2 -2
  37. package/dist/api/postSubmitTransaction.cjs +11 -0
  38. package/dist/api/postSubmitTransaction.d.cts +13 -0
  39. package/dist/api/postSubmitTransaction.js +2 -2
  40. package/dist/api/postTrackTransaction.cjs +11 -0
  41. package/dist/api/postTrackTransaction.d.cts +13 -0
  42. package/dist/api/postTrackTransaction.js +2 -2
  43. package/dist/api/postTransactionStatus.cjs +11 -0
  44. package/dist/api/postTransactionStatus.d.cts +559 -0
  45. package/dist/api/postTransactionStatus.js +2 -2
  46. package/dist/apiState-CdzxTxYd.d.cts +6 -0
  47. package/dist/chunk-32MRDO7V.cjs +12 -0
  48. package/dist/{chunk-MKEROBAQ.js → chunk-33K6EESX.js} +1 -1
  49. package/dist/{chunk-XOC57DJF.js → chunk-3N7XVGLX.js} +2 -2
  50. package/dist/chunk-44PBLFB5.cjs +24 -0
  51. package/dist/{chunk-2H4KT24S.js → chunk-4JJWOILI.js} +1 -1
  52. package/dist/chunk-4R6OCWRR.cjs +1346 -0
  53. package/dist/chunk-5IAEEEOQ.cjs +2251 -0
  54. package/dist/chunk-77ITCT75.cjs +15 -0
  55. package/dist/chunk-7OIZPQJB.cjs +3660 -0
  56. package/dist/chunk-7SK3IFXJ.cjs +188 -0
  57. package/dist/{chunk-HFWTLB35.js → chunk-BQTQJQ5E.js} +1 -1
  58. package/dist/{chunk-44YEAWRJ.js → chunk-BRJDNGYH.js} +1 -1
  59. package/dist/{chunk-Y325PIRY.js → chunk-BRMONS6A.js} +1 -1
  60. package/dist/{chunk-JBPMJE44.js → chunk-C2EDPY6J.js} +1 -1
  61. package/dist/chunk-DAMZSSOH.cjs +12 -0
  62. package/dist/{chunk-EAVQIWH7.js → chunk-DW4U6YI6.js} +1 -1
  63. package/dist/chunk-ED2OY55G.cjs +136 -0
  64. package/dist/{chunk-T3G7MVDN.js → chunk-GARVPN2H.js} +1 -1
  65. package/dist/chunk-HAR3IXDE.cjs +705 -0
  66. package/dist/chunk-ISHM4QWP.cjs +16 -0
  67. package/dist/chunk-J4LI33TK.cjs +95 -0
  68. package/dist/chunk-KDN7RCGP.cjs +13 -0
  69. package/dist/{chunk-QKCJUB43.js → chunk-KNV72XRZ.js} +1 -1
  70. package/dist/chunk-KZOSEIWH.cjs +10 -0
  71. package/dist/chunk-L5V5PASH.cjs +12 -0
  72. package/dist/chunk-LXYLWTNZ.cjs +12 -0
  73. package/dist/{chunk-6SEZNZJY.js → chunk-MGVXJ2U4.js} +1 -1
  74. package/dist/{chunk-XS6XFYYD.js → chunk-MTMPHY3Y.js} +1 -1
  75. package/dist/chunk-PNWIJSMA.cjs +12 -0
  76. package/dist/{chunk-LJ4RFN4L.js → chunk-PRQ2NHRZ.js} +1 -1
  77. package/dist/chunk-RDOSNDAQ.cjs +13 -0
  78. package/dist/{chunk-BQTWTYWD.js → chunk-RDRDFJQE.js} +1 -1
  79. package/dist/{chunk-6MCLH626.js → chunk-RMP3HM5N.js} +2 -2
  80. package/dist/chunk-SFMBRLUS.cjs +18 -0
  81. package/dist/{chunk-6JMGI4N7.js → chunk-SQGWZAUC.js} +2 -2
  82. package/dist/chunk-SW3SEQMJ.cjs +273 -0
  83. package/dist/{chunk-RSUFWUIE.js → chunk-TW77BXMT.js} +1 -1
  84. package/dist/chunk-URLFWBSC.cjs +11 -0
  85. package/dist/chunk-VI7UMBQ7.cjs +12 -0
  86. package/dist/{chunk-6IZXDY7U.js → chunk-VMPFHQ7U.js} +2 -2
  87. package/dist/{chunk-XEDYWBEU.js → chunk-W2U2UOFA.js} +13 -15
  88. package/dist/chunk-WWNTHZ6I.cjs +1812 -0
  89. package/dist/chunk-ZNXE6PUV.cjs +46 -0
  90. package/dist/client-types-qvyKvyFh.d.cts +60 -0
  91. package/dist/executeRoute-BKRpODCc.d.cts +69 -0
  92. package/dist/generateApi-C0amiydg.d.cts +22 -0
  93. package/dist/index.cjs +209 -0
  94. package/dist/index.d.cts +35 -0
  95. package/dist/index.js +21 -21
  96. package/dist/public-functions/executeRoute.cjs +21 -0
  97. package/dist/public-functions/executeRoute.d.cts +9 -0
  98. package/dist/public-functions/executeRoute.js +9 -9
  99. package/dist/public-functions/getFeeInfoForChain.cjs +14 -0
  100. package/dist/public-functions/getFeeInfoForChain.d.cts +9 -0
  101. package/dist/public-functions/getFeeInfoForChain.js +4 -4
  102. package/dist/public-functions/getRecommendedGasPrice.cjs +16 -0
  103. package/dist/public-functions/getRecommendedGasPrice.d.cts +9 -0
  104. package/dist/public-functions/getRecommendedGasPrice.js +5 -5
  105. package/dist/public-functions/getSigningStargateClient.cjs +13 -0
  106. package/dist/public-functions/getSigningStargateClient.d.cts +13 -0
  107. package/dist/public-functions/getSigningStargateClient.js +4 -4
  108. package/dist/public-functions/setApiOptions.cjs +11 -0
  109. package/dist/public-functions/setApiOptions.d.cts +9 -0
  110. package/dist/public-functions/setApiOptions.js +2 -2
  111. package/dist/public-functions/setClientOptions.cjs +13 -0
  112. package/dist/public-functions/setClientOptions.d.cts +9 -0
  113. package/dist/public-functions/setClientOptions.js +3 -3
  114. package/dist/setClientOptions-CT6CHI9I.d.cts +19 -0
  115. package/dist/swaggerTypes-O9-gvCT1.d.cts +1890 -0
  116. package/package.json +2 -34
  117. package/dist/{chunk-66DO7NZD.js → chunk-JTIHU43D.js} +0 -0
  118. package/dist/{chunk-DUCP65HQ.js → chunk-W6TBGBV3.js} +20 -20
@@ -0,0 +1,559 @@
1
+ import { au as StatusErrorType, aI as TransactionState, ak as PacketErrorType, aR as TransferState, k as AxelarTransferState, N as ContractCallWithTokenErrorType, ar as SendTokenErrorType, l as AxelarTransferType, p as CCTPTransferState, a7 as HyperlaneTransferState, aN as OPInitTransferState, s as StargateTransferState, w as GoFastTransferState, aO as LayerZeroTransferState } from '../swaggerTypes-O9-gvCT1.cjs';
2
+ import { S as SkipApiOptions } from '../apiState-CdzxTxYd.cjs';
3
+ import { a as ApiResponse } from '../generateApi-C0amiydg.cjs';
4
+
5
+ declare const transactionStatus: (params?: ({
6
+ txHash: string;
7
+ chainId: string;
8
+ } & SkipApiOptions & {
9
+ abortDuplicateRequests?: boolean | undefined;
10
+ }) | undefined) => Promise<{
11
+ transfers?: {
12
+ error?: {
13
+ details?: {
14
+ code?: number | undefined;
15
+ message?: string | undefined;
16
+ } | undefined;
17
+ message?: string | undefined;
18
+ type?: StatusErrorType | undefined;
19
+ } | undefined;
20
+ nextBlockingTransfer?: {
21
+ transferSequenceIndex?: number | undefined;
22
+ } | undefined;
23
+ state?: TransactionState | undefined;
24
+ transferAssetRelease?: {
25
+ chainId?: string | undefined;
26
+ denom?: string | undefined;
27
+ amount?: string | undefined;
28
+ released?: boolean | undefined;
29
+ } | undefined;
30
+ transferSequence?: {
31
+ ibcTransfer?: {
32
+ toChainId: string;
33
+ packetTxs: {
34
+ acknowledgeTx?: {
35
+ chainId?: string | undefined;
36
+ explorerLink: string;
37
+ txHash?: string | undefined;
38
+ } | undefined;
39
+ error?: {
40
+ details?: {
41
+ code?: number | undefined;
42
+ message?: string | undefined;
43
+ } | undefined;
44
+ message?: string | undefined;
45
+ type?: PacketErrorType | undefined;
46
+ } | undefined;
47
+ receiveTx?: {
48
+ chainId?: string | undefined;
49
+ explorerLink: string;
50
+ txHash?: string | undefined;
51
+ } | undefined;
52
+ sendTx?: {
53
+ chainId?: string | undefined;
54
+ explorerLink: string;
55
+ txHash?: string | undefined;
56
+ } | undefined;
57
+ timeoutTx?: {
58
+ chainId?: string | undefined;
59
+ explorerLink: string;
60
+ txHash?: string | undefined;
61
+ } | undefined;
62
+ };
63
+ fromChainId: string;
64
+ state: TransferState;
65
+ } | undefined;
66
+ axelarTransfer?: {
67
+ axelarScanLink?: string | undefined;
68
+ toChainId: string;
69
+ fromChainId: string;
70
+ state: AxelarTransferState;
71
+ txs: {
72
+ approveTx?: {
73
+ chainId?: string | undefined;
74
+ explorerLink: string;
75
+ txHash?: string | undefined;
76
+ } | undefined;
77
+ confirmTx?: {
78
+ chainId?: string | undefined;
79
+ explorerLink: string;
80
+ txHash?: string | undefined;
81
+ } | undefined;
82
+ error?: {
83
+ message?: string | undefined;
84
+ type?: ContractCallWithTokenErrorType | undefined;
85
+ } | undefined;
86
+ executeTx?: {
87
+ chainId?: string | undefined;
88
+ explorerLink: string;
89
+ txHash?: string | undefined;
90
+ } | undefined;
91
+ gasPaidTx?: {
92
+ chainId?: string | undefined;
93
+ explorerLink: string;
94
+ txHash?: string | undefined;
95
+ } | undefined;
96
+ sendTx?: {
97
+ chainId?: string | undefined;
98
+ explorerLink: string;
99
+ txHash?: string | undefined;
100
+ } | undefined;
101
+ } | {
102
+ confirmTx?: {
103
+ chainId?: string | undefined;
104
+ explorerLink: string;
105
+ txHash?: string | undefined;
106
+ } | undefined;
107
+ error?: {
108
+ message?: string | undefined;
109
+ type?: SendTokenErrorType | undefined;
110
+ } | undefined;
111
+ executeTx?: {
112
+ chainId?: string | undefined;
113
+ explorerLink: string;
114
+ txHash?: string | undefined;
115
+ } | undefined;
116
+ sendTx?: {
117
+ chainId?: string | undefined;
118
+ explorerLink: string;
119
+ txHash?: string | undefined;
120
+ } | undefined;
121
+ };
122
+ type?: AxelarTransferType | undefined;
123
+ } | undefined;
124
+ cctpTransfer?: {
125
+ toChainId?: string | undefined;
126
+ fromChainId?: string | undefined;
127
+ state?: CCTPTransferState | undefined;
128
+ txs?: {
129
+ sendTx?: {
130
+ chainId?: string | undefined;
131
+ explorerLink: string;
132
+ txHash?: string | undefined;
133
+ } | undefined;
134
+ receiveTx?: {
135
+ chainId?: string | undefined;
136
+ explorerLink: string;
137
+ txHash?: string | undefined;
138
+ } | undefined;
139
+ } | undefined;
140
+ } | undefined;
141
+ hyperlaneTransfer?: {
142
+ fromChainId: string;
143
+ toChainId: string;
144
+ state: HyperlaneTransferState;
145
+ txs: {
146
+ sendTx?: {
147
+ chainId?: string | undefined;
148
+ explorerLink: string;
149
+ txHash?: string | undefined;
150
+ } | undefined;
151
+ receiveTx?: {
152
+ chainId?: string | undefined;
153
+ explorerLink: string;
154
+ txHash?: string | undefined;
155
+ } | undefined;
156
+ };
157
+ } | undefined;
158
+ opInitTransfer?: {
159
+ toChainId: string;
160
+ fromChainId: string;
161
+ state: OPInitTransferState;
162
+ txs: {
163
+ sendTx?: {
164
+ chainId?: string | undefined;
165
+ explorerLink: string;
166
+ txHash?: string | undefined;
167
+ } | undefined;
168
+ receiveTx?: {
169
+ chainId?: string | undefined;
170
+ explorerLink: string;
171
+ txHash?: string | undefined;
172
+ } | undefined;
173
+ };
174
+ } | undefined;
175
+ stargateTransfer?: {
176
+ fromChainId?: string | undefined;
177
+ toChainId?: string | undefined;
178
+ state?: StargateTransferState | undefined;
179
+ txs?: {
180
+ sendTx?: {
181
+ chainId?: string | undefined;
182
+ explorerLink: string;
183
+ txHash?: string | undefined;
184
+ } | undefined;
185
+ receiveTx?: {
186
+ chainId?: string | undefined;
187
+ explorerLink: string;
188
+ txHash?: string | undefined;
189
+ } | undefined;
190
+ errorTx?: {
191
+ chainId?: string | undefined;
192
+ explorerLink: string;
193
+ txHash?: string | undefined;
194
+ } | undefined;
195
+ } | undefined;
196
+ } | undefined;
197
+ goFastTransfer?: {
198
+ fromChainId: string;
199
+ toChainId: string;
200
+ state: GoFastTransferState;
201
+ txs: {
202
+ orderSubmittedTx?: {
203
+ chainId?: string | undefined;
204
+ explorerLink: string;
205
+ txHash?: string | undefined;
206
+ } | undefined;
207
+ orderFilledTx?: {
208
+ chainId?: string | undefined;
209
+ explorerLink: string;
210
+ txHash?: string | undefined;
211
+ } | undefined;
212
+ orderRefundedTx?: {
213
+ chainId?: string | undefined;
214
+ explorerLink: string;
215
+ txHash?: string | undefined;
216
+ } | undefined;
217
+ orderTimeoutTx?: {
218
+ chainId?: string | undefined;
219
+ explorerLink: string;
220
+ txHash?: string | undefined;
221
+ } | undefined;
222
+ };
223
+ errorMessage?: string | undefined;
224
+ } | undefined;
225
+ eurekaTransfer?: {
226
+ fromChainId: string;
227
+ toChainId: string;
228
+ state: TransferState;
229
+ packetTxs: {
230
+ acknowledgeTx?: {
231
+ chainId?: string | undefined;
232
+ explorerLink: string;
233
+ txHash?: string | undefined;
234
+ } | undefined;
235
+ error?: {
236
+ details?: {
237
+ code?: number | undefined;
238
+ message?: string | undefined;
239
+ } | undefined;
240
+ message?: string | undefined;
241
+ type?: PacketErrorType | undefined;
242
+ } | undefined;
243
+ receiveTx?: {
244
+ chainId?: string | undefined;
245
+ explorerLink: string;
246
+ txHash?: string | undefined;
247
+ } | undefined;
248
+ sendTx?: {
249
+ chainId?: string | undefined;
250
+ explorerLink: string;
251
+ txHash?: string | undefined;
252
+ } | undefined;
253
+ timeoutTx?: {
254
+ chainId?: string | undefined;
255
+ explorerLink: string;
256
+ txHash?: string | undefined;
257
+ } | undefined;
258
+ };
259
+ } | undefined;
260
+ layerZeroTransfer?: {
261
+ fromChainId: string;
262
+ toChainId: string;
263
+ state: LayerZeroTransferState;
264
+ txs: {
265
+ sendTx?: {
266
+ chainId?: string | undefined;
267
+ explorerLink: string;
268
+ txHash?: string | undefined;
269
+ } | undefined;
270
+ receiveTx?: {
271
+ chainId?: string | undefined;
272
+ explorerLink: string;
273
+ txHash?: string | undefined;
274
+ } | undefined;
275
+ errorTx?: {
276
+ chainId?: string | undefined;
277
+ explorerLink: string;
278
+ txHash?: string | undefined;
279
+ } | undefined;
280
+ };
281
+ } | undefined;
282
+ }[] | undefined;
283
+ }[] | undefined;
284
+ state: TransactionState;
285
+ transferSequence: {
286
+ ibcTransfer?: {
287
+ toChainId: string;
288
+ packetTxs: {
289
+ acknowledgeTx?: {
290
+ chainId?: string | undefined;
291
+ explorerLink: string;
292
+ txHash?: string | undefined;
293
+ } | undefined;
294
+ error?: {
295
+ details?: {
296
+ code?: number | undefined;
297
+ message?: string | undefined;
298
+ } | undefined;
299
+ message?: string | undefined;
300
+ type?: PacketErrorType | undefined;
301
+ } | undefined;
302
+ receiveTx?: {
303
+ chainId?: string | undefined;
304
+ explorerLink: string;
305
+ txHash?: string | undefined;
306
+ } | undefined;
307
+ sendTx?: {
308
+ chainId?: string | undefined;
309
+ explorerLink: string;
310
+ txHash?: string | undefined;
311
+ } | undefined;
312
+ timeoutTx?: {
313
+ chainId?: string | undefined;
314
+ explorerLink: string;
315
+ txHash?: string | undefined;
316
+ } | undefined;
317
+ };
318
+ fromChainId: string;
319
+ state: TransferState;
320
+ } | undefined;
321
+ axelarTransfer?: {
322
+ axelarScanLink?: string | undefined;
323
+ toChainId: string;
324
+ fromChainId: string;
325
+ state: AxelarTransferState;
326
+ txs: {
327
+ approveTx?: {
328
+ chainId?: string | undefined;
329
+ explorerLink: string;
330
+ txHash?: string | undefined;
331
+ } | undefined;
332
+ confirmTx?: {
333
+ chainId?: string | undefined;
334
+ explorerLink: string;
335
+ txHash?: string | undefined;
336
+ } | undefined;
337
+ error?: {
338
+ message?: string | undefined;
339
+ type?: ContractCallWithTokenErrorType | undefined;
340
+ } | undefined;
341
+ executeTx?: {
342
+ chainId?: string | undefined;
343
+ explorerLink: string;
344
+ txHash?: string | undefined;
345
+ } | undefined;
346
+ gasPaidTx?: {
347
+ chainId?: string | undefined;
348
+ explorerLink: string;
349
+ txHash?: string | undefined;
350
+ } | undefined;
351
+ sendTx?: {
352
+ chainId?: string | undefined;
353
+ explorerLink: string;
354
+ txHash?: string | undefined;
355
+ } | undefined;
356
+ } | {
357
+ confirmTx?: {
358
+ chainId?: string | undefined;
359
+ explorerLink: string;
360
+ txHash?: string | undefined;
361
+ } | undefined;
362
+ error?: {
363
+ message?: string | undefined;
364
+ type?: SendTokenErrorType | undefined;
365
+ } | undefined;
366
+ executeTx?: {
367
+ chainId?: string | undefined;
368
+ explorerLink: string;
369
+ txHash?: string | undefined;
370
+ } | undefined;
371
+ sendTx?: {
372
+ chainId?: string | undefined;
373
+ explorerLink: string;
374
+ txHash?: string | undefined;
375
+ } | undefined;
376
+ };
377
+ type?: AxelarTransferType | undefined;
378
+ } | undefined;
379
+ cctpTransfer?: {
380
+ toChainId?: string | undefined;
381
+ fromChainId?: string | undefined;
382
+ state?: CCTPTransferState | undefined;
383
+ txs?: {
384
+ sendTx?: {
385
+ chainId?: string | undefined;
386
+ explorerLink: string;
387
+ txHash?: string | undefined;
388
+ } | undefined;
389
+ receiveTx?: {
390
+ chainId?: string | undefined;
391
+ explorerLink: string;
392
+ txHash?: string | undefined;
393
+ } | undefined;
394
+ } | undefined;
395
+ } | undefined;
396
+ hyperlaneTransfer?: {
397
+ fromChainId: string;
398
+ toChainId: string;
399
+ state: HyperlaneTransferState;
400
+ txs: {
401
+ sendTx?: {
402
+ chainId?: string | undefined;
403
+ explorerLink: string;
404
+ txHash?: string | undefined;
405
+ } | undefined;
406
+ receiveTx?: {
407
+ chainId?: string | undefined;
408
+ explorerLink: string;
409
+ txHash?: string | undefined;
410
+ } | undefined;
411
+ };
412
+ } | undefined;
413
+ opInitTransfer?: {
414
+ toChainId: string;
415
+ fromChainId: string;
416
+ state: OPInitTransferState;
417
+ txs: {
418
+ sendTx?: {
419
+ chainId?: string | undefined;
420
+ explorerLink: string;
421
+ txHash?: string | undefined;
422
+ } | undefined;
423
+ receiveTx?: {
424
+ chainId?: string | undefined;
425
+ explorerLink: string;
426
+ txHash?: string | undefined;
427
+ } | undefined;
428
+ };
429
+ } | undefined;
430
+ stargateTransfer?: {
431
+ fromChainId?: string | undefined;
432
+ toChainId?: string | undefined;
433
+ state?: StargateTransferState | undefined;
434
+ txs?: {
435
+ sendTx?: {
436
+ chainId?: string | undefined;
437
+ explorerLink: string;
438
+ txHash?: string | undefined;
439
+ } | undefined;
440
+ receiveTx?: {
441
+ chainId?: string | undefined;
442
+ explorerLink: string;
443
+ txHash?: string | undefined;
444
+ } | undefined;
445
+ errorTx?: {
446
+ chainId?: string | undefined;
447
+ explorerLink: string;
448
+ txHash?: string | undefined;
449
+ } | undefined;
450
+ } | undefined;
451
+ } | undefined;
452
+ goFastTransfer?: {
453
+ fromChainId: string;
454
+ toChainId: string;
455
+ state: GoFastTransferState;
456
+ txs: {
457
+ orderSubmittedTx?: {
458
+ chainId?: string | undefined;
459
+ explorerLink: string;
460
+ txHash?: string | undefined;
461
+ } | undefined;
462
+ orderFilledTx?: {
463
+ chainId?: string | undefined;
464
+ explorerLink: string;
465
+ txHash?: string | undefined;
466
+ } | undefined;
467
+ orderRefundedTx?: {
468
+ chainId?: string | undefined;
469
+ explorerLink: string;
470
+ txHash?: string | undefined;
471
+ } | undefined;
472
+ orderTimeoutTx?: {
473
+ chainId?: string | undefined;
474
+ explorerLink: string;
475
+ txHash?: string | undefined;
476
+ } | undefined;
477
+ };
478
+ errorMessage?: string | undefined;
479
+ } | undefined;
480
+ eurekaTransfer?: {
481
+ fromChainId: string;
482
+ toChainId: string;
483
+ state: TransferState;
484
+ packetTxs: {
485
+ acknowledgeTx?: {
486
+ chainId?: string | undefined;
487
+ explorerLink: string;
488
+ txHash?: string | undefined;
489
+ } | undefined;
490
+ error?: {
491
+ details?: {
492
+ code?: number | undefined;
493
+ message?: string | undefined;
494
+ } | undefined;
495
+ message?: string | undefined;
496
+ type?: PacketErrorType | undefined;
497
+ } | undefined;
498
+ receiveTx?: {
499
+ chainId?: string | undefined;
500
+ explorerLink: string;
501
+ txHash?: string | undefined;
502
+ } | undefined;
503
+ sendTx?: {
504
+ chainId?: string | undefined;
505
+ explorerLink: string;
506
+ txHash?: string | undefined;
507
+ } | undefined;
508
+ timeoutTx?: {
509
+ chainId?: string | undefined;
510
+ explorerLink: string;
511
+ txHash?: string | undefined;
512
+ } | undefined;
513
+ };
514
+ } | undefined;
515
+ layerZeroTransfer?: {
516
+ fromChainId: string;
517
+ toChainId: string;
518
+ state: LayerZeroTransferState;
519
+ txs: {
520
+ sendTx?: {
521
+ chainId?: string | undefined;
522
+ explorerLink: string;
523
+ txHash?: string | undefined;
524
+ } | undefined;
525
+ receiveTx?: {
526
+ chainId?: string | undefined;
527
+ explorerLink: string;
528
+ txHash?: string | undefined;
529
+ } | undefined;
530
+ errorTx?: {
531
+ chainId?: string | undefined;
532
+ explorerLink: string;
533
+ txHash?: string | undefined;
534
+ } | undefined;
535
+ };
536
+ } | undefined;
537
+ }[];
538
+ nextBlockingTransfer?: {
539
+ transferSequenceIndex?: number | undefined;
540
+ } | null | undefined;
541
+ transferAssetRelease?: {
542
+ chainId?: string | undefined;
543
+ denom?: string | undefined;
544
+ amount?: string | undefined;
545
+ released?: boolean | undefined;
546
+ } | undefined;
547
+ error?: {
548
+ details?: {
549
+ code?: number | undefined;
550
+ message?: string | undefined;
551
+ } | undefined;
552
+ message?: string | undefined;
553
+ type?: StatusErrorType | undefined;
554
+ } | null | undefined;
555
+ status?: string | undefined;
556
+ }>;
557
+ type TxStatusResponse = ApiResponse<"getTransactionStatusV2">;
558
+
559
+ export { type TxStatusResponse, transactionStatus };
@@ -1,2 +1,2 @@
1
- export { transactionStatus } from '../chunk-MKEROBAQ.js';
2
- import '../chunk-DUCP65HQ.js';
1
+ export { transactionStatus } from '../chunk-33K6EESX.js';
2
+ import '../chunk-W6TBGBV3.js';
@@ -0,0 +1,6 @@
1
+ type SkipApiOptions = {
2
+ apiUrl?: string;
3
+ apiKey?: string;
4
+ };
5
+
6
+ export type { SkipApiOptions as S };
@@ -0,0 +1,12 @@
1
+ 'use strict';
2
+
3
+ var chunkHAR3IXDE_cjs = require('./chunk-HAR3IXDE.cjs');
4
+
5
+ // src/api/postMessages.ts
6
+ var messages = chunkHAR3IXDE_cjs.api({
7
+ methodName: "getMsgsV2",
8
+ method: "post",
9
+ path: "/v2/fungible/msgs"
10
+ });
11
+
12
+ exports.messages = messages;
@@ -1,4 +1,4 @@
1
- import { pollingApi } from './chunk-DUCP65HQ.js';
1
+ import { pollingApi } from './chunk-W6TBGBV3.js';
2
2
 
3
3
  // src/api/postTransactionStatus.ts
4
4
  var transactionStatus = pollingApi({
@@ -1,5 +1,5 @@
1
- import { chains, findFirstWorkingEndpoint } from './chunk-66DO7NZD.js';
2
- import { ClientState } from './chunk-Y325PIRY.js';
1
+ import { chains, findFirstWorkingEndpoint } from './chunk-JTIHU43D.js';
2
+ import { ClientState } from './chunk-BRMONS6A.js';
3
3
  import { accountFromAny, SigningStargateClient } from '@cosmjs/stargate';
4
4
  import { assertDefinedAndNotNull } from '@cosmjs/utils';
5
5
  import { BinaryWriter, BinaryReader } from 'cosmjs-types/binary';
@@ -0,0 +1,24 @@
1
+ 'use strict';
2
+
3
+ var chunk4R6OCWRR_cjs = require('./chunk-4R6OCWRR.cjs');
4
+ var chunkJ4LI33TK_cjs = require('./chunk-J4LI33TK.cjs');
5
+ var decimal = require('@cosmjs/math/build/decimal');
6
+ var stargate = require('@cosmjs/stargate');
7
+
8
+ var getRecommendedGasPrice = async (props) => {
9
+ const feeInfo = await chunkJ4LI33TK_cjs.getFeeInfoForChain(props);
10
+ if (!feeInfo || !feeInfo.gasPrice) {
11
+ return void 0;
12
+ }
13
+ let price = feeInfo.gasPrice.average;
14
+ if (price === "") {
15
+ price = feeInfo.gasPrice.high;
16
+ }
17
+ if (price === "") {
18
+ price = feeInfo.gasPrice.low;
19
+ }
20
+ if (!price) return;
21
+ return new stargate.GasPrice(decimal.Decimal.fromUserInput(chunk4R6OCWRR_cjs.BigNumber(price).toFixed(), 18), feeInfo.denom);
22
+ };
23
+
24
+ exports.getRecommendedGasPrice = getRecommendedGasPrice;
@@ -1,4 +1,4 @@
1
- import { api } from './chunk-DUCP65HQ.js';
1
+ import { api } from './chunk-W6TBGBV3.js';
2
2
 
3
3
  // src/api/postRecommendAssets.ts
4
4
  var recommendAssets = api({