@skip-go/client 1.5.3-alpha.0 → 1.5.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (129) hide show
  1. package/dist/cjs/api/getAssets.cjs +1 -1
  2. package/dist/cjs/api/getAssetsBetweenChains.cjs +1 -1
  3. package/dist/cjs/api/getBridges.cjs +1 -1
  4. package/dist/cjs/api/getChains.cjs +1 -1
  5. package/dist/cjs/api/getVenues.cjs +1 -1
  6. package/dist/cjs/api/postAssetsFromSource.cjs +1 -1
  7. package/dist/cjs/api/postBalances.cjs +1 -1
  8. package/dist/cjs/api/postIbcOriginAssets.cjs +1 -1
  9. package/dist/cjs/api/postMessages.cjs +1 -1
  10. package/dist/cjs/api/postMessagesDirect.cjs +1 -1
  11. package/dist/cjs/api/postRecommendAssets.cjs +1 -1
  12. package/dist/cjs/api/postRoute.cjs +1 -1
  13. package/dist/cjs/api/postSubmitTransaction.cjs +1 -1
  14. package/dist/cjs/api/postTrackTransaction.cjs +1 -1
  15. package/dist/cjs/api/postTransactionStatus.cjs +1 -1
  16. package/dist/cjs/{chunk-I6VYDEUV.cjs → chunk-3UPZIINE.cjs} +137 -137
  17. package/dist/cjs/{chunk-H2T4LMS2.cjs → chunk-4RLEZ5DV.cjs} +3 -3
  18. package/dist/cjs/{chunk-KM2D7PJL.cjs → chunk-4TBONPD6.cjs} +33 -33
  19. package/dist/cjs/{chunk-WKYP2NMS.cjs → chunk-6W2OIU3O.cjs} +15 -15
  20. package/dist/cjs/{chunk-ARCCHERF.cjs → chunk-BFA7XKVT.cjs} +19 -19
  21. package/dist/cjs/{chunk-BQDOKZFX.cjs → chunk-BT6HQNBF.cjs} +3 -3
  22. package/dist/cjs/{chunk-CZKIE576.cjs → chunk-DAPPFYGA.cjs} +8 -8
  23. package/dist/cjs/{chunk-MOWOIPUG.cjs → chunk-GOQK63JP.cjs} +4 -4
  24. package/dist/cjs/{chunk-3M7YYWGL.cjs → chunk-MUJBB64F.cjs} +3 -7
  25. package/dist/cjs/{chunk-UY5LWG5D.cjs → chunk-ND7SYSAP.cjs} +4 -4
  26. package/dist/cjs/{chunk-DWOE6N5S.cjs → chunk-NM4PISTQ.cjs} +189 -188
  27. package/dist/cjs/{chunk-J7HZ6VJE.cjs → chunk-QWQVTCKP.cjs} +15 -15
  28. package/dist/cjs/{chunk-XCFPRLX3.cjs → chunk-U2NZCNKX.cjs} +153 -153
  29. package/dist/cjs/chunk-UMBMSRZZ.cjs +185 -0
  30. package/dist/cjs/{chunk-DLT6Q6RB.cjs → chunk-WOSAJSJB.cjs} +163 -149
  31. package/dist/cjs/index.cjs +84 -80
  32. package/dist/cjs/public-functions/executeMultipleRoutes.cjs +12 -22
  33. package/dist/cjs/public-functions/executeRoute.cjs +12 -22
  34. package/dist/cjs/public-functions/getCosmosGasAmountForMessage.cjs +5 -5
  35. package/dist/cjs/public-functions/getEvmGasAmountForMessage.cjs +1 -1
  36. package/dist/cjs/public-functions/getFeeInfoForChain.cjs +5 -4
  37. package/dist/cjs/public-functions/getRecommendedGasPrice.cjs +7 -6
  38. package/dist/cjs/public-functions/getRouteWithGasOnReceive.cjs +18 -14
  39. package/dist/cjs/public-functions/getSigningStargateClient.cjs +5 -5
  40. package/dist/cjs/public-functions/setApiOptions.cjs +1 -1
  41. package/dist/cjs/public-functions/setClientOptions.cjs +5 -5
  42. package/dist/cjs/public-functions/subscribeToRouteStatus.cjs +1 -1
  43. package/dist/cjs/public-functions/validateCosmosGasBalance.cjs +9 -9
  44. package/dist/cjs/public-functions/waitForTransaction.cjs +1 -1
  45. package/dist/esm/api/getAssets.d.ts +1 -1
  46. package/dist/esm/api/getAssets.js +1 -1
  47. package/dist/esm/api/getAssetsBetweenChains.d.ts +1 -1
  48. package/dist/esm/api/getAssetsBetweenChains.js +1 -1
  49. package/dist/esm/api/getBridges.d.ts +1 -1
  50. package/dist/esm/api/getBridges.js +1 -1
  51. package/dist/esm/api/getChains.d.ts +1 -1
  52. package/dist/esm/api/getChains.js +1 -1
  53. package/dist/esm/api/getVenues.js +1 -1
  54. package/dist/esm/api/postAssetsFromSource.d.ts +1 -1
  55. package/dist/esm/api/postAssetsFromSource.js +1 -1
  56. package/dist/esm/api/postBalances.d.ts +2 -2
  57. package/dist/esm/api/postBalances.js +1 -1
  58. package/dist/esm/api/postIbcOriginAssets.js +1 -1
  59. package/dist/esm/api/postMessages.d.ts +2 -2
  60. package/dist/esm/api/postMessages.js +1 -1
  61. package/dist/esm/api/postMessagesDirect.d.ts +1 -1
  62. package/dist/esm/api/postMessagesDirect.js +1 -1
  63. package/dist/esm/api/postRecommendAssets.d.ts +1 -1
  64. package/dist/esm/api/postRecommendAssets.js +1 -1
  65. package/dist/esm/api/postRoute.d.ts +2 -2
  66. package/dist/esm/api/postRoute.js +1 -1
  67. package/dist/esm/api/postSubmitTransaction.d.ts +2 -2
  68. package/dist/esm/api/postSubmitTransaction.js +1 -1
  69. package/dist/esm/api/postTrackTransaction.d.ts +2 -2
  70. package/dist/esm/api/postTrackTransaction.js +1 -1
  71. package/dist/esm/api/postTransactionStatus.d.ts +2 -2
  72. package/dist/esm/api/postTransactionStatus.js +1 -1
  73. package/dist/esm/{callbacks-C-KUJnDv.d.ts → callbacks-CJ_p70xa.d.ts} +3 -3
  74. package/dist/esm/{chunk-FDRLM2JD.js → chunk-426BGQ4K.js} +131 -131
  75. package/dist/esm/{chunk-DL374PFE.js → chunk-BBEFB277.js} +1 -1
  76. package/dist/esm/{chunk-UIDIKXMB.js → chunk-F2LQB2DP.js} +6 -5
  77. package/dist/esm/{chunk-KNXMSLOB.js → chunk-GLH7IRLX.js} +2 -2
  78. package/dist/esm/{chunk-SOVU5NCL.js → chunk-GLM7QWYT.js} +2 -2
  79. package/dist/esm/{chunk-47HN6VKU.js → chunk-H2TTIB5K.js} +3 -3
  80. package/dist/esm/{chunk-QL423UEF.js → chunk-HP5EMWC6.js} +163 -149
  81. package/dist/esm/{chunk-JNVGNIOE.js → chunk-HZVXNDMH.js} +2 -2
  82. package/dist/esm/{chunk-JYYCFKB4.js → chunk-KS764SOZ.js} +15 -15
  83. package/dist/esm/{chunk-IGK7LJCM.js → chunk-L233BZ4I.js} +5 -5
  84. package/dist/esm/{chunk-6M7N6EAO.js → chunk-LBS7KX5I.js} +12 -12
  85. package/dist/esm/chunk-O4J7DHZA.js +180 -0
  86. package/dist/esm/{chunk-H3MY23AH.js → chunk-QYIZGNWZ.js} +1 -1
  87. package/dist/esm/{chunk-QO2CYYF5.js → chunk-RTDD7HZ3.js} +4 -7
  88. package/dist/esm/{chunk-RHLE3EW7.js → chunk-SA4GETWP.js} +1 -1
  89. package/dist/esm/{client-types-CGMuZ3zo.d.ts → client-types-uXKJQRqe.d.ts} +1 -1
  90. package/dist/esm/{generateApi-D_-Gso-x.d.ts → generateApi-BMFrG4FZ.d.ts} +1 -1
  91. package/dist/esm/index.d.ts +260 -259
  92. package/dist/esm/index.js +17 -13
  93. package/dist/esm/public-functions/executeMultipleRoutes.d.ts +4 -4
  94. package/dist/esm/public-functions/executeMultipleRoutes.js +11 -21
  95. package/dist/esm/public-functions/executeRoute.d.ts +4 -4
  96. package/dist/esm/public-functions/executeRoute.js +11 -21
  97. package/dist/esm/public-functions/getCosmosGasAmountForMessage.d.ts +1 -1
  98. package/dist/esm/public-functions/getCosmosGasAmountForMessage.js +3 -3
  99. package/dist/esm/public-functions/getEvmGasAmountForMessage.d.ts +3 -3
  100. package/dist/esm/public-functions/getEvmGasAmountForMessage.js +1 -1
  101. package/dist/esm/public-functions/getFeeInfoForChain.d.ts +1 -1
  102. package/dist/esm/public-functions/getFeeInfoForChain.js +4 -3
  103. package/dist/esm/public-functions/getRecommendedGasPrice.js +6 -5
  104. package/dist/esm/public-functions/getRouteWithGasOnReceive.d.ts +1 -1
  105. package/dist/esm/public-functions/getRouteWithGasOnReceive.js +17 -13
  106. package/dist/esm/public-functions/getSigningStargateClient.js +4 -4
  107. package/dist/esm/public-functions/setApiOptions.d.ts +1 -1
  108. package/dist/esm/public-functions/setApiOptions.js +1 -1
  109. package/dist/esm/public-functions/setClientOptions.d.ts +4 -4
  110. package/dist/esm/public-functions/setClientOptions.js +4 -4
  111. package/dist/esm/public-functions/subscribeToRouteStatus.d.ts +4 -4
  112. package/dist/esm/public-functions/subscribeToRouteStatus.js +1 -1
  113. package/dist/esm/public-functions/validateCosmosGasBalance.d.ts +4 -4
  114. package/dist/esm/public-functions/validateCosmosGasBalance.js +8 -8
  115. package/dist/esm/public-functions/waitForTransaction.d.ts +4 -4
  116. package/dist/esm/public-functions/waitForTransaction.js +1 -1
  117. package/dist/esm/{setClientOptions-C8g92xTm.d.ts → setClientOptions-D1qgaOqC.d.ts} +3 -3
  118. package/dist/esm/{swaggerTypes-B_jKfpvz.d.ts → swaggerTypes-Cop47I0X.d.ts} +257 -255
  119. package/package.json +5 -5
  120. package/dist/cjs/chunk-EVEVOW2U.cjs +0 -2179
  121. package/dist/cjs/chunk-GGSF5JZH.cjs +0 -101
  122. package/dist/cjs/chunk-GWRZ6MPC.cjs +0 -2179
  123. package/dist/cjs/chunk-KSJ5QYMR.cjs +0 -185
  124. package/dist/cjs/chunk-W6ID22B6.cjs +0 -24
  125. package/dist/esm/chunk-RHGDUD76.js +0 -180
  126. package/dist/esm/chunk-RJ35JBT4.js +0 -2154
  127. package/dist/esm/chunk-X2IBEHMZ.js +0 -2154
  128. package/dist/esm/chunk-XHLXJGVB.js +0 -22
  129. package/dist/esm/chunk-YWG4XR5A.js +0 -98
