@skip-go/client 1.6.0-alpha.3 → 1.6.0-alpha.4

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 (158) hide show
  1. package/dist/cjs/api/getAssets.cjs +16 -0
  2. package/dist/cjs/api/getAssetsBetweenChains.cjs +12 -0
  3. package/dist/cjs/api/getBridges.cjs +12 -0
  4. package/dist/cjs/api/getChains.cjs +12 -0
  5. package/dist/cjs/api/getVenues.cjs +12 -0
  6. package/dist/cjs/api/postAssetsFromSource.cjs +13 -0
  7. package/dist/cjs/api/postBalances.cjs +12 -0
  8. package/dist/cjs/api/postIbcOriginAssets.cjs +12 -0
  9. package/dist/cjs/api/postMessages.cjs +12 -0
  10. package/dist/cjs/api/postMessagesDirect.cjs +12 -0
  11. package/dist/cjs/api/postRecommendAssets.cjs +12 -0
  12. package/dist/cjs/api/postRoute.cjs +12 -0
  13. package/dist/cjs/api/postSubmitTransaction.cjs +12 -0
  14. package/dist/cjs/api/postTrackTransaction.cjs +12 -0
  15. package/dist/cjs/api/postTransactionStatus.cjs +12 -0
  16. package/dist/cjs/chunk-25TA7Z7R.cjs +460 -0
  17. package/dist/cjs/chunk-2QPPD3BB.cjs +210 -0
  18. package/dist/cjs/chunk-2SA3OAIJ.cjs +18 -0
  19. package/dist/cjs/chunk-3KO2DHFX.cjs +1495 -0
  20. package/dist/cjs/chunk-477CU2G2.cjs +280 -0
  21. package/dist/cjs/chunk-4BWE7SOV.cjs +68 -0
  22. package/dist/cjs/chunk-4GHUZDDP.cjs +16 -0
  23. package/dist/cjs/chunk-4ZIVDKQN.cjs +387 -0
  24. package/dist/cjs/chunk-6T4SBY5H.cjs +214 -0
  25. package/dist/cjs/chunk-A3UNNRKD.cjs +574 -0
  26. package/dist/cjs/chunk-A5S6SIYN.cjs +12 -0
  27. package/dist/cjs/chunk-ASDMDYTC.cjs +11 -0
  28. package/dist/cjs/chunk-ATW6UNT5.cjs +136 -0
  29. package/dist/cjs/chunk-AUTOIM57.cjs +22 -0
  30. package/dist/cjs/chunk-AVWWCQ5P.cjs +2264 -0
  31. package/dist/cjs/chunk-CIZTNJ3K.cjs +24 -0
  32. package/dist/cjs/chunk-CK6CQWQU.cjs +49 -0
  33. package/dist/cjs/chunk-EAZQ2ECA.cjs +185 -0
  34. package/dist/cjs/chunk-F3EB2AQG.cjs +28 -0
  35. package/dist/cjs/chunk-FCTBCHOT.cjs +12 -0
  36. package/dist/cjs/chunk-IJIBMN2F.cjs +12 -0
  37. package/dist/cjs/chunk-IUMMXFGP.cjs +189 -0
  38. package/dist/cjs/chunk-JRXPJ45U.cjs +12 -0
  39. package/dist/cjs/chunk-LJV45UGL.cjs +582 -0
  40. package/dist/cjs/chunk-MUJBB64F.cjs +291 -0
  41. package/dist/cjs/chunk-NCFH5MGF.cjs +39 -0
  42. package/dist/cjs/chunk-NM4PISTQ.cjs +3359 -0
  43. package/dist/cjs/chunk-OJISEAMX.cjs +13 -0
  44. package/dist/cjs/chunk-OVKHTOBP.cjs +99 -0
  45. package/dist/cjs/chunk-PDNKS5R2.cjs +13 -0
  46. package/dist/cjs/chunk-TELXDMYL.cjs +55 -0
  47. package/dist/cjs/chunk-UXW4XVHF.cjs +15 -0
  48. package/dist/cjs/index.cjs +349 -0
  49. package/dist/cjs/public-functions/executeMultipleRoutes.cjs +27 -0
  50. package/dist/cjs/public-functions/executeRoute.cjs +27 -0
  51. package/dist/cjs/public-functions/getCosmosGasAmountForMessage.cjs +16 -0
  52. package/dist/cjs/public-functions/getEvmGasAmountForMessage.cjs +11 -0
  53. package/dist/cjs/public-functions/getFeeInfoForChain.cjs +14 -0
  54. package/dist/cjs/public-functions/getRecommendedGasPrice.cjs +15 -0
  55. package/dist/cjs/public-functions/getRouteWithGasOnReceive.cjs +41 -0
  56. package/dist/cjs/public-functions/getSigningStargateClient.cjs +15 -0
  57. package/dist/cjs/public-functions/setApiOptions.cjs +12 -0
  58. package/dist/cjs/public-functions/setClientOptions.cjs +16 -0
  59. package/dist/cjs/public-functions/subscribeToRouteStatus.cjs +26 -0
  60. package/dist/cjs/public-functions/validateCosmosGasBalance.cjs +18 -0
  61. package/dist/cjs/public-functions/waitForTransaction.cjs +18 -0
  62. package/dist/esm/api/getAssets.d.ts +19 -0
  63. package/dist/esm/api/getAssets.js +3 -0
  64. package/dist/esm/api/getAssetsBetweenChains.d.ts +56 -0
  65. package/dist/esm/api/getAssetsBetweenChains.js +3 -0
  66. package/dist/esm/api/getBridges.d.ts +55 -0
  67. package/dist/esm/api/getBridges.js +3 -0
  68. package/dist/esm/api/getChains.d.ts +41 -0
  69. package/dist/esm/api/getChains.js +3 -0
  70. package/dist/esm/api/getVenues.d.ts +13 -0
  71. package/dist/esm/api/getVenues.js +3 -0
  72. package/dist/esm/api/postAssetsFromSource.d.ts +22 -0
  73. package/dist/esm/api/postAssetsFromSource.js +4 -0
  74. package/dist/esm/api/postBalances.d.ts +35 -0
  75. package/dist/esm/api/postBalances.js +3 -0
  76. package/dist/esm/api/postIbcOriginAssets.d.ts +32 -0
  77. package/dist/esm/api/postIbcOriginAssets.js +3 -0
  78. package/dist/esm/api/postMessages.d.ts +101 -0
  79. package/dist/esm/api/postMessages.js +3 -0
  80. package/dist/esm/api/postMessagesDirect.d.ts +640 -0
  81. package/dist/esm/api/postMessagesDirect.js +3 -0
  82. package/dist/esm/api/postRecommendAssets.d.ts +40 -0
  83. package/dist/esm/api/postRecommendAssets.js +3 -0
  84. package/dist/esm/api/postRoute.d.ts +530 -0
  85. package/dist/esm/api/postRoute.js +3 -0
  86. package/dist/esm/api/postSubmitTransaction.d.ts +17 -0
  87. package/dist/esm/api/postSubmitTransaction.js +3 -0
  88. package/dist/esm/api/postTrackTransaction.d.ts +12 -0
  89. package/dist/esm/api/postTrackTransaction.js +3 -0
  90. package/dist/esm/api/postTransactionStatus.d.ts +639 -0
  91. package/dist/esm/api/postTransactionStatus.js +3 -0
  92. package/dist/esm/apiState-1VvikVK-.d.ts +8 -0
  93. package/dist/esm/callbacks-DdC6QMlE.d.ts +158 -0
  94. package/dist/esm/chunk-3DIX6KRJ.js +566 -0
  95. package/dist/esm/chunk-3JHLVPRG.js +10 -0
  96. package/dist/esm/chunk-5WYMRZIO.js +97 -0
  97. package/dist/esm/chunk-A5NZMSTI.js +10 -0
  98. package/dist/esm/chunk-BU5RCZQH.js +187 -0
  99. package/dist/esm/chunk-CGJRRAFS.js +22 -0
  100. package/dist/esm/chunk-DMJMN4J3.js +379 -0
  101. package/dist/esm/chunk-E4NRDAVO.js +65 -0
  102. package/dist/esm/chunk-ETBJVFQP.js +10 -0
  103. package/dist/esm/chunk-F2LQB2DP.js +3323 -0
  104. package/dist/esm/chunk-F66EKL3W.js +203 -0
  105. package/dist/esm/chunk-G665WTT3.js +212 -0
  106. package/dist/esm/chunk-GPEO2I4P.js +272 -0
  107. package/dist/esm/chunk-GV2QOWB4.js +26 -0
  108. package/dist/esm/chunk-GZJLX2CP.js +2258 -0
  109. package/dist/esm/chunk-HNU2Y3JI.js +13 -0
  110. package/dist/esm/chunk-IZUHXTBP.js +53 -0
  111. package/dist/esm/chunk-J24LYWJE.js +130 -0
  112. package/dist/esm/chunk-KZKAL5ZN.js +16 -0
  113. package/dist/esm/chunk-N4PTRCNT.js +11 -0
  114. package/dist/esm/chunk-NUHMTWHP.js +180 -0
  115. package/dist/esm/chunk-P36PE4CR.js +37 -0
  116. package/dist/esm/chunk-QYXGDTUU.js +47 -0
  117. package/dist/esm/chunk-RH7PDDI5.js +433 -0
  118. package/dist/esm/chunk-RTDD7HZ3.js +275 -0
  119. package/dist/esm/chunk-SXBG57J3.js +20 -0
  120. package/dist/esm/chunk-TGTOO2ZQ.js +14 -0
  121. package/dist/esm/chunk-UHCKOKBM.js +9 -0
  122. package/dist/esm/chunk-ULUX2CVU.js +557 -0
  123. package/dist/esm/chunk-UN46DUOV.js +11 -0
  124. package/dist/esm/chunk-XIVAEU6S.js +1492 -0
  125. package/dist/esm/chunk-XNU3TKKM.js +10 -0
  126. package/dist/esm/client-types-D03Tellv.d.ts +114 -0
  127. package/dist/esm/generateApi-Bv02Xt5y.d.ts +56 -0
  128. package/dist/esm/index.d.ts +1859 -0
  129. package/dist/esm/index.js +32 -0
  130. package/dist/esm/public-functions/executeMultipleRoutes.d.ts +80 -0
  131. package/dist/esm/public-functions/executeMultipleRoutes.js +18 -0
  132. package/dist/esm/public-functions/executeRoute.d.ts +12 -0
  133. package/dist/esm/public-functions/executeRoute.js +18 -0
  134. package/dist/esm/public-functions/getCosmosGasAmountForMessage.d.ts +8 -0
  135. package/dist/esm/public-functions/getCosmosGasAmountForMessage.js +3 -0
  136. package/dist/esm/public-functions/getEvmGasAmountForMessage.d.ts +14 -0
  137. package/dist/esm/public-functions/getEvmGasAmountForMessage.js +2 -0
  138. package/dist/esm/public-functions/getFeeInfoForChain.d.ts +9 -0
  139. package/dist/esm/public-functions/getFeeInfoForChain.js +5 -0
  140. package/dist/esm/public-functions/getRecommendedGasPrice.d.ts +9 -0
  141. package/dist/esm/public-functions/getRecommendedGasPrice.js +6 -0
  142. package/dist/esm/public-functions/getRouteWithGasOnReceive.d.ts +20 -0
  143. package/dist/esm/public-functions/getRouteWithGasOnReceive.js +32 -0
  144. package/dist/esm/public-functions/getSigningStargateClient.d.ts +13 -0
  145. package/dist/esm/public-functions/getSigningStargateClient.js +6 -0
  146. package/dist/esm/public-functions/setApiOptions.d.ts +9 -0
  147. package/dist/esm/public-functions/setApiOptions.js +3 -0
  148. package/dist/esm/public-functions/setClientOptions.d.ts +11 -0
  149. package/dist/esm/public-functions/setClientOptions.js +7 -0
  150. package/dist/esm/public-functions/subscribeToRouteStatus.d.ts +12 -0
  151. package/dist/esm/public-functions/subscribeToRouteStatus.js +5 -0
  152. package/dist/esm/public-functions/validateCosmosGasBalance.d.ts +44 -0
  153. package/dist/esm/public-functions/validateCosmosGasBalance.js +9 -0
  154. package/dist/esm/public-functions/waitForTransaction.d.ts +1279 -0
  155. package/dist/esm/public-functions/waitForTransaction.js +5 -0
  156. package/dist/esm/setClientOptions-CTwe8YVX.d.ts +76 -0
  157. package/dist/esm/swaggerTypes-CzGbnX_b.d.ts +2067 -0
  158. package/package.json +1 -1
