@skip-go/client 1.0.1 → 1.0.3

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 (103) hide show
  1. package/dist/api/getAssets.cjs +15 -0
  2. package/dist/api/{getAssets.d.ts → getAssets.d.cts} +2 -2
  3. package/dist/api/getAssetsBetweenChains.cjs +11 -0
  4. package/dist/api/{getAssetsBetweenChains.d.ts → getAssetsBetweenChains.d.cts} +2 -2
  5. package/dist/api/getBridges.cjs +11 -0
  6. package/dist/api/{getBridges.d.ts → getBridges.d.cts} +2 -2
  7. package/dist/api/getChains.cjs +11 -0
  8. package/dist/api/{getChains.d.ts → getChains.d.cts} +2 -2
  9. package/dist/api/getVenues.cjs +11 -0
  10. package/dist/api/{getVenues.d.ts → getVenues.d.cts} +1 -1
  11. package/dist/api/postAssetsFromSource.cjs +12 -0
  12. package/dist/api/{postAssetsFromSource.d.ts → postAssetsFromSource.d.cts} +2 -2
  13. package/dist/api/postBalances.cjs +11 -0
  14. package/dist/api/{postBalances.d.ts → postBalances.d.cts} +3 -3
  15. package/dist/api/postIbcOriginAssets.cjs +11 -0
  16. package/dist/api/{postIbcOriginAssets.d.ts → postIbcOriginAssets.d.cts} +1 -1
  17. package/dist/api/postMessages.cjs +11 -0
  18. package/dist/api/{postMessages.d.ts → postMessages.d.cts} +186 -186
  19. package/dist/api/postMessagesDirect.cjs +11 -0
  20. package/dist/api/{postMessagesDirect.d.ts → postMessagesDirect.d.cts} +185 -185
  21. package/dist/api/postRecommendAssets.cjs +11 -0
  22. package/dist/api/{postRecommendAssets.d.ts → postRecommendAssets.d.cts} +2 -2
  23. package/dist/api/postRoute.cjs +11 -0
  24. package/dist/api/{postRoute.d.ts → postRoute.d.cts} +163 -163
  25. package/dist/api/postSubmitTransaction.cjs +11 -0
  26. package/dist/api/{postSubmitTransaction.d.ts → postSubmitTransaction.d.cts} +1 -1
  27. package/dist/api/postTrackTransaction.cjs +11 -0
  28. package/dist/api/{postTrackTransaction.d.ts → postTrackTransaction.d.cts} +1 -1
  29. package/dist/api/postTransactionStatus.cjs +11 -0
  30. package/dist/api/{postTransactionStatus.d.ts → postTransactionStatus.d.cts} +3 -3
  31. package/dist/{chunk-FVSSCQ6C.js → chunk-32MRDO7V.cjs} +2 -2
  32. package/dist/chunk-44PBLFB5.cjs +24 -0
  33. package/dist/{chunk-GFRPLEJR.js → chunk-5IAEEEOQ.cjs} +217 -227
  34. package/dist/{chunk-Z4ZKOUGH.js → chunk-77ITCT75.cjs} +2 -2
  35. package/dist/{chunk-RT5TZAMU.js → chunk-7OIZPQJB.cjs} +101 -138
  36. package/dist/{chunk-CG5CQQBW.js → chunk-7SK3IFXJ.cjs} +32 -36
  37. package/dist/{chunk-2WHYWV4Y.js → chunk-DAMZSSOH.cjs} +2 -2
  38. package/dist/chunk-ED2OY55G.cjs +136 -0
  39. package/dist/chunk-G7BBDZ7C.cjs +1812 -0
  40. package/dist/chunk-HAR3IXDE.cjs +705 -0
  41. package/dist/{chunk-6BTWKTNM.js → chunk-ISHM4QWP.cjs} +4 -4
  42. package/dist/{chunk-4XWIXR2P.js → chunk-J4LI33TK.cjs} +18 -24
  43. package/dist/{chunk-YYNIFO2A.js → chunk-KDN7RCGP.cjs} +2 -2
  44. package/dist/{chunk-KYFTM3PI.js → chunk-L5V5PASH.cjs} +2 -2
  45. package/dist/{chunk-X2E2TKVR.js → chunk-LXYLWTNZ.cjs} +2 -2
  46. package/dist/{chunk-ZG23Z3WY.js → chunk-PNWIJSMA.cjs} +2 -2
  47. package/dist/{chunk-RE2QZJWE.js → chunk-RDOSNDAQ.cjs} +2 -2
  48. package/dist/chunk-SFMBRLUS.cjs +18 -0
  49. package/dist/{chunk-X2YPYBVN.js → chunk-SW3SEQMJ.cjs} +25 -30
  50. package/dist/{chunk-LRIPQQ4M.js → chunk-URLFWBSC.cjs} +2 -2
  51. package/dist/{chunk-5ZJBR5AQ.js → chunk-VI7UMBQ7.cjs} +2 -2
  52. package/dist/{chunk-PKPZTO4H.js → chunk-ZNXE6PUV.cjs} +9 -10
  53. package/dist/{client-types-CxjtffyG.d.ts → client-types-qvyKvyFh.d.cts} +1 -1
  54. package/dist/{executeRoute-BKvMVd1I.d.ts → executeRoute-BKRpODCc.d.cts} +3 -3
  55. package/dist/{generateApi-DqCp36fX.d.ts → generateApi-C0amiydg.d.cts} +1 -1
  56. package/dist/index.cjs +209 -0
  57. package/dist/{index.d.ts → index.d.cts} +25 -27
  58. package/dist/public-functions/executeRoute.cjs +21 -0
  59. package/dist/public-functions/{executeRoute.d.ts → executeRoute.d.cts} +4 -4
  60. package/dist/public-functions/getFeeInfoForChain.cjs +14 -0
  61. package/dist/public-functions/{getFeeInfoForChain.d.ts → getFeeInfoForChain.d.cts} +2 -2
  62. package/dist/public-functions/getRecommendedGasPrice.cjs +16 -0
  63. package/dist/public-functions/{getRecommendedGasPrice.d.ts → getRecommendedGasPrice.d.cts} +2 -2
  64. package/dist/public-functions/getSigningStargateClient.cjs +13 -0
  65. package/dist/public-functions/{getSigningStargateClient.d.ts → getSigningStargateClient.d.cts} +1 -1
  66. package/dist/public-functions/setApiOptions.cjs +11 -0
  67. package/dist/public-functions/{setApiOptions.d.ts → setApiOptions.d.cts} +2 -2
  68. package/dist/public-functions/setClientOptions.cjs +13 -0
  69. package/dist/public-functions/setClientOptions.d.cts +9 -0
  70. package/dist/{setClientOptions-DbanEIwL.d.ts → setClientOptions-CT6CHI9I.d.cts} +2 -2
  71. package/package.json +12 -3
  72. package/dist/api/getAssets.js +0 -15
  73. package/dist/api/getAssetsBetweenChains.js +0 -11
  74. package/dist/api/getBridges.js +0 -11
  75. package/dist/api/getChains.js +0 -11
  76. package/dist/api/getVenues.js +0 -11
  77. package/dist/api/postAssetsFromSource.js +0 -12
  78. package/dist/api/postBalances.js +0 -11
  79. package/dist/api/postIbcOriginAssets.js +0 -11
  80. package/dist/api/postMessages.js +0 -11
  81. package/dist/api/postMessagesDirect.js +0 -11
  82. package/dist/api/postRecommendAssets.js +0 -11
  83. package/dist/api/postRoute.js +0 -11
  84. package/dist/api/postSubmitTransaction.js +0 -11
  85. package/dist/api/postTrackTransaction.js +0 -11
  86. package/dist/api/postTransactionStatus.js +0 -11
  87. package/dist/chunk-5KVRQLI5.js +0 -17
  88. package/dist/chunk-6GJEXV5J.js +0 -130
  89. package/dist/chunk-ASPVKNJ7.js +0 -242
  90. package/dist/chunk-EQLA2SEZ.js +0 -2361
  91. package/dist/chunk-L2Q5RP6O.js +0 -25
  92. package/dist/index.js +0 -209
  93. package/dist/public-functions/executeRoute.js +0 -21
  94. package/dist/public-functions/getFeeInfoForChain.js +0 -14
  95. package/dist/public-functions/getRecommendedGasPrice.js +0 -16
  96. package/dist/public-functions/getSigningStargateClient.js +0 -13
  97. package/dist/public-functions/setApiOptions.js +0 -11
  98. package/dist/public-functions/setClientOptions.d.ts +0 -9
  99. package/dist/public-functions/setClientOptions.js +0 -13
  100. /package/dist/{apiState-CdzxTxYd.d.ts → apiState-CdzxTxYd.d.cts} +0 -0
  101. /package/dist/{chunk-VQ5SIQWU.js → chunk-4R6OCWRR.cjs} +0 -0
  102. /package/dist/{chunk-SWYON2RG.js → chunk-KZOSEIWH.cjs} +0 -0
  103. /package/dist/{swaggerTypes-O9-gvCT1.d.ts → swaggerTypes-O9-gvCT1.d.cts} +0 -0