@@ -1,3 +1,256 @@
1
+ /**
2
+ * Indicates whether the fee is deducted from the transfer amount or charged additionally.
3
+ * - FEE_BEHAVIOR_DEDUCTED: Fee is subtracted from the transfer amount (default, typical for Cosmos chains)
4
+ * - FEE_BEHAVIOR_ADDITIONAL: Fee is charged on top of the transfer amount (typical for EVM chains with native tokens)
5
+ */
6
+ declare enum FeeBehavior {
7
+ FEE_BEHAVIOR_DEDUCTED = "FEE_BEHAVIOR_DEDUCTED",
8
+ FEE_BEHAVIOR_ADDITIONAL = "FEE_BEHAVIOR_ADDITIONAL"
9
+ }
10
+ /**
11
+ * Fee type:
12
+ * * SMART_RELAY - Fees for Smart relaying services.'
13
+ */
14
+ declare enum FeeType {
15
+ SMART_RELAY = "SMART_RELAY"
16
+ }
17
+ /**
18
+ * Transfer state:
19
+ * * `TRANSFER_UNKNOWN` - Transfer state is not known.
20
+ * * `TRANSFER_PENDING` - The send packet for the transfer has been committed and the transfer is pending.
21
+ * * `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.
22
+ * * `TRANSFER_SUCCESS` - The transfer has been successfully completed and will not revert.
23
+ * * `TRANSFER_FAILURE`- The transfer has failed.
24
+ */
25
+ declare enum TransferState {
26
+ TRANSFER_UNKNOWN = "TRANSFER_UNKNOWN",
27
+ TRANSFER_PENDING = "TRANSFER_PENDING",
28
+ TRANSFER_RECEIVED = "TRANSFER_RECEIVED",
29
+ TRANSFER_SUCCESS = "TRANSFER_SUCCESS",
30
+ TRANSFER_FAILURE = "TRANSFER_FAILURE"
31
+ }
32
+ /**
33
+ * LayerZero transfer state:
34
+ * * `LAYER_ZERO_TRANSFER_UNKNOWN` - Unknown error
35
+ * * `LAYER_ZERO_TRANSFER_SENT` - The transaction on the source chain has executed
36
+ * * `LAYER_ZERO_TRANSFER_WAITING_FOR_COMPOSE` - The transfer has been delivered to the destination chain but there is an additional lz_compose transaction that still needs to be delivered before marking this transfer as LAYER_ZERO_TRANSFER_RECEIVED
37
+ * * `LAYER_ZERO_TRANSFER_RECEIVED` - The transfer has been received at the destination chain
38
+ * * `LAYER_ZERO_TRANSFER_FAILED` - The transfer has failed
39
+ */
40
+ declare enum LayerZeroTransferState {
41
+ LAYER_ZERO_TRANSFER_UNKNOWN = "LAYER_ZERO_TRANSFER_UNKNOWN",
42
+ LAYER_ZERO_TRANSFER_SENT = "LAYER_ZERO_TRANSFER_SENT",
43
+ LAYER_ZERO_TRANSFER_WAITING_FOR_COMPOSE = "LAYER_ZERO_TRANSFER_WAITING_FOR_COMPOSE",
44
+ LAYER_ZERO_TRANSFER_RECEIVED = "LAYER_ZERO_TRANSFER_RECEIVED",
45
+ LAYER_ZERO_TRANSFER_FAILED = "LAYER_ZERO_TRANSFER_FAILED"
46
+ }
47
+ /**
48
+ * OPInit transfer state:
49
+ * * `OPINIT_TRANSFER_UNKNOWN` - Unknown error
50
+ * * `OPINIT_TRANSFER_SENT` - The deposit transaction on the source chain has executed
51
+ * * `OPINIT_TRANSFER_RECEIVED` - OPInit transfer has been received at the destination chain
52
+ */
53
+ declare enum OPInitTransferState {
54
+ OPINIT_TRANSFER_UNKNOWN = "OPINIT_TRANSFER_UNKNOWN",
55
+ OPINIT_TRANSFER_SENT = "OPINIT_TRANSFER_SENT",
56
+ OPINIT_TRANSFER_RECEIVED = "OPINIT_TRANSFER_RECEIVED"
57
+ }
58
+ /**
59
+ * Transaction state:
60
+ * * `STATE_SUBMITTED` - The initial transaction has been submitted to Skip Go API but not observed on chain yet
61
+ * * `STATE_PENDING` - The initial transaction has been observed on chain, and there are still pending actions
62
+ * * `STATE_COMPLETED_SUCCESS` - The route has completed successfully and the user has their tokens on the destination. (indicated by `transfer_asset_release`)
63
+ * * `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.
64
+ * (Again, `transfer_asset_release` indicates where the tokens are)
65
+ * * `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.
66
+ * * `STATE_PENDING_ERROR` - The overall transaction will fail, pending error propagation
67
+ */
68
+ declare enum TransactionState {
69
+ STATE_SUBMITTED = "STATE_SUBMITTED",
70
+ STATE_PENDING = "STATE_PENDING",
71
+ STATE_ABANDONED = "STATE_ABANDONED",
72
+ STATE_COMPLETED_SUCCESS = "STATE_COMPLETED_SUCCESS",
73
+ STATE_COMPLETED_ERROR = "STATE_COMPLETED_ERROR",
74
+ STATE_PENDING_ERROR = "STATE_PENDING_ERROR"
75
+ }
76
+ /**
77
+ * Packet error types:
78
+ * * `STATUS_ERROR_UNKNOWN` - Unknown error
79
+ * * `STATUS_ERROR_TRANSACTION_EXECUTION` - Error was encountered during transaction execution
80
+ * * `STATUS_ERROR_INDEXING` - Error was encountered while indexing the transaction and packet data
81
+ * * `STATUS_ERROR_TRANSFER` - The transfer failed to complete successfully
82
+ */
83
+ declare enum StatusErrorType {
84
+ STATUS_ERROR_UNKNOWN = "STATUS_ERROR_UNKNOWN",
85
+ STATUS_ERROR_TRANSACTION_EXECUTION = "STATUS_ERROR_TRANSACTION_EXECUTION",
86
+ STATUS_ERROR_INDEXING = "STATUS_ERROR_INDEXING",
87
+ STATUS_ERROR_TRANSFER = "STATUS_ERROR_TRANSFER"
88
+ }
89
+ /**
90
+ * SendToken error types:
91
+ * * `SEND_TOKEN_EXECUTION_ERROR` - Error occurred during the execute transaction
92
+ */
93
+ declare enum SendTokenErrorType {
94
+ SEND_TOKEN_EXECUTION_ERROR = "SEND_TOKEN_EXECUTION_ERROR"
95
+ }
96
+ /**
97
+ * Recommendation reason:
98
+ * * `LOW_INFO_WARNING` - Not enough asset pricing information to determine the price safety of the route.
99
+ * * `BAD_PRICE_WARNING` - The execution price of the route deviates significantly from the current market price.
100
+ */
101
+ declare enum RoutePriceWarningType {
102
+ LOW_INFO_WARNING = "LOW_INFO_WARNING",
103
+ BAD_PRICE_WARNING = "BAD_PRICE_WARNING"
104
+ }
105
+ /**
106
+ * Recommendation reason:
107
+ * * `UNKNOWN` - Unknown recommendation reason.
108
+ * * `MOST_LIQUID` - Highest liquidity form of the transferred token on the destination chain.
109
+ * * `BASE_TOKEN` - The base token if the destination chain is the origin chain of the source token.
110
+ * * `DIRECT` - The token resulting from the least amount of transfers to the destination chain.
111
+ */
112
+ declare enum Reason {
113
+ UNKNOWN = "UNKNOWN",
114
+ MOST_LIQUID = "MOST_LIQUID",
115
+ BASE_TOKEN = "BASE_TOKEN",
116
+ DIRECT = "DIRECT"
117
+ }
118
+ /**
119
+ * Packet error type:
120
+ * * `PACKET_ERROR_UNKNOWN` - Unknown error
121
+ * * `PACKET_ERROR_ACKNOWLEDGEMENT` - Packet acknowledgement error
122
+ * * `PACKET_ERROR_TIMEOUT` - Packet timed out
123
+ */
124
+ declare enum PacketErrorType {
125
+ PACKET_ERROR_UNKNOWN = "PACKET_ERROR_UNKNOWN",
126
+ PACKET_ERROR_ACKNOWLEDGEMENT = "PACKET_ERROR_ACKNOWLEDGEMENT",
127
+ PACKET_ERROR_TIMEOUT = "PACKET_ERROR_TIMEOUT"
128
+ }
129
+ /**
130
+ * Hyperlane transfer state:
131
+ * * `HYPERLANE_TRANSFER_UNKNOWN` - Unknown error
132
+ * * `HYPERLANE_TRANSFER_SENT` - The Hyperlane transfer transaction on the source chain has executed
133
+ * * `HYPERLANE_TRANSFER_FAILED` - The Hyperlane transfer failed
134
+ * * `HYPERLANE_TRANSFER_RECEIVED` - The Hyperlane transfer has been received at the destination chain
135
+ */
136
+ declare enum HyperlaneTransferState {
137
+ HYPERLANE_TRANSFER_UNKNOWN = "HYPERLANE_TRANSFER_UNKNOWN",
138
+ HYPERLANE_TRANSFER_SENT = "HYPERLANE_TRANSFER_SENT",
139
+ HYPERLANE_TRANSFER_FAILED = "HYPERLANE_TRANSFER_FAILED",
140
+ HYPERLANE_TRANSFER_RECEIVED = "HYPERLANE_TRANSFER_RECEIVED"
141
+ }
142
+ /**
143
+ * ContractCallWithToken errors:
144
+ * * `CONTRACT_CALL_WITH_TOKEN_EXECUTION_ERROR` - Error occurred during the execute transaction
145
+ */
146
+ declare enum ContractCallWithTokenErrorType {
147
+ CONTRACT_CALL_WITH_TOKEN_EXECUTION_ERROR = "CONTRACT_CALL_WITH_TOKEN_EXECUTION_ERROR"
148
+ }
149
+ declare enum ChainType {
150
+ Cosmos = "cosmos",
151
+ Evm = "evm",
152
+ Svm = "svm"
153
+ }
154
+ /**
155
+ * Bridge Type:
156
+ * * `IBC` - IBC Bridge
157
+ * * `AXELAR` - Axelar Bridge
158
+ * * `CCTP` - CCTP Bridge
159
+ * * `HYPERLANE` - Hyperlane Bridge
160
+ * * `OPINIT` - Opinit Bridge
161
+ * * `GO_FAST` - Go Fast Bridge
162
+ * * `STARGATE` - Stargate Bridge
163
+ * * `LAYER_ZERO` - Layerzero Bridge
164
+ * * `EUREKA` - IBC Eureka Bridge
165
+ */
166
+ declare enum BridgeType {
167
+ IBC = "IBC",
168
+ AXELAR = "AXELAR",
169
+ CCTP = "CCTP",
170
+ HYPERLANE = "HYPERLANE",
171
+ OPINIT = "OPINIT",
172
+ GO_FAST = "GO_FAST",
173
+ STARGATE = "STARGATE",
174
+ LAYER_ZERO = "LAYER_ZERO",
175
+ EUREKA = "EUREKA"
176
+ }
177
+ /**
178
+ * GoFast transfer state:
179
+ * * `GO_FAST_TRANSFER_UNKNOWN` - Unknown state
180
+ * * `GO_FAST_TRANSFER_SENT` - Order submitted on source chain
181
+ * * `GO_FAST_POST_ACTION_FAILED` - Order filled, but subsequent action (e.g., swap) failed
182
+ * * `GO_FAST_TRANSFER_TIMEOUT` - Order timed out
183
+ * * `GO_FAST_TRANSFER_FILLED` - Order filled on destination chain
184
+ * * `GO_FAST_TRANSFER_REFUNDED` - Order refunded
185
+ */
186
+ declare enum GoFastTransferState {
187
+ GO_FAST_TRANSFER_UNKNOWN = "GO_FAST_TRANSFER_UNKNOWN",
188
+ GO_FAST_TRANSFER_SENT = "GO_FAST_TRANSFER_SENT",
189
+ GO_FAST_POST_ACTION_FAILED = "GO_FAST_POST_ACTION_FAILED",
190
+ GO_FAST_TRANSFER_TIMEOUT = "GO_FAST_TRANSFER_TIMEOUT",
191
+ GO_FAST_TRANSFER_FILLED = "GO_FAST_TRANSFER_FILLED",
192
+ GO_FAST_TRANSFER_REFUNDED = "GO_FAST_TRANSFER_REFUNDED"
193
+ }
194
+ /**
195
+ * Stargate transfer state:
196
+ * * `STARGATE_TRANSFER_UNKNOWN` - Unknown error
197
+ * * `STARGATE_TRANSFER_SENT` - The Stargate transfer transaction on the source chain has executed
198
+ * * `STARGATE_TRANSFER_PENDING_CONFIRMATION` - Stargate transfer is pending confirmation
199
+ * * `STARGATE_TRANSFER_CONFIRMED` - Stargate transfer has been confirmed
200
+ * * `STARGATE_TRANSFER_RECEIVED` - Stargate transfer has been received at the destination chain
201
+ * * `STARGATE_TRANSFER_FAILED` - Stargate transfer failed
202
+ */
203
+ declare enum StargateTransferState {
204
+ STARGATE_TRANSFER_UNKNOWN = "STARGATE_TRANSFER_UNKNOWN",
205
+ STARGATE_TRANSFER_SENT = "STARGATE_TRANSFER_SENT",
206
+ STARGATE_TRANSFER_PENDING_CONFIRMATION = "STARGATE_TRANSFER_PENDING_CONFIRMATION",
207
+ STARGATE_TRANSFER_CONFIRMED = "STARGATE_TRANSFER_CONFIRMED",
208
+ STARGATE_TRANSFER_RECEIVED = "STARGATE_TRANSFER_RECEIVED",
209
+ STARGATE_TRANSFER_FAILED = "STARGATE_TRANSFER_FAILED"
210
+ }
211
+ /**
212
+ * CCTP transfer state:
213
+ * * `CCTP_TRANSFER_UNKNOWN` - Unknown error
214
+ * * `CCTP_TRANSFER_SENT` - The burn transaction on the source chain has executed
215
+ * * `CCTP_TRANSFER_PENDING_CONFIRMATION` - CCTP transfer is pending confirmation by the cctp attestation api
216
+ * * `CCTP_TRANSFER_CONFIRMED` - CCTP transfer has been confirmed by the cctp attestation api
217
+ * * `CCTP_TRANSFER_RECEIVED` - CCTP transfer has been received at the destination chain
218
+ */
219
+ declare enum CCTPTransferState {
220
+ CCTP_TRANSFER_UNKNOWN = "CCTP_TRANSFER_UNKNOWN",
221
+ CCTP_TRANSFER_SENT = "CCTP_TRANSFER_SENT",
222
+ CCTP_TRANSFER_PENDING_CONFIRMATION = "CCTP_TRANSFER_PENDING_CONFIRMATION",
223
+ CCTP_TRANSFER_CONFIRMED = "CCTP_TRANSFER_CONFIRMED",
224
+ CCTP_TRANSFER_RECEIVED = "CCTP_TRANSFER_RECEIVED"
225
+ }
226
+ /**
227
+ * Axelar transfer type:
228
+ * * `AXELAR_TRANSFER_CONTRACT_CALL_WITH_TOKEN` - GMP contract call with token transfer type
229
+ * * `AXELAR_TRANSFER_SEND_TOKEN` - Send token transfer type
230
+ */
231
+ declare enum AxelarTransferType {
232
+ AXELAR_TRANSFER_CONTRACT_CALL_WITH_TOKEN = "AXELAR_TRANSFER_CONTRACT_CALL_WITH_TOKEN",
233
+ AXELAR_TRANSFER_SEND_TOKEN = "AXELAR_TRANSFER_SEND_TOKEN"
234
+ }
235
+ /**
236
+ * Axelar transfer state:
237
+ * * `AXELAR_TRANSFER_UNKNOWN` - Unknown error
238
+ * * `AXELAR_TRANSFER_PENDING_CONFIRMATION` - Axelar transfer is pending confirmation
239
+ * * `AXELAR_TRANSFER_PENDING_RECEIPT` - Axelar transfer is pending receipt at destination
240
+ * * `AXELAR_TRANSFER_SUCCESS` - Axelar transfer succeeded and assets have been received
241
+ * * `AXELAR_TRANSFER_FAILURE` - Axelar transfer failed
242
+ */
243
+ declare enum AxelarTransferState {
244
+ AXELAR_TRANSFER_UNKNOWN = "AXELAR_TRANSFER_UNKNOWN",
245
+ AXELAR_TRANSFER_PENDING_CONFIRMATION = "AXELAR_TRANSFER_PENDING_CONFIRMATION",
246
+ AXELAR_TRANSFER_PENDING_RECEIPT = "AXELAR_TRANSFER_PENDING_RECEIPT",
247
+ AXELAR_TRANSFER_SUCCESS = "AXELAR_TRANSFER_SUCCESS",
248
+ AXELAR_TRANSFER_FAILURE = "AXELAR_TRANSFER_FAILURE"
249
+ }
250
+ declare enum AutopilotAction {
251
+ LIQUID_STAKE = "LIQUID_STAKE",
252
+ CLAIM = "CLAIM"
253
+ }
1
254
  interface AcknowledgementErrorDetails {
2
255
  /** Error code */
3
256
  code?: number;
@@ -63,10 +316,6 @@ interface AssetRecommendation {
63
316
  /** Reason for recommending the asset */
64
317
  reason?: Reason;
65
318
  }
66
- declare enum AutopilotAction {
67
- LIQUID_STAKE = "LIQUID_STAKE",
68
- CLAIM = "CLAIM"
69
- }
70
319
  interface AutopilotMsg {
71
320
  action?: AutopilotAction;
72
321
  receiver?: string;
@@ -147,30 +396,6 @@ interface AxelarTransferInfo {
147
396
  */
148
397
  type?: AxelarTransferType;
149
398
  }
150
- /**
151
- * Axelar transfer state:
152
- * * `AXELAR_TRANSFER_UNKNOWN` - Unknown error
153
- * * `AXELAR_TRANSFER_PENDING_CONFIRMATION` - Axelar transfer is pending confirmation
154
- * * `AXELAR_TRANSFER_PENDING_RECEIPT` - Axelar transfer is pending receipt at destination
155
- * * `AXELAR_TRANSFER_SUCCESS` - Axelar transfer succeeded and assets have been received
156
- * * `AXELAR_TRANSFER_FAILURE` - Axelar transfer failed
157
- */
158
- declare enum AxelarTransferState {
159
- AXELAR_TRANSFER_UNKNOWN = "AXELAR_TRANSFER_UNKNOWN",
160
- AXELAR_TRANSFER_PENDING_CONFIRMATION = "AXELAR_TRANSFER_PENDING_CONFIRMATION",
161
- AXELAR_TRANSFER_PENDING_RECEIPT = "AXELAR_TRANSFER_PENDING_RECEIPT",
162
- AXELAR_TRANSFER_SUCCESS = "AXELAR_TRANSFER_SUCCESS",
163
- AXELAR_TRANSFER_FAILURE = "AXELAR_TRANSFER_FAILURE"
164
- }
165
- /**
166
- * Axelar transfer type:
167
- * * `AXELAR_TRANSFER_CONTRACT_CALL_WITH_TOKEN` - GMP contract call with token transfer type
168
- * * `AXELAR_TRANSFER_SEND_TOKEN` - Send token transfer type
169
- */
170
- declare enum AxelarTransferType {
171
- AXELAR_TRANSFER_CONTRACT_CALL_WITH_TOKEN = "AXELAR_TRANSFER_CONTRACT_CALL_WITH_TOKEN",
172
- AXELAR_TRANSFER_SEND_TOKEN = "AXELAR_TRANSFER_SEND_TOKEN"
173
- }
174
399
  interface AxelarTransferWrapper {
175
400
  /** A transfer facilitated by the Axelar bridge */
176
401
  axelarTransfer?: AxelarTransfer;
@@ -237,21 +462,6 @@ interface CCTPTransferTxs {
237
462
  sendTx?: ChainTransaction;
238
463
  receiveTx?: ChainTransaction;
239
464
  }
240
- /**
241
- * CCTP transfer state:
242
- * * `CCTP_TRANSFER_UNKNOWN` - Unknown error
243
- * * `CCTP_TRANSFER_SENT` - The burn transaction on the source chain has executed
244
- * * `CCTP_TRANSFER_PENDING_CONFIRMATION` - CCTP transfer is pending confirmation by the cctp attestation api
245
- * * `CCTP_TRANSFER_CONFIRMED` - CCTP transfer has been confirmed by the cctp attestation api
246
- * * `CCTP_TRANSFER_RECEIVED` - CCTP transfer has been received at the destination chain
247
- */
248
- declare enum CCTPTransferState {
249
- CCTP_TRANSFER_UNKNOWN = "CCTP_TRANSFER_UNKNOWN",
250
- CCTP_TRANSFER_SENT = "CCTP_TRANSFER_SENT",
251
- CCTP_TRANSFER_PENDING_CONFIRMATION = "CCTP_TRANSFER_PENDING_CONFIRMATION",
252
- CCTP_TRANSFER_CONFIRMED = "CCTP_TRANSFER_CONFIRMED",
253
- CCTP_TRANSFER_RECEIVED = "CCTP_TRANSFER_RECEIVED"
254
- }
255
465
  interface CCTPTransferWrapper {
256
466
  /** A transfer facilitated by the CCTP bridge */
257
467
  cctpTransfer?: CCTPTransfer;
@@ -288,23 +498,6 @@ interface StargateTransfer {
288
498
  */
289
499
  bridgeId?: BridgeType;
290
500
  }
291
- /**
292
- * Stargate transfer state:
293
- * * `STARGATE_TRANSFER_UNKNOWN` - Unknown error
294
- * * `STARGATE_TRANSFER_SENT` - The Stargate transfer transaction on the source chain has executed
295
- * * `STARGATE_TRANSFER_PENDING_CONFIRMATION` - Stargate transfer is pending confirmation
296
- * * `STARGATE_TRANSFER_CONFIRMED` - Stargate transfer has been confirmed
297
- * * `STARGATE_TRANSFER_RECEIVED` - Stargate transfer has been received at the destination chain
298
- * * `STARGATE_TRANSFER_FAILED` - Stargate transfer failed
299
- */
300
- declare enum StargateTransferState {
301
- STARGATE_TRANSFER_UNKNOWN = "STARGATE_TRANSFER_UNKNOWN",
302
- STARGATE_TRANSFER_SENT = "STARGATE_TRANSFER_SENT",
303
- STARGATE_TRANSFER_PENDING_CONFIRMATION = "STARGATE_TRANSFER_PENDING_CONFIRMATION",
304
- STARGATE_TRANSFER_CONFIRMED = "STARGATE_TRANSFER_CONFIRMED",
305
- STARGATE_TRANSFER_RECEIVED = "STARGATE_TRANSFER_RECEIVED",
306
- STARGATE_TRANSFER_FAILED = "STARGATE_TRANSFER_FAILED"
307
- }
308
501
  interface StargateTransferTxs {
309
502
  sendTx?: ChainTransaction;
310
503
  receiveTx?: ChainTransaction;
@@ -361,23 +554,6 @@ interface GoFastTransfer {
361
554
  /** Destination domain ID of the transfer */
362
555
  destinationDomain?: string;
363
556
  }
364
- /**
365
- * GoFast transfer state:
366
- * * `GO_FAST_TRANSFER_UNKNOWN` - Unknown state
367
- * * `GO_FAST_TRANSFER_SENT` - Order submitted on source chain
368
- * * `GO_FAST_POST_ACTION_FAILED` - Order filled, but subsequent action (e.g., swap) failed
369
- * * `GO_FAST_TRANSFER_TIMEOUT` - Order timed out
370
- * * `GO_FAST_TRANSFER_FILLED` - Order filled on destination chain
371
- * * `GO_FAST_TRANSFER_REFUNDED` - Order refunded
372
- */
373
- declare enum GoFastTransferState {
374
- GO_FAST_TRANSFER_UNKNOWN = "GO_FAST_TRANSFER_UNKNOWN",
375
- GO_FAST_TRANSFER_SENT = "GO_FAST_TRANSFER_SENT",
376
- GO_FAST_POST_ACTION_FAILED = "GO_FAST_POST_ACTION_FAILED",
377
- GO_FAST_TRANSFER_TIMEOUT = "GO_FAST_TRANSFER_TIMEOUT",
378
- GO_FAST_TRANSFER_FILLED = "GO_FAST_TRANSFER_FILLED",
379
- GO_FAST_TRANSFER_REFUNDED = "GO_FAST_TRANSFER_REFUNDED"
380
- }
381
557
  interface GoFastTransferTxs {
382
558
  orderSubmittedTx?: ChainTransaction;
383
559
  orderFilledTx?: ChainTransaction;
@@ -453,29 +629,6 @@ interface Bridge {
453
629
  /** URI pointing to an image of the logo of the bridge */
454
630
  logoUri?: string;
455
631
  }
456
- /**
457
- * Bridge Type:
458
- * * `IBC` - IBC Bridge
459
- * * `AXELAR` - Axelar Bridge
460
- * * `CCTP` - CCTP Bridge
461
- * * `HYPERLANE` - Hyperlane Bridge
462
- * * `OPINIT` - Opinit Bridge
463
- * * `GO_FAST` - Go Fast Bridge
464
- * * `STARGATE` - Stargate Bridge
465
- * * `LAYER_ZERO` - Layerzero Bridge
466
- * * `EUREKA` - IBC Eureka Bridge
467
- */
468
- declare enum BridgeType {
469
- IBC = "IBC",
470
- AXELAR = "AXELAR",
471
- CCTP = "CCTP",
472
- HYPERLANE = "HYPERLANE",
473
- OPINIT = "OPINIT",
474
- GO_FAST = "GO_FAST",
475
- STARGATE = "STARGATE",
476
- LAYER_ZERO = "LAYER_ZERO",
477
- EUREKA = "EUREKA"
478
- }
479
632
  interface Chain {
480
633
  /** Name of the chain */
481
634
  chainName: string;
@@ -502,11 +655,6 @@ interface Chain {
502
655
  /** User friendly name of the chain */
503
656
  prettyName: string;
504
657
  }
505
- declare enum ChainType {
506
- Cosmos = "cosmos",
507
- Evm = "evm",
508
- Svm = "svm"
509
- }
510
658
  interface ChainAffiliates {
511
659
  /** An array of affiliates that receives fees from a swap */
512
660
  affiliates?: Affiliate[];
@@ -520,13 +668,6 @@ interface ContractCallWithTokenError {
520
668
  */
521
669
  type?: ContractCallWithTokenErrorType;
522
670
  }
523
- /**
524
- * ContractCallWithToken errors:
525
- * * `CONTRACT_CALL_WITH_TOKEN_EXECUTION_ERROR` - Error occurred during the execute transaction
526
- */
527
- declare enum ContractCallWithTokenErrorType {
528
- CONTRACT_CALL_WITH_TOKEN_EXECUTION_ERROR = "CONTRACT_CALL_WITH_TOKEN_EXECUTION_ERROR"
529
- }
530
671
  interface ContractCallWithTokenTxs {
531
672
  approveTx?: ChainTransaction;
532
673
  confirmTx?: ChainTransaction;
@@ -558,8 +699,9 @@ interface ErrorDetail {
558
699
  * Error detail:
559
700
  * * `LOW_INFO_ERROR` - Not enough asset pricing information to determine the price safety of the route.
560
701
  * * `BAD_PRICE_ERROR` - The execution price of the route deviates significantly from the current market price.
702
+ * * `HIGH_LOSS_ERROR` - The route would result in a USD loss exceeding the configured threshold and has been blocked.
561
703
  */
562
- reason?: "LOW_INFO_ERROR" | "BAD_PRICE_ERROR";
704
+ reason?: "LOW_INFO_ERROR" | "BAD_PRICE_ERROR" | "HIGH_LOSS_ERROR";
563
705
  }
564
706
  interface Error {
565
707
  /** Error code */
@@ -721,19 +863,6 @@ interface HyperlaneTransferInfo {
721
863
  state: HyperlaneTransferState;
722
864
  txs: HyperlaneTransferTransactions;
723
865
  }
724
- /**
725
- * Hyperlane transfer state:
726
- * * `HYPERLANE_TRANSFER_UNKNOWN` - Unknown error
727
- * * `HYPERLANE_TRANSFER_SENT` - The Hyperlane transfer transaction on the source chain has executed
728
- * * `HYPERLANE_TRANSFER_FAILED` - The Hyperlane transfer failed
729
- * * `HYPERLANE_TRANSFER_RECEIVED` - The Hyperlane transfer has been received at the destination chain
730
- */
731
- declare enum HyperlaneTransferState {
732
- HYPERLANE_TRANSFER_UNKNOWN = "HYPERLANE_TRANSFER_UNKNOWN",
733
- HYPERLANE_TRANSFER_SENT = "HYPERLANE_TRANSFER_SENT",
734
- HYPERLANE_TRANSFER_FAILED = "HYPERLANE_TRANSFER_FAILED",
735
- HYPERLANE_TRANSFER_RECEIVED = "HYPERLANE_TRANSFER_RECEIVED"
736
- }
737
866
  interface HyperlaneTransferTransactions {
738
867
  sendTx?: ChainTransaction;
739
868
  receiveTx?: ChainTransaction;
@@ -816,17 +945,6 @@ interface PacketError {
816
945
  */
817
946
  type?: PacketErrorType;
818
947
  }
819
- /**
820
- * Packet error type:
821
- * * `PACKET_ERROR_UNKNOWN` - Unknown error
822
- * * `PACKET_ERROR_ACKNOWLEDGEMENT` - Packet acknowledgement error
823
- * * `PACKET_ERROR_TIMEOUT` - Packet timed out
824
- */
825
- declare enum PacketErrorType {
826
- PACKET_ERROR_UNKNOWN = "PACKET_ERROR_UNKNOWN",
827
- PACKET_ERROR_ACKNOWLEDGEMENT = "PACKET_ERROR_ACKNOWLEDGEMENT",
828
- PACKET_ERROR_TIMEOUT = "PACKET_ERROR_TIMEOUT"
829
- }
830
948
  interface ChainTransaction {
831
949
  /** Chain ID the packet event occurs on */
832
950
  chainId?: string;
@@ -838,28 +956,6 @@ interface ChainTransaction {
838
956
  onChainAt?: string;
839
957
  }
840
958
  type PostHandler = CosmWasmContractMsgWrapper | AutopilotMsgWrapper;
841
- /**
842
- * Recommendation reason:
843
- * * `UNKNOWN` - Unknown recommendation reason.
844
- * * `MOST_LIQUID` - Highest liquidity form of the transferred token on the destination chain.
845
- * * `BASE_TOKEN` - The base token if the destination chain is the origin chain of the source token.
846
- * * `DIRECT` - The token resulting from the least amount of transfers to the destination chain.
847
- */
848
- declare enum Reason {
849
- UNKNOWN = "UNKNOWN",
850
- MOST_LIQUID = "MOST_LIQUID",
851
- BASE_TOKEN = "BASE_TOKEN",
852
- DIRECT = "DIRECT"
853
- }
854
- /**
855
- * Recommendation reason:
856
- * * `LOW_INFO_WARNING` - Not enough asset pricing information to determine the price safety of the route.
857
- * * `BAD_PRICE_WARNING` - The execution price of the route deviates significantly from the current market price.
858
- */
859
- declare enum RoutePriceWarningType {
860
- LOW_INFO_WARNING = "LOW_INFO_WARNING",
861
- BAD_PRICE_WARNING = "BAD_PRICE_WARNING"
862
- }
863
959
  interface Route {
864
960
  /** Amount of source asset to be transferred or swapped */
865
961
  amountIn: string;
@@ -918,13 +1014,6 @@ interface SendTokenError {
918
1014
  */
919
1015
  type?: SendTokenErrorType;
920
1016
  }
921
- /**
922
- * SendToken error types:
923
- * * `SEND_TOKEN_EXECUTION_ERROR` - Error occurred during the execute transaction
924
- */
925
- declare enum SendTokenErrorType {
926
- SEND_TOKEN_EXECUTION_ERROR = "SEND_TOKEN_EXECUTION_ERROR"
927
- }
928
1017
  interface SendTokenTxs {
929
1018
  confirmTx?: ChainTransaction;
930
1019
  error?: SendTokenError;
@@ -944,19 +1033,6 @@ interface StatusError {
944
1033
  */
945
1034
  type?: StatusErrorType;
946
1035
  }
947
- /**
948
- * Packet error types:
949
- * * `STATUS_ERROR_UNKNOWN` - Unknown error
950
- * * `STATUS_ERROR_TRANSACTION_EXECUTION` - Error was encountered during transaction execution
951
- * * `STATUS_ERROR_INDEXING` - Error was encountered while indexing the transaction and packet data
952
- * * `STATUS_ERROR_TRANSFER` - The transfer failed to complete successfully
953
- */
954
- declare enum StatusErrorType {
955
- STATUS_ERROR_UNKNOWN = "STATUS_ERROR_UNKNOWN",
956
- STATUS_ERROR_TRANSACTION_EXECUTION = "STATUS_ERROR_TRANSACTION_EXECUTION",
957
- STATUS_ERROR_INDEXING = "STATUS_ERROR_INDEXING",
958
- STATUS_ERROR_TRANSFER = "STATUS_ERROR_TRANSFER"
959
- }
960
1036
  type Swap = (SwapInWrapper | SwapOutWrapper | SmartSwapInWrapper) & {
961
1037
  /** Estimated total affiliate fee generated by the swap */
962
1038
  estimatedAffiliateFee?: string;
@@ -1059,24 +1135,6 @@ interface TransactionExecutionErrorDetails {
1059
1135
  /** Error message */
1060
1136
  message?: string;
1061
1137
  }
1062
- /**
1063
- * Transaction state:
1064
- * * `STATE_SUBMITTED` - The initial transaction has been submitted to Skip Go API but not observed on chain yet
1065
- * * `STATE_PENDING` - The initial transaction has been observed on chain, and there are still pending actions
1066
- * * `STATE_COMPLETED_SUCCESS` - The route has completed successfully and the user has their tokens on the destination. (indicated by `transfer_asset_release`)
1067
- * * `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.
1068
- * (Again, `transfer_asset_release` indicates where the tokens are)
1069
- * * `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.
1070
- * * `STATE_PENDING_ERROR` - The overall transaction will fail, pending error propagation
1071
- */
1072
- declare enum TransactionState {
1073
- STATE_SUBMITTED = "STATE_SUBMITTED",
1074
- STATE_PENDING = "STATE_PENDING",
1075
- STATE_ABANDONED = "STATE_ABANDONED",
1076
- STATE_COMPLETED_SUCCESS = "STATE_COMPLETED_SUCCESS",
1077
- STATE_COMPLETED_ERROR = "STATE_COMPLETED_ERROR",
1078
- STATE_PENDING_ERROR = "STATE_PENDING_ERROR"
1079
- }
1080
1138
  /** A transfer facilitated by the OP Init bridge */
1081
1139
  interface OPInitTransfer {
1082
1140
  /** Canonical chain-id of the source chain of the bridge transaction */
@@ -1127,32 +1185,6 @@ interface OPInitTransferTxs {
1127
1185
  sendTx?: ChainTransaction;
1128
1186
  receiveTx?: ChainTransaction;
1129
1187
  }
1130
- /**
1131
- * OPInit transfer state:
1132
- * * `OPINIT_TRANSFER_UNKNOWN` - Unknown error
1133
- * * `OPINIT_TRANSFER_SENT` - The deposit transaction on the source chain has executed
1134
- * * `OPINIT_TRANSFER_RECEIVED` - OPInit transfer has been received at the destination chain
1135
- */
1136
- declare enum OPInitTransferState {
1137
- OPINIT_TRANSFER_UNKNOWN = "OPINIT_TRANSFER_UNKNOWN",
1138
- OPINIT_TRANSFER_SENT = "OPINIT_TRANSFER_SENT",
1139
- OPINIT_TRANSFER_RECEIVED = "OPINIT_TRANSFER_RECEIVED"
1140
- }
1141
- /**
1142
- * LayerZero transfer state:
1143
- * * `LAYER_ZERO_TRANSFER_UNKNOWN` - Unknown error
1144
- * * `LAYER_ZERO_TRANSFER_SENT` - The transaction on the source chain has executed
1145
- * * `LAYER_ZERO_TRANSFER_WAITING_FOR_COMPOSE` - The transfer has been delivered to the destination chain but there is an additional lz_compose transaction that still needs to be delivered before marking this transfer as LAYER_ZERO_TRANSFER_RECEIVED
1146
- * * `LAYER_ZERO_TRANSFER_RECEIVED` - The transfer has been received at the destination chain
1147
- * * `LAYER_ZERO_TRANSFER_FAILED` - The transfer has failed
1148
- */
1149
- declare enum LayerZeroTransferState {
1150
- LAYER_ZERO_TRANSFER_UNKNOWN = "LAYER_ZERO_TRANSFER_UNKNOWN",
1151
- LAYER_ZERO_TRANSFER_SENT = "LAYER_ZERO_TRANSFER_SENT",
1152
- LAYER_ZERO_TRANSFER_WAITING_FOR_COMPOSE = "LAYER_ZERO_TRANSFER_WAITING_FOR_COMPOSE",
1153
- LAYER_ZERO_TRANSFER_RECEIVED = "LAYER_ZERO_TRANSFER_RECEIVED",
1154
- LAYER_ZERO_TRANSFER_FAILED = "LAYER_ZERO_TRANSFER_FAILED"
1155
- }
1156
1188
  /** A cross-chain transfer */
1157
1189
  interface Transfer {
1158
1190
  /** Port to use to initiate the transfer */
@@ -1213,21 +1245,6 @@ interface TransferEvent {
1213
1245
  eurekaTransfer?: EurekaTransferInfo;
1214
1246
  layerZeroTransfer?: LayerZeroTransferInfo;
1215
1247
  }
1216
- /**
1217
- * Transfer state:
1218
- * * `TRANSFER_UNKNOWN` - Transfer state is not known.
1219
- * * `TRANSFER_PENDING` - The send packet for the transfer has been committed and the transfer is pending.
1220
- * * `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.
1221
- * * `TRANSFER_SUCCESS` - The transfer has been successfully completed and will not revert.
1222
- * * `TRANSFER_FAILURE`- The transfer has failed.
1223
- */
1224
- declare enum TransferState {
1225
- TRANSFER_UNKNOWN = "TRANSFER_UNKNOWN",
1226
- TRANSFER_PENDING = "TRANSFER_PENDING",
1227
- TRANSFER_RECEIVED = "TRANSFER_RECEIVED",
1228
- TRANSFER_SUCCESS = "TRANSFER_SUCCESS",
1229
- TRANSFER_FAILURE = "TRANSFER_FAILURE"
1230
- }
1231
1248
  /** Indicates location and denom of transfer asset release. */
1232
1249
  interface TransferAssetRelease {
1233
1250
  /** The chain ID of the chain that the transfer asset is released on. */
@@ -1404,22 +1421,6 @@ interface IbcCapabilities {
1404
1421
  /** Whether the autopilot module is supported */
1405
1422
  cosmosAutopilot?: boolean;
1406
1423
  }
1407
- /**
1408
- * Fee type:
1409
- * * SMART_RELAY - Fees for Smart relaying services.'
1410
- */
1411
- declare enum FeeType {
1412
- SMART_RELAY = "SMART_RELAY"
1413
- }
1414
- /**
1415
- * Indicates whether the fee is deducted from the transfer amount or charged additionally.
1416
- * - FEE_BEHAVIOR_DEDUCTED: Fee is subtracted from the transfer amount (default, typical for Cosmos chains)
1417
- * - FEE_BEHAVIOR_ADDITIONAL: Fee is charged on top of the transfer amount (typical for EVM chains with native tokens)
1418
- */
1419
- declare enum FeeBehavior {
1420
- FEE_BEHAVIOR_DEDUCTED = "FEE_BEHAVIOR_DEDUCTED",
1421
- FEE_BEHAVIOR_ADDITIONAL = "FEE_BEHAVIOR_ADDITIONAL"
1422
- }
1423
1424
  interface Fee {
1424
1425
  /**
1425
1426
  * Fee type:
@@ -1846,6 +1847,7 @@ interface HttpResponse<D extends unknown, E extends unknown = unknown> extends R
1846
1847
  type CancelToken = Symbol | string | number;
1847
1848
  declare enum ContentType {
1848
1849
  Json = "application/json",
1850
+ JsonApi = "application/vnd.api+json",
1849
1851
  FormData = "multipart/form-data",
1850
1852
  UrlEncoded = "application/x-www-form-urlencoded",
1851
1853
  Text = "text/plain"
@@ -2040,4 +2042,4 @@ declare class Api<SecurityDataType extends unknown> extends HttpClient<SecurityD
2040
2042
  fungibleAssetsBetweenChainsCreate: (data: AssetsBetweenChainsRequest, params?: RequestParams) => Promise<HttpResponse<FungibleAssetsBetweenChainsCreateResponse, Error>>;
2041
2043
  }
2042
2044
 
2043
- export { type EvmTx as $, type AcknowledgementErrorDetails as A, type BalanceRequestChainEntry as B, type CCTPTransfer as C, type BalanceResponseDenomEntry as D, type BalanceResponseChainEntry as E, type BankSend as F, type GoFastTransfer as G, type BankSendWrapper as H, type Bridge as I, BridgeType as J, type Chain as K, ChainType as L, type ChainAffiliates as M, type ContractCallWithTokenError as N, ContractCallWithTokenErrorType as O, type ContractCallWithTokenTxs as P, type CosmWasmContractMsg as Q, type CosmWasmContractMsgWrapper as R, type SmartRelayFeeQuote as S, type Erc20Approval as T, type ErrorDetail as U, type Error as V, type CosmosMsg as W, type CosmosTx as X, type CosmosTxWrapper as Y, type EvmSwap as Z, type EvmSwapWrapper as _, type Affiliate as a, type LayerZeroTransferWrapper as a$, type EvmTxWrapper as a0, type SvmTx as a1, type SvmTxWrapper as a2, type FeeAsset as a3, type GoFastFee as a4, type GRPCStatusCode as a5, type HyperlaneTransfer as a6, type HyperlaneTransferInfo as a7, HyperlaneTransferState as a8, type HyperlaneTransferTransactions as a9, type SwapOperation as aA, type SwapOutWrapper as aB, type SwapRoute as aC, type SmartSwapExactCoinIn as aD, type SmartSwapOptions as aE, type SmartSwapInWrapper as aF, type SwapVenue as aG, type SwapWrapper as aH, type TransactionExecutionErrorDetails as aI, TransactionState as aJ, type OPInitTransfer as aK, type OPInitTransferWrapper as aL, type OPInitTransferInfo as aM, type OPInitTransferTxs as aN, OPInitTransferState as aO, LayerZeroTransferState as aP, type Transfer as aQ, type TransferEvent as aR, TransferState as aS, type TransferAssetRelease as aT, type TransferStatus as aU, type TransferWrapper as aV, type EurekaTransfer as aW, type EurekaTransferInfo as aX, type EurekaTransferWrapper as aY, type LayerZeroTransfer as aZ, type LayerZeroTransferInfo as a_, type HyperlaneTransferWrapper as aa, type IBCTransferInfo as ab, type Msg as ac, type Tx as ad, type MultiChainMsg as ae, type MultiChainMsgWrapper as af, type Operation as ag, type OptionalAsset as ah, type LayerZeroTransferTransactions as ai, type Packet as aj, type PacketError as ak, PacketErrorType as al, type ChainTransaction as am, type PostHandler as an, Reason as ao, RoutePriceWarningType as ap, type Route as aq, type SendTokenError as ar, SendTokenErrorType as as, type SendTokenTxs as at, type StatusError as au, StatusErrorType as av, type Swap as aw, type SwapExactCoinIn as ax, type SwapExactCoinOut as ay, type SwapInWrapper as az, type ApiError as b, type RecommendationRequest as b0, type CosmosModuleSupport as b1, type IbcCapabilities as b2, FeeType as b3, FeeBehavior as b4, type Fee as b5, type BalancesRequest as b6, type AssetsFromSourceRequest as b7, type MsgsRequest as b8, type MsgsDirectRequest as b9, type QueryParamsType as bA, type ResponseFormat as bB, type FullRequestParams as bC, type RequestParams as bD, type ApiConfig as bE, type HttpResponse as bF, ContentType as bG, HttpClient as bH, Api as bI, type RouteRequest as bJ, type AssetRecommendationsRequest as ba, type SubmitTxRequest as bb, type TrackTxRequest as bc, type TrackTxResponse as bd, type StatusTxResponse as be, type IbcOriginAssetsRequest as bf, type AssetsBetweenChainsRequest as bg, type ChainsRequest as bh, type ChainsResponse as bi, type BalancesResponse as bj, type BridgesResponse as bk, type VenuesRequest as bl, type VenuesResponse as bm, type AssetsRequest as bn, type AssetsResponse as bo, type AssetsFromSourceResponse as bp, type RouteResponse as bq, type MsgsResponse as br, type MsgsDirectResponse as bs, type AssetRecommendationsResponse as bt, type SubmitResponse as bu, type TrackResponse as bv, type StatusRequest as bw, type StatusResponse as bx, type IbcOriginAssetsResponse as by, type FungibleAssetsBetweenChainsCreateResponse as bz, 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 GoFastTransferWrapper as z };
2045
+ export { type ContractCallWithTokenError as $, AxelarTransferType as A, BridgeType as B, ContractCallWithTokenErrorType as C, type StargateTransferTxs as D, type StargateTransferInfo as E, FeeBehavior as F, GoFastTransferState as G, HyperlaneTransferState as H, type StargateTransferWrapper as I, type GoFastTransfer as J, type GoFastTransferTxs as K, LayerZeroTransferState as L, type GoFastTransferInfo as M, type GoFastTransferWrapper as N, OPInitTransferState as O, PacketErrorType as P, type BalanceRequestChainEntry as Q, RoutePriceWarningType as R, StatusErrorType as S, TransferState as T, type BalanceResponseDenomEntry as U, type BalanceResponseChainEntry as V, type BankSend as W, type BankSendWrapper as X, type Bridge as Y, type Chain as Z, type ChainAffiliates as _, FeeType as a, type LayerZeroTransfer as a$, type ContractCallWithTokenTxs as a0, type CosmWasmContractMsg as a1, type CosmWasmContractMsgWrapper as a2, type Erc20Approval as a3, type ErrorDetail as a4, type Error as a5, type CosmosMsg as a6, type CosmosTx as a7, type CosmosTxWrapper as a8, type EvmSwap as a9, type SendTokenTxs as aA, type StatusError as aB, type Swap as aC, type SwapExactCoinIn as aD, type SwapExactCoinOut as aE, type SwapInWrapper as aF, type SwapOperation as aG, type SwapOutWrapper as aH, type SwapRoute as aI, type SmartSwapExactCoinIn as aJ, type SmartSwapOptions as aK, type SmartSwapInWrapper as aL, type SwapVenue as aM, type SwapWrapper as aN, type TransactionExecutionErrorDetails as aO, type OPInitTransfer as aP, type OPInitTransferWrapper as aQ, type OPInitTransferInfo as aR, type OPInitTransferTxs as aS, type Transfer as aT, type TransferEvent as aU, type TransferAssetRelease as aV, type TransferStatus as aW, type TransferWrapper as aX, type EurekaTransfer as aY, type EurekaTransferInfo as aZ, type EurekaTransferWrapper as a_, type EvmSwapWrapper as aa, type EvmTx as ab, type EvmTxWrapper as ac, type SvmTx as ad, type SvmTxWrapper as ae, type FeeAsset as af, type GoFastFee as ag, type GRPCStatusCode as ah, type HyperlaneTransfer as ai, type HyperlaneTransferInfo as aj, type HyperlaneTransferTransactions as ak, type HyperlaneTransferWrapper as al, type IBCTransferInfo as am, type Msg as an, type Tx as ao, type MultiChainMsg as ap, type MultiChainMsgWrapper as aq, type Operation as ar, type OptionalAsset as as, type LayerZeroTransferTransactions as at, type Packet as au, type PacketError as av, type ChainTransaction as aw, type PostHandler as ax, type Route as ay, type SendTokenError as az, TransactionState as b, type LayerZeroTransferInfo as b0, type LayerZeroTransferWrapper as b1, type RecommendationRequest as b2, type CosmosModuleSupport as b3, type IbcCapabilities as b4, type Fee as b5, type BalancesRequest as b6, type AssetsFromSourceRequest as b7, type MsgsRequest as b8, type MsgsDirectRequest as b9, type QueryParamsType as bA, type ResponseFormat as bB, type FullRequestParams as bC, type RequestParams as bD, type ApiConfig as bE, type HttpResponse as bF, ContentType as bG, HttpClient as bH, Api as bI, type RouteRequest as bJ, type AssetRecommendationsRequest as ba, type SubmitTxRequest as bb, type TrackTxRequest as bc, type TrackTxResponse as bd, type StatusTxResponse as be, type IbcOriginAssetsRequest as bf, type AssetsBetweenChainsRequest as bg, type ChainsRequest as bh, type ChainsResponse as bi, type BalancesResponse as bj, type BridgesResponse as bk, type VenuesRequest as bl, type VenuesResponse as bm, type AssetsRequest as bn, type AssetsResponse as bo, type AssetsFromSourceResponse as bp, type RouteResponse as bq, type MsgsResponse as br, type MsgsDirectResponse as bs, type AssetRecommendationsResponse as bt, type SubmitResponse as bu, type TrackResponse as bv, type StatusRequest as bw, type StatusResponse as bx, type IbcOriginAssetsResponse as by, type FungibleAssetsBetweenChainsCreateResponse as bz, SendTokenErrorType as c, Reason as d, ChainType as e, StargateTransferState as f, CCTPTransferState as g, AxelarTransferState as h, AutopilotAction as i, type AcknowledgementErrorDetails as j, type Affiliate as k, type ApiError as l, type Asset as m, type AssetBetweenChains as n, type AssetRecommendation as o, type AutopilotMsg as p, type AutopilotMsgWrapper as q, type AxelarTransfer as r, type AxelarTransferInfo as s, type AxelarTransferWrapper as t, type SmartRelayFeeQuote as u, type CCTPTransfer as v, type CCTPTransferInfo as w, type CCTPTransferTxs as x, type CCTPTransferWrapper as y, type StargateTransfer as z };