@@ -0,0 +1,1279 @@
1
+ import { b as TransactionState, P as PacketErrorType, T as TransferState, h as AxelarTransferState, C as ContractCallWithTokenErrorType, c as SendTokenErrorType, A as AxelarTransferType, g as CCTPTransferState, H as HyperlaneTransferState, O as OPInitTransferState, f as StargateTransferState, G as GoFastTransferState, L as LayerZeroTransferState, S as StatusErrorType } from '../swaggerTypes-CzGbnX_b.js';
2
+ import { h as TransactionCallbacks } from '../callbacks-DdC6QMlE.js';
3
+ import { T as TxResult } from '../client-types-D03Tellv.js';
4
+ import { TxStatusResponse } from '../api/postTransactionStatus.js';
5
+ import '../generateApi-Bv02Xt5y.js';
6
+ import '@cosmjs/amino';
7
+ import '@cosmjs/proto-signing';
8
+ import '@cosmjs/stargate';
9
+ import 'viem';
10
+ import '@solana/wallet-adapter-base';
11
+ import '../api/postTrackTransaction.js';
12
+ import '../apiState-1VvikVK-.js';
13
+
14
+ type WaitForTransactionProps = TxResult & {
15
+ onTransactionTracked?: TransactionCallbacks["onTransactionTracked"];
16
+ doNotTrack?: boolean;
17
+ onStatusUpdated?: (status: TxStatusResponse) => void;
18
+ onError?: (error: Error) => void;
19
+ isCancelled?: () => boolean;
20
+ };
21
+ declare const waitForTransaction: ({ chainId, txHash, explorerLink, doNotTrack, onStatusUpdated, onError, onTransactionTracked, isCancelled, ...trackTxPollingOptions }: WaitForTransactionProps) => Promise<{
22
+ transfers?: {
23
+ state?: TransactionState | undefined;
24
+ transferSequence?: {
25
+ ibcTransfer?: {
26
+ toChainId: string;
27
+ packetTxs: {
28
+ acknowledgeTx?: {
29
+ chainId?: string | undefined;
30
+ explorerLink: string;
31
+ txHash?: string | undefined;
32
+ onChainAt?: string | undefined;
33
+ } | undefined;
34
+ error?: {
35
+ details?: {
36
+ code?: number | undefined;
37
+ message?: string | undefined;
38
+ } | undefined;
39
+ message?: string | undefined;
40
+ type?: PacketErrorType | undefined;
41
+ } | undefined;
42
+ receiveTx?: {
43
+ chainId?: string | undefined;
44
+ explorerLink: string;
45
+ txHash?: string | undefined;
46
+ onChainAt?: string | undefined;
47
+ } | undefined;
48
+ sendTx?: {
49
+ chainId?: string | undefined;
50
+ explorerLink: string;
51
+ txHash?: string | undefined;
52
+ onChainAt?: string | undefined;
53
+ } | undefined;
54
+ timeoutTx?: {
55
+ chainId?: string | undefined;
56
+ explorerLink: string;
57
+ txHash?: string | undefined;
58
+ onChainAt?: string | undefined;
59
+ } | undefined;
60
+ };
61
+ fromChainId: string;
62
+ state: TransferState;
63
+ } | undefined;
64
+ axelarTransfer?: {
65
+ axelarScanLink?: string | undefined;
66
+ toChainId: string;
67
+ fromChainId: string;
68
+ state: AxelarTransferState;
69
+ txs: {
70
+ contractCallWithTokenTxs?: {
71
+ approveTx?: {
72
+ chainId?: string | undefined;
73
+ explorerLink: string;
74
+ txHash?: string | undefined;
75
+ onChainAt?: string | undefined;
76
+ } | undefined;
77
+ confirmTx?: {
78
+ chainId?: string | undefined;
79
+ explorerLink: string;
80
+ txHash?: string | undefined;
81
+ onChainAt?: string | undefined;
82
+ } | undefined;
83
+ error?: {
84
+ message?: string | undefined;
85
+ type?: ContractCallWithTokenErrorType | undefined;
86
+ } | undefined;
87
+ executeTx?: {
88
+ chainId?: string | undefined;
89
+ explorerLink: string;
90
+ txHash?: string | undefined;
91
+ onChainAt?: string | undefined;
92
+ } | undefined;
93
+ gasPaidTx?: {
94
+ chainId?: string | undefined;
95
+ explorerLink: string;
96
+ txHash?: string | undefined;
97
+ onChainAt?: string | undefined;
98
+ } | undefined;
99
+ sendTx?: {
100
+ chainId?: string | undefined;
101
+ explorerLink: string;
102
+ txHash?: string | undefined;
103
+ onChainAt?: string | undefined;
104
+ } | undefined;
105
+ } | undefined;
106
+ } | {
107
+ confirmTx?: {
108
+ chainId?: string | undefined;
109
+ explorerLink: string;
110
+ txHash?: string | undefined;
111
+ onChainAt?: string | undefined;
112
+ } | undefined;
113
+ error?: {
114
+ message?: string | undefined;
115
+ type?: SendTokenErrorType | undefined;
116
+ } | undefined;
117
+ executeTx?: {
118
+ chainId?: string | undefined;
119
+ explorerLink: string;
120
+ txHash?: string | undefined;
121
+ onChainAt?: string | undefined;
122
+ } | undefined;
123
+ sendTx?: {
124
+ chainId?: string | undefined;
125
+ explorerLink: string;
126
+ txHash?: string | undefined;
127
+ onChainAt?: string | undefined;
128
+ } | undefined;
129
+ };
130
+ type?: AxelarTransferType | undefined;
131
+ } | undefined;
132
+ cctpTransfer?: {
133
+ toChainId?: string | undefined;
134
+ fromChainId?: string | undefined;
135
+ state?: CCTPTransferState | undefined;
136
+ txs?: {
137
+ sendTx?: {
138
+ chainId?: string | undefined;
139
+ explorerLink: string;
140
+ txHash?: string | undefined;
141
+ onChainAt?: string | undefined;
142
+ } | undefined;
143
+ receiveTx?: {
144
+ chainId?: string | undefined;
145
+ explorerLink: string;
146
+ txHash?: string | undefined;
147
+ onChainAt?: string | undefined;
148
+ } | undefined;
149
+ } | undefined;
150
+ } | undefined;
151
+ hyperlaneTransfer?: {
152
+ fromChainId: string;
153
+ toChainId: string;
154
+ state: HyperlaneTransferState;
155
+ txs: {
156
+ sendTx?: {
157
+ chainId?: string | undefined;
158
+ explorerLink: string;
159
+ txHash?: string | undefined;
160
+ onChainAt?: string | undefined;
161
+ } | undefined;
162
+ receiveTx?: {
163
+ chainId?: string | undefined;
164
+ explorerLink: string;
165
+ txHash?: string | undefined;
166
+ onChainAt?: string | undefined;
167
+ } | undefined;
168
+ };
169
+ } | undefined;
170
+ opInitTransfer?: {
171
+ toChainId: string;
172
+ fromChainId: string;
173
+ state: OPInitTransferState;
174
+ txs: {
175
+ sendTx?: {
176
+ chainId?: string | undefined;
177
+ explorerLink: string;
178
+ txHash?: string | undefined;
179
+ onChainAt?: string | undefined;
180
+ } | undefined;
181
+ receiveTx?: {
182
+ chainId?: string | undefined;
183
+ explorerLink: string;
184
+ txHash?: string | undefined;
185
+ onChainAt?: string | undefined;
186
+ } | undefined;
187
+ };
188
+ } | undefined;
189
+ stargateTransfer?: {
190
+ fromChainId?: string | undefined;
191
+ toChainId?: string | undefined;
192
+ state?: StargateTransferState | undefined;
193
+ txs?: {
194
+ sendTx?: {
195
+ chainId?: string | undefined;
196
+ explorerLink: string;
197
+ txHash?: string | undefined;
198
+ onChainAt?: string | undefined;
199
+ } | undefined;
200
+ receiveTx?: {
201
+ chainId?: string | undefined;
202
+ explorerLink: string;
203
+ txHash?: string | undefined;
204
+ onChainAt?: string | undefined;
205
+ } | undefined;
206
+ errorTx?: {
207
+ chainId?: string | undefined;
208
+ explorerLink: string;
209
+ txHash?: string | undefined;
210
+ onChainAt?: string | undefined;
211
+ } | undefined;
212
+ } | undefined;
213
+ } | undefined;
214
+ goFastTransfer?: {
215
+ fromChainId: string;
216
+ toChainId: string;
217
+ state: GoFastTransferState;
218
+ txs: {
219
+ orderSubmittedTx?: {
220
+ chainId?: string | undefined;
221
+ explorerLink: string;
222
+ txHash?: string | undefined;
223
+ onChainAt?: string | undefined;
224
+ } | undefined;
225
+ orderFilledTx?: {
226
+ chainId?: string | undefined;
227
+ explorerLink: string;
228
+ txHash?: string | undefined;
229
+ onChainAt?: string | undefined;
230
+ } | undefined;
231
+ orderRefundedTx?: {
232
+ chainId?: string | undefined;
233
+ explorerLink: string;
234
+ txHash?: string | undefined;
235
+ onChainAt?: string | undefined;
236
+ } | undefined;
237
+ orderTimeoutTx?: {
238
+ chainId?: string | undefined;
239
+ explorerLink: string;
240
+ txHash?: string | undefined;
241
+ onChainAt?: string | undefined;
242
+ } | undefined;
243
+ };
244
+ errorMessage?: string | undefined;
245
+ } | undefined;
246
+ eurekaTransfer?: {
247
+ fromChainId: string;
248
+ toChainId: string;
249
+ state: TransferState;
250
+ packetTxs: {
251
+ acknowledgeTx?: {
252
+ chainId?: string | undefined;
253
+ explorerLink: string;
254
+ txHash?: string | undefined;
255
+ onChainAt?: string | undefined;
256
+ } | undefined;
257
+ error?: {
258
+ details?: {
259
+ code?: number | undefined;
260
+ message?: string | undefined;
261
+ } | undefined;
262
+ message?: string | undefined;
263
+ type?: PacketErrorType | undefined;
264
+ } | undefined;
265
+ receiveTx?: {
266
+ chainId?: string | undefined;
267
+ explorerLink: string;
268
+ txHash?: string | undefined;
269
+ onChainAt?: string | undefined;
270
+ } | undefined;
271
+ sendTx?: {
272
+ chainId?: string | undefined;
273
+ explorerLink: string;
274
+ txHash?: string | undefined;
275
+ onChainAt?: string | undefined;
276
+ } | undefined;
277
+ timeoutTx?: {
278
+ chainId?: string | undefined;
279
+ explorerLink: string;
280
+ txHash?: string | undefined;
281
+ onChainAt?: string | undefined;
282
+ } | undefined;
283
+ };
284
+ } | undefined;
285
+ layerZeroTransfer?: {
286
+ fromChainId: string;
287
+ toChainId: string;
288
+ state: LayerZeroTransferState;
289
+ txs: {
290
+ sendTx?: {
291
+ chainId?: string | undefined;
292
+ explorerLink: string;
293
+ txHash?: string | undefined;
294
+ onChainAt?: string | undefined;
295
+ } | undefined;
296
+ receiveTx?: {
297
+ chainId?: string | undefined;
298
+ explorerLink: string;
299
+ txHash?: string | undefined;
300
+ onChainAt?: string | undefined;
301
+ } | undefined;
302
+ composeTx?: {
303
+ chainId?: string | undefined;
304
+ explorerLink: string;
305
+ txHash?: string | undefined;
306
+ onChainAt?: string | undefined;
307
+ } | undefined;
308
+ errorTx?: {
309
+ chainId?: string | undefined;
310
+ explorerLink: string;
311
+ txHash?: string | undefined;
312
+ onChainAt?: string | undefined;
313
+ } | undefined;
314
+ };
315
+ } | undefined;
316
+ }[] | undefined;
317
+ nextBlockingTransfer?: {
318
+ transferSequenceIndex?: number | undefined;
319
+ } | undefined;
320
+ transferAssetRelease?: {
321
+ chainId?: string | undefined;
322
+ denom?: string | undefined;
323
+ amount?: string | undefined;
324
+ released?: boolean | undefined;
325
+ } | undefined;
326
+ error?: {
327
+ details?: {
328
+ code?: number | undefined;
329
+ message?: string | undefined;
330
+ } | undefined;
331
+ message?: string | undefined;
332
+ type?: StatusErrorType | undefined;
333
+ } | undefined;
334
+ }[] | undefined;
335
+ state: TransactionState;
336
+ nextBlockingTransfer?: {
337
+ transferSequenceIndex?: number | undefined;
338
+ } | undefined;
339
+ transferAssetRelease?: {
340
+ chainId?: string | undefined;
341
+ denom?: string | undefined;
342
+ amount?: string | undefined;
343
+ released?: boolean | undefined;
344
+ } | undefined;
345
+ error?: {
346
+ details?: {
347
+ code?: number | undefined;
348
+ message?: string | undefined;
349
+ } | undefined;
350
+ message?: string | undefined;
351
+ type?: StatusErrorType | undefined;
352
+ } | undefined;
353
+ transferSequence: {
354
+ ibcTransfer?: {
355
+ toChainId: string;
356
+ packetTxs: {
357
+ acknowledgeTx?: {
358
+ chainId?: string | undefined;
359
+ explorerLink: string;
360
+ txHash?: string | undefined;
361
+ onChainAt?: string | undefined;
362
+ } | undefined;
363
+ error?: {
364
+ details?: {
365
+ code?: number | undefined;
366
+ message?: string | undefined;
367
+ } | undefined;
368
+ message?: string | undefined;
369
+ type?: PacketErrorType | undefined;
370
+ } | undefined;
371
+ receiveTx?: {
372
+ chainId?: string | undefined;
373
+ explorerLink: string;
374
+ txHash?: string | undefined;
375
+ onChainAt?: string | undefined;
376
+ } | undefined;
377
+ sendTx?: {
378
+ chainId?: string | undefined;
379
+ explorerLink: string;
380
+ txHash?: string | undefined;
381
+ onChainAt?: string | undefined;
382
+ } | undefined;
383
+ timeoutTx?: {
384
+ chainId?: string | undefined;
385
+ explorerLink: string;
386
+ txHash?: string | undefined;
387
+ onChainAt?: string | undefined;
388
+ } | undefined;
389
+ };
390
+ fromChainId: string;
391
+ state: TransferState;
392
+ } | undefined;
393
+ axelarTransfer?: {
394
+ axelarScanLink?: string | undefined;
395
+ toChainId: string;
396
+ fromChainId: string;
397
+ state: AxelarTransferState;
398
+ txs: {
399
+ contractCallWithTokenTxs?: {
400
+ approveTx?: {
401
+ chainId?: string | undefined;
402
+ explorerLink: string;
403
+ txHash?: string | undefined;
404
+ onChainAt?: string | undefined;
405
+ } | undefined;
406
+ confirmTx?: {
407
+ chainId?: string | undefined;
408
+ explorerLink: string;
409
+ txHash?: string | undefined;
410
+ onChainAt?: string | undefined;
411
+ } | undefined;
412
+ error?: {
413
+ message?: string | undefined;
414
+ type?: ContractCallWithTokenErrorType | undefined;
415
+ } | undefined;
416
+ executeTx?: {
417
+ chainId?: string | undefined;
418
+ explorerLink: string;
419
+ txHash?: string | undefined;
420
+ onChainAt?: string | undefined;
421
+ } | undefined;
422
+ gasPaidTx?: {
423
+ chainId?: string | undefined;
424
+ explorerLink: string;
425
+ txHash?: string | undefined;
426
+ onChainAt?: string | undefined;
427
+ } | undefined;
428
+ sendTx?: {
429
+ chainId?: string | undefined;
430
+ explorerLink: string;
431
+ txHash?: string | undefined;
432
+ onChainAt?: string | undefined;
433
+ } | undefined;
434
+ } | undefined;
435
+ } | {
436
+ confirmTx?: {
437
+ chainId?: string | undefined;
438
+ explorerLink: string;
439
+ txHash?: string | undefined;
440
+ onChainAt?: string | undefined;
441
+ } | undefined;
442
+ error?: {
443
+ message?: string | undefined;
444
+ type?: SendTokenErrorType | undefined;
445
+ } | undefined;
446
+ executeTx?: {
447
+ chainId?: string | undefined;
448
+ explorerLink: string;
449
+ txHash?: string | undefined;
450
+ onChainAt?: string | undefined;
451
+ } | undefined;
452
+ sendTx?: {
453
+ chainId?: string | undefined;
454
+ explorerLink: string;
455
+ txHash?: string | undefined;
456
+ onChainAt?: string | undefined;
457
+ } | undefined;
458
+ };
459
+ type?: AxelarTransferType | undefined;
460
+ } | undefined;
461
+ cctpTransfer?: {
462
+ toChainId?: string | undefined;
463
+ fromChainId?: string | undefined;
464
+ state?: CCTPTransferState | undefined;
465
+ txs?: {
466
+ sendTx?: {
467
+ chainId?: string | undefined;
468
+ explorerLink: string;
469
+ txHash?: string | undefined;
470
+ onChainAt?: string | undefined;
471
+ } | undefined;
472
+ receiveTx?: {
473
+ chainId?: string | undefined;
474
+ explorerLink: string;
475
+ txHash?: string | undefined;
476
+ onChainAt?: string | undefined;
477
+ } | undefined;
478
+ } | undefined;
479
+ } | undefined;
480
+ hyperlaneTransfer?: {
481
+ fromChainId: string;
482
+ toChainId: string;
483
+ state: HyperlaneTransferState;
484
+ txs: {
485
+ sendTx?: {
486
+ chainId?: string | undefined;
487
+ explorerLink: string;
488
+ txHash?: string | undefined;
489
+ onChainAt?: string | undefined;
490
+ } | undefined;
491
+ receiveTx?: {
492
+ chainId?: string | undefined;
493
+ explorerLink: string;
494
+ txHash?: string | undefined;
495
+ onChainAt?: string | undefined;
496
+ } | undefined;
497
+ };
498
+ } | undefined;
499
+ opInitTransfer?: {
500
+ toChainId: string;
501
+ fromChainId: string;
502
+ state: OPInitTransferState;
503
+ txs: {
504
+ sendTx?: {
505
+ chainId?: string | undefined;
506
+ explorerLink: string;
507
+ txHash?: string | undefined;
508
+ onChainAt?: string | undefined;
509
+ } | undefined;
510
+ receiveTx?: {
511
+ chainId?: string | undefined;
512
+ explorerLink: string;
513
+ txHash?: string | undefined;
514
+ onChainAt?: string | undefined;
515
+ } | undefined;
516
+ };
517
+ } | undefined;
518
+ stargateTransfer?: {
519
+ fromChainId?: string | undefined;
520
+ toChainId?: string | undefined;
521
+ state?: StargateTransferState | undefined;
522
+ txs?: {
523
+ sendTx?: {
524
+ chainId?: string | undefined;
525
+ explorerLink: string;
526
+ txHash?: string | undefined;
527
+ onChainAt?: string | undefined;
528
+ } | undefined;
529
+ receiveTx?: {
530
+ chainId?: string | undefined;
531
+ explorerLink: string;
532
+ txHash?: string | undefined;
533
+ onChainAt?: string | undefined;
534
+ } | undefined;
535
+ errorTx?: {
536
+ chainId?: string | undefined;
537
+ explorerLink: string;
538
+ txHash?: string | undefined;
539
+ onChainAt?: string | undefined;
540
+ } | undefined;
541
+ } | undefined;
542
+ } | undefined;
543
+ goFastTransfer?: {
544
+ fromChainId: string;
545
+ toChainId: string;
546
+ state: GoFastTransferState;
547
+ txs: {
548
+ orderSubmittedTx?: {
549
+ chainId?: string | undefined;
550
+ explorerLink: string;
551
+ txHash?: string | undefined;
552
+ onChainAt?: string | undefined;
553
+ } | undefined;
554
+ orderFilledTx?: {
555
+ chainId?: string | undefined;
556
+ explorerLink: string;
557
+ txHash?: string | undefined;
558
+ onChainAt?: string | undefined;
559
+ } | undefined;
560
+ orderRefundedTx?: {
561
+ chainId?: string | undefined;
562
+ explorerLink: string;
563
+ txHash?: string | undefined;
564
+ onChainAt?: string | undefined;
565
+ } | undefined;
566
+ orderTimeoutTx?: {
567
+ chainId?: string | undefined;
568
+ explorerLink: string;
569
+ txHash?: string | undefined;
570
+ onChainAt?: string | undefined;
571
+ } | undefined;
572
+ };
573
+ errorMessage?: string | undefined;
574
+ } | undefined;
575
+ eurekaTransfer?: {
576
+ fromChainId: string;
577
+ toChainId: string;
578
+ state: TransferState;
579
+ packetTxs: {
580
+ acknowledgeTx?: {
581
+ chainId?: string | undefined;
582
+ explorerLink: string;
583
+ txHash?: string | undefined;
584
+ onChainAt?: string | undefined;
585
+ } | undefined;
586
+ error?: {
587
+ details?: {
588
+ code?: number | undefined;
589
+ message?: string | undefined;
590
+ } | undefined;
591
+ message?: string | undefined;
592
+ type?: PacketErrorType | undefined;
593
+ } | undefined;
594
+ receiveTx?: {
595
+ chainId?: string | undefined;
596
+ explorerLink: string;
597
+ txHash?: string | undefined;
598
+ onChainAt?: string | undefined;
599
+ } | undefined;
600
+ sendTx?: {
601
+ chainId?: string | undefined;
602
+ explorerLink: string;
603
+ txHash?: string | undefined;
604
+ onChainAt?: string | undefined;
605
+ } | undefined;
606
+ timeoutTx?: {
607
+ chainId?: string | undefined;
608
+ explorerLink: string;
609
+ txHash?: string | undefined;
610
+ onChainAt?: string | undefined;
611
+ } | undefined;
612
+ };
613
+ } | undefined;
614
+ layerZeroTransfer?: {
615
+ fromChainId: string;
616
+ toChainId: string;
617
+ state: LayerZeroTransferState;
618
+ txs: {
619
+ sendTx?: {
620
+ chainId?: string | undefined;
621
+ explorerLink: string;
622
+ txHash?: string | undefined;
623
+ onChainAt?: string | undefined;
624
+ } | undefined;
625
+ receiveTx?: {
626
+ chainId?: string | undefined;
627
+ explorerLink: string;
628
+ txHash?: string | undefined;
629
+ onChainAt?: string | undefined;
630
+ } | undefined;
631
+ composeTx?: {
632
+ chainId?: string | undefined;
633
+ explorerLink: string;
634
+ txHash?: string | undefined;
635
+ onChainAt?: string | undefined;
636
+ } | undefined;
637
+ errorTx?: {
638
+ chainId?: string | undefined;
639
+ explorerLink: string;
640
+ txHash?: string | undefined;
641
+ onChainAt?: string | undefined;
642
+ } | undefined;
643
+ };
644
+ } | undefined;
645
+ }[];
646
+ status?: string | undefined;
647
+ }>;
648
+ declare const waitForTransactionWithCancel: (props: WaitForTransactionProps) => {
649
+ promise: Promise<{
650
+ transfers?: {
651
+ state?: TransactionState | undefined;
652
+ transferSequence?: {
653
+ ibcTransfer?: {
654
+ toChainId: string;
655
+ packetTxs: {
656
+ acknowledgeTx?: {
657
+ chainId?: string | undefined;
658
+ explorerLink: string;
659
+ txHash?: string | undefined;
660
+ onChainAt?: string | undefined;
661
+ } | undefined;
662
+ error?: {
663
+ details?: {
664
+ code?: number | undefined;
665
+ message?: string | undefined;
666
+ } | undefined;
667
+ message?: string | undefined;
668
+ type?: PacketErrorType | undefined;
669
+ } | undefined;
670
+ receiveTx?: {
671
+ chainId?: string | undefined;
672
+ explorerLink: string;
673
+ txHash?: string | undefined;
674
+ onChainAt?: string | undefined;
675
+ } | undefined;
676
+ sendTx?: {
677
+ chainId?: string | undefined;
678
+ explorerLink: string;
679
+ txHash?: string | undefined;
680
+ onChainAt?: string | undefined;
681
+ } | undefined;
682
+ timeoutTx?: {
683
+ chainId?: string | undefined;
684
+ explorerLink: string;
685
+ txHash?: string | undefined;
686
+ onChainAt?: string | undefined;
687
+ } | undefined;
688
+ };
689
+ fromChainId: string;
690
+ state: TransferState;
691
+ } | undefined;
692
+ axelarTransfer?: {
693
+ axelarScanLink?: string | undefined;
694
+ toChainId: string;
695
+ fromChainId: string;
696
+ state: AxelarTransferState;
697
+ txs: {
698
+ contractCallWithTokenTxs?: {
699
+ approveTx?: {
700
+ chainId?: string | undefined;
701
+ explorerLink: string;
702
+ txHash?: string | undefined;
703
+ onChainAt?: string | undefined;
704
+ } | undefined;
705
+ confirmTx?: {
706
+ chainId?: string | undefined;
707
+ explorerLink: string;
708
+ txHash?: string | undefined;
709
+ onChainAt?: string | undefined;
710
+ } | undefined;
711
+ error?: {
712
+ message?: string | undefined;
713
+ type?: ContractCallWithTokenErrorType | undefined;
714
+ } | undefined;
715
+ executeTx?: {
716
+ chainId?: string | undefined;
717
+ explorerLink: string;
718
+ txHash?: string | undefined;
719
+ onChainAt?: string | undefined;
720
+ } | undefined;
721
+ gasPaidTx?: {
722
+ chainId?: string | undefined;
723
+ explorerLink: string;
724
+ txHash?: string | undefined;
725
+ onChainAt?: string | undefined;
726
+ } | undefined;
727
+ sendTx?: {
728
+ chainId?: string | undefined;
729
+ explorerLink: string;
730
+ txHash?: string | undefined;
731
+ onChainAt?: string | undefined;
732
+ } | undefined;
733
+ } | undefined;
734
+ } | {
735
+ confirmTx?: {
736
+ chainId?: string | undefined;
737
+ explorerLink: string;
738
+ txHash?: string | undefined;
739
+ onChainAt?: string | undefined;
740
+ } | undefined;
741
+ error?: {
742
+ message?: string | undefined;
743
+ type?: SendTokenErrorType | undefined;
744
+ } | undefined;
745
+ executeTx?: {
746
+ chainId?: string | undefined;
747
+ explorerLink: string;
748
+ txHash?: string | undefined;
749
+ onChainAt?: string | undefined;
750
+ } | undefined;
751
+ sendTx?: {
752
+ chainId?: string | undefined;
753
+ explorerLink: string;
754
+ txHash?: string | undefined;
755
+ onChainAt?: string | undefined;
756
+ } | undefined;
757
+ };
758
+ type?: AxelarTransferType | undefined;
759
+ } | undefined;
760
+ cctpTransfer?: {
761
+ toChainId?: string | undefined;
762
+ fromChainId?: string | undefined;
763
+ state?: CCTPTransferState | undefined;
764
+ txs?: {
765
+ sendTx?: {
766
+ chainId?: string | undefined;
767
+ explorerLink: string;
768
+ txHash?: string | undefined;
769
+ onChainAt?: string | undefined;
770
+ } | undefined;
771
+ receiveTx?: {
772
+ chainId?: string | undefined;
773
+ explorerLink: string;
774
+ txHash?: string | undefined;
775
+ onChainAt?: string | undefined;
776
+ } | undefined;
777
+ } | undefined;
778
+ } | undefined;
779
+ hyperlaneTransfer?: {
780
+ fromChainId: string;
781
+ toChainId: string;
782
+ state: HyperlaneTransferState;
783
+ txs: {
784
+ sendTx?: {
785
+ chainId?: string | undefined;
786
+ explorerLink: string;
787
+ txHash?: string | undefined;
788
+ onChainAt?: string | undefined;
789
+ } | undefined;
790
+ receiveTx?: {
791
+ chainId?: string | undefined;
792
+ explorerLink: string;
793
+ txHash?: string | undefined;
794
+ onChainAt?: string | undefined;
795
+ } | undefined;
796
+ };
797
+ } | undefined;
798
+ opInitTransfer?: {
799
+ toChainId: string;
800
+ fromChainId: string;
801
+ state: OPInitTransferState;
802
+ txs: {
803
+ sendTx?: {
804
+ chainId?: string | undefined;
805
+ explorerLink: string;
806
+ txHash?: string | undefined;
807
+ onChainAt?: string | undefined;
808
+ } | undefined;
809
+ receiveTx?: {
810
+ chainId?: string | undefined;
811
+ explorerLink: string;
812
+ txHash?: string | undefined;
813
+ onChainAt?: string | undefined;
814
+ } | undefined;
815
+ };
816
+ } | undefined;
817
+ stargateTransfer?: {
818
+ fromChainId?: string | undefined;
819
+ toChainId?: string | undefined;
820
+ state?: StargateTransferState | undefined;
821
+ txs?: {
822
+ sendTx?: {
823
+ chainId?: string | undefined;
824
+ explorerLink: string;
825
+ txHash?: string | undefined;
826
+ onChainAt?: string | undefined;
827
+ } | undefined;
828
+ receiveTx?: {
829
+ chainId?: string | undefined;
830
+ explorerLink: string;
831
+ txHash?: string | undefined;
832
+ onChainAt?: string | undefined;
833
+ } | undefined;
834
+ errorTx?: {
835
+ chainId?: string | undefined;
836
+ explorerLink: string;
837
+ txHash?: string | undefined;
838
+ onChainAt?: string | undefined;
839
+ } | undefined;
840
+ } | undefined;
841
+ } | undefined;
842
+ goFastTransfer?: {
843
+ fromChainId: string;
844
+ toChainId: string;
845
+ state: GoFastTransferState;
846
+ txs: {
847
+ orderSubmittedTx?: {
848
+ chainId?: string | undefined;
849
+ explorerLink: string;
850
+ txHash?: string | undefined;
851
+ onChainAt?: string | undefined;
852
+ } | undefined;
853
+ orderFilledTx?: {
854
+ chainId?: string | undefined;
855
+ explorerLink: string;
856
+ txHash?: string | undefined;
857
+ onChainAt?: string | undefined;
858
+ } | undefined;
859
+ orderRefundedTx?: {
860
+ chainId?: string | undefined;
861
+ explorerLink: string;
862
+ txHash?: string | undefined;
863
+ onChainAt?: string | undefined;
864
+ } | undefined;
865
+ orderTimeoutTx?: {
866
+ chainId?: string | undefined;
867
+ explorerLink: string;
868
+ txHash?: string | undefined;
869
+ onChainAt?: string | undefined;
870
+ } | undefined;
871
+ };
872
+ errorMessage?: string | undefined;
873
+ } | undefined;
874
+ eurekaTransfer?: {
875
+ fromChainId: string;
876
+ toChainId: string;
877
+ state: TransferState;
878
+ packetTxs: {
879
+ acknowledgeTx?: {
880
+ chainId?: string | undefined;
881
+ explorerLink: string;
882
+ txHash?: string | undefined;
883
+ onChainAt?: string | undefined;
884
+ } | undefined;
885
+ error?: {
886
+ details?: {
887
+ code?: number | undefined;
888
+ message?: string | undefined;
889
+ } | undefined;
890
+ message?: string | undefined;
891
+ type?: PacketErrorType | undefined;
892
+ } | undefined;
893
+ receiveTx?: {
894
+ chainId?: string | undefined;
895
+ explorerLink: string;
896
+ txHash?: string | undefined;
897
+ onChainAt?: string | undefined;
898
+ } | undefined;
899
+ sendTx?: {
900
+ chainId?: string | undefined;
901
+ explorerLink: string;
902
+ txHash?: string | undefined;
903
+ onChainAt?: string | undefined;
904
+ } | undefined;
905
+ timeoutTx?: {
906
+ chainId?: string | undefined;
907
+ explorerLink: string;
908
+ txHash?: string | undefined;
909
+ onChainAt?: string | undefined;
910
+ } | undefined;
911
+ };
912
+ } | undefined;
913
+ layerZeroTransfer?: {
914
+ fromChainId: string;
915
+ toChainId: string;
916
+ state: LayerZeroTransferState;
917
+ txs: {
918
+ sendTx?: {
919
+ chainId?: string | undefined;
920
+ explorerLink: string;
921
+ txHash?: string | undefined;
922
+ onChainAt?: string | undefined;
923
+ } | undefined;
924
+ receiveTx?: {
925
+ chainId?: string | undefined;
926
+ explorerLink: string;
927
+ txHash?: string | undefined;
928
+ onChainAt?: string | undefined;
929
+ } | undefined;
930
+ composeTx?: {
931
+ chainId?: string | undefined;
932
+ explorerLink: string;
933
+ txHash?: string | undefined;
934
+ onChainAt?: string | undefined;
935
+ } | undefined;
936
+ errorTx?: {
937
+ chainId?: string | undefined;
938
+ explorerLink: string;
939
+ txHash?: string | undefined;
940
+ onChainAt?: string | undefined;
941
+ } | undefined;
942
+ };
943
+ } | undefined;
944
+ }[] | undefined;
945
+ nextBlockingTransfer?: {
946
+ transferSequenceIndex?: number | undefined;
947
+ } | undefined;
948
+ transferAssetRelease?: {
949
+ chainId?: string | undefined;
950
+ denom?: string | undefined;
951
+ amount?: string | undefined;
952
+ released?: boolean | undefined;
953
+ } | undefined;
954
+ error?: {
955
+ details?: {
956
+ code?: number | undefined;
957
+ message?: string | undefined;
958
+ } | undefined;
959
+ message?: string | undefined;
960
+ type?: StatusErrorType | undefined;
961
+ } | undefined;
962
+ }[] | undefined;
963
+ state: TransactionState;
964
+ nextBlockingTransfer?: {
965
+ transferSequenceIndex?: number | undefined;
966
+ } | undefined;
967
+ transferAssetRelease?: {
968
+ chainId?: string | undefined;
969
+ denom?: string | undefined;
970
+ amount?: string | undefined;
971
+ released?: boolean | undefined;
972
+ } | undefined;
973
+ error?: {
974
+ details?: {
975
+ code?: number | undefined;
976
+ message?: string | undefined;
977
+ } | undefined;
978
+ message?: string | undefined;
979
+ type?: StatusErrorType | undefined;
980
+ } | undefined;
981
+ transferSequence: {
982
+ ibcTransfer?: {
983
+ toChainId: string;
984
+ packetTxs: {
985
+ acknowledgeTx?: {
986
+ chainId?: string | undefined;
987
+ explorerLink: string;
988
+ txHash?: string | undefined;
989
+ onChainAt?: string | undefined;
990
+ } | undefined;
991
+ error?: {
992
+ details?: {
993
+ code?: number | undefined;
994
+ message?: string | undefined;
995
+ } | undefined;
996
+ message?: string | undefined;
997
+ type?: PacketErrorType | undefined;
998
+ } | undefined;
999
+ receiveTx?: {
1000
+ chainId?: string | undefined;
1001
+ explorerLink: string;
1002
+ txHash?: string | undefined;
1003
+ onChainAt?: string | undefined;
1004
+ } | undefined;
1005
+ sendTx?: {
1006
+ chainId?: string | undefined;
1007
+ explorerLink: string;
1008
+ txHash?: string | undefined;
1009
+ onChainAt?: string | undefined;
1010
+ } | undefined;
1011
+ timeoutTx?: {
1012
+ chainId?: string | undefined;
1013
+ explorerLink: string;
1014
+ txHash?: string | undefined;
1015
+ onChainAt?: string | undefined;
1016
+ } | undefined;
1017
+ };
1018
+ fromChainId: string;
1019
+ state: TransferState;
1020
+ } | undefined;
1021
+ axelarTransfer?: {
1022
+ axelarScanLink?: string | undefined;
1023
+ toChainId: string;
1024
+ fromChainId: string;
1025
+ state: AxelarTransferState;
1026
+ txs: {
1027
+ contractCallWithTokenTxs?: {
1028
+ approveTx?: {
1029
+ chainId?: string | undefined;
1030
+ explorerLink: string;
1031
+ txHash?: string | undefined;
1032
+ onChainAt?: string | undefined;
1033
+ } | undefined;
1034
+ confirmTx?: {
1035
+ chainId?: string | undefined;
1036
+ explorerLink: string;
1037
+ txHash?: string | undefined;
1038
+ onChainAt?: string | undefined;
1039
+ } | undefined;
1040
+ error?: {
1041
+ message?: string | undefined;
1042
+ type?: ContractCallWithTokenErrorType | undefined;
1043
+ } | undefined;
1044
+ executeTx?: {
1045
+ chainId?: string | undefined;
1046
+ explorerLink: string;
1047
+ txHash?: string | undefined;
1048
+ onChainAt?: string | undefined;
1049
+ } | undefined;
1050
+ gasPaidTx?: {
1051
+ chainId?: string | undefined;
1052
+ explorerLink: string;
1053
+ txHash?: string | undefined;
1054
+ onChainAt?: string | undefined;
1055
+ } | undefined;
1056
+ sendTx?: {
1057
+ chainId?: string | undefined;
1058
+ explorerLink: string;
1059
+ txHash?: string | undefined;
1060
+ onChainAt?: string | undefined;
1061
+ } | undefined;
1062
+ } | undefined;
1063
+ } | {
1064
+ confirmTx?: {
1065
+ chainId?: string | undefined;
1066
+ explorerLink: string;
1067
+ txHash?: string | undefined;
1068
+ onChainAt?: string | undefined;
1069
+ } | undefined;
1070
+ error?: {
1071
+ message?: string | undefined;
1072
+ type?: SendTokenErrorType | undefined;
1073
+ } | undefined;
1074
+ executeTx?: {
1075
+ chainId?: string | undefined;
1076
+ explorerLink: string;
1077
+ txHash?: string | undefined;
1078
+ onChainAt?: string | undefined;
1079
+ } | undefined;
1080
+ sendTx?: {
1081
+ chainId?: string | undefined;
1082
+ explorerLink: string;
1083
+ txHash?: string | undefined;
1084
+ onChainAt?: string | undefined;
1085
+ } | undefined;
1086
+ };
1087
+ type?: AxelarTransferType | undefined;
1088
+ } | undefined;
1089
+ cctpTransfer?: {
1090
+ toChainId?: string | undefined;
1091
+ fromChainId?: string | undefined;
1092
+ state?: CCTPTransferState | undefined;
1093
+ txs?: {
1094
+ sendTx?: {
1095
+ chainId?: string | undefined;
1096
+ explorerLink: string;
1097
+ txHash?: string | undefined;
1098
+ onChainAt?: string | undefined;
1099
+ } | undefined;
1100
+ receiveTx?: {
1101
+ chainId?: string | undefined;
1102
+ explorerLink: string;
1103
+ txHash?: string | undefined;
1104
+ onChainAt?: string | undefined;
1105
+ } | undefined;
1106
+ } | undefined;
1107
+ } | undefined;
1108
+ hyperlaneTransfer?: {
1109
+ fromChainId: string;
1110
+ toChainId: string;
1111
+ state: HyperlaneTransferState;
1112
+ txs: {
1113
+ sendTx?: {
1114
+ chainId?: string | undefined;
1115
+ explorerLink: string;
1116
+ txHash?: string | undefined;
1117
+ onChainAt?: string | undefined;
1118
+ } | undefined;
1119
+ receiveTx?: {
1120
+ chainId?: string | undefined;
1121
+ explorerLink: string;
1122
+ txHash?: string | undefined;
1123
+ onChainAt?: string | undefined;
1124
+ } | undefined;
1125
+ };
1126
+ } | undefined;
1127
+ opInitTransfer?: {
1128
+ toChainId: string;
1129
+ fromChainId: string;
1130
+ state: OPInitTransferState;
1131
+ txs: {
1132
+ sendTx?: {
1133
+ chainId?: string | undefined;
1134
+ explorerLink: string;
1135
+ txHash?: string | undefined;
1136
+ onChainAt?: string | undefined;
1137
+ } | undefined;
1138
+ receiveTx?: {
1139
+ chainId?: string | undefined;
1140
+ explorerLink: string;
1141
+ txHash?: string | undefined;
1142
+ onChainAt?: string | undefined;
1143
+ } | undefined;
1144
+ };
1145
+ } | undefined;
1146
+ stargateTransfer?: {
1147
+ fromChainId?: string | undefined;
1148
+ toChainId?: string | undefined;
1149
+ state?: StargateTransferState | undefined;
1150
+ txs?: {
1151
+ sendTx?: {
1152
+ chainId?: string | undefined;
1153
+ explorerLink: string;
1154
+ txHash?: string | undefined;
1155
+ onChainAt?: string | undefined;
1156
+ } | undefined;
1157
+ receiveTx?: {
1158
+ chainId?: string | undefined;
1159
+ explorerLink: string;
1160
+ txHash?: string | undefined;
1161
+ onChainAt?: string | undefined;
1162
+ } | undefined;
1163
+ errorTx?: {
1164
+ chainId?: string | undefined;
1165
+ explorerLink: string;
1166
+ txHash?: string | undefined;
1167
+ onChainAt?: string | undefined;
1168
+ } | undefined;
1169
+ } | undefined;
1170
+ } | undefined;
1171
+ goFastTransfer?: {
1172
+ fromChainId: string;
1173
+ toChainId: string;
1174
+ state: GoFastTransferState;
1175
+ txs: {
1176
+ orderSubmittedTx?: {
1177
+ chainId?: string | undefined;
1178
+ explorerLink: string;
1179
+ txHash?: string | undefined;
1180
+ onChainAt?: string | undefined;
1181
+ } | undefined;
1182
+ orderFilledTx?: {
1183
+ chainId?: string | undefined;
1184
+ explorerLink: string;
1185
+ txHash?: string | undefined;
1186
+ onChainAt?: string | undefined;
1187
+ } | undefined;
1188
+ orderRefundedTx?: {
1189
+ chainId?: string | undefined;
1190
+ explorerLink: string;
1191
+ txHash?: string | undefined;
1192
+ onChainAt?: string | undefined;
1193
+ } | undefined;
1194
+ orderTimeoutTx?: {
1195
+ chainId?: string | undefined;
1196
+ explorerLink: string;
1197
+ txHash?: string | undefined;
1198
+ onChainAt?: string | undefined;
1199
+ } | undefined;
1200
+ };
1201
+ errorMessage?: string | undefined;
1202
+ } | undefined;
1203
+ eurekaTransfer?: {
1204
+ fromChainId: string;
1205
+ toChainId: string;
1206
+ state: TransferState;
1207
+ packetTxs: {
1208
+ acknowledgeTx?: {
1209
+ chainId?: string | undefined;
1210
+ explorerLink: string;
1211
+ txHash?: string | undefined;
1212
+ onChainAt?: string | undefined;
1213
+ } | undefined;
1214
+ error?: {
1215
+ details?: {
1216
+ code?: number | undefined;
1217
+ message?: string | undefined;
1218
+ } | undefined;
1219
+ message?: string | undefined;
1220
+ type?: PacketErrorType | undefined;
1221
+ } | undefined;
1222
+ receiveTx?: {
1223
+ chainId?: string | undefined;
1224
+ explorerLink: string;
1225
+ txHash?: string | undefined;
1226
+ onChainAt?: string | undefined;
1227
+ } | undefined;
1228
+ sendTx?: {
1229
+ chainId?: string | undefined;
1230
+ explorerLink: string;
1231
+ txHash?: string | undefined;
1232
+ onChainAt?: string | undefined;
1233
+ } | undefined;
1234
+ timeoutTx?: {
1235
+ chainId?: string | undefined;
1236
+ explorerLink: string;
1237
+ txHash?: string | undefined;
1238
+ onChainAt?: string | undefined;
1239
+ } | undefined;
1240
+ };
1241
+ } | undefined;
1242
+ layerZeroTransfer?: {
1243
+ fromChainId: string;
1244
+ toChainId: string;
1245
+ state: LayerZeroTransferState;
1246
+ txs: {
1247
+ sendTx?: {
1248
+ chainId?: string | undefined;
1249
+ explorerLink: string;
1250
+ txHash?: string | undefined;
1251
+ onChainAt?: string | undefined;
1252
+ } | undefined;
1253
+ receiveTx?: {
1254
+ chainId?: string | undefined;
1255
+ explorerLink: string;
1256
+ txHash?: string | undefined;
1257
+ onChainAt?: string | undefined;
1258
+ } | undefined;
1259
+ composeTx?: {
1260
+ chainId?: string | undefined;
1261
+ explorerLink: string;
1262
+ txHash?: string | undefined;
1263
+ onChainAt?: string | undefined;
1264
+ } | undefined;
1265
+ errorTx?: {
1266
+ chainId?: string | undefined;
1267
+ explorerLink: string;
1268
+ txHash?: string | undefined;
1269
+ onChainAt?: string | undefined;
1270
+ } | undefined;
1271
+ };
1272
+ } | undefined;
1273
+ }[];
1274
+ status?: string | undefined;
1275
+ }>;
1276
+ cancel: () => void;
1277
+ };
1278
+
1279
+ export { type WaitForTransactionProps, waitForTransaction, waitForTransactionWithCancel };