@@ -1,6 +1,6 @@
1
- import { I as BridgeType, ao as RoutePriceWarningType, b2 as FeeType } from '../swaggerTypes-O9-gvCT1.js';
2
- import { S as SkipApiOptions } from '../apiState-CdzxTxYd.js';
3
- import { A as ApiRequest } from '../generateApi-DqCp36fX.js';
1
+ import { I as BridgeType, ao as RoutePriceWarningType, b2 as FeeType } from '../swaggerTypes-O9-gvCT1.cjs';
2
+ import { S as SkipApiOptions } from '../apiState-CdzxTxYd.cjs';
3
+ import { A as ApiRequest } from '../generateApi-C0amiydg.cjs';
4
4
 
5
5
  declare const route: (request: RouteRequest) => Promise<{
6
6
  amountIn: string;
@@ -12,6 +12,128 @@ declare const route: (request: RouteRequest) => Promise<{
12
12
  doesSwap?: boolean | undefined;
13
13
  estimatedAmountOut: string;
14
14
  operations: ({
15
+ transfer?: {
16
+ fromChainId?: string | undefined;
17
+ toChainId?: string | undefined;
18
+ channel?: string | undefined;
19
+ destDenom?: string | undefined;
20
+ pfmEnabled?: boolean | undefined;
21
+ port?: string | undefined;
22
+ supportsMemo?: boolean | undefined;
23
+ denomIn?: string | undefined;
24
+ denomOut?: string | undefined;
25
+ feeAmount?: string | undefined;
26
+ usdFeeAmount?: string | undefined;
27
+ feeAsset?: {
28
+ chainId: string;
29
+ coingeckoId?: string | undefined;
30
+ decimals?: number | undefined;
31
+ denom: string;
32
+ description?: string | undefined;
33
+ isCw20: boolean;
34
+ isEvm: boolean;
35
+ isSvm: boolean;
36
+ logoUri?: string | undefined;
37
+ name?: string | undefined;
38
+ originChainId: string;
39
+ originDenom: string;
40
+ recommendedSymbol?: string | undefined;
41
+ symbol?: string | undefined;
42
+ tokenContract?: string | undefined;
43
+ trace: string;
44
+ } | undefined;
45
+ bridgeId?: BridgeType | undefined;
46
+ smartRelay?: boolean | undefined;
47
+ } | undefined;
48
+ txIndex: number;
49
+ amountIn: string;
50
+ amountOut: string;
51
+ } | {
52
+ swap?: {
53
+ swapIn?: {
54
+ swapAmountIn?: string | undefined;
55
+ swapOperations?: {
56
+ denomIn?: string | undefined;
57
+ denomOut?: string | undefined;
58
+ pool?: string | undefined;
59
+ interface?: string | undefined;
60
+ }[] | undefined;
61
+ swapVenue?: {
62
+ chainId?: string | undefined;
63
+ name?: string | undefined;
64
+ logoUri?: string | undefined;
65
+ } | undefined;
66
+ priceImpactPercent?: string | undefined;
67
+ } | undefined;
68
+ estimatedAffiliateFee?: string | undefined;
69
+ chainId?: string | undefined;
70
+ fromChainId?: string | undefined;
71
+ denomIn?: string | undefined;
72
+ denomOut?: string | undefined;
73
+ swapVenues?: {
74
+ chainId?: string | undefined;
75
+ name?: string | undefined;
76
+ logoUri?: string | undefined;
77
+ }[] | undefined;
78
+ } | {
79
+ swapOut?: {
80
+ swapAmountOut?: string | undefined;
81
+ swapOperations?: {
82
+ denomIn?: string | undefined;
83
+ denomOut?: string | undefined;
84
+ pool?: string | undefined;
85
+ interface?: string | undefined;
86
+ }[] | undefined;
87
+ swapVenue?: {
88
+ chainId?: string | undefined;
89
+ name?: string | undefined;
90
+ logoUri?: string | undefined;
91
+ } | undefined;
92
+ priceImpactPercent?: string | undefined;
93
+ } | undefined;
94
+ estimatedAffiliateFee?: string | undefined;
95
+ chainId?: string | undefined;
96
+ fromChainId?: string | undefined;
97
+ denomIn?: string | undefined;
98
+ denomOut?: string | undefined;
99
+ swapVenues?: {
100
+ chainId?: string | undefined;
101
+ name?: string | undefined;
102
+ logoUri?: string | undefined;
103
+ }[] | undefined;
104
+ } | {
105
+ smartSwapIn?: {
106
+ swapVenue?: {
107
+ chainId?: string | undefined;
108
+ name?: string | undefined;
109
+ logoUri?: string | undefined;
110
+ } | undefined;
111
+ swapRoutes?: {
112
+ swapAmountIn?: string | undefined;
113
+ denomIn?: string | undefined;
114
+ swapOperations?: {
115
+ denomIn?: string | undefined;
116
+ denomOut?: string | undefined;
117
+ pool?: string | undefined;
118
+ interface?: string | undefined;
119
+ }[] | undefined;
120
+ }[] | undefined;
121
+ } | undefined;
122
+ estimatedAffiliateFee?: string | undefined;
123
+ chainId?: string | undefined;
124
+ fromChainId?: string | undefined;
125
+ denomIn?: string | undefined;
126
+ denomOut?: string | undefined;
127
+ swapVenues?: {
128
+ chainId?: string | undefined;
129
+ name?: string | undefined;
130
+ logoUri?: string | undefined;
131
+ }[] | undefined;
132
+ } | undefined;
133
+ txIndex: number;
134
+ amountIn: string;
135
+ amountOut: string;
136
+ } | {
15
137
  axelarTransfer?: {
16
138
  asset?: string | undefined;
17
139
  feeAmount?: string | undefined;
@@ -81,6 +203,14 @@ declare const route: (request: RouteRequest) => Promise<{
81
203
  txIndex: number;
82
204
  amountIn: string;
83
205
  amountOut: string;
206
+ } | {
207
+ bankSend?: {
208
+ chainId?: string | undefined;
209
+ denom?: string | undefined;
210
+ } | undefined;
211
+ txIndex: number;
212
+ amountIn: string;
213
+ amountOut: string;
84
214
  } | {
85
215
  cctpTransfer?: {
86
216
  fromChainId?: string | undefined;
@@ -102,35 +232,14 @@ declare const route: (request: RouteRequest) => Promise<{
102
232
  amountIn: string;
103
233
  amountOut: string;
104
234
  } | {
105
- stargateTransfer?: {
235
+ hyperlaneTransfer?: {
106
236
  fromChainId?: string | undefined;
107
237
  toChainId?: string | undefined;
108
238
  denomIn?: string | undefined;
109
239
  denomOut?: string | undefined;
110
- bridgeId?: BridgeType | undefined;
111
- poolAddress?: string | undefined;
112
- destinationEndpointId?: number | undefined;
113
- oftFeeAsset?: {
114
- chainId: string;
115
- coingeckoId?: string | undefined;
116
- decimals?: number | undefined;
117
- denom: string;
118
- description?: string | undefined;
119
- isCw20: boolean;
120
- isEvm: boolean;
121
- isSvm: boolean;
122
- logoUri?: string | undefined;
123
- name?: string | undefined;
124
- originChainId: string;
125
- originDenom: string;
126
- recommendedSymbol?: string | undefined;
127
- symbol?: string | undefined;
128
- tokenContract?: string | undefined;
129
- trace: string;
130
- } | undefined;
131
- oftFeeAmount?: string | undefined;
132
- oftFeeAmountUsd?: string | undefined;
133
- messagingFeeAsset?: {
240
+ hyperlaneContractAddress?: string | undefined;
241
+ feeAmount?: string | undefined;
242
+ feeAsset?: {
134
243
  chainId: string;
135
244
  coingeckoId?: string | undefined;
136
245
  decimals?: number | undefined;
@@ -148,16 +257,9 @@ declare const route: (request: RouteRequest) => Promise<{
148
257
  tokenContract?: string | undefined;
149
258
  trace: string;
150
259
  } | undefined;
151
- messagingFeeAmount?: string | undefined;
152
- messageingFeeAmountUsd?: string | undefined;
153
- } | undefined;
154
- txIndex: number;
155
- amountIn: string;
156
- amountOut: string;
157
- } | {
158
- bankSend?: {
159
- chainId?: string | undefined;
160
- denom?: string | undefined;
260
+ usdFeeAmount?: string | undefined;
261
+ bridgeId?: BridgeType | undefined;
262
+ smartRelay?: boolean | undefined;
161
263
  } | undefined;
162
264
  txIndex: number;
163
265
  amountIn: string;
@@ -181,14 +283,28 @@ declare const route: (request: RouteRequest) => Promise<{
181
283
  amountIn: string;
182
284
  amountOut: string;
183
285
  } | {
184
- hyperlaneTransfer?: {
286
+ transfer?: {
185
287
  fromChainId?: string | undefined;
186
288
  toChainId?: string | undefined;
187
289
  denomIn?: string | undefined;
188
290
  denomOut?: string | undefined;
189
- hyperlaneContractAddress?: string | undefined;
190
- feeAmount?: string | undefined;
191
- feeAsset?: {
291
+ opInitBridgeId?: any;
292
+ bridgeId?: BridgeType | undefined;
293
+ smartRelay?: boolean | undefined;
294
+ } | undefined;
295
+ txIndex: number;
296
+ amountIn: string;
297
+ amountOut: string;
298
+ } | {
299
+ stargateTransfer?: {
300
+ fromChainId?: string | undefined;
301
+ toChainId?: string | undefined;
302
+ denomIn?: string | undefined;
303
+ denomOut?: string | undefined;
304
+ bridgeId?: BridgeType | undefined;
305
+ poolAddress?: string | undefined;
306
+ destinationEndpointId?: number | undefined;
307
+ oftFeeAsset?: {
192
308
  chainId: string;
193
309
  coingeckoId?: string | undefined;
194
310
  decimals?: number | undefined;
@@ -206,27 +322,9 @@ declare const route: (request: RouteRequest) => Promise<{
206
322
  tokenContract?: string | undefined;
207
323
  trace: string;
208
324
  } | undefined;
209
- usdFeeAmount?: string | undefined;
210
- bridgeId?: BridgeType | undefined;
211
- smartRelay?: boolean | undefined;
212
- } | undefined;
213
- txIndex: number;
214
- amountIn: string;
215
- amountOut: string;
216
- } | {
217
- transfer?: {
218
- fromChainId?: string | undefined;
219
- toChainId?: string | undefined;
220
- channel?: string | undefined;
221
- destDenom?: string | undefined;
222
- pfmEnabled?: boolean | undefined;
223
- port?: string | undefined;
224
- supportsMemo?: boolean | undefined;
225
- denomIn?: string | undefined;
226
- denomOut?: string | undefined;
227
- feeAmount?: string | undefined;
228
- usdFeeAmount?: string | undefined;
229
- feeAsset?: {
325
+ oftFeeAmount?: string | undefined;
326
+ oftFeeAmountUsd?: string | undefined;
327
+ messagingFeeAsset?: {
230
328
  chainId: string;
231
329
  coingeckoId?: string | undefined;
232
330
  decimals?: number | undefined;
@@ -244,106 +342,8 @@ declare const route: (request: RouteRequest) => Promise<{
244
342
  tokenContract?: string | undefined;
245
343
  trace: string;
246
344
  } | undefined;
247
- bridgeId?: BridgeType | undefined;
248
- smartRelay?: boolean | undefined;
249
- } | undefined;
250
- txIndex: number;
251
- amountIn: string;
252
- amountOut: string;
253
- } | {
254
- swap?: {
255
- swapIn?: {
256
- swapAmountIn?: string | undefined;
257
- swapOperations?: {
258
- denomIn?: string | undefined;
259
- denomOut?: string | undefined;
260
- pool?: string | undefined;
261
- interface?: string | undefined;
262
- }[] | undefined;
263
- swapVenue?: {
264
- chainId?: string | undefined;
265
- name?: string | undefined;
266
- logoUri?: string | undefined;
267
- } | undefined;
268
- priceImpactPercent?: string | undefined;
269
- } | undefined;
270
- estimatedAffiliateFee?: string | undefined;
271
- chainId?: string | undefined;
272
- fromChainId?: string | undefined;
273
- denomIn?: string | undefined;
274
- denomOut?: string | undefined;
275
- swapVenues?: {
276
- chainId?: string | undefined;
277
- name?: string | undefined;
278
- logoUri?: string | undefined;
279
- }[] | undefined;
280
- } | {
281
- swapOut?: {
282
- swapAmountOut?: string | undefined;
283
- swapOperations?: {
284
- denomIn?: string | undefined;
285
- denomOut?: string | undefined;
286
- pool?: string | undefined;
287
- interface?: string | undefined;
288
- }[] | undefined;
289
- swapVenue?: {
290
- chainId?: string | undefined;
291
- name?: string | undefined;
292
- logoUri?: string | undefined;
293
- } | undefined;
294
- priceImpactPercent?: string | undefined;
295
- } | undefined;
296
- estimatedAffiliateFee?: string | undefined;
297
- chainId?: string | undefined;
298
- fromChainId?: string | undefined;
299
- denomIn?: string | undefined;
300
- denomOut?: string | undefined;
301
- swapVenues?: {
302
- chainId?: string | undefined;
303
- name?: string | undefined;
304
- logoUri?: string | undefined;
305
- }[] | undefined;
306
- } | {
307
- smartSwapIn?: {
308
- swapVenue?: {
309
- chainId?: string | undefined;
310
- name?: string | undefined;
311
- logoUri?: string | undefined;
312
- } | undefined;
313
- swapRoutes?: {
314
- swapAmountIn?: string | undefined;
315
- denomIn?: string | undefined;
316
- swapOperations?: {
317
- denomIn?: string | undefined;
318
- denomOut?: string | undefined;
319
- pool?: string | undefined;
320
- interface?: string | undefined;
321
- }[] | undefined;
322
- }[] | undefined;
323
- } | undefined;
324
- estimatedAffiliateFee?: string | undefined;
325
- chainId?: string | undefined;
326
- fromChainId?: string | undefined;
327
- denomIn?: string | undefined;
328
- denomOut?: string | undefined;
329
- swapVenues?: {
330
- chainId?: string | undefined;
331
- name?: string | undefined;
332
- logoUri?: string | undefined;
333
- }[] | undefined;
334
- } | undefined;
335
- txIndex: number;
336
- amountIn: string;
337
- amountOut: string;
338
- } | {
339
- transfer?: {
340
- fromChainId?: string | undefined;
341
- toChainId?: string | undefined;
342
- denomIn?: string | undefined;
343
- denomOut?: string | undefined;
344
- opInitBridgeId?: any;
345
- bridgeId?: BridgeType | undefined;
346
- smartRelay?: boolean | undefined;
345
+ messagingFeeAmount?: string | undefined;
346
+ messageingFeeAmountUsd?: string | undefined;
347
347
  } | undefined;
348
348
  txIndex: number;
349
349
  amountIn: string;
@@ -0,0 +1,11 @@
1
+ 'use strict';
2
+
3
+ var chunkL5V5PASH_cjs = require('../chunk-L5V5PASH.cjs');
4
+ require('../chunk-HAR3IXDE.cjs');
5
+
6
+
7
+
8
+ Object.defineProperty(exports, "submitTransaction", {
9
+ enumerable: true,
10
+ get: function () { return chunkL5V5PASH_cjs.submitTransaction; }
11
+ });
@@ -1,4 +1,4 @@
1
- import { S as SkipApiOptions } from '../apiState-CdzxTxYd.js';
1
+ import { S as SkipApiOptions } from '../apiState-CdzxTxYd.cjs';
2
2
 
3
3
  declare const submitTransaction: (options?: ({
4
4
  tx?: string | undefined;
@@ -0,0 +1,11 @@
1
+ 'use strict';
2
+
3
+ var chunkKDN7RCGP_cjs = require('../chunk-KDN7RCGP.cjs');
4
+ require('../chunk-HAR3IXDE.cjs');
5
+
6
+
7
+
8
+ Object.defineProperty(exports, "trackTransaction", {
9
+ enumerable: true,
10
+ get: function () { return chunkKDN7RCGP_cjs.trackTransaction; }
11
+ });
@@ -1,4 +1,4 @@
1
- import { S as SkipApiOptions } from '../apiState-CdzxTxYd.js';
1
+ import { S as SkipApiOptions } from '../apiState-CdzxTxYd.cjs';
2
2
 
3
3
  declare const trackTransaction: (params?: ({
4
4
  txHash: string;
@@ -0,0 +1,11 @@
1
+ 'use strict';
2
+
3
+ var chunkDAMZSSOH_cjs = require('../chunk-DAMZSSOH.cjs');
4
+ require('../chunk-HAR3IXDE.cjs');
5
+
6
+
7
+
8
+ Object.defineProperty(exports, "transactionStatus", {
9
+ enumerable: true,
10
+ get: function () { return chunkDAMZSSOH_cjs.transactionStatus; }
11
+ });
@@ -1,6 +1,6 @@
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.js';
2
- import { S as SkipApiOptions } from '../apiState-CdzxTxYd.js';
3
- import { a as ApiResponse } from '../generateApi-DqCp36fX.js';
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
4
 
5
5
  declare const transactionStatus: (params?: ({
6
6
  txHash: string;
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
- var chunkASPVKNJ7_js = require('./chunk-ASPVKNJ7.js');
3
+ var chunkHAR3IXDE_cjs = require('./chunk-HAR3IXDE.cjs');
4
4
 
5
5
  // src/api/postMessages.ts
6
- var messages = chunkASPVKNJ7_js.api({
6
+ var messages = chunkHAR3IXDE_cjs.api({
7
7
  methodName: "getMsgsV2",
8
8
  method: "post",
9
9
  path: "/v2/fungible/msgs"
@@ -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;