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

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 (129) hide show
  1. package/dist/api/getAssets.js +15 -2
  2. package/dist/api/getAssetsBetweenChains.js +11 -2
  3. package/dist/api/getBridges.js +11 -2
  4. package/dist/api/getChains.js +11 -2
  5. package/dist/api/getVenues.js +11 -2
  6. package/dist/api/postAssetsFromSource.js +12 -3
  7. package/dist/api/postBalances.js +11 -2
  8. package/dist/api/postIbcOriginAssets.js +11 -2
  9. package/dist/api/postMessages.js +11 -2
  10. package/dist/api/postMessagesDirect.js +11 -2
  11. package/dist/api/postRecommendAssets.js +11 -2
  12. package/dist/api/postRoute.js +11 -2
  13. package/dist/api/postSubmitTransaction.js +11 -2
  14. package/dist/api/postTrackTransaction.js +11 -2
  15. package/dist/api/postTransactionStatus.js +11 -2
  16. package/dist/{chunk-DAMZSSOH.cjs → chunk-2WHYWV4Y.js} +2 -2
  17. package/dist/{chunk-J4LI33TK.cjs → chunk-4XWIXR2P.js} +24 -18
  18. package/dist/chunk-5KVRQLI5.js +17 -0
  19. package/dist/{chunk-VI7UMBQ7.cjs → chunk-5ZJBR5AQ.js} +2 -2
  20. package/dist/{chunk-ISHM4QWP.cjs → chunk-6BTWKTNM.js} +4 -4
  21. package/dist/chunk-6GJEXV5J.js +130 -0
  22. package/dist/chunk-ASPVKNJ7.js +242 -0
  23. package/dist/{chunk-7SK3IFXJ.cjs → chunk-CG5CQQBW.js} +36 -32
  24. package/dist/chunk-EQLA2SEZ.js +2361 -0
  25. package/dist/{chunk-32MRDO7V.cjs → chunk-FVSSCQ6C.js} +2 -2
  26. package/dist/{chunk-5IAEEEOQ.cjs → chunk-GFRPLEJR.js} +227 -217
  27. package/dist/{chunk-L5V5PASH.cjs → chunk-KYFTM3PI.js} +2 -2
  28. package/dist/chunk-L2Q5RP6O.js +25 -0
  29. package/dist/{chunk-URLFWBSC.cjs → chunk-LRIPQQ4M.js} +2 -2
  30. package/dist/{chunk-ZNXE6PUV.cjs → chunk-PKPZTO4H.js} +10 -9
  31. package/dist/{chunk-RDOSNDAQ.cjs → chunk-RE2QZJWE.js} +2 -2
  32. package/dist/{chunk-7OIZPQJB.cjs → chunk-RT5TZAMU.js} +138 -101
  33. package/dist/chunk-SWYON2RG.js +4 -1
  34. package/dist/chunk-VQ5SIQWU.js +3 -1
  35. package/dist/{chunk-LXYLWTNZ.cjs → chunk-X2E2TKVR.js} +2 -2
  36. package/dist/{chunk-SW3SEQMJ.cjs → chunk-X2YPYBVN.js} +30 -25
  37. package/dist/{chunk-KDN7RCGP.cjs → chunk-YYNIFO2A.js} +2 -2
  38. package/dist/{chunk-77ITCT75.cjs → chunk-Z4ZKOUGH.js} +2 -2
  39. package/dist/{chunk-PNWIJSMA.cjs → chunk-ZG23Z3WY.js} +2 -2
  40. package/dist/index.d.ts +2 -0
  41. package/dist/index.js +209 -24
  42. package/dist/public-functions/executeRoute.js +21 -12
  43. package/dist/public-functions/getFeeInfoForChain.js +14 -5
  44. package/dist/public-functions/getRecommendedGasPrice.d.ts +1 -1
  45. package/dist/public-functions/getRecommendedGasPrice.js +16 -7
  46. package/dist/public-functions/getSigningStargateClient.d.ts +1 -1
  47. package/dist/public-functions/getSigningStargateClient.js +13 -4
  48. package/dist/public-functions/setApiOptions.js +11 -2
  49. package/dist/public-functions/setClientOptions.js +13 -4
  50. package/package.json +1 -10
  51. package/dist/api/getAssets.cjs +0 -15
  52. package/dist/api/getAssets.d.cts +0 -19
  53. package/dist/api/getAssetsBetweenChains.cjs +0 -11
  54. package/dist/api/getAssetsBetweenChains.d.cts +0 -56
  55. package/dist/api/getBridges.cjs +0 -11
  56. package/dist/api/getBridges.d.cts +0 -54
  57. package/dist/api/getChains.cjs +0 -11
  58. package/dist/api/getChains.d.cts +0 -41
  59. package/dist/api/getVenues.cjs +0 -11
  60. package/dist/api/getVenues.d.cts +0 -13
  61. package/dist/api/postAssetsFromSource.cjs +0 -12
  62. package/dist/api/postAssetsFromSource.d.cts +0 -13
  63. package/dist/api/postBalances.cjs +0 -11
  64. package/dist/api/postBalances.d.cts +0 -35
  65. package/dist/api/postIbcOriginAssets.cjs +0 -11
  66. package/dist/api/postIbcOriginAssets.d.cts +0 -32
  67. package/dist/api/postMessages.cjs +0 -11
  68. package/dist/api/postMessages.d.cts +0 -528
  69. package/dist/api/postMessagesDirect.cjs +0 -11
  70. package/dist/api/postMessagesDirect.d.cts +0 -568
  71. package/dist/api/postRecommendAssets.cjs +0 -11
  72. package/dist/api/postRecommendAssets.d.cts +0 -40
  73. package/dist/api/postRoute.cjs +0 -11
  74. package/dist/api/postRoute.d.cts +0 -460
  75. package/dist/api/postSubmitTransaction.cjs +0 -11
  76. package/dist/api/postSubmitTransaction.d.cts +0 -13
  77. package/dist/api/postTrackTransaction.cjs +0 -11
  78. package/dist/api/postTrackTransaction.d.cts +0 -13
  79. package/dist/api/postTransactionStatus.cjs +0 -11
  80. package/dist/api/postTransactionStatus.d.cts +0 -559
  81. package/dist/apiState-CdzxTxYd.d.cts +0 -6
  82. package/dist/chunk-33K6EESX.js +0 -10
  83. package/dist/chunk-3N7XVGLX.js +0 -269
  84. package/dist/chunk-3OZQ35X3.js +0 -3597
  85. package/dist/chunk-44PBLFB5.cjs +0 -24
  86. package/dist/chunk-4JJWOILI.js +0 -13
  87. package/dist/chunk-4R6OCWRR.cjs +0 -1346
  88. package/dist/chunk-BQTQJQ5E.js +0 -10
  89. package/dist/chunk-BRJDNGYH.js +0 -22
  90. package/dist/chunk-BRMONS6A.js +0 -130
  91. package/dist/chunk-C2EDPY6J.js +0 -10
  92. package/dist/chunk-DW4U6YI6.js +0 -10
  93. package/dist/chunk-ED2OY55G.cjs +0 -136
  94. package/dist/chunk-GARVPN2H.js +0 -16
  95. package/dist/chunk-HAR3IXDE.cjs +0 -705
  96. package/dist/chunk-JTIHU43D.js +0 -183
  97. package/dist/chunk-KNV72XRZ.js +0 -10
  98. package/dist/chunk-KZOSEIWH.cjs +0 -10
  99. package/dist/chunk-MGVXJ2U4.js +0 -11
  100. package/dist/chunk-MTMPHY3Y.js +0 -9
  101. package/dist/chunk-PRQ2NHRZ.js +0 -11
  102. package/dist/chunk-RDRDFJQE.js +0 -10
  103. package/dist/chunk-RMP3HM5N.js +0 -14
  104. package/dist/chunk-SFMBRLUS.cjs +0 -18
  105. package/dist/chunk-SQGWZAUC.js +0 -2229
  106. package/dist/chunk-TW77BXMT.js +0 -44
  107. package/dist/chunk-VMPFHQ7U.js +0 -93
  108. package/dist/chunk-W2U2UOFA.js +0 -1790
  109. package/dist/chunk-W6TBGBV3.js +0 -675
  110. package/dist/chunk-WWNTHZ6I.cjs +0 -1812
  111. package/dist/client-types-qvyKvyFh.d.cts +0 -60
  112. package/dist/executeRoute-BKRpODCc.d.cts +0 -69
  113. package/dist/generateApi-C0amiydg.d.cts +0 -22
  114. package/dist/index.cjs +0 -209
  115. package/dist/index.d.cts +0 -35
  116. package/dist/public-functions/executeRoute.cjs +0 -21
  117. package/dist/public-functions/executeRoute.d.cts +0 -9
  118. package/dist/public-functions/getFeeInfoForChain.cjs +0 -14
  119. package/dist/public-functions/getFeeInfoForChain.d.cts +0 -9
  120. package/dist/public-functions/getRecommendedGasPrice.cjs +0 -16
  121. package/dist/public-functions/getRecommendedGasPrice.d.cts +0 -9
  122. package/dist/public-functions/getSigningStargateClient.cjs +0 -13
  123. package/dist/public-functions/getSigningStargateClient.d.cts +0 -13
  124. package/dist/public-functions/setApiOptions.cjs +0 -11
  125. package/dist/public-functions/setApiOptions.d.cts +0 -9
  126. package/dist/public-functions/setClientOptions.cjs +0 -13
  127. package/dist/public-functions/setClientOptions.d.cts +0 -9
  128. package/dist/setClientOptions-CT6CHI9I.d.cts +0 -19
  129. package/dist/swaggerTypes-O9-gvCT1.d.cts +0 -1890
@@ -1,1890 +0,0 @@
1
- interface AcknowledgementErrorDetails {
2
- /** Error code */
3
- code?: number;
4
- /** Error message */
5
- message?: string;
6
- }
7
- /** An affiliate that receives fees from a swap */
8
- interface Affiliate {
9
- /** Address to which to pay the fee */
10
- address?: string;
11
- /** Bps fee to pay to the affiliate */
12
- basisPointsFee?: string;
13
- }
14
- interface ApiError {
15
- /** Error message */
16
- message?: string;
17
- }
18
- interface Asset {
19
- /** Chain-id of the asset */
20
- chainId: string;
21
- /** Coingecko id of the asset */
22
- coingeckoId?: string;
23
- /** Number of decimals used for amounts of the asset */
24
- decimals?: number;
25
- /** Denom of the asset */
26
- denom: string;
27
- /** Description of the asset */
28
- description?: string;
29
- /** Indicates whether asset is a CW20 token */
30
- isCw20: boolean;
31
- /** Indicates whether asset is an EVM token */
32
- isEvm: boolean;
33
- /** Indicates whether asset is an SVM token */
34
- isSvm: boolean;
35
- /** URI pointing to an image of the logo of the asset */
36
- logoUri?: string;
37
- /** Name of the asset */
38
- name?: string;
39
- /** Chain-id of the origin of the asset. If this is an ibc denom, this is the chain-id of the asset that the ibc token represents */
40
- originChainId: string;
41
- /** Denom of the origin of the asset. If this is an ibc denom, this is the original denom that the ibc token represents */
42
- originDenom: string;
43
- /** Recommended symbol of the asset used to differentiate between bridged assets with the same symbol, e.g. USDC.axl for Axelar USDC and USDC.grv for Gravity USDC */
44
- recommendedSymbol?: string;
45
- /** Symbol of the asset, e.g. ATOM for uatom */
46
- symbol?: string;
47
- /** Address of the contract for the asset, e.g. if it is a CW20 or ERC20 token */
48
- tokenContract?: string;
49
- /** The forward slash delimited sequence of ibc ports and channels that can be traversed to unwind an ibc token to its origin asset. */
50
- trace: string;
51
- }
52
- interface AssetBetweenChains {
53
- assetOnSource?: Asset;
54
- assetOnDest?: Asset;
55
- /** Number of transactions required to transfer the asset */
56
- txsRequired: number;
57
- /** Bridges that are used to transfer the asset */
58
- bridges?: BridgeType[];
59
- }
60
- interface AssetRecommendation {
61
- /** Asset that is recommended */
62
- asset?: Asset;
63
- /** Reason for recommending the asset */
64
- reason?: Reason;
65
- }
66
- declare enum AutopilotAction {
67
- LIQUID_STAKE = "LIQUID_STAKE",
68
- CLAIM = "CLAIM"
69
- }
70
- interface AutopilotMsg {
71
- action?: AutopilotAction;
72
- receiver?: string;
73
- }
74
- interface AutopilotMsgWrapper {
75
- autpilotMsg?: AutopilotMsg;
76
- }
77
- /** A transfer facilitated by the Axelar bridge */
78
- interface AxelarTransfer {
79
- /** Axelar-name of the asset to bridge */
80
- asset?: string;
81
- /** Amount of the fee asset to be paid as the Axelar bridge fee. This is denominated in the fee asset. */
82
- feeAmount?: string;
83
- feeAsset?: Asset;
84
- /** Name for source chain of the bridge transaction used on Axelar */
85
- fromChain?: string;
86
- /** Canonical chain-id of the source chain of the bridge transaction */
87
- fromChainId?: string;
88
- /** Whether the source and destination chains are both testnets */
89
- isTestnet?: boolean;
90
- /** Whether to unwrap the asset at the destination chain (from ERC-20 to native) */
91
- shouldUnwrap?: boolean;
92
- /** Name for destination chain of the bridge transaction used on Axelar */
93
- toChain?: string;
94
- /** Canonical chain-id of the destination chain of the bridge transaction */
95
- toChainId?: string;
96
- /** Denom of the input asset */
97
- denomIn?: string;
98
- /** Denom of the output asset */
99
- denomOut?: string;
100
- /** Amount of the fee asset to be paid as the Axelar bridge fee, converted to USD value */
101
- usdFeeAmount?: string;
102
- /** A cross-chain transfer */
103
- ibcTransferToAxelar?: Transfer;
104
- /**
105
- * Bridge Type:
106
- * * `IBC` - IBC Bridge
107
- * * `AXELAR` - Axelar Bridge
108
- * * `CCTP` - CCTP Bridge
109
- * * `HYPERLANE` - Hyperlane Bridge
110
- * * `OPINIT` - Opinit Bridge
111
- * * `GO_FAST` - Go Fast Bridge
112
- * * `STARGATE` - Stargate Bridge
113
- * * `EUREKA` - IBC Eureka Bridge
114
- */
115
- bridgeId?: BridgeType;
116
- /** Indicates whether this transfer is relayed via Smart Relay */
117
- smartRelay?: boolean;
118
- }
119
- interface AxelarTransferInfo {
120
- /** Link to the transaction on the Axelar Scan explorer */
121
- axelarScanLink?: string;
122
- /** Chain ID of the destination chain */
123
- toChainId: string;
124
- /** Chain ID of the source chain */
125
- fromChainId: string;
126
- /**
127
- * Axelar transfer state:
128
- * * `AXELAR_TRANSFER_UNKNOWN` - Unknown error
129
- * * `AXELAR_TRANSFER_PENDING_CONFIRMATION` - Axelar transfer is pending confirmation
130
- * * `AXELAR_TRANSFER_PENDING_RECEIPT` - Axelar transfer is pending receipt at destination
131
- * * `AXELAR_TRANSFER_SUCCESS` - Axelar transfer succeeded and assets have been received
132
- * * `AXELAR_TRANSFER_FAILURE` - Axelar transfer failed
133
- */
134
- state: AxelarTransferState;
135
- txs: ContractCallWithTokenTxs | SendTokenTxs;
136
- /**
137
- * Axelar transfer type:
138
- * * `AXELAR_TRANSFER_CONTRACT_CALL_WITH_TOKEN` - GMP contract call with token transfer type
139
- * * `AXELAR_TRANSFER_SEND_TOKEN` - Send token transfer type
140
- */
141
- type?: AxelarTransferType;
142
- }
143
- /**
144
- * Axelar transfer state:
145
- * * `AXELAR_TRANSFER_UNKNOWN` - Unknown error
146
- * * `AXELAR_TRANSFER_PENDING_CONFIRMATION` - Axelar transfer is pending confirmation
147
- * * `AXELAR_TRANSFER_PENDING_RECEIPT` - Axelar transfer is pending receipt at destination
148
- * * `AXELAR_TRANSFER_SUCCESS` - Axelar transfer succeeded and assets have been received
149
- * * `AXELAR_TRANSFER_FAILURE` - Axelar transfer failed
150
- */
151
- declare enum AxelarTransferState {
152
- AXELAR_TRANSFER_UNKNOWN = "AXELAR_TRANSFER_UNKNOWN",
153
- AXELAR_TRANSFER_PENDING_CONFIRMATION = "AXELAR_TRANSFER_PENDING_CONFIRMATION",
154
- AXELAR_TRANSFER_PENDING_RECEIPT = "AXELAR_TRANSFER_PENDING_RECEIPT",
155
- AXELAR_TRANSFER_SUCCESS = "AXELAR_TRANSFER_SUCCESS",
156
- AXELAR_TRANSFER_FAILURE = "AXELAR_TRANSFER_FAILURE"
157
- }
158
- /**
159
- * Axelar transfer type:
160
- * * `AXELAR_TRANSFER_CONTRACT_CALL_WITH_TOKEN` - GMP contract call with token transfer type
161
- * * `AXELAR_TRANSFER_SEND_TOKEN` - Send token transfer type
162
- */
163
- declare enum AxelarTransferType {
164
- AXELAR_TRANSFER_CONTRACT_CALL_WITH_TOKEN = "AXELAR_TRANSFER_CONTRACT_CALL_WITH_TOKEN",
165
- AXELAR_TRANSFER_SEND_TOKEN = "AXELAR_TRANSFER_SEND_TOKEN"
166
- }
167
- interface AxelarTransferWrapper {
168
- /** A transfer facilitated by the Axelar bridge */
169
- axelarTransfer?: AxelarTransfer;
170
- }
171
- /** Details about the fee paid for Smart Relaying */
172
- interface SmartRelayFeeQuote {
173
- /** The USDC fee amount */
174
- feeAmount?: string;
175
- /** The fee asset denomination */
176
- feeDenom?: string;
177
- /** The address the fee should be sent to */
178
- feePaymentAddress?: string;
179
- /** Address of the relayer */
180
- relayerAddress?: string;
181
- /** Expiration time of the fee quote */
182
- expiration?: string;
183
- }
184
- /** A transfer facilitated by the CCTP bridge */
185
- interface CCTPTransfer {
186
- /** Canonical chain-id of the source chain of the bridge transaction */
187
- fromChainId?: string;
188
- /** Canonical chain-id of the destination chain of the bridge transaction */
189
- toChainId?: string;
190
- /** Name of the asset to bridge. It will be the erc-20 contract address for EVM chains and `uusdc` for Noble. */
191
- burnToken?: string;
192
- /** Denom of the input asset */
193
- denomIn?: string;
194
- /** Denom of the output asset */
195
- denomOut?: string;
196
- /**
197
- * Bridge Type:
198
- * * `IBC` - IBC Bridge
199
- * * `AXELAR` - Axelar Bridge
200
- * * `CCTP` - CCTP Bridge
201
- * * `HYPERLANE` - Hyperlane Bridge
202
- * * `OPINIT` - Opinit Bridge
203
- * * `GO_FAST` - Go Fast Bridge
204
- * * `STARGATE` - Stargate Bridge
205
- * * `EUREKA` - IBC Eureka Bridge
206
- */
207
- bridgeId?: BridgeType;
208
- /** Indicates whether this transfer is relayed via Smart Relay */
209
- smartRelay?: boolean;
210
- smartRelayFeeQuote?: SmartRelayFeeQuote;
211
- }
212
- interface CCTPTransferInfo {
213
- /** Chain ID of the destination chain */
214
- toChainId?: string;
215
- /** Chain ID of the source chain */
216
- fromChainId?: string;
217
- /**
218
- * CCTP transfer state:
219
- * * `CCTP_TRANSFER_UNKNOWN` - Unknown error
220
- * * `CCTP_TRANSFER_SENT` - The burn transaction on the source chain has executed
221
- * * `CCTP_TRANSFER_PENDING_CONFIRMATION` - CCTP transfer is pending confirmation by the cctp attestation api
222
- * * `CCTP_TRANSFER_CONFIRMED` - CCTP transfer has been confirmed by the cctp attestation api
223
- * * `CCTP_TRANSFER_RECEIVED` - CCTP transfer has been received at the destination chain
224
- */
225
- state?: CCTPTransferState;
226
- txs?: CCTPTransferTxs;
227
- }
228
- interface CCTPTransferTxs {
229
- sendTx?: ChainTransaction;
230
- receiveTx?: ChainTransaction;
231
- }
232
- /**
233
- * CCTP transfer state:
234
- * * `CCTP_TRANSFER_UNKNOWN` - Unknown error
235
- * * `CCTP_TRANSFER_SENT` - The burn transaction on the source chain has executed
236
- * * `CCTP_TRANSFER_PENDING_CONFIRMATION` - CCTP transfer is pending confirmation by the cctp attestation api
237
- * * `CCTP_TRANSFER_CONFIRMED` - CCTP transfer has been confirmed by the cctp attestation api
238
- * * `CCTP_TRANSFER_RECEIVED` - CCTP transfer has been received at the destination chain
239
- */
240
- declare enum CCTPTransferState {
241
- CCTP_TRANSFER_UNKNOWN = "CCTP_TRANSFER_UNKNOWN",
242
- CCTP_TRANSFER_SENT = "CCTP_TRANSFER_SENT",
243
- CCTP_TRANSFER_PENDING_CONFIRMATION = "CCTP_TRANSFER_PENDING_CONFIRMATION",
244
- CCTP_TRANSFER_CONFIRMED = "CCTP_TRANSFER_CONFIRMED",
245
- CCTP_TRANSFER_RECEIVED = "CCTP_TRANSFER_RECEIVED"
246
- }
247
- interface CCTPTransferWrapper {
248
- /** A transfer facilitated by the CCTP bridge */
249
- cctpTransfer?: CCTPTransfer;
250
- }
251
- /** A transfer facilitated by the Stargate bridge */
252
- interface StargateTransfer {
253
- /** Canonical chain-id of the source chain of the bridge transaction */
254
- fromChainId?: string;
255
- /** Canonical chain-id of the destination chain of the bridge transaction */
256
- toChainId?: string;
257
- /** Denom of the input asset */
258
- denomIn?: string;
259
- /** Denom of the output asset */
260
- denomOut?: string;
261
- /**
262
- * Bridge Type:
263
- * * `IBC` - IBC Bridge
264
- * * `AXELAR` - Axelar Bridge
265
- * * `CCTP` - CCTP Bridge
266
- * * `HYPERLANE` - Hyperlane Bridge
267
- * * `OPINIT` - Opinit Bridge
268
- * * `GO_FAST` - Go Fast Bridge
269
- * * `STARGATE` - Stargate Bridge
270
- * * `EUREKA` - IBC Eureka Bridge
271
- */
272
- bridgeId?: BridgeType;
273
- poolAddress?: string;
274
- destinationEndpointId?: number;
275
- oftFeeAsset?: Asset;
276
- oftFeeAmount?: string;
277
- oftFeeAmountUsd?: string;
278
- messagingFeeAsset?: Asset;
279
- messagingFeeAmount?: string;
280
- messageingFeeAmountUsd?: string;
281
- }
282
- /**
283
- * Stargate transfer state:
284
- * * `STARGATE_TRANSFER_UNKNOWN` - Unknown error
285
- * * `STARGATE_TRANSFER_SENT` - The Stargate transfer transaction on the source chain has executed
286
- * * `STARGATE_TRANSFER_PENDING_CONFIRMATION` - Stargate transfer is pending confirmation
287
- * * `STARGATE_TRANSFER_CONFIRMED` - Stargate transfer has been confirmed
288
- * * `STARGATE_TRANSFER_RECEIVED` - Stargate transfer has been received at the destination chain
289
- * * `STARGATE_TRANSFER_FAILED` - Stargate transfer failed
290
- */
291
- declare enum StargateTransferState {
292
- STARGATE_TRANSFER_UNKNOWN = "STARGATE_TRANSFER_UNKNOWN",
293
- STARGATE_TRANSFER_SENT = "STARGATE_TRANSFER_SENT",
294
- STARGATE_TRANSFER_PENDING_CONFIRMATION = "STARGATE_TRANSFER_PENDING_CONFIRMATION",
295
- STARGATE_TRANSFER_CONFIRMED = "STARGATE_TRANSFER_CONFIRMED",
296
- STARGATE_TRANSFER_RECEIVED = "STARGATE_TRANSFER_RECEIVED",
297
- STARGATE_TRANSFER_FAILED = "STARGATE_TRANSFER_FAILED"
298
- }
299
- interface StargateTransferTxs {
300
- sendTx?: ChainTransaction;
301
- receiveTx?: ChainTransaction;
302
- errorTx?: ChainTransaction;
303
- }
304
- interface StargateTransferInfo {
305
- /** Chain ID of the source chain */
306
- fromChainId?: string;
307
- /** Chain ID of the destination chain */
308
- toChainId?: string;
309
- /**
310
- * Stargate transfer state:
311
- * * `STARGATE_TRANSFER_UNKNOWN` - Unknown error
312
- * * `STARGATE_TRANSFER_SENT` - The Stargate transfer transaction on the source chain has executed
313
- * * `STARGATE_TRANSFER_PENDING_CONFIRMATION` - Stargate transfer is pending confirmation
314
- * * `STARGATE_TRANSFER_CONFIRMED` - Stargate transfer has been confirmed
315
- * * `STARGATE_TRANSFER_RECEIVED` - Stargate transfer has been received at the destination chain
316
- * * `STARGATE_TRANSFER_FAILED` - Stargate transfer failed
317
- */
318
- state?: StargateTransferState;
319
- txs?: StargateTransferTxs;
320
- }
321
- interface StargateTransferWrapper {
322
- /** A transfer facilitated by the Stargate bridge */
323
- stargateTransfer?: StargateTransfer;
324
- }
325
- /** A transfer facilitated by GoFast */
326
- interface GoFastTransfer {
327
- /** Canonical chain-id of the source chain of the bridge transaction */
328
- fromChainId?: string;
329
- /** Canonical chain-id of the destination chain of the bridge transaction */
330
- toChainId?: string;
331
- /**
332
- * Bridge Type:
333
- * * `IBC` - IBC Bridge
334
- * * `AXELAR` - Axelar Bridge
335
- * * `CCTP` - CCTP Bridge
336
- * * `HYPERLANE` - Hyperlane Bridge
337
- * * `OPINIT` - Opinit Bridge
338
- * * `GO_FAST` - Go Fast Bridge
339
- * * `STARGATE` - Stargate Bridge
340
- * * `EUREKA` - IBC Eureka Bridge
341
- */
342
- bridgeId?: BridgeType;
343
- /** Denom of the input asset */
344
- denomIn?: string;
345
- /** Denom of the output asset */
346
- denomOut?: string;
347
- /** Go fast Fee */
348
- fee?: GoFastFee;
349
- }
350
- /**
351
- * GoFast transfer state:
352
- * * `GO_FAST_TRANSFER_UNKNOWN` - Unknown state
353
- * * `GO_FAST_TRANSFER_SENT` - Order submitted on source chain
354
- * * `GO_FAST_POST_ACTION_FAILED` - Order filled, but subsequent action (e.g., swap) failed
355
- * * `GO_FAST_TRANSFER_TIMEOUT` - Order timed out
356
- * * `GO_FAST_TRANSFER_FILLED` - Order filled on destination chain
357
- * * `GO_FAST_TRANSFER_REFUNDED` - Order refunded
358
- */
359
- declare enum GoFastTransferState {
360
- GO_FAST_TRANSFER_UNKNOWN = "GO_FAST_TRANSFER_UNKNOWN",
361
- GO_FAST_TRANSFER_SENT = "GO_FAST_TRANSFER_SENT",
362
- GO_FAST_POST_ACTION_FAILED = "GO_FAST_POST_ACTION_FAILED",
363
- GO_FAST_TRANSFER_TIMEOUT = "GO_FAST_TRANSFER_TIMEOUT",
364
- GO_FAST_TRANSFER_FILLED = "GO_FAST_TRANSFER_FILLED",
365
- GO_FAST_TRANSFER_REFUNDED = "GO_FAST_TRANSFER_REFUNDED"
366
- }
367
- interface GoFastTransferTxs {
368
- orderSubmittedTx?: ChainTransaction;
369
- orderFilledTx?: ChainTransaction;
370
- orderRefundedTx?: ChainTransaction;
371
- orderTimeoutTx?: ChainTransaction;
372
- }
373
- interface GoFastTransferInfo {
374
- /** Chain Id of the source chain */
375
- fromChainId: string;
376
- /** Chain Id of the destination chain */
377
- toChainId: string;
378
- /**
379
- * GoFast transfer state:
380
- * * `GO_FAST_TRANSFER_UNKNOWN` - Unknown state
381
- * * `GO_FAST_TRANSFER_SENT` - Order submitted on source chain
382
- * * `GO_FAST_POST_ACTION_FAILED` - Order filled, but subsequent action (e.g., swap) failed
383
- * * `GO_FAST_TRANSFER_TIMEOUT` - Order timed out
384
- * * `GO_FAST_TRANSFER_FILLED` - Order filled on destination chain
385
- * * `GO_FAST_TRANSFER_REFUNDED` - Order refunded
386
- */
387
- state: GoFastTransferState;
388
- txs: GoFastTransferTxs;
389
- /** Error message if the transfer failed post-fill */
390
- errorMessage?: string;
391
- }
392
- interface BalanceRequestChainEntry {
393
- /** Address of the wallet that the balance is requested for */
394
- address?: string;
395
- /** Denoms of the assets to get the balance for */
396
- denoms?: string[];
397
- }
398
- interface BalanceResponseDenomEntry {
399
- amount: string;
400
- /** @format int32 */
401
- decimals?: number;
402
- formattedAmount: string;
403
- price?: string;
404
- valueUsd?: string;
405
- error?: ApiError;
406
- }
407
- interface BalanceResponseChainEntry {
408
- denoms?: Record<string, BalanceResponseDenomEntry>;
409
- }
410
- interface BankSend {
411
- /** Chain-id of the chain that the transaction is intended for */
412
- chainId?: string;
413
- /** Denom of the asset to send */
414
- denom?: string;
415
- }
416
- interface BankSendWrapper {
417
- bankSend?: BankSend;
418
- }
419
- interface Bridge {
420
- /**
421
- * Bridge Type:
422
- * * `IBC` - IBC Bridge
423
- * * `AXELAR` - Axelar Bridge
424
- * * `CCTP` - CCTP Bridge
425
- * * `HYPERLANE` - Hyperlane Bridge
426
- * * `OPINIT` - Opinit Bridge
427
- * * `GO_FAST` - Go Fast Bridge
428
- * * `STARGATE` - Stargate Bridge
429
- * * `EUREKA` - IBC Eureka Bridge
430
- */
431
- id?: BridgeType;
432
- /** Name of the bridge */
433
- name?: string;
434
- /** URI pointing to an image of the logo of the bridge */
435
- logoUri?: string;
436
- }
437
- /**
438
- * Bridge Type:
439
- * * `IBC` - IBC Bridge
440
- * * `AXELAR` - Axelar Bridge
441
- * * `CCTP` - CCTP Bridge
442
- * * `HYPERLANE` - Hyperlane Bridge
443
- * * `OPINIT` - Opinit Bridge
444
- * * `GO_FAST` - Go Fast Bridge
445
- * * `STARGATE` - Stargate Bridge
446
- * * `EUREKA` - IBC Eureka Bridge
447
- */
448
- declare enum BridgeType {
449
- IBC = "IBC",
450
- AXELAR = "AXELAR",
451
- CCTP = "CCTP",
452
- HYPERLANE = "HYPERLANE",
453
- OPINIT = "OPINIT",
454
- GO_FAST = "GO_FAST",
455
- STARGATE = "STARGATE",
456
- EUREKA = "EUREKA"
457
- }
458
- interface Chain {
459
- /** Name of the chain */
460
- chainName: string;
461
- /** Chain-id of the chain */
462
- chainId: string;
463
- /** Whether the PFM module is enabled on the chain */
464
- pfmEnabled: boolean;
465
- /** Supported cosmos modules */
466
- cosmosModuleSupport: CosmosModuleSupport;
467
- /** Whether the chain supports IBC memos */
468
- supportsMemo: boolean;
469
- /** chain logo URI */
470
- logoUri?: string;
471
- /** Bech32 prefix of the chain */
472
- bech32Prefix: string;
473
- /** Fee assets of the chain */
474
- feeAssets: FeeAsset[];
475
- /** Type of chain, e.g. "cosmos" or "evm" */
476
- chainType: ChainType;
477
- /** IBC capabilities of the chain */
478
- ibcCapabilities: IbcCapabilities;
479
- /** Whether the chain is a testnet */
480
- isTestnet: boolean;
481
- /** User friendly name of the chain */
482
- prettyName: string;
483
- }
484
- declare enum ChainType {
485
- Cosmos = "cosmos",
486
- Evm = "evm",
487
- Svm = "svm"
488
- }
489
- interface ChainAffiliates {
490
- /** An array of affiliates that receives fees from a swap */
491
- affiliates?: Affiliate[];
492
- }
493
- interface ContractCallWithTokenError {
494
- /** Error message */
495
- message?: string;
496
- /**
497
- * ContractCallWithToken errors:
498
- * * `CONTRACT_CALL_WITH_TOKEN_EXECUTION_ERROR` - Error occurred during the execute transaction
499
- */
500
- type?: ContractCallWithTokenErrorType;
501
- }
502
- /**
503
- * ContractCallWithToken errors:
504
- * * `CONTRACT_CALL_WITH_TOKEN_EXECUTION_ERROR` - Error occurred during the execute transaction
505
- */
506
- declare enum ContractCallWithTokenErrorType {
507
- CONTRACT_CALL_WITH_TOKEN_EXECUTION_ERROR = "CONTRACT_CALL_WITH_TOKEN_EXECUTION_ERROR"
508
- }
509
- interface ContractCallWithTokenTxs {
510
- approveTx?: ChainTransaction;
511
- confirmTx?: ChainTransaction;
512
- error?: ContractCallWithTokenError;
513
- executeTx?: ChainTransaction;
514
- gasPaidTx?: ChainTransaction;
515
- sendTx?: ChainTransaction;
516
- }
517
- interface CosmWasmContractMsg {
518
- /** Address of the contract to execute the message on */
519
- contractAddress?: string;
520
- /** JSON string of the message */
521
- msg?: string;
522
- }
523
- interface CosmWasmContractMsgWrapper {
524
- wasmMsg?: CosmWasmContractMsg;
525
- }
526
- /** An ERC20 token contract approval */
527
- interface Erc20Approval {
528
- /** Amount of the approval */
529
- amount: string;
530
- /** Address of the spender */
531
- spender: string;
532
- /** Address of the ERC20 token contract */
533
- tokenContract: string;
534
- }
535
- interface ErrorDetail {
536
- /**
537
- * Error detail:
538
- * * `LOW_INFO_ERROR` - Not enough asset pricing information to determine the price safety of the route.
539
- * * `BAD_PRICE_ERROR` - The execution price of the route deviates significantly from the current market price.
540
- */
541
- reason?: "LOW_INFO_ERROR" | "BAD_PRICE_ERROR";
542
- }
543
- interface Error {
544
- /** Error code */
545
- code?: GRPCStatusCode;
546
- /** Additional error details */
547
- details?: ErrorDetail[];
548
- /** Error message */
549
- message?: string;
550
- }
551
- /** A message in a cosmos transaction */
552
- interface CosmosMsg {
553
- /** JSON string of the message */
554
- msg?: string;
555
- /** TypeUrl of the message */
556
- msgTypeUrl?: string;
557
- }
558
- /** A transaction on a Cosmos chain */
559
- interface CosmosTx {
560
- /** Chain-id of the chain that the transaction is intended for */
561
- chainId: string;
562
- /** Path of chain-ids that the message is intended to interact with */
563
- path?: string[];
564
- /** The address of the wallet that will sign this transaction */
565
- signerAddress?: string;
566
- /** The messages that should be included in the transaction. The ordering must be adhered to. */
567
- msgs?: CosmosMsg[];
568
- }
569
- interface CosmosTxWrapper {
570
- /** A transaction on a Cosmos chain */
571
- cosmosTx: CosmosTx;
572
- }
573
- /** A swap on an EVM chain */
574
- interface EvmSwap {
575
- /** Address of the input token. Empty string if native token. */
576
- inputToken?: string;
577
- /** Amount of the input token */
578
- amountIn?: string;
579
- /** Calldata for the swap */
580
- swapCalldata?: string;
581
- /** Amount of the output token */
582
- amountOut?: string;
583
- /** Chain-id for the swap */
584
- fromChainId?: string;
585
- /** Denom of the input asset */
586
- denomIn?: string;
587
- /** Denom of the output asset */
588
- denomOut?: string;
589
- /** Venues used for the swap */
590
- swapVenues?: SwapVenue[];
591
- }
592
- interface EvmSwapWrapper {
593
- /** A swap on an EVM chain */
594
- evmSwap?: EvmSwap;
595
- }
596
- /** A transaction on an EVM chain */
597
- interface EvmTx {
598
- /** Chain-id of the chain that the transaction is intended for */
599
- chainId: string;
600
- /** Data of the transaction */
601
- data?: string;
602
- /** ERC20 approvals required for the transaction */
603
- requiredErc20Approvals?: Erc20Approval[];
604
- /** The address of the wallet that will sign this transaction */
605
- signerAddress?: string;
606
- /** Address of the recipient of the transaction */
607
- to?: string;
608
- /** Amount of the transaction */
609
- value?: string;
610
- }
611
- interface EvmTxWrapper {
612
- /** A transaction on an EVM chain */
613
- evmTx: EvmTx;
614
- }
615
- /** A transaction on an SVM chain */
616
- interface SvmTx {
617
- /** Chain-id of the chain that the transaction is intended for */
618
- chainId: string;
619
- /** The address of the wallet that will sign this transaction */
620
- signerAddress?: string;
621
- /** Base64 encoded unsigned or partially signed transaction */
622
- tx?: string;
623
- }
624
- interface SvmTxWrapper {
625
- /** A transaction on an SVM chain */
626
- svmTx: SvmTx;
627
- }
628
- /** Asset used to pay gas fees and the recommended price tiers. Assets and gas price recommendations are sourced from the [keplr chain registry](https://github.com/chainapsis/keplr-chain-registry) */
629
- interface FeeAsset {
630
- /** Asset denom */
631
- denom: string;
632
- /** Gas price tiers */
633
- gasPrice?: {
634
- /** Average gas price */
635
- average?: string;
636
- /** High gas price */
637
- high?: string;
638
- /** Low gas price */
639
- low?: string;
640
- };
641
- }
642
- /** Go fast Fee */
643
- interface GoFastFee {
644
- feeAsset: Asset;
645
- bpsFee?: string;
646
- bpsFeeAmount?: string;
647
- bpsFeeUsd?: string;
648
- sourceChainFeeAmount?: string;
649
- sourceChainFeeUsd?: string;
650
- destinationChainFeeAmount?: string;
651
- destinationChainFeeUsd?: string;
652
- }
653
- /** grpc status codes as defined [here](https://grpc.github.io/grpc/core/md_doc_statuscodes.html) */
654
- type GRPCStatusCode = number;
655
- /** A transfer facilitated by the Hyperlane bridge */
656
- interface HyperlaneTransfer {
657
- /** Canonical chain-id of the source chain of the bridge transaction */
658
- fromChainId?: string;
659
- /** Canonical chain-id of the destination chain of the bridge transaction */
660
- toChainId?: string;
661
- /** Denom of the input asset */
662
- denomIn?: string;
663
- /** Denom of the output asset */
664
- denomOut?: string;
665
- /** Contract address of the hyperlane warp route contract that initiates the transfer */
666
- hyperlaneContractAddress?: string;
667
- /** Amount of the fee asset to be paid as the Hyperlane bridge fee. This is denominated in the fee asset. */
668
- feeAmount?: string;
669
- feeAsset?: Asset;
670
- /** Amount of the fee asset to be paid as the Hyperlane bridge fee, converted to USD value */
671
- usdFeeAmount?: string;
672
- /**
673
- * Bridge Type:
674
- * * `IBC` - IBC Bridge
675
- * * `AXELAR` - Axelar Bridge
676
- * * `CCTP` - CCTP Bridge
677
- * * `HYPERLANE` - Hyperlane Bridge
678
- * * `OPINIT` - Opinit Bridge
679
- * * `GO_FAST` - Go Fast Bridge
680
- * * `STARGATE` - Stargate Bridge
681
- * * `EUREKA` - IBC Eureka Bridge
682
- */
683
- bridgeId?: BridgeType;
684
- /** Indicates whether this transfer is relayed via Smart Relay */
685
- smartRelay?: boolean;
686
- }
687
- interface HyperlaneTransferInfo {
688
- /** Chain ID of the source chain */
689
- fromChainId: string;
690
- /** Chain ID of the destination chain */
691
- toChainId: string;
692
- /**
693
- * Hyperlane transfer state:
694
- * * `HYPERLANE_TRANSFER_UNKNOWN` - Unknown error
695
- * * `HYPERLANE_TRANSFER_SENT` - The Hyperlane transfer transaction on the source chain has executed
696
- * * `HYPERLANE_TRANSFER_FAILED` - The Hyperlane transfer failed
697
- * * `HYPERLANE_TRANSFER_RECEIVED` - The Hyperlane transfer has been received at the destination chain
698
- */
699
- state: HyperlaneTransferState;
700
- txs: HyperlaneTransferTransactions;
701
- }
702
- /**
703
- * Hyperlane transfer state:
704
- * * `HYPERLANE_TRANSFER_UNKNOWN` - Unknown error
705
- * * `HYPERLANE_TRANSFER_SENT` - The Hyperlane transfer transaction on the source chain has executed
706
- * * `HYPERLANE_TRANSFER_FAILED` - The Hyperlane transfer failed
707
- * * `HYPERLANE_TRANSFER_RECEIVED` - The Hyperlane transfer has been received at the destination chain
708
- */
709
- declare enum HyperlaneTransferState {
710
- HYPERLANE_TRANSFER_UNKNOWN = "HYPERLANE_TRANSFER_UNKNOWN",
711
- HYPERLANE_TRANSFER_SENT = "HYPERLANE_TRANSFER_SENT",
712
- HYPERLANE_TRANSFER_FAILED = "HYPERLANE_TRANSFER_FAILED",
713
- HYPERLANE_TRANSFER_RECEIVED = "HYPERLANE_TRANSFER_RECEIVED"
714
- }
715
- interface HyperlaneTransferTransactions {
716
- sendTx?: ChainTransaction;
717
- receiveTx?: ChainTransaction;
718
- }
719
- interface HyperlaneTransferWrapper {
720
- /** A transfer facilitated by the Hyperlane bridge */
721
- hyperlaneTransfer?: HyperlaneTransfer;
722
- }
723
- interface IBCTransferInfo {
724
- /** Chain ID of the destination chain */
725
- toChainId: string;
726
- packetTxs: Packet;
727
- /** Chain ID of the source chain */
728
- fromChainId: string;
729
- /**
730
- * Transfer state:
731
- * * `TRANSFER_UNKNOWN` - Transfer state is not known.
732
- * * `TRANSFER_PENDING` - The send packet for the transfer has been committed and the transfer is pending.
733
- * * `TRANSFER_RECEIVED` - The transfer packet has been received by the destination chain. It can still fail and revert if it is part of a multi-hop PFM transfer.
734
- * * `TRANSFER_SUCCESS` - The transfer has been successfully completed and will not revert.
735
- * * `TRANSFER_FAILURE`- The transfer has failed.
736
- */
737
- state: TransferState;
738
- }
739
- type Msg = MultiChainMsgWrapper | EvmTxWrapper | SvmTxWrapper;
740
- type Tx = (CosmosTxWrapper | EvmTxWrapper | SvmTxWrapper) & {
741
- /** Array of indices of the operations that this transaction executes */
742
- operationsIndices?: number[];
743
- };
744
- /** A message that interacts with multiple chains */
745
- interface MultiChainMsg {
746
- /** Chain-id of the chain that the transaction containing the message is intended for */
747
- chainId?: string;
748
- /** JSON string of the message */
749
- msg?: string;
750
- /** TypeUrl of the message */
751
- msgTypeUrl?: string;
752
- /** Path of chain-ids that the message is intended to interact with */
753
- path?: string[];
754
- }
755
- interface MultiChainMsgWrapper {
756
- /** A message that interacts with multiple chains */
757
- multiChainMsg?: MultiChainMsg;
758
- }
759
- type Operation = (TransferWrapper | SwapWrapper | AxelarTransferWrapper | BankSendWrapper | CCTPTransferWrapper | HyperlaneTransferWrapper | EvmSwapWrapper | OPInitTransferWrapper | StargateTransferWrapper | EurekaTransferWrapper | LayerZeroTransferWrapper) & {
760
- /** Index of the tx returned from Msgs that executes this operation */
761
- txIndex: number;
762
- /** Amount of input asset to this operation */
763
- amountIn: string;
764
- /** Amount of output asset from this operation */
765
- amountOut: string;
766
- };
767
- interface OptionalAsset {
768
- asset?: Asset;
769
- /** Whether the asset was found */
770
- assetFound?: boolean;
771
- }
772
- interface LayerZeroTransferTransactions {
773
- sendTx?: ChainTransaction;
774
- receiveTx?: ChainTransaction;
775
- errorTx?: ChainTransaction;
776
- }
777
- interface Packet {
778
- acknowledgeTx?: ChainTransaction;
779
- error?: PacketError;
780
- receiveTx?: ChainTransaction;
781
- sendTx?: ChainTransaction;
782
- timeoutTx?: ChainTransaction;
783
- }
784
- interface PacketError {
785
- details?: AcknowledgementErrorDetails;
786
- /** Error message */
787
- message?: string;
788
- /**
789
- * Packet error type:
790
- * * `PACKET_ERROR_UNKNOWN` - Unknown error
791
- * * `PACKET_ERROR_ACKNOWLEDGEMENT` - Packet acknowledgement error
792
- * * `PACKET_ERROR_TIMEOUT` - Packet timed out
793
- */
794
- type?: PacketErrorType;
795
- }
796
- /**
797
- * Packet error type:
798
- * * `PACKET_ERROR_UNKNOWN` - Unknown error
799
- * * `PACKET_ERROR_ACKNOWLEDGEMENT` - Packet acknowledgement error
800
- * * `PACKET_ERROR_TIMEOUT` - Packet timed out
801
- */
802
- declare enum PacketErrorType {
803
- PACKET_ERROR_UNKNOWN = "PACKET_ERROR_UNKNOWN",
804
- PACKET_ERROR_ACKNOWLEDGEMENT = "PACKET_ERROR_ACKNOWLEDGEMENT",
805
- PACKET_ERROR_TIMEOUT = "PACKET_ERROR_TIMEOUT"
806
- }
807
- interface ChainTransaction {
808
- /** Chain ID the packet event occurs on */
809
- chainId?: string;
810
- /** Link to the transaction on block explorer */
811
- explorerLink: string;
812
- /** Hash of the transaction the packet event occurred in */
813
- txHash?: string;
814
- }
815
- type PostHandler = CosmWasmContractMsgWrapper | AutopilotMsgWrapper;
816
- /**
817
- * Recommendation reason:
818
- * * `UNKNOWN` - Unknown recommendation reason.
819
- * * `MOST_LIQUID` - Highest liquidity form of the transferred token on the destination chain.
820
- * * `BASE_TOKEN` - The base token if the destination chain is the origin chain of the source token.
821
- * * `DIRECT` - The token resulting from the least amount of transfers to the destination chain.
822
- */
823
- declare enum Reason {
824
- UNKNOWN = "UNKNOWN",
825
- MOST_LIQUID = "MOST_LIQUID",
826
- BASE_TOKEN = "BASE_TOKEN",
827
- DIRECT = "DIRECT"
828
- }
829
- /**
830
- * Recommendation reason:
831
- * * `LOW_INFO_WARNING` - Not enough asset pricing information to determine the price safety of the route.
832
- * * `BAD_PRICE_WARNING` - The execution price of the route deviates significantly from the current market price.
833
- */
834
- declare enum RoutePriceWarningType {
835
- LOW_INFO_WARNING = "LOW_INFO_WARNING",
836
- BAD_PRICE_WARNING = "BAD_PRICE_WARNING"
837
- }
838
- interface RouteResponse {
839
- /** Amount of source asset to be transferred or swapped */
840
- amountIn: string;
841
- /** Amount of destination asset out */
842
- amountOut: string;
843
- /** Chain-ids of all chains of the transfer or swap, in order of usage by operations in the route */
844
- chainIds: string[];
845
- /** All chain-ids that require an address to be provided for, in order of usage by operations in the route */
846
- requiredChainAddresses: string[];
847
- /** Chain-id of the destination asset */
848
- destAssetChainId: string;
849
- /** Denom of the destination asset */
850
- destAssetDenom: string;
851
- /** Whether this route performs a swap */
852
- doesSwap?: boolean;
853
- /** Amount of destination asset out, if a swap is performed */
854
- estimatedAmountOut: string;
855
- /** Array of operations required to perform the transfer or swap */
856
- operations: Operation[];
857
- /** Chain-id of the source asset */
858
- sourceAssetChainId: string;
859
- /** Denom of the source asset */
860
- sourceAssetDenom: string;
861
- /** Swap venue on which the swap is performed, if a swap is performed */
862
- swapVenue?: SwapVenue;
863
- /** Number of transactions required to perform the transfer or swap */
864
- txsRequired: number;
865
- /** Amount of the source denom, converted to USD value */
866
- usdAmountIn?: string;
867
- /** Amount of the destination denom expected to be received, converted to USD value */
868
- usdAmountOut?: string;
869
- /** Price impact of the estimated swap, if present. Measured in percentage e.g. "0.5" is .5% */
870
- swapPriceImpactPercent?: string;
871
- /** Indicates if the route is unsafe due to poor execution price or if safety cannot be determined due to lack of pricing information */
872
- warning?: {
873
- /**
874
- * Recommendation reason:
875
- * * `LOW_INFO_WARNING` - Not enough asset pricing information to determine the price safety of the route.
876
- * * `BAD_PRICE_WARNING` - The execution price of the route deviates significantly from the current market price.
877
- */
878
- type?: RoutePriceWarningType;
879
- /** Warning message */
880
- message?: string;
881
- };
882
- /** Indicates fees incurred in the execution of the transfer */
883
- estimatedFees?: Fee[];
884
- /** The estimated time in seconds for the route to execute */
885
- estimatedRouteDurationSeconds?: number;
886
- }
887
- interface SendTokenError {
888
- /** Error message */
889
- message?: string;
890
- /**
891
- * SendToken error types:
892
- * * `SEND_TOKEN_EXECUTION_ERROR` - Error occurred during the execute transaction
893
- */
894
- type?: SendTokenErrorType;
895
- }
896
- /**
897
- * SendToken error types:
898
- * * `SEND_TOKEN_EXECUTION_ERROR` - Error occurred during the execute transaction
899
- */
900
- declare enum SendTokenErrorType {
901
- SEND_TOKEN_EXECUTION_ERROR = "SEND_TOKEN_EXECUTION_ERROR"
902
- }
903
- interface SendTokenTxs {
904
- confirmTx?: ChainTransaction;
905
- error?: SendTokenError;
906
- executeTx?: ChainTransaction;
907
- sendTx?: ChainTransaction;
908
- }
909
- interface StatusError {
910
- details?: TransactionExecutionErrorDetails;
911
- /** Error message */
912
- message?: string;
913
- /**
914
- * Packet error types:
915
- * * `STATUS_ERROR_UNKNOWN` - Unknown error
916
- * * `STATUS_ERROR_TRANSACTION_EXECUTION` - Error was encountered during transaction execution
917
- * * `STATUS_ERROR_INDEXING` - Error was encountered while indexing the transaction and packet data
918
- * * `STATUS_ERROR_TRANSFER` - The transfer failed to complete successfully
919
- */
920
- type?: StatusErrorType;
921
- }
922
- /**
923
- * Packet error types:
924
- * * `STATUS_ERROR_UNKNOWN` - Unknown error
925
- * * `STATUS_ERROR_TRANSACTION_EXECUTION` - Error was encountered during transaction execution
926
- * * `STATUS_ERROR_INDEXING` - Error was encountered while indexing the transaction and packet data
927
- * * `STATUS_ERROR_TRANSFER` - The transfer failed to complete successfully
928
- */
929
- declare enum StatusErrorType {
930
- STATUS_ERROR_UNKNOWN = "STATUS_ERROR_UNKNOWN",
931
- STATUS_ERROR_TRANSACTION_EXECUTION = "STATUS_ERROR_TRANSACTION_EXECUTION",
932
- STATUS_ERROR_INDEXING = "STATUS_ERROR_INDEXING",
933
- STATUS_ERROR_TRANSFER = "STATUS_ERROR_TRANSFER"
934
- }
935
- type Swap = (SwapInWrapper | SwapOutWrapper | SmartSwapInWrapper) & {
936
- /** Estimated total affiliate fee generated by the swap */
937
- estimatedAffiliateFee?: string;
938
- /** Chain ID that the swap will be executed on */
939
- chainId?: string;
940
- /** Chain ID that the swap will be executed on (alias for chain_id) */
941
- fromChainId?: string;
942
- /** Input denom of the swap */
943
- denomIn?: string;
944
- /** Output denom of the swap */
945
- denomOut?: string;
946
- /** Swap venues that the swap will route through */
947
- swapVenues?: SwapVenue[];
948
- };
949
- /** Specification of a swap with an exact amount in */
950
- interface SwapExactCoinIn {
951
- /** Amount to swap in */
952
- swapAmountIn?: string;
953
- /** Operations required to execute the swap */
954
- swapOperations?: SwapOperation[];
955
- /** Swap venue that this swap should execute on */
956
- swapVenue?: SwapVenue;
957
- /** Price impact of the estimated swap, if present. Measured in percentage e.g. "0.5" is .5% */
958
- priceImpactPercent?: string;
959
- }
960
- /** Specification of a swap with an exact amount out */
961
- interface SwapExactCoinOut {
962
- /** Amount to get out of the swap */
963
- swapAmountOut?: string;
964
- /** Operations required to execute the swap */
965
- swapOperations?: SwapOperation[];
966
- /** Swap venue that this swap should execute on */
967
- swapVenue?: SwapVenue;
968
- /** Price impact of the estimated swap, if present. Measured in percentage e.g. "0.5" is .5% */
969
- priceImpactPercent?: string;
970
- }
971
- interface SwapInWrapper {
972
- /** Specification of a swap with an exact amount in */
973
- swapIn?: SwapExactCoinIn;
974
- }
975
- /** Description of a single swap operation */
976
- interface SwapOperation {
977
- /** Input denom of the swap */
978
- denomIn?: string;
979
- /** Output denom of the swap */
980
- denomOut?: string;
981
- /** Identifier of the pool to use for the swap */
982
- pool?: string;
983
- /** Optional dditional metadata a swap adapter may require */
984
- interface?: string;
985
- }
986
- interface SwapOutWrapper {
987
- /** Specification of a swap with an exact amount out */
988
- swapOut?: SwapExactCoinOut;
989
- }
990
- interface SwapRoute {
991
- /** Amount to swap in */
992
- swapAmountIn?: string;
993
- /** Denom in of the swap */
994
- denomIn?: string;
995
- /** Operations required to execute the swap route */
996
- swapOperations?: SwapOperation[];
997
- }
998
- /** Specification of a smart swap in operation */
999
- interface SmartSwapExactCoinIn {
1000
- /** Swap venue that this swap should execute on */
1001
- swapVenue?: SwapVenue;
1002
- /** Routes to execute the swap */
1003
- swapRoutes?: SwapRoute[];
1004
- }
1005
- interface SmartSwapOptions {
1006
- /** Indicates whether the swap can be split into multiple swap routes */
1007
- splitRoutes?: boolean;
1008
- /** Indicates whether to include routes that swap on EVM chains */
1009
- evmSwaps?: boolean;
1010
- }
1011
- interface SmartSwapInWrapper {
1012
- /** Specification of a smart swap in operation */
1013
- smartSwapIn?: SmartSwapExactCoinIn;
1014
- }
1015
- /** A venue on which swaps can be exceuted */
1016
- interface SwapVenue {
1017
- /** Chain ID of the swap venue */
1018
- chainId?: string;
1019
- /** Name of the swap venue */
1020
- name?: string;
1021
- /** URI for the venue's logo */
1022
- logoUri?: string;
1023
- }
1024
- interface SwapWrapper {
1025
- swap?: Swap;
1026
- }
1027
- interface TransactionExecutionErrorDetails {
1028
- /** Error code */
1029
- code?: number;
1030
- /** Error message */
1031
- message?: string;
1032
- }
1033
- /**
1034
- * Transaction state:
1035
- * * `STATE_SUBMITTED` - The initial transaction has been submitted to Skip Go API but not observed on chain yet
1036
- * * `STATE_PENDING` - The initial transaction has been observed on chain, and there are still pending actions
1037
- * * `STATE_COMPLETED_SUCCESS` - The route has completed successfully and the user has their tokens on the destination. (indicated by `transfer_asset_release`)
1038
- * * `STATE_COMPLETED_ERROR` - The route errored somewhere and the user has their tokens unlocked in one of their wallets. Their tokens are either on the source chain, an intermediate chain, or the destination chain but as the wrong asset.
1039
- * (Again, `transfer_asset_release` indicates where the tokens are)
1040
- * * `STATE_ABANDONED` - Tracking for the transaction has been abandoned. This happens if the cross-chain sequence of actions stalls for more than 10 minutes or if the initial transaction does not get observed in a block for 5 minutes.
1041
- * * `STATE_PENDING_ERROR` - The overall transaction will fail, pending error propagation
1042
- */
1043
- declare enum TransactionState {
1044
- STATE_SUBMITTED = "STATE_SUBMITTED",
1045
- STATE_PENDING = "STATE_PENDING",
1046
- STATE_COMPLETED_SUCCESS = "STATE_COMPLETED_SUCCESS",
1047
- STATE_COMPLETED_ERROR = "STATE_COMPLETED_ERROR",
1048
- STATE_ABANDONED = "STATE_ABANDONED",
1049
- STATE_PENDING_ERROR = "STATE_PENDING_ERROR"
1050
- }
1051
- /** A transfer facilitated by the CCTP bridge */
1052
- interface OPInitTransfer {
1053
- /** Canonical chain-id of the source chain of the bridge transaction */
1054
- fromChainId?: string;
1055
- /** Canonical chain-id of the destination chain of the bridge transaction */
1056
- toChainId?: string;
1057
- /** Denom of the input asset */
1058
- denomIn?: string;
1059
- /** Denom of the output asset */
1060
- denomOut?: string;
1061
- /** Identifier used by the OPInit bridge to identify the L1-L2 pair the transfer occurs between */
1062
- opInitBridgeId?: any;
1063
- /**
1064
- * Bridge Type:
1065
- * * `IBC` - IBC Bridge
1066
- * * `AXELAR` - Axelar Bridge
1067
- * * `CCTP` - CCTP Bridge
1068
- * * `HYPERLANE` - Hyperlane Bridge
1069
- * * `OPINIT` - Opinit Bridge
1070
- * * `GO_FAST` - Go Fast Bridge
1071
- * * `STARGATE` - Stargate Bridge
1072
- * * `EUREKA` - IBC Eureka Bridge
1073
- */
1074
- bridgeId?: BridgeType;
1075
- /** Indicates whether this transfer is relayed via Smart Relay */
1076
- smartRelay?: boolean;
1077
- }
1078
- interface OPInitTransferWrapper {
1079
- /** A transfer facilitated by the CCTP bridge */
1080
- transfer?: OPInitTransfer;
1081
- }
1082
- interface OPInitTransferInfo {
1083
- /** Chain ID of the destination chain */
1084
- toChainId: string;
1085
- /** Chain ID of the source chain */
1086
- fromChainId: string;
1087
- /**
1088
- * OPInit transfer state:
1089
- * * `OPINIT_TRANSFER_UNKNOWN` - Unknown error
1090
- * * `OPINIT_TRANSFER_SENT` - The deposit transaction on the source chain has executed
1091
- * * `OPINIT_TRANSFER_RECEIVED` - OPInit transfer has been received at the destination chain
1092
- */
1093
- state: OPInitTransferState;
1094
- txs: OPInitTransferTxs;
1095
- }
1096
- interface OPInitTransferTxs {
1097
- sendTx?: ChainTransaction;
1098
- receiveTx?: ChainTransaction;
1099
- }
1100
- /**
1101
- * OPInit transfer state:
1102
- * * `OPINIT_TRANSFER_UNKNOWN` - Unknown error
1103
- * * `OPINIT_TRANSFER_SENT` - The deposit transaction on the source chain has executed
1104
- * * `OPINIT_TRANSFER_RECEIVED` - OPInit transfer has been received at the destination chain
1105
- */
1106
- declare enum OPInitTransferState {
1107
- OPINIT_TRANSFER_UNKNOWN = "OPINIT_TRANSFER_UNKNOWN",
1108
- OPINIT_TRANSFER_SENT = "OPINIT_TRANSFER_SENT",
1109
- OPINIT_TRANSFER_RECEIVED = "OPINIT_TRANSFER_RECEIVED"
1110
- }
1111
- /**
1112
- * LayerZero transfer state:
1113
- * * `LAYER_ZERO_TRANSFER_UNKNOWN` - Unknown error
1114
- * * `LAYER_ZERO_TRANSFER_SENT` - The transaction on the source chain has executed
1115
- * * `LAYER_ZERO_TRANSFER_RECEIVED` - The transfer has been received at the destination chain
1116
- * * `LAYER_ZERO_TRANSFER_FAILED` - The transfer has failed
1117
- */
1118
- declare enum LayerZeroTransferState {
1119
- LAYER_ZERO_TRANSFER_UNKNOWN = "LAYER_ZERO_TRANSFER_UNKNOWN",
1120
- LAYER_ZERO_TRANSFER_SENT = "LAYER_ZERO_TRANSFER_SENT",
1121
- LAYER_ZERO_TRANSFER_RECEIVED = "LAYER_ZERO_TRANSFER_RECEIVED",
1122
- LAYER_ZERO_TRANSFER_FAILED = "LAYER_ZERO_TRANSFER_FAILED"
1123
- }
1124
- /** A cross-chain transfer */
1125
- interface Transfer {
1126
- /** Chain-id on which the transfer is initiated */
1127
- fromChainId?: string;
1128
- /** Chain-id on which the transfer is received */
1129
- toChainId?: string;
1130
- /** Channel to use to initiate the transfer */
1131
- channel?: string;
1132
- /** Denom of the destination asset of the transfer */
1133
- destDenom?: string;
1134
- /** Whether pfm is enabled on the chain where the transfer is initiated */
1135
- pfmEnabled?: boolean;
1136
- /** Port to use to initiate the transfer */
1137
- port?: string;
1138
- /** Whether the transfer chain supports a memo */
1139
- supportsMemo?: boolean;
1140
- /** Denom of the input asset of the transfer */
1141
- denomIn?: string;
1142
- /** Denom of the output asset of the transfer */
1143
- denomOut?: string;
1144
- /** Amount of the fee asset to be paid as the transfer fee if applicable. */
1145
- feeAmount?: string;
1146
- /** Amount of the fee asset to be paid as the transfer fee if applicable, converted to USD value */
1147
- usdFeeAmount?: string;
1148
- /** Asset to be paid as the transfer fee if applicable. */
1149
- feeAsset?: Asset;
1150
- /**
1151
- * Bridge Type:
1152
- * * `IBC` - IBC Bridge
1153
- * * `AXELAR` - Axelar Bridge
1154
- * * `CCTP` - CCTP Bridge
1155
- * * `HYPERLANE` - Hyperlane Bridge
1156
- * * `OPINIT` - Opinit Bridge
1157
- * * `GO_FAST` - Go Fast Bridge
1158
- * * `STARGATE` - Stargate Bridge
1159
- * * `EUREKA` - IBC Eureka Bridge
1160
- */
1161
- bridgeId?: BridgeType;
1162
- /** Indicates whether this transfer is relayed via Smart Relay */
1163
- smartRelay?: boolean;
1164
- }
1165
- interface TransferEvent {
1166
- ibcTransfer?: IBCTransferInfo;
1167
- axelarTransfer?: AxelarTransferInfo;
1168
- cctpTransfer?: CCTPTransferInfo;
1169
- hyperlaneTransfer?: HyperlaneTransferInfo;
1170
- opInitTransfer?: OPInitTransferInfo;
1171
- stargateTransfer?: StargateTransferInfo;
1172
- goFastTransfer?: GoFastTransferInfo;
1173
- eurekaTransfer?: EurekaTransferInfo;
1174
- layerZeroTransfer?: LayerZeroTransferInfo;
1175
- }
1176
- /**
1177
- * Transfer state:
1178
- * * `TRANSFER_UNKNOWN` - Transfer state is not known.
1179
- * * `TRANSFER_PENDING` - The send packet for the transfer has been committed and the transfer is pending.
1180
- * * `TRANSFER_RECEIVED` - The transfer packet has been received by the destination chain. It can still fail and revert if it is part of a multi-hop PFM transfer.
1181
- * * `TRANSFER_SUCCESS` - The transfer has been successfully completed and will not revert.
1182
- * * `TRANSFER_FAILURE`- The transfer has failed.
1183
- */
1184
- declare enum TransferState {
1185
- TRANSFER_UNKNOWN = "TRANSFER_UNKNOWN",
1186
- TRANSFER_PENDING = "TRANSFER_PENDING",
1187
- TRANSFER_RECEIVED = "TRANSFER_RECEIVED",
1188
- TRANSFER_SUCCESS = "TRANSFER_SUCCESS",
1189
- TRANSFER_FAILURE = "TRANSFER_FAILURE"
1190
- }
1191
- /** Indicates location and denom of transfer asset release. */
1192
- interface TransferAssetRelease {
1193
- /** The chain ID of the chain that the transfer asset is released on. */
1194
- chainId?: string;
1195
- /** The denom of the asset that is released. */
1196
- denom?: string;
1197
- /** The amount of the asset that is released. */
1198
- amount?: string;
1199
- /** Indicates whether assets have been released and are accessible. The assets may still be in transit. */
1200
- released?: boolean;
1201
- }
1202
- interface TransferStatus {
1203
- error?: StatusError;
1204
- /** Indicates which entry in the `transfer_sequence` field that the transfer is blocked on. Will be null if there is no blocked transfer. */
1205
- nextBlockingTransfer?: {
1206
- /** The index of the entry in the `transfer_sequence` field that the transfer is blocked on. */
1207
- transferSequenceIndex?: number;
1208
- };
1209
- /**
1210
- * Transaction state:
1211
- * * `STATE_SUBMITTED` - The initial transaction has been submitted to Skip Go API but not observed on chain yet
1212
- * * `STATE_PENDING` - The initial transaction has been observed on chain, and there are still pending actions
1213
- * * `STATE_COMPLETED_SUCCESS` - The route has completed successfully and the user has their tokens on the destination. (indicated by `transfer_asset_release`)
1214
- * * `STATE_COMPLETED_ERROR` - The route errored somewhere and the user has their tokens unlocked in one of their wallets. Their tokens are either on the source chain, an intermediate chain, or the destination chain but as the wrong asset.
1215
- * (Again, `transfer_asset_release` indicates where the tokens are)
1216
- * * `STATE_ABANDONED` - Tracking for the transaction has been abandoned. This happens if the cross-chain sequence of actions stalls for more than 10 minutes or if the initial transaction does not get observed in a block for 5 minutes.
1217
- * * `STATE_PENDING_ERROR` - The overall transaction will fail, pending error propagation
1218
- */
1219
- state?: TransactionState;
1220
- /** Indicates location and denom of transfer asset release. */
1221
- transferAssetRelease?: TransferAssetRelease;
1222
- /** Lists any IBC and Axelar transfers as they are seen. */
1223
- transferSequence?: TransferEvent[];
1224
- }
1225
- interface TransferWrapper {
1226
- /** A cross-chain transfer */
1227
- transfer?: Transfer;
1228
- }
1229
- /** An IBC Eureka transfer */
1230
- interface EurekaTransfer {
1231
- /** Port on the destination chain */
1232
- destinationPort?: string;
1233
- /** Client on the source chain */
1234
- sourceClient?: string;
1235
- /** Chain-id on which the transfer is initiated */
1236
- fromChainId?: string;
1237
- /** Chain-id on which the transfer is received */
1238
- toChainId?: string;
1239
- /** Whether pfm is enabled on the chain where the transfer is initiated */
1240
- pfmEnabled?: boolean;
1241
- /** Whether the transfer chain supports a memo */
1242
- supportsMemo?: boolean;
1243
- /** Denom of the input asset of the transfer */
1244
- denomIn?: string;
1245
- /** Denom of the output asset of the transfer */
1246
- denomOut?: string;
1247
- /** Address of the Eureka entry contract on the source chain */
1248
- entryContractAddress?: string;
1249
- /** Optional address of the Eureka callback adapter contract on the source chain */
1250
- callbackAdapterContractAddress?: string;
1251
- /**
1252
- * Bridge Type:
1253
- * * `IBC` - IBC Bridge
1254
- * * `AXELAR` - Axelar Bridge
1255
- * * `CCTP` - CCTP Bridge
1256
- * * `HYPERLANE` - Hyperlane Bridge
1257
- * * `OPINIT` - Opinit Bridge
1258
- * * `GO_FAST` - Go Fast Bridge
1259
- * * `STARGATE` - Stargate Bridge
1260
- * * `EUREKA` - IBC Eureka Bridge
1261
- */
1262
- bridgeId?: BridgeType;
1263
- /** Indicates whether this transfer is relayed via Smart Relay */
1264
- smartRelay?: boolean;
1265
- smartRelayFeeQuote?: SmartRelayFeeQuote;
1266
- /** Optional address of the Eureka callback contract on the destination chain */
1267
- toChainCallbackContractAddress?: string;
1268
- /** Optional address of the Eureka entry contract on the destination chain */
1269
- toChainEntryContractAddress?: string;
1270
- }
1271
- interface EurekaTransferInfo {
1272
- /** Chain ID of the source chain */
1273
- fromChainId: string;
1274
- /** Chain ID of the destination chain */
1275
- toChainId: string;
1276
- /**
1277
- * Transfer state:
1278
- * * `TRANSFER_UNKNOWN` - Transfer state is not known.
1279
- * * `TRANSFER_PENDING` - The send packet for the transfer has been committed and the transfer is pending.
1280
- * * `TRANSFER_RECEIVED` - The transfer packet has been received by the destination chain. It can still fail and revert if it is part of a multi-hop PFM transfer.
1281
- * * `TRANSFER_SUCCESS` - The transfer has been successfully completed and will not revert.
1282
- * * `TRANSFER_FAILURE`- The transfer has failed.
1283
- */
1284
- state: TransferState;
1285
- packetTxs: Packet;
1286
- }
1287
- interface EurekaTransferWrapper {
1288
- /** An IBC Eureka transfer */
1289
- eurekaTransfer?: EurekaTransfer;
1290
- }
1291
- /** A Layer Zero Transfer */
1292
- interface LayerZeroTransfer {
1293
- /** Chain-id on which the transfer is initiated */
1294
- fromChainId: string;
1295
- /** Chain-id on which the transfer is received */
1296
- toChainId: string;
1297
- /** Denom of the input asset of the transfer */
1298
- denomIn: string;
1299
- /** Denom of the output asset of the transfer */
1300
- denomOut: string;
1301
- sourceOftCntractAddress: string;
1302
- destinationEndpointId: number;
1303
- messagingFeeAsset: Asset;
1304
- messagingFeeAmount: string;
1305
- messagingFeeAmountUsd: string;
1306
- /**
1307
- * Bridge Type:
1308
- * * `IBC` - IBC Bridge
1309
- * * `AXELAR` - Axelar Bridge
1310
- * * `CCTP` - CCTP Bridge
1311
- * * `HYPERLANE` - Hyperlane Bridge
1312
- * * `OPINIT` - Opinit Bridge
1313
- * * `GO_FAST` - Go Fast Bridge
1314
- * * `STARGATE` - Stargate Bridge
1315
- * * `EUREKA` - IBC Eureka Bridge
1316
- */
1317
- bridgeId: BridgeType;
1318
- }
1319
- interface LayerZeroTransferInfo {
1320
- /** Chain ID of the source chain */
1321
- fromChainId: string;
1322
- /** Chain ID of the destination chain */
1323
- toChainId: string;
1324
- /**
1325
- * LayerZero transfer state:
1326
- * * `LAYER_ZERO_TRANSFER_UNKNOWN` - Unknown error
1327
- * * `LAYER_ZERO_TRANSFER_SENT` - The transaction on the source chain has executed
1328
- * * `LAYER_ZERO_TRANSFER_RECEIVED` - The transfer has been received at the destination chain
1329
- * * `LAYER_ZERO_TRANSFER_FAILED` - The transfer has failed
1330
- */
1331
- state: LayerZeroTransferState;
1332
- txs: LayerZeroTransferTransactions;
1333
- }
1334
- interface LayerZeroTransferWrapper {
1335
- /** A Layer Zero Transfer */
1336
- eurekaTransfer?: LayerZeroTransfer;
1337
- }
1338
- interface RecommendationRequest {
1339
- /** Denom of the source asset */
1340
- sourceAssetDenom?: string;
1341
- /** Chain-id of the source asset */
1342
- sourceAssetChainId?: string;
1343
- /** Chain-id of the recommended destination asset */
1344
- destChainId?: string;
1345
- /** Reason for recommendation (optional) */
1346
- reason?: Reason;
1347
- }
1348
- interface CosmosModuleSupport {
1349
- /** Whether the authz module is supported */
1350
- authz?: boolean;
1351
- /** Whether the feegrant module is supported */
1352
- feegrant?: boolean;
1353
- }
1354
- interface IbcCapabilities {
1355
- /** Whether the packet forwarding middleware module is supported */
1356
- cosmosPfm?: boolean;
1357
- /** Whether the ibc hooks module is supported */
1358
- cosmosIbcHooks?: boolean;
1359
- /** Whether the chain supports IBC memos */
1360
- cosmosMemo?: boolean;
1361
- /** Whether the autopilot module is supported */
1362
- cosmosAutopilot?: boolean;
1363
- }
1364
- /**
1365
- * Fee type:
1366
- * * SMART_RELAY - Fees for Smart relaying services.'
1367
- */
1368
- declare enum FeeType {
1369
- SMART_RELAY = "SMART_RELAY"
1370
- }
1371
- interface Fee {
1372
- /**
1373
- * Fee type:
1374
- * * SMART_RELAY - Fees for Smart relaying services.'
1375
- */
1376
- feeType?: FeeType;
1377
- /**
1378
- * Bridge Type:
1379
- * * `IBC` - IBC Bridge
1380
- * * `AXELAR` - Axelar Bridge
1381
- * * `CCTP` - CCTP Bridge
1382
- * * `HYPERLANE` - Hyperlane Bridge
1383
- * * `OPINIT` - Opinit Bridge
1384
- * * `GO_FAST` - Go Fast Bridge
1385
- * * `STARGATE` - Stargate Bridge
1386
- * * `EUREKA` - IBC Eureka Bridge
1387
- */
1388
- bridgeId?: BridgeType;
1389
- /** Amount of the fee asset to be paid */
1390
- amount?: string;
1391
- /** The value of the fee in USD */
1392
- usdAmount?: string;
1393
- originAsset: Asset;
1394
- /** Chain ID of the chain where fees are collected */
1395
- chainId?: string;
1396
- /** The index of the transaction in the list of transactions required to execute the transfer where fees are paid */
1397
- txIndex?: number;
1398
- /** The index of the operation in the returned operations list which incurs the fee */
1399
- operationIndex?: number;
1400
- }
1401
- type QueryParamsType = Record<string | number, any>;
1402
- type ResponseFormat = keyof Omit<Body, "body" | "bodyUsed">;
1403
- interface FullRequestParams extends Omit<RequestInit, "body"> {
1404
- /** set parameter to `true` for call `securityWorker` for this request */
1405
- secure?: boolean;
1406
- /** request path */
1407
- path: string;
1408
- /** content type of request body */
1409
- type?: ContentType;
1410
- /** query params */
1411
- query?: QueryParamsType;
1412
- /** format of response (i.e. response.json() -> format: "json") */
1413
- format?: ResponseFormat;
1414
- /** request body */
1415
- body?: unknown;
1416
- /** base url */
1417
- baseUrl?: string;
1418
- /** request cancellation token */
1419
- cancelToken?: CancelToken;
1420
- }
1421
- type RequestParams = Omit<FullRequestParams, "body" | "method" | "query" | "path">;
1422
- interface ApiConfig<SecurityDataType = unknown> {
1423
- baseUrl?: string;
1424
- baseApiParams?: Omit<RequestParams, "baseUrl" | "cancelToken" | "signal">;
1425
- securityWorker?: (securityData: SecurityDataType | null) => Promise<RequestParams | void> | RequestParams | void;
1426
- customFetch?: typeof fetch;
1427
- }
1428
- interface HttpResponse<D extends unknown, E extends unknown = unknown> extends Response {
1429
- data: D;
1430
- error: E;
1431
- }
1432
- type CancelToken = Symbol | string | number;
1433
- declare enum ContentType {
1434
- Json = "application/json",
1435
- FormData = "multipart/form-data",
1436
- UrlEncoded = "application/x-www-form-urlencoded",
1437
- Text = "text/plain"
1438
- }
1439
- declare class HttpClient<SecurityDataType = unknown> {
1440
- baseUrl: string;
1441
- private securityData;
1442
- private securityWorker?;
1443
- private abortControllers;
1444
- private customFetch;
1445
- private baseApiParams;
1446
- constructor(apiConfig?: ApiConfig<SecurityDataType>);
1447
- setSecurityData: (data: SecurityDataType | null) => void;
1448
- protected encodeQueryParam(key: string, value: any): string;
1449
- protected addQueryParam(query: QueryParamsType, key: string): string;
1450
- protected addArrayQueryParam(query: QueryParamsType, key: string): any;
1451
- protected toQueryString(rawQuery?: QueryParamsType): string;
1452
- protected addQueryParams(rawQuery?: QueryParamsType): string;
1453
- private contentFormatters;
1454
- protected mergeRequestParams(params1: RequestParams, params2?: RequestParams): RequestParams;
1455
- protected createAbortSignal: (cancelToken: CancelToken) => AbortSignal | undefined;
1456
- abortRequest: (cancelToken: CancelToken) => void;
1457
- request: <T = any, E = any>({ body, secure, path, type, query, format, baseUrl, cancelToken, ...params }: FullRequestParams) => Promise<HttpResponse<T, E>>;
1458
- }
1459
- /**
1460
- * @title Skip Go API
1461
- * @version 0.1.0
1462
- * @baseUrl https://api.skip.build
1463
- *
1464
- * Simple APIs to build seamless cross-chain products that do more with fewer transactions. For devs with all levels of cross-chain experience.
1465
- */
1466
- declare class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDataType> {
1467
- /**
1468
- * @description Get all supported chains along with additional data useful for building applications + frontends that interface with them (e.g. logo URI, IBC capabilities, fee assets, bech32 prefix, etc...)
1469
- *
1470
- * @tags Info
1471
- * @name GetChains
1472
- * @request GET:/v2/info/chains
1473
- */
1474
- getChains: (query?: {
1475
- /** Chain IDs to limit the response to, defaults to all chains if not provided */
1476
- chain_ids?: string[];
1477
- /**
1478
- * Whether to include EVM chains in the response
1479
- * @example false
1480
- */
1481
- include_evm?: boolean;
1482
- /** Whether to include SVM chains in the response */
1483
- include_svm?: boolean;
1484
- /**
1485
- * Whether to display only testnets in the response
1486
- * @example false
1487
- */
1488
- only_testnets?: boolean;
1489
- }, params?: RequestParams) => Promise<HttpResponse<{
1490
- /** Array of supported chain-ids */
1491
- chains?: Chain[] | undefined;
1492
- }, any>>;
1493
- /**
1494
- * @description Get the balances of a given set of assets on a given chain and wallet address. Compatible with all Skip Go-supported assets, excluding CW20 assets, across SVM, EVM, and Cosmos chains.
1495
- *
1496
- * @tags Info
1497
- * @name GetBalances
1498
- * @request POST:/v2/info/balances
1499
- */
1500
- getBalances: (data: {
1501
- chains?: Record<string, BalanceRequestChainEntry>;
1502
- }, params?: RequestParams) => Promise<HttpResponse<{
1503
- chains?: Record<string, BalanceResponseChainEntry> | undefined;
1504
- }, any>>;
1505
- /**
1506
- * @description Get all supported bridges
1507
- *
1508
- * @tags Info
1509
- * @name GetBridges
1510
- * @request GET:/v2/info/bridges
1511
- */
1512
- getBridges: (params?: RequestParams) => Promise<HttpResponse<{
1513
- /** Array of supported bridges */
1514
- bridges?: Bridge[] | undefined;
1515
- }, any>>;
1516
- /**
1517
- * @description Get supported swap venues.
1518
- *
1519
- * @tags Fungible
1520
- * @name GetVenues
1521
- * @request GET:/v2/fungible/venues
1522
- */
1523
- getVenues: (query?: {
1524
- /**
1525
- * Whether to display only venues from testnets in the response
1526
- * @example false
1527
- */
1528
- only_testnets?: boolean;
1529
- }, params?: RequestParams) => Promise<HttpResponse<{
1530
- /** Array of supported swap venues */
1531
- venues?: SwapVenue[] | undefined;
1532
- }, any>>;
1533
- /**
1534
- * @description Get supported assets. Optionally limit to assets on a given chain and/or native assets.
1535
- *
1536
- * @tags Fungible
1537
- * @name GetAssets
1538
- * @request GET:/v2/fungible/assets
1539
- */
1540
- getAssets: (query?: {
1541
- /** Chain IDs to limit the response to, defaults to all chains if not provided */
1542
- chain_ids?: string[];
1543
- /** Whether to restrict assets to those native to their chain */
1544
- native_only?: boolean;
1545
- /** Whether to include assets without metadata (symbol, name, logo_uri, etc.) */
1546
- include_no_metadata_assets?: boolean;
1547
- /** Whether to include CW20 tokens */
1548
- include_cw20_assets?: boolean;
1549
- /** Whether to include EVM tokens */
1550
- include_evm_assets?: boolean;
1551
- /** Whether to include SVM tokens */
1552
- include_svm_assets?: boolean;
1553
- /**
1554
- * Whether to display only assets from testnets in the response
1555
- * @example false
1556
- */
1557
- only_testnets?: boolean;
1558
- }, params?: RequestParams) => Promise<HttpResponse<{
1559
- /** Map of chain-ids to array of assets supported on the chain */
1560
- chain_to_assets_map?: Record<string, {
1561
- assets?: Asset[] | undefined;
1562
- }> | undefined;
1563
- }, Error>>;
1564
- /**
1565
- * @description Get assets that can be reached from a source via transfers under different conditions (e.g. single vs multiple txs)
1566
- *
1567
- * @tags Fungible
1568
- * @name GetAssetsFromSource
1569
- * @request POST:/v2/fungible/assets_from_source
1570
- */
1571
- getAssetsFromSource: (data: {
1572
- /** Denom of the source asset */
1573
- source_asset_denom: string;
1574
- /** Chain-id of the source asset */
1575
- source_asset_chain_id: string;
1576
- /**
1577
- * Whether to include recommendations requiring multiple transactions to reach the destination
1578
- * @default false
1579
- */
1580
- allow_multi_tx?: boolean;
1581
- /**
1582
- * Whether to include CW20 tokens
1583
- * @default false
1584
- */
1585
- include_cw20_assets?: boolean;
1586
- }, params?: RequestParams) => Promise<HttpResponse<{
1587
- /** Array of assets that are reachable from the specified source asset */
1588
- dest_assets?: Record<string, {
1589
- assets?: Asset[] | undefined;
1590
- }> | undefined;
1591
- }, Error>>;
1592
- /**
1593
- * @description This supports cross-chain actions among EVM chains, Cosmos chains, and between them. Returns the sequence of transfers and/or swaps to reach the given destination asset from the given source asset, along with estimated amount out. Commonly called before /msgs to generate route info and quote.
1594
- *
1595
- * @tags Fungible
1596
- * @name GetRouteV2
1597
- * @request POST:/v2/fungible/route
1598
- */
1599
- getRouteV2: (data: {
1600
- /** Amount of source asset to be transferred or swapped. Only one of amount_in and amount_out should be provided. */
1601
- amount_in?: string;
1602
- /** Amount of destination asset to receive. Only one of amount_in and amount_out should be provided. If amount_out is provided for a swap, the route will be computed to give exactly amount_out. */
1603
- amount_out?: string;
1604
- /** Denom of the source asset */
1605
- source_asset_denom?: string;
1606
- /** Chain-id of the source asset */
1607
- source_asset_chain_id?: string;
1608
- /** Denom of the destination asset */
1609
- dest_asset_denom?: string;
1610
- /** Chain-id of the destination asset */
1611
- dest_asset_chain_id?: string;
1612
- /** Cumulative fee to be distributed to affiliates, in bps (optional) */
1613
- cumulative_affiliate_fee_bps?: string | null;
1614
- /** Swap venues to consider, if provided (optional) */
1615
- swap_venues?: SwapVenue[];
1616
- /** Whether to allow route responses requiring multiple transactions */
1617
- allow_multi_tx?: boolean;
1618
- /** Toggles whether the api should return routes that fail price safety checks. */
1619
- allow_unsafe?: boolean;
1620
- /** Array of experimental features to enable */
1621
- experimental_features?: string[];
1622
- /** Array of bridges to use */
1623
- bridges?: BridgeType[];
1624
- /** Indicates whether this transfer route should be relayed via Skip's Smart Relay service - true by default. */
1625
- smart_relay?: boolean;
1626
- smart_swap_options?: SmartSwapOptions;
1627
- /** Whether to allow swaps in the route */
1628
- allow_swaps?: boolean;
1629
- /** Whether to enable Go Fast routes */
1630
- go_fast?: boolean;
1631
- }, params?: RequestParams) => Promise<HttpResponse<RouteResponse, Error>>;
1632
- /**
1633
- * @description This supports cross-chain actions among EVM chains, Cosmos chains, and between them. Returns minimal number of messages required to execute a multi-chain swap or transfer. Input consists of the output of route with additional information required for message construction (e.g. destination addresses for each chain)
1634
- *
1635
- * @tags Fungible
1636
- * @name GetMsgsV2
1637
- * @request POST:/v2/fungible/msgs
1638
- */
1639
- getMsgsV2: (data: {
1640
- /** Denom of the source asset */
1641
- source_asset_denom: string;
1642
- /** Chain-id of the source asset */
1643
- source_asset_chain_id: string;
1644
- /** Denom of the destination asset */
1645
- dest_asset_denom: string;
1646
- /** Chain-id of the destination asset */
1647
- dest_asset_chain_id: string;
1648
- /** Amount of source asset to be transferred or swapped */
1649
- amount_in: string;
1650
- /** Amount of destination asset out */
1651
- amount_out: string;
1652
- /** Array of receipient and/or sender address for each chain in the path, corresponding to the chain_ids array returned from a route request */
1653
- address_list: string[];
1654
- /** Array of operations required to perform the transfer or swap */
1655
- operations: Operation[];
1656
- estimated_amount_out?: string;
1657
- /** Percent tolerance for slippage on swap, if a swap is performed */
1658
- slippage_tolerance_percent?: string;
1659
- /** Number of seconds for the IBC transfer timeout, defaults to 5 minutes */
1660
- timeout_seconds?: string;
1661
- post_route_handler?: PostHandler;
1662
- /** Map of chain-ids to arrays of affiliates. The API expects all chains to have the same cumulative affiliate fee bps for each chain specified. If any of the provided affiliate arrays does not have the same cumulative fee, the API will return an error. */
1663
- chain_ids_to_affiliates?: Record<string, ChainAffiliates>;
1664
- /**
1665
- * Whether to enable gas warnings for intermediate and destination chains
1666
- * @default false
1667
- */
1668
- enable_gas_warnings?: boolean;
1669
- }, params?: RequestParams) => Promise<HttpResponse<{
1670
- msgs?: Msg[] | undefined;
1671
- txs?: Tx[] | undefined;
1672
- /** Indicates fees incurred in the execution of the transfer */
1673
- estimated_fees?: Fee[] | undefined;
1674
- }, Error>>;
1675
- /**
1676
- * @description This supports cross-chain actions among EVM chains, Cosmos chains, and between them. Returns minimal number of messages required to execute a multi-chain swap or transfer. This is a convenience endpoint that combines /route and /msgs into a single call.
1677
- *
1678
- * @tags Fungible
1679
- * @name GetMsgsDirectV2
1680
- * @request POST:/v2/fungible/msgs_direct
1681
- */
1682
- getMsgsDirectV2: (data: {
1683
- /** Denom of the source asset */
1684
- source_asset_denom?: string;
1685
- /** Chain-id of the source asset */
1686
- source_asset_chain_id?: string;
1687
- /** Denom of the destination asset */
1688
- dest_asset_denom?: string;
1689
- /** Chain-id of the destination asset */
1690
- dest_asset_chain_id?: string;
1691
- /** Amount of source asset to be transferred or swapped. If this is a swap, only one of amount_in and amount_out should be provided. */
1692
- amount_in?: string;
1693
- /** Amount of destination asset out. If this is a swap, only one of amount_in and amount_out should be provided. If amount_out is provided for a swap, the route will be computed to give exactly amount_out. */
1694
- amount_out?: string;
1695
- /** Map of chain-ids to receipient and/or sender address for each chain in the path. Since the path is not known to the caller beforehand, the caller should attempt to provide addresses for all chains in the path, and the API will return an error if the path cannot be constructed. */
1696
- chain_ids_to_addresses?: Record<string, string>;
1697
- /** Swap venues to consider, if provided (optional) */
1698
- swap_venues?: SwapVenue[];
1699
- /** Percent tolerance for slippage on swap, if a swap is performed */
1700
- slippage_tolerance_percent?: string;
1701
- /** Number of seconds for the IBC transfer timeout, defaults to 5 minutes */
1702
- timeout_seconds?: string;
1703
- /** Map of chain-ids to arrays of affiliates. Since cumulative_affiliate_fee_bps must be provided to retrieve a route, and the swap chain is not known at this time, all chains must have the same cumulative_affiliate_fee_bps otherwise the API will return an error. */
1704
- chain_ids_to_affiliates?: Record<string, ChainAffiliates>;
1705
- post_route_handler?: PostHandler;
1706
- /** Whether to allow route responses requiring multiple transactions */
1707
- allow_multi_tx?: boolean;
1708
- /** Toggles whether the api should return routes that fail price safety checks. */
1709
- allow_unsafe?: boolean;
1710
- /** Array of experimental features to enable */
1711
- experimental_features?: string[];
1712
- /** Array of bridges to use */
1713
- bridges?: BridgeType[];
1714
- /** Indicates whether this transfer route should be relayed via Skip's Smart Relay service */
1715
- smart_relay?: boolean;
1716
- smart_swap_options?: SmartSwapOptions;
1717
- /** Whether to allow swaps in the route */
1718
- allow_swaps?: boolean;
1719
- /** Whether to enable Go Fast routes */
1720
- go_fast?: boolean;
1721
- /**
1722
- * Whether to enable gas warnings for intermediate and destination chains
1723
- * @default false
1724
- */
1725
- enable_gas_warnings?: boolean;
1726
- }, params?: RequestParams) => Promise<HttpResponse<{
1727
- msgs?: Msg[] | undefined;
1728
- txs?: Tx[] | undefined;
1729
- route?: RouteResponse | undefined;
1730
- }, Error>>;
1731
- /**
1732
- * @description Request asset recommendations for the given source assets on a given destination chain. The response includes recommended destination assets and recommendation reasons.
1733
- *
1734
- * @tags Fungible
1735
- * @name GetAssetRecommendations
1736
- * @request POST:/v2/fungible/recommend_assets
1737
- */
1738
- getAssetRecommendations: (data: {
1739
- /** Array where each entry corresponds to a distinct asset recommendation request. */
1740
- requests?: RecommendationRequest[];
1741
- }, params?: RequestParams) => Promise<HttpResponse<{
1742
- /** Array of recommendations for each entry in the `request` field. */
1743
- recommendation_entries?: {
1744
- recommendations?: AssetRecommendation[] | undefined;
1745
- error?: ApiError | undefined;
1746
- }[] | undefined;
1747
- }, Error>>;
1748
- /**
1749
- * @description Submit a signed base64 encoded transaction to be broadcast to the specified network. On successful submission, the status of the transaction and any subsequent IBC or Axelar transfers can be queried through the /status endpoint.
1750
- *
1751
- * @tags Transaction
1752
- * @name SubmitTransactionV2
1753
- * @request POST:/v2/tx/submit
1754
- */
1755
- submitTransactionV2: (data: {
1756
- /**
1757
- * Signed base64 encoded transaction
1758
- * @example "base64 encoded transaction"
1759
- */
1760
- tx?: string;
1761
- /**
1762
- * Chain ID of the transaction
1763
- * @example "osmosis-1"
1764
- */
1765
- chain_id?: string;
1766
- }, params?: RequestParams) => Promise<HttpResponse<{
1767
- /** Hash of the transaction */
1768
- tx_hash?: string | undefined;
1769
- /** Link to the transaction on the relevant block explorer */
1770
- explorer_link?: string | undefined;
1771
- }, Error>>;
1772
- /**
1773
- * @description Requests tracking of a transaction that has already landed on-chain but was not broadcast through the Skip Go API. The status of a tracked transaction and subsequent IBC or Axelar transfers if routing assets cross chain can be queried through the /status endpoint.
1774
- *
1775
- * @tags Transaction
1776
- * @name TrackTransactionV2
1777
- * @request POST:/v2/tx/track
1778
- */
1779
- trackTransactionV2: (data: {
1780
- /**
1781
- * Hex encoded hash of the transaction to track
1782
- * @example "F30790E79987F18F3A4DA8C7A9BA9FD837043EF59D8236CA85180E1078BC607F"
1783
- */
1784
- tx_hash: string;
1785
- /**
1786
- * Chain ID of the transaction
1787
- * @example "osmosis-1"
1788
- */
1789
- chain_id: string;
1790
- }, params?: RequestParams) => Promise<HttpResponse<{
1791
- /** Hash of the transaction */
1792
- tx_hash: string;
1793
- /** Link to the transaction on the relevant block explorer */
1794
- explorer_link: string;
1795
- }, Error>>;
1796
- /**
1797
- * @description Get the status of the specified transaction and any subsequent IBC or Axelar transfers if routing assets cross chain. The transaction must have previously been submitted to either the /submit or /track endpoints.
1798
- *
1799
- * @tags Transaction
1800
- * @name GetTransactionStatusV2
1801
- * @request GET:/v2/tx/status
1802
- */
1803
- getTransactionStatusV2: (query: {
1804
- /**
1805
- * Hex encoded hash of the transaction to query for
1806
- * @example "EEC65138E6A7BDD047ED0D4BBA249A754F0BBBC7AA976568C4F35A32CD7FB8EB"
1807
- */
1808
- tx_hash: string;
1809
- /**
1810
- * Chain ID of the transaction
1811
- * @example "cosmoshub-4"
1812
- */
1813
- chain_id: string;
1814
- }, params?: RequestParams) => Promise<HttpResponse<{
1815
- /** Transfer status for all transfers initiated by the transaction in the order they were initiated. */
1816
- transfers?: TransferStatus[] | undefined;
1817
- /** The overall state reflecting the end-to-end status of all transfers initiated by the original transaction. */
1818
- state: TransactionState;
1819
- /** A detailed sequence of all cross-chain transfer events associated with the transaction. */
1820
- transfer_sequence: TransferEvent[];
1821
- /** Details about the next transfer in the sequence that is preventing further progress, if any. */
1822
- next_blocking_transfer?: {
1823
- transfer_sequence_index?: number | undefined;
1824
- } | null | undefined;
1825
- /** Indicates location and denom of transfer asset release. */
1826
- transfer_asset_release?: TransferAssetRelease | undefined;
1827
- /** Details about any error encountered during the transaction or its subsequent transfers. */
1828
- error?: StatusError | null | undefined;
1829
- /**
1830
- * A high-level status indicator for the transaction's completion state.
1831
- * @example "STATE_COMPLETED"
1832
- */
1833
- status?: string | undefined;
1834
- }, Error>>;
1835
- /**
1836
- * @description Get origin assets from a given list of denoms and chain IDs.
1837
- *
1838
- * @tags Fungible
1839
- * @name GetOriginAssets
1840
- * @request POST:/v2/fungible/ibc_origin_assets
1841
- */
1842
- getOriginAssets: (data: {
1843
- /** Array of assets to get origin assets for */
1844
- assets?: {
1845
- /** Denom of the asset */
1846
- denom?: string;
1847
- /** Chain-id of the asset */
1848
- chain_id?: string;
1849
- }[];
1850
- }, params?: RequestParams) => Promise<HttpResponse<{
1851
- origin_assets?: OptionalAsset[] | undefined;
1852
- }, Error>>;
1853
- /**
1854
- * @description Given 2 chain IDs, returns a list of equivalent assets that can be transferred
1855
- *
1856
- * @tags Fungible
1857
- * @name FungibleAssetsBetweenChainsCreate
1858
- * @request POST:/v2/fungible/assets_between_chains
1859
- */
1860
- fungibleAssetsBetweenChainsCreate: (data: {
1861
- /** Chain-id of the source chain */
1862
- source_chain_id?: string;
1863
- /** Chain-id of the destination chain */
1864
- dest_chain_id?: string;
1865
- /**
1866
- * Whether to include assets without metadata (symbol, name, logo_uri, etc.)
1867
- * @default false
1868
- */
1869
- include_no_metadata_assets?: boolean;
1870
- /**
1871
- * Whether to include CW20 tokens
1872
- * @default false
1873
- */
1874
- include_cw20_assets?: boolean;
1875
- /**
1876
- * Whether to include EVM tokens
1877
- * @default false
1878
- */
1879
- include_evm_assets?: boolean;
1880
- /**
1881
- * Whether to include recommendations requiring multiple transactions to reach the destination
1882
- * @default false
1883
- */
1884
- allow_multi_tx?: boolean;
1885
- }, params?: RequestParams) => Promise<HttpResponse<{
1886
- assets_between_chains?: AssetBetweenChains[] | undefined;
1887
- }, Error>>;
1888
- }
1889
-
1890
- export { type EvmTxWrapper as $, type AcknowledgementErrorDetails as A, type BalanceRequestChainEntry as B, type CCTPTransfer as C, type BalanceResponseChainEntry as D, type BankSend as E, type BankSendWrapper as F, type GoFastTransfer as G, type Bridge as H, BridgeType as I, type Chain as J, ChainType as K, type ChainAffiliates as L, type ContractCallWithTokenError as M, ContractCallWithTokenErrorType as N, type ContractCallWithTokenTxs as O, type CosmWasmContractMsg as P, type CosmWasmContractMsgWrapper as Q, type Erc20Approval as R, type SmartRelayFeeQuote as S, type ErrorDetail as T, type Error as U, type CosmosMsg as V, type CosmosTx as W, type CosmosTxWrapper as X, type EvmSwap as Y, type EvmSwapWrapper as Z, type EvmTx as _, type Affiliate as a, type RecommendationRequest as a$, type SvmTx as a0, type SvmTxWrapper as a1, type FeeAsset as a2, type GoFastFee as a3, type GRPCStatusCode as a4, type HyperlaneTransfer as a5, type HyperlaneTransferInfo as a6, HyperlaneTransferState as a7, type HyperlaneTransferTransactions as a8, type HyperlaneTransferWrapper as a9, type SwapOutWrapper as aA, type SwapRoute as aB, type SmartSwapExactCoinIn as aC, type SmartSwapOptions as aD, type SmartSwapInWrapper as aE, type SwapVenue as aF, type SwapWrapper as aG, type TransactionExecutionErrorDetails as aH, TransactionState as aI, type OPInitTransfer as aJ, type OPInitTransferWrapper as aK, type OPInitTransferInfo as aL, type OPInitTransferTxs as aM, OPInitTransferState as aN, LayerZeroTransferState as aO, type Transfer as aP, type TransferEvent as aQ, TransferState as aR, type TransferAssetRelease as aS, type TransferStatus as aT, type TransferWrapper as aU, type EurekaTransfer as aV, type EurekaTransferInfo as aW, type EurekaTransferWrapper as aX, type LayerZeroTransfer as aY, type LayerZeroTransferInfo as aZ, type LayerZeroTransferWrapper as a_, type IBCTransferInfo as aa, type Msg as ab, type Tx as ac, type MultiChainMsg as ad, type MultiChainMsgWrapper as ae, type Operation as af, type OptionalAsset as ag, type LayerZeroTransferTransactions as ah, type Packet as ai, type PacketError as aj, PacketErrorType as ak, type ChainTransaction as al, type PostHandler as am, Reason as an, RoutePriceWarningType as ao, type RouteResponse as ap, type SendTokenError as aq, SendTokenErrorType as ar, type SendTokenTxs as as, type StatusError as at, StatusErrorType as au, type Swap as av, type SwapExactCoinIn as aw, type SwapExactCoinOut as ax, type SwapInWrapper as ay, type SwapOperation as az, type ApiError as b, type CosmosModuleSupport as b0, type IbcCapabilities as b1, FeeType as b2, type Fee as b3, type QueryParamsType as b4, type ResponseFormat as b5, type FullRequestParams as b6, type RequestParams as b7, type ApiConfig as b8, type HttpResponse as b9, ContentType as ba, HttpClient as bb, Api as bc, type Asset as c, type AssetBetweenChains as d, type AssetRecommendation as e, AutopilotAction as f, type AutopilotMsg as g, type AutopilotMsgWrapper as h, type AxelarTransfer as i, type AxelarTransferInfo as j, AxelarTransferState as k, AxelarTransferType as l, type AxelarTransferWrapper as m, type CCTPTransferInfo as n, type CCTPTransferTxs as o, CCTPTransferState as p, type CCTPTransferWrapper as q, type StargateTransfer as r, StargateTransferState as s, type StargateTransferTxs as t, type StargateTransferInfo as u, type StargateTransferWrapper as v, GoFastTransferState as w, type GoFastTransferTxs as x, type GoFastTransferInfo as y, type BalanceResponseDenomEntry as z };