@skip-go/client 1.0.6 → 1.1.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 (64) hide show
  1. package/dist/api/getAssets.d.ts +1 -1
  2. package/dist/api/getAssets.js +2 -2
  3. package/dist/api/getAssetsBetweenChains.d.ts +1 -1
  4. package/dist/api/getAssetsBetweenChains.js +2 -2
  5. package/dist/api/getBridges.d.ts +1 -1
  6. package/dist/api/getBridges.js +2 -2
  7. package/dist/api/getChains.d.ts +1 -1
  8. package/dist/api/getChains.js +2 -2
  9. package/dist/api/getVenues.js +2 -2
  10. package/dist/api/postAssetsFromSource.d.ts +1 -1
  11. package/dist/api/postAssetsFromSource.js +3 -3
  12. package/dist/api/postBalances.d.ts +4 -4
  13. package/dist/api/postBalances.js +2 -2
  14. package/dist/api/postIbcOriginAssets.js +2 -2
  15. package/dist/api/postMessages.d.ts +44 -6
  16. package/dist/api/postMessages.js +2 -2
  17. package/dist/api/postMessagesDirect.d.ts +42 -4
  18. package/dist/api/postMessagesDirect.js +2 -2
  19. package/dist/api/postRecommendAssets.d.ts +1 -1
  20. package/dist/api/postRecommendAssets.js +2 -2
  21. package/dist/api/postRoute.d.ts +44 -6
  22. package/dist/api/postRoute.js +2 -2
  23. package/dist/api/postSubmitTransaction.js +2 -2
  24. package/dist/api/postTrackTransaction.js +2 -2
  25. package/dist/api/postTransactionStatus.d.ts +68 -4
  26. package/dist/api/postTransactionStatus.js +2 -2
  27. package/dist/{chunk-33K6EESX.js → chunk-2NYWLY5S.js} +2 -2
  28. package/dist/{chunk-RMP3HM5N.js → chunk-5EU3SRDQ.js} +3 -3
  29. package/dist/{chunk-DW4U6YI6.js → chunk-7FSLD7Y4.js} +2 -2
  30. package/dist/{chunk-RDRDFJQE.js → chunk-7P6AOFMX.js} +2 -2
  31. package/dist/{chunk-MGVXJ2U4.js → chunk-BCN2WD5Q.js} +2 -2
  32. package/dist/{chunk-BRMONS6A.js → chunk-EAUM5JYS.js} +4 -4
  33. package/dist/{chunk-PHTQQIAH.js → chunk-GTJ2EDUG.js} +2 -3
  34. package/dist/{chunk-BQTQJQ5E.js → chunk-H6RXHDUX.js} +2 -2
  35. package/dist/{chunk-TW77BXMT.js → chunk-KWVMUF5R.js} +1 -1
  36. package/dist/{chunk-F75DC5RW.js → chunk-MTXTFZRN.js} +7 -7
  37. package/dist/{chunk-UNF72WYO.js → chunk-PWSY2PQJ.js} +1 -1
  38. package/dist/{chunk-4JJWOILI.js → chunk-PZM2IB6H.js} +2 -2
  39. package/dist/{chunk-GARVPN2H.js → chunk-R2N4D2PY.js} +2 -2
  40. package/dist/{chunk-MTMPHY3Y.js → chunk-R3KHKN33.js} +1 -1
  41. package/dist/{chunk-C2EDPY6J.js → chunk-RL5AVCSG.js} +2 -2
  42. package/dist/{chunk-W6TBGBV3.js → chunk-SOGMQT4H.js} +68 -28
  43. package/dist/{chunk-VMPFHQ7U.js → chunk-T2TOUPEA.js} +1 -1
  44. package/dist/{chunk-SONZJVQM.js → chunk-UPL6CT4S.js} +1 -1
  45. package/dist/{chunk-KNV72XRZ.js → chunk-VRPPVMXO.js} +2 -2
  46. package/dist/{chunk-PRQ2NHRZ.js → chunk-WWDCZAB5.js} +2 -2
  47. package/dist/{client-types-CxjtffyG.d.ts → client-types-BvdIj_Nf.d.ts} +1 -1
  48. package/dist/{executeRoute-BKvMVd1I.d.ts → executeRoute-CxEpxhJ4.d.ts} +4 -4
  49. package/dist/{generateApi-DqCp36fX.d.ts → generateApi-BXIkShKU.d.ts} +1 -1
  50. package/dist/index.d.ts +1555 -6
  51. package/dist/index.js +159 -20
  52. package/dist/public-functions/executeRoute.d.ts +4 -4
  53. package/dist/public-functions/executeRoute.js +8 -8
  54. package/dist/public-functions/getFeeInfoForChain.d.ts +1 -1
  55. package/dist/public-functions/getFeeInfoForChain.js +3 -3
  56. package/dist/public-functions/getRecommendedGasPrice.js +4 -4
  57. package/dist/public-functions/getSigningStargateClient.js +3 -3
  58. package/dist/public-functions/setApiOptions.d.ts +1 -1
  59. package/dist/public-functions/setApiOptions.js +2 -2
  60. package/dist/public-functions/setClientOptions.d.ts +3 -3
  61. package/dist/public-functions/setClientOptions.js +3 -3
  62. package/dist/{setClientOptions-DbanEIwL.d.ts → setClientOptions-BkD-BMo7.d.ts} +1 -1
  63. package/dist/{swaggerTypes-O9-gvCT1.d.ts → swaggerTypes-A72fxJ5y.d.ts} +232 -164
  64. package/package.json +1 -2
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- export { A as AcknowledgementErrorDetails, a as Affiliate, bc as Api, b8 as ApiConfig, b as ApiError, c as Asset, d as AssetBetweenChains, e as AssetRecommendation, f as AutopilotAction, g as AutopilotMsg, h as AutopilotMsgWrapper, i as AxelarTransfer, j as AxelarTransferInfo, k as AxelarTransferState, l as AxelarTransferType, m as AxelarTransferWrapper, B as BalanceRequestChainEntry, D as BalanceResponseChainEntry, z as BalanceResponseDenomEntry, E as BankSend, F as BankSendWrapper, H as Bridge, I as BridgeType, C as CCTPTransfer, n as CCTPTransferInfo, p as CCTPTransferState, o as CCTPTransferTxs, q as CCTPTransferWrapper, J as Chain, L as ChainAffiliates, al as ChainTransaction, K as ChainType, ba as ContentType, M as ContractCallWithTokenError, N as ContractCallWithTokenErrorType, O as ContractCallWithTokenTxs, P as CosmWasmContractMsg, Q as CosmWasmContractMsgWrapper, b0 as CosmosModuleSupport, V as CosmosMsg, W as CosmosTx, X as CosmosTxWrapper, R as Erc20Approval, U as Error, T as ErrorDetail, aV as EurekaTransfer, aW as EurekaTransferInfo, aX as EurekaTransferWrapper, Y as EvmSwap, Z as EvmSwapWrapper, _ as EvmTx, $ as EvmTxWrapper, b3 as Fee, a2 as FeeAsset, b2 as FeeType, b6 as FullRequestParams, a4 as GRPCStatusCode, a3 as GoFastFee, G as GoFastTransfer, y as GoFastTransferInfo, w as GoFastTransferState, x as GoFastTransferTxs, bb as HttpClient, b9 as HttpResponse, a5 as HyperlaneTransfer, a6 as HyperlaneTransferInfo, a7 as HyperlaneTransferState, a8 as HyperlaneTransferTransactions, a9 as HyperlaneTransferWrapper, aa as IBCTransferInfo, b1 as IbcCapabilities, aY as LayerZeroTransfer, aZ as LayerZeroTransferInfo, aO as LayerZeroTransferState, ah as LayerZeroTransferTransactions, a_ as LayerZeroTransferWrapper, ab as Msg, ad as MultiChainMsg, ae as MultiChainMsgWrapper, aJ as OPInitTransfer, aL as OPInitTransferInfo, aN as OPInitTransferState, aM as OPInitTransferTxs, aK as OPInitTransferWrapper, af as Operation, ag as OptionalAsset, ai as Packet, aj as PacketError, ak as PacketErrorType, am as PostHandler, b4 as QueryParamsType, an as Reason, a$ as RecommendationRequest, b7 as RequestParams, b5 as ResponseFormat, ao as RoutePriceWarningType, ap as RouteResponse, aq as SendTokenError, ar as SendTokenErrorType, as as SendTokenTxs, S as SmartRelayFeeQuote, aC as SmartSwapExactCoinIn, aE as SmartSwapInWrapper, aD as SmartSwapOptions, r as StargateTransfer, u as StargateTransferInfo, s as StargateTransferState, t as StargateTransferTxs, v as StargateTransferWrapper, at as StatusError, au as StatusErrorType, a0 as SvmTx, a1 as SvmTxWrapper, av as Swap, aw as SwapExactCoinIn, ax as SwapExactCoinOut, ay as SwapInWrapper, az as SwapOperation, aA as SwapOutWrapper, aB as SwapRoute, aF as SwapVenue, aG as SwapWrapper, aH as TransactionExecutionErrorDetails, aI as TransactionState, aP as Transfer, aS as TransferAssetRelease, aQ as TransferEvent, aR as TransferState, aT as TransferStatus, aU as TransferWrapper, ac as Tx } from './swaggerTypes-O9-gvCT1.js';
2
- export { E as ExecuteRouteOptions, T as TransactionCallbacks, e as executeRoute } from './executeRoute-BKvMVd1I.js';
3
- export { E as EndpointOptions, b as GasOptions, G as GetFallbackGasAmount, a as GetGasPrice, e as SignCosmosMessageAminoOptions, d as SignCosmosMessageDirectOptions, c as SignCosmosMessageOptionsBase, S as SignerGetters, T as TxResult, U as UserAddress, V as ValidateGasResult } from './client-types-CxjtffyG.js';
1
+ export { A as AcknowledgementErrorDetails, a as Affiliate, bw as Api, bs as ApiConfig, b as ApiError, c as Asset, d as AssetBetweenChains, e as AssetRecommendation, bh as AssetRecommendationsResponse, bd as AssetsFromSourceResponse, bb as AssetsRequest, bc as AssetsResponse, f as AutopilotAction, g as AutopilotMsg, h as AutopilotMsgWrapper, i as AxelarTransfer, j as AxelarTransferInfo, k as AxelarTransferState, l as AxelarTransferType, m as AxelarTransferWrapper, B as BalanceRequestChainEntry, E as BalanceResponseChainEntry, D as BalanceResponseDenomEntry, b7 as BalancesResponse, F as BankSend, H as BankSendWrapper, I as Bridge, J as BridgeType, b8 as BridgesResponse, C as CCTPTransfer, n as CCTPTransferInfo, p as CCTPTransferState, o as CCTPTransferTxs, q as CCTPTransferWrapper, K as Chain, M as ChainAffiliates, am as ChainTransaction, L as ChainType, b5 as ChainsRequest, b6 as ChainsResponse, bu as ContentType, N as ContractCallWithTokenError, O as ContractCallWithTokenErrorType, P as ContractCallWithTokenTxs, Q as CosmWasmContractMsg, R as CosmWasmContractMsgWrapper, b1 as CosmosModuleSupport, W as CosmosMsg, X as CosmosTx, Y as CosmosTxWrapper, T as Erc20Approval, V as Error, U as ErrorDetail, aW as EurekaTransfer, aX as EurekaTransferInfo, aY as EurekaTransferWrapper, Z as EvmSwap, _ as EvmSwapWrapper, $ as EvmTx, a0 as EvmTxWrapper, b4 as Fee, a3 as FeeAsset, b3 as FeeType, bq as FullRequestParams, bn as FungibleAssetsBetweenChainsCreateResponse, a5 as GRPCStatusCode, a4 as GoFastFee, G as GoFastTransfer, y as GoFastTransferInfo, w as GoFastTransferState, x as GoFastTransferTxs, z as GoFastTransferWrapper, bv as HttpClient, bt as HttpResponse, a6 as HyperlaneTransfer, a7 as HyperlaneTransferInfo, a8 as HyperlaneTransferState, a9 as HyperlaneTransferTransactions, aa as HyperlaneTransferWrapper, ab as IBCTransferInfo, b2 as IbcCapabilities, bm as IbcOriginAssetsResponse, aZ as LayerZeroTransfer, a_ as LayerZeroTransferInfo, aP as LayerZeroTransferState, ai as LayerZeroTransferTransactions, a$ as LayerZeroTransferWrapper, ac as Msg, bg as MsgsDirectResponse, bf as MsgsResponse, ae as MultiChainMsg, af as MultiChainMsgWrapper, aK as OPInitTransfer, aM as OPInitTransferInfo, aO as OPInitTransferState, aN as OPInitTransferTxs, aL as OPInitTransferWrapper, ag as Operation, ah as OptionalAsset, aj as Packet, ak as PacketError, al as PacketErrorType, an as PostHandler, bo as QueryParamsType, ao as Reason, b0 as RecommendationRequest, br as RequestParams, bp as ResponseFormat, aq as Route, ap as RoutePriceWarningType, be as RouteResponse, ar as SendTokenError, as as SendTokenErrorType, at as SendTokenTxs, S as SmartRelayFeeQuote, aD as SmartSwapExactCoinIn, aF as SmartSwapInWrapper, aE as SmartSwapOptions, r as StargateTransfer, u as StargateTransferInfo, s as StargateTransferState, t as StargateTransferTxs, v as StargateTransferWrapper, au as StatusError, av as StatusErrorType, bk as StatusRequest, bl as StatusResponse, bi as SubmitResponse, a1 as SvmTx, a2 as SvmTxWrapper, aw as Swap, ax as SwapExactCoinIn, ay as SwapExactCoinOut, az as SwapInWrapper, aA as SwapOperation, aB as SwapOutWrapper, aC as SwapRoute, aG as SwapVenue, aH as SwapWrapper, bj as TrackResponse, aI as TransactionExecutionErrorDetails, aJ as TransactionState, aQ as Transfer, aT as TransferAssetRelease, aR as TransferEvent, aS as TransferState, aU as TransferStatus, aV as TransferWrapper, ad as Tx, b9 as VenuesRequest, ba as VenuesResponse } from './swaggerTypes-A72fxJ5y.js';
2
+ export { E as ExecuteRouteOptions, T as TransactionCallbacks, e as executeRoute } from './executeRoute-CxEpxhJ4.js';
3
+ export { E as EndpointOptions, b as GasOptions, G as GetFallbackGasAmount, a as GetGasPrice, e as SignCosmosMessageAminoOptions, d as SignCosmosMessageDirectOptions, c as SignCosmosMessageOptionsBase, S as SignerGetters, T as TxResult, U as UserAddress, V as ValidateGasResult } from './client-types-BvdIj_Nf.js';
4
4
  export { assets } from './api/getAssets.js';
5
5
  export { assetsBetweenChains } from './api/getAssetsBetweenChains.js';
6
6
  export { bridges } from './api/getBridges.js';
@@ -17,11 +17,11 @@ export { submitTransaction } from './api/postSubmitTransaction.js';
17
17
  export { trackTransaction } from './api/postTrackTransaction.js';
18
18
  export { TxStatusResponse, transactionStatus } from './api/postTransactionStatus.js';
19
19
  export { getSigningStargateClient, getSigningStargateClientProps } from './public-functions/getSigningStargateClient.js';
20
- export { S as SkipClientOptions, s as setClientOptions } from './setClientOptions-DbanEIwL.js';
20
+ export { S as SkipClientOptions, s as setClientOptions } from './setClientOptions-BkD-BMo7.js';
21
21
  export { getRecommendedGasPrice } from './public-functions/getRecommendedGasPrice.js';
22
22
  export { getFeeInfoForChain } from './public-functions/getFeeInfoForChain.js';
23
23
  export { SetApiOptionsProps, setApiOptions } from './public-functions/setApiOptions.js';
24
- import './generateApi-DqCp36fX.js';
24
+ import './generateApi-BXIkShKU.js';
25
25
  import '@cosmjs/amino';
26
26
  import '@cosmjs/proto-signing';
27
27
  import '@cosmjs/stargate';
@@ -29,6 +29,1555 @@ import 'viem';
29
29
  import '@solana/wallet-adapter-base';
30
30
  import './apiState-CdzxTxYd.js';
31
31
 
32
+ interface AcknowledgementErrorDetailsJson {
33
+ /** Error code */
34
+ code?: number;
35
+ /** Error message */
36
+ message?: string;
37
+ }
38
+ /** An affiliate that receives fees from a swap */
39
+ interface AffiliateJson {
40
+ /** Address to which to pay the fee */
41
+ address?: string;
42
+ /** Bps fee to pay to the affiliate */
43
+ basis_points_fee?: string;
44
+ }
45
+ interface ApiErrorJson {
46
+ /** Error message */
47
+ message?: string;
48
+ }
49
+ interface AssetJson {
50
+ /** Chain-id of the asset */
51
+ chain_id: string;
52
+ /** Coingecko id of the asset */
53
+ coingecko_id?: string | null;
54
+ /** Number of decimals used for amounts of the asset */
55
+ decimals?: number | null;
56
+ /** Denom of the asset */
57
+ denom: string;
58
+ /** Description of the asset */
59
+ description?: string | null;
60
+ /** Indicates whether asset is a CW20 token */
61
+ is_cw20: boolean;
62
+ /** Indicates whether asset is an EVM token */
63
+ is_evm: boolean;
64
+ /** Indicates whether asset is an SVM token */
65
+ is_svm: boolean;
66
+ /** URI pointing to an image of the logo of the asset */
67
+ logo_uri?: string | null;
68
+ /** Name of the asset */
69
+ name?: string | null;
70
+ /** 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 */
71
+ origin_chain_id: string;
72
+ /** Denom of the origin of the asset. If this is an ibc denom, this is the original denom that the ibc token represents */
73
+ origin_denom: string;
74
+ /** 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 */
75
+ recommended_symbol?: string | null;
76
+ /** Symbol of the asset, e.g. ATOM for uatom */
77
+ symbol?: string | null;
78
+ /** Address of the contract for the asset, e.g. if it is a CW20 or ERC20 token */
79
+ token_contract?: string | null;
80
+ /** The forward slash delimited sequence of ibc ports and channels that can be traversed to unwind an ibc token to its origin asset. */
81
+ trace: string;
82
+ }
83
+ interface AssetBetweenChainsJson {
84
+ asset_on_source?: AssetJson;
85
+ asset_on_dest?: AssetJson;
86
+ /** Number of transactions required to transfer the asset */
87
+ txs_required: number;
88
+ /** Bridges that are used to transfer the asset */
89
+ bridges?: BridgeTypeJson[];
90
+ }
91
+ interface AssetRecommendationJson {
92
+ /** Asset that is recommended */
93
+ asset?: AssetJson;
94
+ /** Reason for recommending the asset */
95
+ reason?: ReasonJson;
96
+ }
97
+ declare enum AutopilotActionJson {
98
+ LIQUID_STAKE = "LIQUID_STAKE",
99
+ CLAIM = "CLAIM"
100
+ }
101
+ interface AutopilotMsgJson {
102
+ action?: AutopilotActionJson;
103
+ receiver?: string;
104
+ }
105
+ interface AutopilotMsgWrapperJson {
106
+ autpilot_msg?: AutopilotMsgJson;
107
+ }
108
+ /** A transfer facilitated by the Axelar bridge */
109
+ interface AxelarTransferJson {
110
+ /** Axelar-name of the asset to bridge */
111
+ asset?: string;
112
+ /** Amount of the fee asset to be paid as the Axelar bridge fee. This is denominated in the fee asset. */
113
+ fee_amount?: string;
114
+ fee_asset?: AssetJson;
115
+ /** Name for source chain of the bridge transaction used on Axelar */
116
+ from_chain?: string;
117
+ /** Canonical chain-id of the source chain of the bridge transaction */
118
+ from_chain_id?: string;
119
+ /** Whether the source and destination chains are both testnets */
120
+ is_testnet?: boolean;
121
+ /** Whether to unwrap the asset at the destination chain (from ERC-20 to native) */
122
+ should_unwrap?: boolean;
123
+ /** Name for destination chain of the bridge transaction used on Axelar */
124
+ to_chain?: string;
125
+ /** Canonical chain-id of the destination chain of the bridge transaction */
126
+ to_chain_id?: string;
127
+ /** Denom of the input asset */
128
+ denom_in?: string;
129
+ /** Denom of the output asset */
130
+ denom_out?: string;
131
+ /** Amount of the fee asset to be paid as the Axelar bridge fee, converted to USD value */
132
+ usd_fee_amount?: string;
133
+ /** A cross-chain transfer */
134
+ ibc_transfer_to_axelar?: TransferJson;
135
+ /**
136
+ * Bridge Type:
137
+ * * `IBC` - IBC Bridge
138
+ * * `AXELAR` - Axelar Bridge
139
+ * * `CCTP` - CCTP Bridge
140
+ * * `HYPERLANE` - Hyperlane Bridge
141
+ * * `OPINIT` - Opinit Bridge
142
+ * * `GO_FAST` - Go Fast Bridge
143
+ * * `STARGATE` - Stargate Bridge
144
+ * * `EUREKA` - IBC Eureka Bridge
145
+ */
146
+ bridge_id?: BridgeTypeJson;
147
+ /** Indicates whether this transfer is relayed via Smart Relay */
148
+ smart_relay?: boolean;
149
+ }
150
+ interface AxelarTransferInfoJson {
151
+ /** Link to the transaction on the Axelar Scan explorer */
152
+ axelar_scan_link?: string;
153
+ /** Chain ID of the destination chain */
154
+ to_chain_id: string;
155
+ /** Chain ID of the source chain */
156
+ from_chain_id: string;
157
+ /**
158
+ * Axelar transfer state:
159
+ * * `AXELAR_TRANSFER_UNKNOWN` - Unknown error
160
+ * * `AXELAR_TRANSFER_PENDING_CONFIRMATION` - Axelar transfer is pending confirmation
161
+ * * `AXELAR_TRANSFER_PENDING_RECEIPT` - Axelar transfer is pending receipt at destination
162
+ * * `AXELAR_TRANSFER_SUCCESS` - Axelar transfer succeeded and assets have been received
163
+ * * `AXELAR_TRANSFER_FAILURE` - Axelar transfer failed
164
+ */
165
+ state: AxelarTransferStateJson;
166
+ txs: ContractCallWithTokenTxsJson | SendTokenTxsJson;
167
+ /**
168
+ * Axelar transfer type:
169
+ * * `AXELAR_TRANSFER_CONTRACT_CALL_WITH_TOKEN` - GMP contract call with token transfer type
170
+ * * `AXELAR_TRANSFER_SEND_TOKEN` - Send token transfer type
171
+ */
172
+ type?: AxelarTransferTypeJson;
173
+ }
174
+ /**
175
+ * Axelar transfer state:
176
+ * * `AXELAR_TRANSFER_UNKNOWN` - Unknown error
177
+ * * `AXELAR_TRANSFER_PENDING_CONFIRMATION` - Axelar transfer is pending confirmation
178
+ * * `AXELAR_TRANSFER_PENDING_RECEIPT` - Axelar transfer is pending receipt at destination
179
+ * * `AXELAR_TRANSFER_SUCCESS` - Axelar transfer succeeded and assets have been received
180
+ * * `AXELAR_TRANSFER_FAILURE` - Axelar transfer failed
181
+ */
182
+ declare enum AxelarTransferStateJson {
183
+ AXELAR_TRANSFER_UNKNOWN = "AXELAR_TRANSFER_UNKNOWN",
184
+ AXELAR_TRANSFER_PENDING_CONFIRMATION = "AXELAR_TRANSFER_PENDING_CONFIRMATION",
185
+ AXELAR_TRANSFER_PENDING_RECEIPT = "AXELAR_TRANSFER_PENDING_RECEIPT",
186
+ AXELAR_TRANSFER_SUCCESS = "AXELAR_TRANSFER_SUCCESS",
187
+ AXELAR_TRANSFER_FAILURE = "AXELAR_TRANSFER_FAILURE"
188
+ }
189
+ /**
190
+ * Axelar transfer type:
191
+ * * `AXELAR_TRANSFER_CONTRACT_CALL_WITH_TOKEN` - GMP contract call with token transfer type
192
+ * * `AXELAR_TRANSFER_SEND_TOKEN` - Send token transfer type
193
+ */
194
+ declare enum AxelarTransferTypeJson {
195
+ AXELAR_TRANSFER_CONTRACT_CALL_WITH_TOKEN = "AXELAR_TRANSFER_CONTRACT_CALL_WITH_TOKEN",
196
+ AXELAR_TRANSFER_SEND_TOKEN = "AXELAR_TRANSFER_SEND_TOKEN"
197
+ }
198
+ interface AxelarTransferWrapperJson {
199
+ /** A transfer facilitated by the Axelar bridge */
200
+ axelar_transfer?: AxelarTransferJson;
201
+ }
202
+ /** Details about the fee paid for Smart Relaying */
203
+ interface SmartRelayFeeQuoteJson {
204
+ /** The USDC fee amount */
205
+ fee_amount?: string;
206
+ /** The fee asset denomination */
207
+ fee_denom?: string;
208
+ /** The address the fee should be sent to */
209
+ fee_payment_address?: string | null;
210
+ /** Address of the relayer */
211
+ relayer_address?: string;
212
+ /** Expiration time of the fee quote */
213
+ expiration?: string;
214
+ }
215
+ /** A transfer facilitated by the CCTP bridge */
216
+ interface CCTPTransferJson {
217
+ /** Canonical chain-id of the source chain of the bridge transaction */
218
+ from_chain_id?: string;
219
+ /** Canonical chain-id of the destination chain of the bridge transaction */
220
+ to_chain_id?: string;
221
+ /** Name of the asset to bridge. It will be the erc-20 contract address for EVM chains and `uusdc` for Noble. */
222
+ burn_token?: string;
223
+ /** Denom of the input asset */
224
+ denom_in?: string;
225
+ /** Denom of the output asset */
226
+ denom_out?: string;
227
+ /**
228
+ * Bridge Type:
229
+ * * `IBC` - IBC Bridge
230
+ * * `AXELAR` - Axelar Bridge
231
+ * * `CCTP` - CCTP Bridge
232
+ * * `HYPERLANE` - Hyperlane Bridge
233
+ * * `OPINIT` - Opinit Bridge
234
+ * * `GO_FAST` - Go Fast Bridge
235
+ * * `STARGATE` - Stargate Bridge
236
+ * * `EUREKA` - IBC Eureka Bridge
237
+ */
238
+ bridge_id?: BridgeTypeJson;
239
+ /** Indicates whether this transfer is relayed via Smart Relay */
240
+ smart_relay?: boolean;
241
+ smart_relay_fee_quote?: SmartRelayFeeQuoteJson | null;
242
+ }
243
+ interface CCTPTransferInfoJson {
244
+ /** Chain ID of the destination chain */
245
+ to_chain_id?: string;
246
+ /** Chain ID of the source chain */
247
+ from_chain_id?: string;
248
+ /**
249
+ * CCTP transfer state:
250
+ * * `CCTP_TRANSFER_UNKNOWN` - Unknown error
251
+ * * `CCTP_TRANSFER_SENT` - The burn transaction on the source chain has executed
252
+ * * `CCTP_TRANSFER_PENDING_CONFIRMATION` - CCTP transfer is pending confirmation by the cctp attestation api
253
+ * * `CCTP_TRANSFER_CONFIRMED` - CCTP transfer has been confirmed by the cctp attestation api
254
+ * * `CCTP_TRANSFER_RECEIVED` - CCTP transfer has been received at the destination chain
255
+ */
256
+ state?: CCTPTransferStateJson;
257
+ txs?: CCTPTransferTxsJson;
258
+ }
259
+ interface CCTPTransferTxsJson {
260
+ send_tx?: ChainTransactionJson | null;
261
+ receive_tx?: ChainTransactionJson | null;
262
+ }
263
+ /**
264
+ * CCTP transfer state:
265
+ * * `CCTP_TRANSFER_UNKNOWN` - Unknown error
266
+ * * `CCTP_TRANSFER_SENT` - The burn transaction on the source chain has executed
267
+ * * `CCTP_TRANSFER_PENDING_CONFIRMATION` - CCTP transfer is pending confirmation by the cctp attestation api
268
+ * * `CCTP_TRANSFER_CONFIRMED` - CCTP transfer has been confirmed by the cctp attestation api
269
+ * * `CCTP_TRANSFER_RECEIVED` - CCTP transfer has been received at the destination chain
270
+ */
271
+ declare enum CCTPTransferStateJson {
272
+ CCTP_TRANSFER_UNKNOWN = "CCTP_TRANSFER_UNKNOWN",
273
+ CCTP_TRANSFER_SENT = "CCTP_TRANSFER_SENT",
274
+ CCTP_TRANSFER_PENDING_CONFIRMATION = "CCTP_TRANSFER_PENDING_CONFIRMATION",
275
+ CCTP_TRANSFER_CONFIRMED = "CCTP_TRANSFER_CONFIRMED",
276
+ CCTP_TRANSFER_RECEIVED = "CCTP_TRANSFER_RECEIVED"
277
+ }
278
+ interface CCTPTransferWrapperJson {
279
+ /** A transfer facilitated by the CCTP bridge */
280
+ cctp_transfer?: CCTPTransferJson;
281
+ }
282
+ /** A transfer facilitated by the Stargate bridge */
283
+ interface StargateTransferJson {
284
+ /** Canonical chain-id of the source chain of the bridge transaction */
285
+ from_chain_id?: string;
286
+ /** Canonical chain-id of the destination chain of the bridge transaction */
287
+ to_chain_id?: string;
288
+ /** Denom of the input asset */
289
+ denom_in?: string;
290
+ /** Denom of the output asset */
291
+ denom_out?: string;
292
+ /**
293
+ * Bridge Type:
294
+ * * `IBC` - IBC Bridge
295
+ * * `AXELAR` - Axelar Bridge
296
+ * * `CCTP` - CCTP Bridge
297
+ * * `HYPERLANE` - Hyperlane Bridge
298
+ * * `OPINIT` - Opinit Bridge
299
+ * * `GO_FAST` - Go Fast Bridge
300
+ * * `STARGATE` - Stargate Bridge
301
+ * * `EUREKA` - IBC Eureka Bridge
302
+ */
303
+ bridge_id?: BridgeTypeJson;
304
+ pool_address?: string;
305
+ destination_endpoint_id?: number;
306
+ oft_fee_asset?: AssetJson;
307
+ oft_fee_amount?: string;
308
+ oft_fee_amount_usd?: string;
309
+ messaging_fee_asset?: AssetJson;
310
+ messaging_fee_amount?: string;
311
+ messageing_fee_amount_usd?: string;
312
+ }
313
+ /**
314
+ * Stargate transfer state:
315
+ * * `STARGATE_TRANSFER_UNKNOWN` - Unknown error
316
+ * * `STARGATE_TRANSFER_SENT` - The Stargate transfer transaction on the source chain has executed
317
+ * * `STARGATE_TRANSFER_PENDING_CONFIRMATION` - Stargate transfer is pending confirmation
318
+ * * `STARGATE_TRANSFER_CONFIRMED` - Stargate transfer has been confirmed
319
+ * * `STARGATE_TRANSFER_RECEIVED` - Stargate transfer has been received at the destination chain
320
+ * * `STARGATE_TRANSFER_FAILED` - Stargate transfer failed
321
+ */
322
+ declare enum StargateTransferStateJson {
323
+ STARGATE_TRANSFER_UNKNOWN = "STARGATE_TRANSFER_UNKNOWN",
324
+ STARGATE_TRANSFER_SENT = "STARGATE_TRANSFER_SENT",
325
+ STARGATE_TRANSFER_PENDING_CONFIRMATION = "STARGATE_TRANSFER_PENDING_CONFIRMATION",
326
+ STARGATE_TRANSFER_CONFIRMED = "STARGATE_TRANSFER_CONFIRMED",
327
+ STARGATE_TRANSFER_RECEIVED = "STARGATE_TRANSFER_RECEIVED",
328
+ STARGATE_TRANSFER_FAILED = "STARGATE_TRANSFER_FAILED"
329
+ }
330
+ interface StargateTransferTxsJson {
331
+ send_tx?: ChainTransactionJson | null;
332
+ receive_tx?: ChainTransactionJson | null;
333
+ error_tx?: ChainTransactionJson | null;
334
+ }
335
+ interface StargateTransferInfoJson {
336
+ /** Chain ID of the source chain */
337
+ from_chain_id?: string;
338
+ /** Chain ID of the destination chain */
339
+ to_chain_id?: string;
340
+ /**
341
+ * Stargate transfer state:
342
+ * * `STARGATE_TRANSFER_UNKNOWN` - Unknown error
343
+ * * `STARGATE_TRANSFER_SENT` - The Stargate transfer transaction on the source chain has executed
344
+ * * `STARGATE_TRANSFER_PENDING_CONFIRMATION` - Stargate transfer is pending confirmation
345
+ * * `STARGATE_TRANSFER_CONFIRMED` - Stargate transfer has been confirmed
346
+ * * `STARGATE_TRANSFER_RECEIVED` - Stargate transfer has been received at the destination chain
347
+ * * `STARGATE_TRANSFER_FAILED` - Stargate transfer failed
348
+ */
349
+ state?: StargateTransferStateJson;
350
+ txs?: StargateTransferTxsJson;
351
+ }
352
+ interface StargateTransferWrapperJson {
353
+ /** A transfer facilitated by the Stargate bridge */
354
+ stargate_transfer?: StargateTransferJson;
355
+ }
356
+ /** A transfer facilitated by GoFast */
357
+ interface GoFastTransferJson {
358
+ /** Canonical chain-id of the source chain of the bridge transaction */
359
+ from_chain_id?: string;
360
+ /** Canonical chain-id of the destination chain of the bridge transaction */
361
+ to_chain_id?: string;
362
+ /**
363
+ * Bridge Type:
364
+ * * `IBC` - IBC Bridge
365
+ * * `AXELAR` - Axelar Bridge
366
+ * * `CCTP` - CCTP Bridge
367
+ * * `HYPERLANE` - Hyperlane Bridge
368
+ * * `OPINIT` - Opinit Bridge
369
+ * * `GO_FAST` - Go Fast Bridge
370
+ * * `STARGATE` - Stargate Bridge
371
+ * * `EUREKA` - IBC Eureka Bridge
372
+ */
373
+ bridge_id?: BridgeTypeJson;
374
+ /** Denom of the input asset */
375
+ denom_in?: string;
376
+ /** Denom of the output asset */
377
+ denom_out?: string;
378
+ /** Go fast Fee */
379
+ fee?: GoFastFeeJson;
380
+ }
381
+ /**
382
+ * GoFast transfer state:
383
+ * * `GO_FAST_TRANSFER_UNKNOWN` - Unknown state
384
+ * * `GO_FAST_TRANSFER_SENT` - Order submitted on source chain
385
+ * * `GO_FAST_POST_ACTION_FAILED` - Order filled, but subsequent action (e.g., swap) failed
386
+ * * `GO_FAST_TRANSFER_TIMEOUT` - Order timed out
387
+ * * `GO_FAST_TRANSFER_FILLED` - Order filled on destination chain
388
+ * * `GO_FAST_TRANSFER_REFUNDED` - Order refunded
389
+ */
390
+ declare enum GoFastTransferStateJson {
391
+ GO_FAST_TRANSFER_UNKNOWN = "GO_FAST_TRANSFER_UNKNOWN",
392
+ GO_FAST_TRANSFER_SENT = "GO_FAST_TRANSFER_SENT",
393
+ GO_FAST_POST_ACTION_FAILED = "GO_FAST_POST_ACTION_FAILED",
394
+ GO_FAST_TRANSFER_TIMEOUT = "GO_FAST_TRANSFER_TIMEOUT",
395
+ GO_FAST_TRANSFER_FILLED = "GO_FAST_TRANSFER_FILLED",
396
+ GO_FAST_TRANSFER_REFUNDED = "GO_FAST_TRANSFER_REFUNDED"
397
+ }
398
+ interface GoFastTransferTxsJson {
399
+ order_submitted_tx?: ChainTransactionJson | null;
400
+ order_filled_tx?: ChainTransactionJson | null;
401
+ order_refunded_tx?: ChainTransactionJson | null;
402
+ order_timeout_tx?: ChainTransactionJson | null;
403
+ }
404
+ interface GoFastTransferInfoJson {
405
+ /** Chain Id of the source chain */
406
+ from_chain_id: string;
407
+ /** Chain Id of the destination chain */
408
+ to_chain_id: string;
409
+ /**
410
+ * GoFast transfer state:
411
+ * * `GO_FAST_TRANSFER_UNKNOWN` - Unknown state
412
+ * * `GO_FAST_TRANSFER_SENT` - Order submitted on source chain
413
+ * * `GO_FAST_POST_ACTION_FAILED` - Order filled, but subsequent action (e.g., swap) failed
414
+ * * `GO_FAST_TRANSFER_TIMEOUT` - Order timed out
415
+ * * `GO_FAST_TRANSFER_FILLED` - Order filled on destination chain
416
+ * * `GO_FAST_TRANSFER_REFUNDED` - Order refunded
417
+ */
418
+ state: GoFastTransferStateJson;
419
+ txs: GoFastTransferTxsJson;
420
+ /** Error message if the transfer failed post-fill */
421
+ error_message?: string | null;
422
+ }
423
+ interface GoFastTransferWrapperJson {
424
+ /** A transfer facilitated by GoFast */
425
+ go_fast_transfer?: GoFastTransferJson;
426
+ }
427
+ interface BalanceRequestChainEntryJson {
428
+ /** Address of the wallet that the balance is requested for */
429
+ address?: string;
430
+ /** Denoms of the assets to get the balance for */
431
+ denoms?: string[];
432
+ }
433
+ interface BalanceResponseDenomEntryJson {
434
+ amount: string;
435
+ /** @format int32 */
436
+ decimals?: number | null;
437
+ formatted_amount: string;
438
+ price?: string | null;
439
+ value_usd?: string | null;
440
+ error?: ApiErrorJson | null;
441
+ }
442
+ interface BalanceResponseChainEntryJson {
443
+ denoms?: Record<string, BalanceResponseDenomEntryJson>;
444
+ }
445
+ interface BankSendJson {
446
+ /** Chain-id of the chain that the transaction is intended for */
447
+ chain_id?: string;
448
+ /** Denom of the asset to send */
449
+ denom?: string;
450
+ }
451
+ interface BankSendWrapperJson {
452
+ bank_send?: BankSendJson;
453
+ }
454
+ interface BridgeJson {
455
+ /**
456
+ * Bridge Type:
457
+ * * `IBC` - IBC Bridge
458
+ * * `AXELAR` - Axelar Bridge
459
+ * * `CCTP` - CCTP Bridge
460
+ * * `HYPERLANE` - Hyperlane Bridge
461
+ * * `OPINIT` - Opinit Bridge
462
+ * * `GO_FAST` - Go Fast Bridge
463
+ * * `STARGATE` - Stargate Bridge
464
+ * * `EUREKA` - IBC Eureka Bridge
465
+ */
466
+ id?: BridgeTypeJson;
467
+ /** Name of the bridge */
468
+ name?: string;
469
+ /** URI pointing to an image of the logo of the bridge */
470
+ logo_uri?: string;
471
+ }
472
+ /**
473
+ * Bridge Type:
474
+ * * `IBC` - IBC Bridge
475
+ * * `AXELAR` - Axelar Bridge
476
+ * * `CCTP` - CCTP Bridge
477
+ * * `HYPERLANE` - Hyperlane Bridge
478
+ * * `OPINIT` - Opinit Bridge
479
+ * * `GO_FAST` - Go Fast Bridge
480
+ * * `STARGATE` - Stargate Bridge
481
+ * * `EUREKA` - IBC Eureka Bridge
482
+ */
483
+ declare enum BridgeTypeJson {
484
+ IBC = "IBC",
485
+ AXELAR = "AXELAR",
486
+ CCTP = "CCTP",
487
+ HYPERLANE = "HYPERLANE",
488
+ OPINIT = "OPINIT",
489
+ GO_FAST = "GO_FAST",
490
+ STARGATE = "STARGATE",
491
+ EUREKA = "EUREKA"
492
+ }
493
+ interface ChainJson {
494
+ /** Name of the chain */
495
+ chain_name: string;
496
+ /** Chain-id of the chain */
497
+ chain_id: string;
498
+ /** Whether the PFM module is enabled on the chain */
499
+ pfm_enabled: boolean;
500
+ /** Supported cosmos modules */
501
+ cosmos_module_support: CosmosModuleSupportJson;
502
+ /** Whether the chain supports IBC memos */
503
+ supports_memo: boolean;
504
+ /** chain logo URI */
505
+ logo_uri?: string | null;
506
+ /** Bech32 prefix of the chain */
507
+ bech32_prefix: string;
508
+ /** Fee assets of the chain */
509
+ fee_assets: FeeAssetJson[];
510
+ /** Type of chain, e.g. "cosmos" or "evm" */
511
+ chain_type: ChainTypeJson;
512
+ /** IBC capabilities of the chain */
513
+ ibc_capabilities: IbcCapabilitiesJson;
514
+ /** Whether the chain is a testnet */
515
+ is_testnet: boolean;
516
+ /** User friendly name of the chain */
517
+ pretty_name: string;
518
+ }
519
+ declare enum ChainTypeJson {
520
+ Cosmos = "cosmos",
521
+ Evm = "evm",
522
+ Svm = "svm"
523
+ }
524
+ interface ChainAffiliatesJson {
525
+ /** An array of affiliates that receives fees from a swap */
526
+ affiliates?: AffiliateJson[];
527
+ }
528
+ interface ContractCallWithTokenErrorJson {
529
+ /** Error message */
530
+ message?: string;
531
+ /**
532
+ * ContractCallWithToken errors:
533
+ * * `CONTRACT_CALL_WITH_TOKEN_EXECUTION_ERROR` - Error occurred during the execute transaction
534
+ */
535
+ type?: ContractCallWithTokenErrorTypeJson;
536
+ }
537
+ /**
538
+ * ContractCallWithToken errors:
539
+ * * `CONTRACT_CALL_WITH_TOKEN_EXECUTION_ERROR` - Error occurred during the execute transaction
540
+ */
541
+ declare enum ContractCallWithTokenErrorTypeJson {
542
+ CONTRACT_CALL_WITH_TOKEN_EXECUTION_ERROR = "CONTRACT_CALL_WITH_TOKEN_EXECUTION_ERROR"
543
+ }
544
+ interface ContractCallWithTokenTxsJson {
545
+ approve_tx?: ChainTransactionJson | null;
546
+ confirm_tx?: ChainTransactionJson | null;
547
+ error?: ContractCallWithTokenErrorJson | null;
548
+ execute_tx?: ChainTransactionJson | null;
549
+ gas_paid_tx?: ChainTransactionJson | null;
550
+ send_tx?: ChainTransactionJson | null;
551
+ }
552
+ interface CosmWasmContractMsgJson {
553
+ /** Address of the contract to execute the message on */
554
+ contract_address?: string;
555
+ /** JSON string of the message */
556
+ msg?: string;
557
+ }
558
+ interface CosmWasmContractMsgWrapperJson {
559
+ wasm_msg?: CosmWasmContractMsgJson;
560
+ }
561
+ /** An ERC20 token contract approval */
562
+ interface Erc20ApprovalJson {
563
+ /** Amount of the approval */
564
+ amount: string;
565
+ /** Address of the spender */
566
+ spender: string;
567
+ /** Address of the ERC20 token contract */
568
+ token_contract: string;
569
+ }
570
+ interface ErrorDetailJson {
571
+ /**
572
+ * Error detail:
573
+ * * `LOW_INFO_ERROR` - Not enough asset pricing information to determine the price safety of the route.
574
+ * * `BAD_PRICE_ERROR` - The execution price of the route deviates significantly from the current market price.
575
+ */
576
+ reason?: "LOW_INFO_ERROR" | "BAD_PRICE_ERROR";
577
+ }
578
+ interface ErrorJson {
579
+ /** Error code */
580
+ code?: GRPCStatusCodeJson;
581
+ /** Additional error details */
582
+ details?: ErrorDetailJson[];
583
+ /** Error message */
584
+ message?: string;
585
+ }
586
+ /** A message in a cosmos transaction */
587
+ interface CosmosMsgJson {
588
+ /** JSON string of the message */
589
+ msg?: string;
590
+ /** TypeUrl of the message */
591
+ msg_type_url?: string;
592
+ }
593
+ /** A transaction on a Cosmos chain */
594
+ interface CosmosTxJson {
595
+ /** Chain-id of the chain that the transaction is intended for */
596
+ chain_id: string;
597
+ /** Path of chain-ids that the message is intended to interact with */
598
+ path?: string[];
599
+ /** The address of the wallet that will sign this transaction */
600
+ signer_address?: string;
601
+ /** The messages that should be included in the transaction. The ordering must be adhered to. */
602
+ msgs?: CosmosMsgJson[];
603
+ }
604
+ interface CosmosTxWrapperJson {
605
+ /** A transaction on a Cosmos chain */
606
+ cosmos_tx: CosmosTxJson;
607
+ }
608
+ /** A swap on an EVM chain */
609
+ interface EvmSwapJson {
610
+ /** Address of the input token. Empty string if native token. */
611
+ input_token?: string;
612
+ /** Amount of the input token */
613
+ amount_in?: string;
614
+ /** Calldata for the swap */
615
+ swap_calldata?: string;
616
+ /** Amount of the output token */
617
+ amount_out?: string;
618
+ /** Chain-id for the swap */
619
+ from_chain_id?: string;
620
+ /** Denom of the input asset */
621
+ denom_in?: string;
622
+ /** Denom of the output asset */
623
+ denom_out?: string;
624
+ /** Venues used for the swap */
625
+ swap_venues?: SwapVenueJson[];
626
+ }
627
+ interface EvmSwapWrapperJson {
628
+ /** A swap on an EVM chain */
629
+ evm_swap?: EvmSwapJson;
630
+ }
631
+ /** A transaction on an EVM chain */
632
+ interface EvmTxJson {
633
+ /** Chain-id of the chain that the transaction is intended for */
634
+ chain_id: string;
635
+ /** Data of the transaction */
636
+ data?: string;
637
+ /** ERC20 approvals required for the transaction */
638
+ required_erc20_approvals?: Erc20ApprovalJson[];
639
+ /** The address of the wallet that will sign this transaction */
640
+ signer_address?: string;
641
+ /** Address of the recipient of the transaction */
642
+ to?: string;
643
+ /** Amount of the transaction */
644
+ value?: string;
645
+ }
646
+ interface EvmTxWrapperJson {
647
+ /** A transaction on an EVM chain */
648
+ evm_tx: EvmTxJson;
649
+ }
650
+ /** A transaction on an SVM chain */
651
+ interface SvmTxJson {
652
+ /** Chain-id of the chain that the transaction is intended for */
653
+ chain_id: string;
654
+ /** The address of the wallet that will sign this transaction */
655
+ signer_address?: string;
656
+ /** Base64 encoded unsigned or partially signed transaction */
657
+ tx?: string;
658
+ }
659
+ interface SvmTxWrapperJson {
660
+ /** A transaction on an SVM chain */
661
+ svm_tx: SvmTxJson;
662
+ }
663
+ /** 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) */
664
+ interface FeeAssetJson {
665
+ /** Asset denom */
666
+ denom: string;
667
+ /** Gas price tiers */
668
+ gas_price?: {
669
+ /** Average gas price */
670
+ average?: string;
671
+ /** High gas price */
672
+ high?: string;
673
+ /** Low gas price */
674
+ low?: string;
675
+ } | null;
676
+ }
677
+ /** Go fast Fee */
678
+ interface GoFastFeeJson {
679
+ fee_asset: AssetJson;
680
+ bpsFee?: string;
681
+ bpsFeeAmount?: string;
682
+ bpsFeeUsd?: string;
683
+ sourceChainFeeAmount?: string;
684
+ sourceChainFeeUsd?: string;
685
+ destinationChainFeeAmount?: string;
686
+ destinationChainFeeUsd?: string;
687
+ }
688
+ /** grpc status codes as defined [here](https://grpc.github.io/grpc/core/md_doc_statuscodes.html) */
689
+ type GRPCStatusCodeJson = number;
690
+ /** A transfer facilitated by the Hyperlane bridge */
691
+ interface HyperlaneTransferJson {
692
+ /** Canonical chain-id of the source chain of the bridge transaction */
693
+ from_chain_id?: string;
694
+ /** Canonical chain-id of the destination chain of the bridge transaction */
695
+ to_chain_id?: string;
696
+ /** Denom of the input asset */
697
+ denom_in?: string;
698
+ /** Denom of the output asset */
699
+ denom_out?: string;
700
+ /** Contract address of the hyperlane warp route contract that initiates the transfer */
701
+ hyperlane_contract_address?: string;
702
+ /** Amount of the fee asset to be paid as the Hyperlane bridge fee. This is denominated in the fee asset. */
703
+ fee_amount?: string;
704
+ fee_asset?: AssetJson;
705
+ /** Amount of the fee asset to be paid as the Hyperlane bridge fee, converted to USD value */
706
+ usd_fee_amount?: string;
707
+ /**
708
+ * Bridge Type:
709
+ * * `IBC` - IBC Bridge
710
+ * * `AXELAR` - Axelar Bridge
711
+ * * `CCTP` - CCTP Bridge
712
+ * * `HYPERLANE` - Hyperlane Bridge
713
+ * * `OPINIT` - Opinit Bridge
714
+ * * `GO_FAST` - Go Fast Bridge
715
+ * * `STARGATE` - Stargate Bridge
716
+ * * `EUREKA` - IBC Eureka Bridge
717
+ */
718
+ bridge_id?: BridgeTypeJson;
719
+ /** Indicates whether this transfer is relayed via Smart Relay */
720
+ smart_relay?: boolean;
721
+ }
722
+ interface HyperlaneTransferInfoJson {
723
+ /** Chain ID of the source chain */
724
+ from_chain_id: string;
725
+ /** Chain ID of the destination chain */
726
+ to_chain_id: string;
727
+ /**
728
+ * Hyperlane transfer state:
729
+ * * `HYPERLANE_TRANSFER_UNKNOWN` - Unknown error
730
+ * * `HYPERLANE_TRANSFER_SENT` - The Hyperlane transfer transaction on the source chain has executed
731
+ * * `HYPERLANE_TRANSFER_FAILED` - The Hyperlane transfer failed
732
+ * * `HYPERLANE_TRANSFER_RECEIVED` - The Hyperlane transfer has been received at the destination chain
733
+ */
734
+ state: HyperlaneTransferStateJson;
735
+ txs: HyperlaneTransferTransactionsJson;
736
+ }
737
+ /**
738
+ * Hyperlane transfer state:
739
+ * * `HYPERLANE_TRANSFER_UNKNOWN` - Unknown error
740
+ * * `HYPERLANE_TRANSFER_SENT` - The Hyperlane transfer transaction on the source chain has executed
741
+ * * `HYPERLANE_TRANSFER_FAILED` - The Hyperlane transfer failed
742
+ * * `HYPERLANE_TRANSFER_RECEIVED` - The Hyperlane transfer has been received at the destination chain
743
+ */
744
+ declare enum HyperlaneTransferStateJson {
745
+ HYPERLANE_TRANSFER_UNKNOWN = "HYPERLANE_TRANSFER_UNKNOWN",
746
+ HYPERLANE_TRANSFER_SENT = "HYPERLANE_TRANSFER_SENT",
747
+ HYPERLANE_TRANSFER_FAILED = "HYPERLANE_TRANSFER_FAILED",
748
+ HYPERLANE_TRANSFER_RECEIVED = "HYPERLANE_TRANSFER_RECEIVED"
749
+ }
750
+ interface HyperlaneTransferTransactionsJson {
751
+ send_tx?: ChainTransactionJson | null;
752
+ receive_tx?: ChainTransactionJson | null;
753
+ }
754
+ interface HyperlaneTransferWrapperJson {
755
+ /** A transfer facilitated by the Hyperlane bridge */
756
+ hyperlane_transfer?: HyperlaneTransferJson;
757
+ }
758
+ interface IBCTransferInfoJson {
759
+ /** Chain ID of the destination chain */
760
+ to_chain_id: string;
761
+ packet_txs: PacketJson;
762
+ /** Chain ID of the source chain */
763
+ from_chain_id: string;
764
+ /**
765
+ * Transfer state:
766
+ * * `TRANSFER_UNKNOWN` - Transfer state is not known.
767
+ * * `TRANSFER_PENDING` - The send packet for the transfer has been committed and the transfer is pending.
768
+ * * `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.
769
+ * * `TRANSFER_SUCCESS` - The transfer has been successfully completed and will not revert.
770
+ * * `TRANSFER_FAILURE`- The transfer has failed.
771
+ */
772
+ state: TransferStateJson;
773
+ }
774
+ type MsgJson = MultiChainMsgWrapperJson | EvmTxWrapperJson | SvmTxWrapperJson;
775
+ type TxJson = (CosmosTxWrapperJson | EvmTxWrapperJson | SvmTxWrapperJson) & {
776
+ /** Array of indices of the operations that this transaction executes */
777
+ operations_indices?: number[];
778
+ };
779
+ /** A message that interacts with multiple chains */
780
+ interface MultiChainMsgJson {
781
+ /** Chain-id of the chain that the transaction containing the message is intended for */
782
+ chain_id?: string;
783
+ /** JSON string of the message */
784
+ msg?: string;
785
+ /** TypeUrl of the message */
786
+ msg_type_url?: string;
787
+ /** Path of chain-ids that the message is intended to interact with */
788
+ path?: string[];
789
+ }
790
+ interface MultiChainMsgWrapperJson {
791
+ /** A message that interacts with multiple chains */
792
+ multi_chain_msg?: MultiChainMsgJson;
793
+ }
794
+ type OperationJson = (TransferWrapperJson | SwapWrapperJson | AxelarTransferWrapperJson | BankSendWrapperJson | CCTPTransferWrapperJson | HyperlaneTransferWrapperJson | EvmSwapWrapperJson | OPInitTransferWrapperJson | StargateTransferWrapperJson | GoFastTransferWrapperJson | EurekaTransferWrapperJson | LayerZeroTransferWrapperJson) & {
795
+ /** Index of the tx returned from Msgs that executes this operation */
796
+ tx_index: number;
797
+ /** Amount of input asset to this operation */
798
+ amount_in: string;
799
+ /** Amount of output asset from this operation */
800
+ amount_out: string;
801
+ };
802
+ interface OptionalAssetJson {
803
+ asset?: AssetJson;
804
+ /** Whether the asset was found */
805
+ asset_found?: boolean;
806
+ }
807
+ interface LayerZeroTransferTransactionsJson {
808
+ send_tx?: ChainTransactionJson | null;
809
+ receive_tx?: ChainTransactionJson | null;
810
+ error_tx?: ChainTransactionJson | null;
811
+ }
812
+ interface PacketJson {
813
+ acknowledge_tx?: ChainTransactionJson | null;
814
+ error?: PacketErrorJson | null;
815
+ receive_tx?: ChainTransactionJson | null;
816
+ send_tx?: ChainTransactionJson | null;
817
+ timeout_tx?: ChainTransactionJson | null;
818
+ }
819
+ interface PacketErrorJson {
820
+ details?: AcknowledgementErrorDetailsJson;
821
+ /** Error message */
822
+ message?: string;
823
+ /**
824
+ * Packet error type:
825
+ * * `PACKET_ERROR_UNKNOWN` - Unknown error
826
+ * * `PACKET_ERROR_ACKNOWLEDGEMENT` - Packet acknowledgement error
827
+ * * `PACKET_ERROR_TIMEOUT` - Packet timed out
828
+ */
829
+ type?: PacketErrorTypeJson;
830
+ }
831
+ /**
832
+ * Packet error type:
833
+ * * `PACKET_ERROR_UNKNOWN` - Unknown error
834
+ * * `PACKET_ERROR_ACKNOWLEDGEMENT` - Packet acknowledgement error
835
+ * * `PACKET_ERROR_TIMEOUT` - Packet timed out
836
+ */
837
+ declare enum PacketErrorTypeJson {
838
+ PACKET_ERROR_UNKNOWN = "PACKET_ERROR_UNKNOWN",
839
+ PACKET_ERROR_ACKNOWLEDGEMENT = "PACKET_ERROR_ACKNOWLEDGEMENT",
840
+ PACKET_ERROR_TIMEOUT = "PACKET_ERROR_TIMEOUT"
841
+ }
842
+ interface ChainTransactionJson {
843
+ /** Chain ID the packet event occurs on */
844
+ chain_id?: string;
845
+ /** Link to the transaction on block explorer */
846
+ explorer_link: string;
847
+ /** Hash of the transaction the packet event occurred in */
848
+ tx_hash?: string;
849
+ /** RFC3339 formatted UTC timestamp of when the transaction landed on chain */
850
+ on_chain_at?: string;
851
+ }
852
+ type PostHandlerJson = CosmWasmContractMsgWrapperJson | AutopilotMsgWrapperJson;
853
+ /**
854
+ * Recommendation reason:
855
+ * * `UNKNOWN` - Unknown recommendation reason.
856
+ * * `MOST_LIQUID` - Highest liquidity form of the transferred token on the destination chain.
857
+ * * `BASE_TOKEN` - The base token if the destination chain is the origin chain of the source token.
858
+ * * `DIRECT` - The token resulting from the least amount of transfers to the destination chain.
859
+ */
860
+ declare enum ReasonJson {
861
+ UNKNOWN = "UNKNOWN",
862
+ MOST_LIQUID = "MOST_LIQUID",
863
+ BASE_TOKEN = "BASE_TOKEN",
864
+ DIRECT = "DIRECT"
865
+ }
866
+ /**
867
+ * Recommendation reason:
868
+ * * `LOW_INFO_WARNING` - Not enough asset pricing information to determine the price safety of the route.
869
+ * * `BAD_PRICE_WARNING` - The execution price of the route deviates significantly from the current market price.
870
+ */
871
+ declare enum RoutePriceWarningTypeJson {
872
+ LOW_INFO_WARNING = "LOW_INFO_WARNING",
873
+ BAD_PRICE_WARNING = "BAD_PRICE_WARNING"
874
+ }
875
+ interface RouteJson {
876
+ /** Amount of source asset to be transferred or swapped */
877
+ amount_in: string;
878
+ /** Amount of destination asset out */
879
+ amount_out: string;
880
+ /** Chain-ids of all chains of the transfer or swap, in order of usage by operations in the route */
881
+ chain_ids: string[];
882
+ /** All chain-ids that require an address to be provided for, in order of usage by operations in the route */
883
+ required_chain_addresses: string[];
884
+ /** Chain-id of the destination asset */
885
+ dest_asset_chain_id: string;
886
+ /** Denom of the destination asset */
887
+ dest_asset_denom: string;
888
+ /** Whether this route performs a swap */
889
+ does_swap?: boolean;
890
+ /** Amount of destination asset out, if a swap is performed */
891
+ estimated_amount_out: string;
892
+ /** Array of operations required to perform the transfer or swap */
893
+ operations: OperationJson[];
894
+ /** Chain-id of the source asset */
895
+ source_asset_chain_id: string;
896
+ /** Denom of the source asset */
897
+ source_asset_denom: string;
898
+ /** Swap venue on which the swap is performed, if a swap is performed */
899
+ swap_venue?: SwapVenueJson;
900
+ /** Number of transactions required to perform the transfer or swap */
901
+ txs_required: number;
902
+ /** Amount of the source denom, converted to USD value */
903
+ usd_amount_in?: string;
904
+ /** Amount of the destination denom expected to be received, converted to USD value */
905
+ usd_amount_out?: string;
906
+ /** Price impact of the estimated swap, if present. Measured in percentage e.g. "0.5" is .5% */
907
+ swap_price_impact_percent?: string | null;
908
+ /** Indicates if the route is unsafe due to poor execution price or if safety cannot be determined due to lack of pricing information */
909
+ warning?: {
910
+ /**
911
+ * Recommendation reason:
912
+ * * `LOW_INFO_WARNING` - Not enough asset pricing information to determine the price safety of the route.
913
+ * * `BAD_PRICE_WARNING` - The execution price of the route deviates significantly from the current market price.
914
+ */
915
+ type?: RoutePriceWarningTypeJson;
916
+ /** Warning message */
917
+ message?: string;
918
+ } | null;
919
+ /** Indicates fees incurred in the execution of the transfer */
920
+ estimated_fees?: FeeJson[];
921
+ /** The estimated time in seconds for the route to execute */
922
+ estimated_route_duration_seconds: number;
923
+ }
924
+ interface SendTokenErrorJson {
925
+ /** Error message */
926
+ message?: string;
927
+ /**
928
+ * SendToken error types:
929
+ * * `SEND_TOKEN_EXECUTION_ERROR` - Error occurred during the execute transaction
930
+ */
931
+ type?: SendTokenErrorTypeJson;
932
+ }
933
+ /**
934
+ * SendToken error types:
935
+ * * `SEND_TOKEN_EXECUTION_ERROR` - Error occurred during the execute transaction
936
+ */
937
+ declare enum SendTokenErrorTypeJson {
938
+ SEND_TOKEN_EXECUTION_ERROR = "SEND_TOKEN_EXECUTION_ERROR"
939
+ }
940
+ interface SendTokenTxsJson {
941
+ confirm_tx?: ChainTransactionJson | null;
942
+ error?: SendTokenErrorJson | null;
943
+ execute_tx?: ChainTransactionJson | null;
944
+ send_tx?: ChainTransactionJson | null;
945
+ }
946
+ interface StatusErrorJson {
947
+ details?: TransactionExecutionErrorDetailsJson | null;
948
+ /** Error message */
949
+ message?: string;
950
+ /**
951
+ * Packet error types:
952
+ * * `STATUS_ERROR_UNKNOWN` - Unknown error
953
+ * * `STATUS_ERROR_TRANSACTION_EXECUTION` - Error was encountered during transaction execution
954
+ * * `STATUS_ERROR_INDEXING` - Error was encountered while indexing the transaction and packet data
955
+ * * `STATUS_ERROR_TRANSFER` - The transfer failed to complete successfully
956
+ */
957
+ type?: StatusErrorTypeJson;
958
+ }
959
+ /**
960
+ * Packet error types:
961
+ * * `STATUS_ERROR_UNKNOWN` - Unknown error
962
+ * * `STATUS_ERROR_TRANSACTION_EXECUTION` - Error was encountered during transaction execution
963
+ * * `STATUS_ERROR_INDEXING` - Error was encountered while indexing the transaction and packet data
964
+ * * `STATUS_ERROR_TRANSFER` - The transfer failed to complete successfully
965
+ */
966
+ declare enum StatusErrorTypeJson {
967
+ STATUS_ERROR_UNKNOWN = "STATUS_ERROR_UNKNOWN",
968
+ STATUS_ERROR_TRANSACTION_EXECUTION = "STATUS_ERROR_TRANSACTION_EXECUTION",
969
+ STATUS_ERROR_INDEXING = "STATUS_ERROR_INDEXING",
970
+ STATUS_ERROR_TRANSFER = "STATUS_ERROR_TRANSFER"
971
+ }
972
+ type SwapJson = (SwapInWrapperJson | SwapOutWrapperJson | SmartSwapInWrapperJson) & {
973
+ /** Estimated total affiliate fee generated by the swap */
974
+ estimated_affiliate_fee?: string;
975
+ /** Chain ID that the swap will be executed on */
976
+ chain_id?: string;
977
+ /** Chain ID that the swap will be executed on (alias for chain_id) */
978
+ from_chain_id?: string;
979
+ /** Input denom of the swap */
980
+ denom_in?: string;
981
+ /** Output denom of the swap */
982
+ denom_out?: string;
983
+ /** Swap venues that the swap will route through */
984
+ swap_venues?: SwapVenueJson[];
985
+ };
986
+ /** Specification of a swap with an exact amount in */
987
+ interface SwapExactCoinInJson {
988
+ /** Amount to swap in */
989
+ swap_amount_in?: string | null;
990
+ /** Operations required to execute the swap */
991
+ swap_operations?: SwapOperationJson[];
992
+ /** Swap venue that this swap should execute on */
993
+ swap_venue?: SwapVenueJson;
994
+ /** Price impact of the estimated swap, if present. Measured in percentage e.g. "0.5" is .5% */
995
+ price_impact_percent?: string | null;
996
+ }
997
+ /** Specification of a swap with an exact amount out */
998
+ interface SwapExactCoinOutJson {
999
+ /** Amount to get out of the swap */
1000
+ swap_amount_out?: string;
1001
+ /** Operations required to execute the swap */
1002
+ swap_operations?: SwapOperationJson[];
1003
+ /** Swap venue that this swap should execute on */
1004
+ swap_venue?: SwapVenueJson;
1005
+ /** Price impact of the estimated swap, if present. Measured in percentage e.g. "0.5" is .5% */
1006
+ price_impact_percent?: string | null;
1007
+ }
1008
+ interface SwapInWrapperJson {
1009
+ /** Specification of a swap with an exact amount in */
1010
+ swap_in?: SwapExactCoinInJson;
1011
+ }
1012
+ /** Description of a single swap operation */
1013
+ interface SwapOperationJson {
1014
+ /** Input denom of the swap */
1015
+ denom_in?: string;
1016
+ /** Output denom of the swap */
1017
+ denom_out?: string;
1018
+ /** Identifier of the pool to use for the swap */
1019
+ pool?: string;
1020
+ /** Optional dditional metadata a swap adapter may require */
1021
+ interface?: string | null;
1022
+ }
1023
+ interface SwapOutWrapperJson {
1024
+ /** Specification of a swap with an exact amount out */
1025
+ swap_out?: SwapExactCoinOutJson;
1026
+ }
1027
+ interface SwapRouteJson {
1028
+ /** Amount to swap in */
1029
+ swap_amount_in?: string;
1030
+ /** Denom in of the swap */
1031
+ denom_in?: string;
1032
+ /** Operations required to execute the swap route */
1033
+ swap_operations?: SwapOperationJson[];
1034
+ }
1035
+ /** Specification of a smart swap in operation */
1036
+ interface SmartSwapExactCoinInJson {
1037
+ /** Swap venue that this swap should execute on */
1038
+ swap_venue?: SwapVenueJson;
1039
+ /** Routes to execute the swap */
1040
+ swap_routes?: SwapRouteJson[];
1041
+ }
1042
+ interface SmartSwapOptionsJson {
1043
+ /** Indicates whether the swap can be split into multiple swap routes */
1044
+ split_routes?: boolean;
1045
+ /** Indicates whether to include routes that swap on EVM chains */
1046
+ evm_swaps?: boolean;
1047
+ }
1048
+ interface SmartSwapInWrapperJson {
1049
+ /** Specification of a smart swap in operation */
1050
+ smart_swap_in?: SmartSwapExactCoinInJson;
1051
+ }
1052
+ /** A venue on which swaps can be exceuted */
1053
+ interface SwapVenueJson {
1054
+ /** Chain ID of the swap venue */
1055
+ chain_id?: string;
1056
+ /** Name of the swap venue */
1057
+ name?: string;
1058
+ /** URI for the venue's logo */
1059
+ logo_uri?: string | null;
1060
+ }
1061
+ interface SwapWrapperJson {
1062
+ swap?: SwapJson;
1063
+ }
1064
+ interface TransactionExecutionErrorDetailsJson {
1065
+ /** Error code */
1066
+ code?: number;
1067
+ /** Error message */
1068
+ message?: string;
1069
+ }
1070
+ /**
1071
+ * Transaction state:
1072
+ * * `STATE_SUBMITTED` - The initial transaction has been submitted to Skip Go API but not observed on chain yet
1073
+ * * `STATE_PENDING` - The initial transaction has been observed on chain, and there are still pending actions
1074
+ * * `STATE_COMPLETED_SUCCESS` - The route has completed successfully and the user has their tokens on the destination. (indicated by `transfer_asset_release`)
1075
+ * * `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.
1076
+ * (Again, `transfer_asset_release` indicates where the tokens are)
1077
+ * * `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.
1078
+ * * `STATE_PENDING_ERROR` - The overall transaction will fail, pending error propagation
1079
+ */
1080
+ declare enum TransactionStateJson {
1081
+ STATE_SUBMITTED = "STATE_SUBMITTED",
1082
+ STATE_PENDING = "STATE_PENDING",
1083
+ STATE_COMPLETED_SUCCESS = "STATE_COMPLETED_SUCCESS",
1084
+ STATE_COMPLETED_ERROR = "STATE_COMPLETED_ERROR",
1085
+ STATE_ABANDONED = "STATE_ABANDONED",
1086
+ STATE_PENDING_ERROR = "STATE_PENDING_ERROR"
1087
+ }
1088
+ /** A transfer facilitated by the CCTP bridge */
1089
+ interface OPInitTransferJson {
1090
+ /** Canonical chain-id of the source chain of the bridge transaction */
1091
+ from_chain_id?: string;
1092
+ /** Canonical chain-id of the destination chain of the bridge transaction */
1093
+ to_chain_id?: string;
1094
+ /** Denom of the input asset */
1095
+ denom_in?: string;
1096
+ /** Denom of the output asset */
1097
+ denom_out?: string;
1098
+ /** Identifier used by the OPInit bridge to identify the L1-L2 pair the transfer occurs between */
1099
+ op_init_bridge_id?: any;
1100
+ /**
1101
+ * Bridge Type:
1102
+ * * `IBC` - IBC Bridge
1103
+ * * `AXELAR` - Axelar Bridge
1104
+ * * `CCTP` - CCTP Bridge
1105
+ * * `HYPERLANE` - Hyperlane Bridge
1106
+ * * `OPINIT` - Opinit Bridge
1107
+ * * `GO_FAST` - Go Fast Bridge
1108
+ * * `STARGATE` - Stargate Bridge
1109
+ * * `EUREKA` - IBC Eureka Bridge
1110
+ */
1111
+ bridge_id?: BridgeTypeJson;
1112
+ /** Indicates whether this transfer is relayed via Smart Relay */
1113
+ smart_relay?: boolean;
1114
+ }
1115
+ interface OPInitTransferWrapperJson {
1116
+ /** A transfer facilitated by the CCTP bridge */
1117
+ op_init_transfer?: OPInitTransferJson;
1118
+ }
1119
+ interface OPInitTransferInfoJson {
1120
+ /** Chain ID of the destination chain */
1121
+ to_chain_id: string;
1122
+ /** Chain ID of the source chain */
1123
+ from_chain_id: string;
1124
+ /**
1125
+ * OPInit transfer state:
1126
+ * * `OPINIT_TRANSFER_UNKNOWN` - Unknown error
1127
+ * * `OPINIT_TRANSFER_SENT` - The deposit transaction on the source chain has executed
1128
+ * * `OPINIT_TRANSFER_RECEIVED` - OPInit transfer has been received at the destination chain
1129
+ */
1130
+ state: OPInitTransferStateJson;
1131
+ txs: OPInitTransferTxsJson;
1132
+ }
1133
+ interface OPInitTransferTxsJson {
1134
+ send_tx?: ChainTransactionJson | null;
1135
+ receive_tx?: ChainTransactionJson | null;
1136
+ }
1137
+ /**
1138
+ * OPInit transfer state:
1139
+ * * `OPINIT_TRANSFER_UNKNOWN` - Unknown error
1140
+ * * `OPINIT_TRANSFER_SENT` - The deposit transaction on the source chain has executed
1141
+ * * `OPINIT_TRANSFER_RECEIVED` - OPInit transfer has been received at the destination chain
1142
+ */
1143
+ declare enum OPInitTransferStateJson {
1144
+ OPINIT_TRANSFER_UNKNOWN = "OPINIT_TRANSFER_UNKNOWN",
1145
+ OPINIT_TRANSFER_SENT = "OPINIT_TRANSFER_SENT",
1146
+ OPINIT_TRANSFER_RECEIVED = "OPINIT_TRANSFER_RECEIVED"
1147
+ }
1148
+ /**
1149
+ * LayerZero transfer state:
1150
+ * * `LAYER_ZERO_TRANSFER_UNKNOWN` - Unknown error
1151
+ * * `LAYER_ZERO_TRANSFER_SENT` - The transaction on the source chain has executed
1152
+ * * `LAYER_ZERO_TRANSFER_RECEIVED` - The transfer has been received at the destination chain
1153
+ * * `LAYER_ZERO_TRANSFER_FAILED` - The transfer has failed
1154
+ */
1155
+ declare enum LayerZeroTransferStateJson {
1156
+ LAYER_ZERO_TRANSFER_UNKNOWN = "LAYER_ZERO_TRANSFER_UNKNOWN",
1157
+ LAYER_ZERO_TRANSFER_SENT = "LAYER_ZERO_TRANSFER_SENT",
1158
+ LAYER_ZERO_TRANSFER_RECEIVED = "LAYER_ZERO_TRANSFER_RECEIVED",
1159
+ LAYER_ZERO_TRANSFER_FAILED = "LAYER_ZERO_TRANSFER_FAILED"
1160
+ }
1161
+ /** A cross-chain transfer */
1162
+ interface TransferJson {
1163
+ /** Chain-id on which the transfer is initiated */
1164
+ from_chain_id?: string;
1165
+ /** Chain-id on which the transfer is received */
1166
+ to_chain_id?: string;
1167
+ /** Channel to use to initiate the transfer */
1168
+ channel?: string;
1169
+ /** Denom of the destination asset of the transfer */
1170
+ dest_denom?: string;
1171
+ /** Whether pfm is enabled on the chain where the transfer is initiated */
1172
+ pfm_enabled?: boolean;
1173
+ /** Port to use to initiate the transfer */
1174
+ port?: string;
1175
+ /** Whether the transfer chain supports a memo */
1176
+ supports_memo?: boolean;
1177
+ /** Denom of the input asset of the transfer */
1178
+ denom_in?: string;
1179
+ /** Denom of the output asset of the transfer */
1180
+ denom_out?: string;
1181
+ /** Amount of the fee asset to be paid as the transfer fee if applicable. */
1182
+ fee_amount?: string | null;
1183
+ /** Amount of the fee asset to be paid as the transfer fee if applicable, converted to USD value */
1184
+ usd_fee_amount?: string | null;
1185
+ /** Asset to be paid as the transfer fee if applicable. */
1186
+ fee_asset?: AssetJson | null;
1187
+ /**
1188
+ * Bridge Type:
1189
+ * * `IBC` - IBC Bridge
1190
+ * * `AXELAR` - Axelar Bridge
1191
+ * * `CCTP` - CCTP Bridge
1192
+ * * `HYPERLANE` - Hyperlane Bridge
1193
+ * * `OPINIT` - Opinit Bridge
1194
+ * * `GO_FAST` - Go Fast Bridge
1195
+ * * `STARGATE` - Stargate Bridge
1196
+ * * `EUREKA` - IBC Eureka Bridge
1197
+ */
1198
+ bridge_id?: BridgeTypeJson;
1199
+ /** Indicates whether this transfer is relayed via Smart Relay */
1200
+ smart_relay?: boolean;
1201
+ }
1202
+ interface TransferEventJson {
1203
+ ibcTransfer?: IBCTransferInfoJson;
1204
+ axelarTransfer?: AxelarTransferInfoJson;
1205
+ cctpTransfer?: CCTPTransferInfoJson;
1206
+ hyperlaneTransfer?: HyperlaneTransferInfoJson;
1207
+ opInitTransfer?: OPInitTransferInfoJson;
1208
+ stargateTransfer?: StargateTransferInfoJson;
1209
+ goFastTransfer?: GoFastTransferInfoJson;
1210
+ eurekaTransfer?: EurekaTransferInfoJson;
1211
+ layerZeroTransfer?: LayerZeroTransferInfoJson;
1212
+ }
1213
+ /**
1214
+ * Transfer state:
1215
+ * * `TRANSFER_UNKNOWN` - Transfer state is not known.
1216
+ * * `TRANSFER_PENDING` - The send packet for the transfer has been committed and the transfer is pending.
1217
+ * * `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.
1218
+ * * `TRANSFER_SUCCESS` - The transfer has been successfully completed and will not revert.
1219
+ * * `TRANSFER_FAILURE`- The transfer has failed.
1220
+ */
1221
+ declare enum TransferStateJson {
1222
+ TRANSFER_UNKNOWN = "TRANSFER_UNKNOWN",
1223
+ TRANSFER_PENDING = "TRANSFER_PENDING",
1224
+ TRANSFER_RECEIVED = "TRANSFER_RECEIVED",
1225
+ TRANSFER_SUCCESS = "TRANSFER_SUCCESS",
1226
+ TRANSFER_FAILURE = "TRANSFER_FAILURE"
1227
+ }
1228
+ /** Indicates location and denom of transfer asset release. */
1229
+ interface TransferAssetReleaseJson {
1230
+ /** The chain ID of the chain that the transfer asset is released on. */
1231
+ chain_id?: string;
1232
+ /** The denom of the asset that is released. */
1233
+ denom?: string;
1234
+ /** The amount of the asset that is released. */
1235
+ amount?: string | null;
1236
+ /** Indicates whether assets have been released and are accessible. The assets may still be in transit. */
1237
+ released?: boolean;
1238
+ }
1239
+ interface TransferStatusJson {
1240
+ error?: StatusErrorJson | null;
1241
+ /** Indicates which entry in the `transfer_sequence` field that the transfer is blocked on. Will be null if there is no blocked transfer. */
1242
+ next_blocking_transfer?: {
1243
+ /** The index of the entry in the `transfer_sequence` field that the transfer is blocked on. */
1244
+ transfer_sequence_index?: number;
1245
+ } | null;
1246
+ /**
1247
+ * Transaction state:
1248
+ * * `STATE_SUBMITTED` - The initial transaction has been submitted to Skip Go API but not observed on chain yet
1249
+ * * `STATE_PENDING` - The initial transaction has been observed on chain, and there are still pending actions
1250
+ * * `STATE_COMPLETED_SUCCESS` - The route has completed successfully and the user has their tokens on the destination. (indicated by `transfer_asset_release`)
1251
+ * * `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.
1252
+ * (Again, `transfer_asset_release` indicates where the tokens are)
1253
+ * * `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.
1254
+ * * `STATE_PENDING_ERROR` - The overall transaction will fail, pending error propagation
1255
+ */
1256
+ state?: TransactionStateJson;
1257
+ /** Indicates location and denom of transfer asset release. */
1258
+ transfer_asset_release?: TransferAssetReleaseJson;
1259
+ /** Lists any IBC and Axelar transfers as they are seen. */
1260
+ transfer_sequence?: TransferEventJson[];
1261
+ }
1262
+ interface TransferWrapperJson {
1263
+ /** A cross-chain transfer */
1264
+ transfer?: TransferJson;
1265
+ }
1266
+ /** An IBC Eureka transfer */
1267
+ interface EurekaTransferJson {
1268
+ /** Port on the destination chain */
1269
+ destination_port?: string;
1270
+ /** Client on the source chain */
1271
+ source_client?: string;
1272
+ /** Chain-id on which the transfer is initiated */
1273
+ from_chain_id?: string;
1274
+ /** Chain-id on which the transfer is received */
1275
+ to_chain_id?: string;
1276
+ /** Whether pfm is enabled on the chain where the transfer is initiated */
1277
+ pfm_enabled?: boolean;
1278
+ /** Whether the transfer chain supports a memo */
1279
+ supports_memo?: boolean;
1280
+ /** Denom of the input asset of the transfer */
1281
+ denom_in?: string;
1282
+ /** Denom of the output asset of the transfer */
1283
+ denom_out?: string;
1284
+ /** Address of the Eureka entry contract on the source chain */
1285
+ entry_contract_address?: string;
1286
+ /** Optional address of the Eureka callback adapter contract on the source chain */
1287
+ callback_adapter_contract_address?: string | null;
1288
+ /**
1289
+ * Bridge Type:
1290
+ * * `IBC` - IBC Bridge
1291
+ * * `AXELAR` - Axelar Bridge
1292
+ * * `CCTP` - CCTP Bridge
1293
+ * * `HYPERLANE` - Hyperlane Bridge
1294
+ * * `OPINIT` - Opinit Bridge
1295
+ * * `GO_FAST` - Go Fast Bridge
1296
+ * * `STARGATE` - Stargate Bridge
1297
+ * * `EUREKA` - IBC Eureka Bridge
1298
+ */
1299
+ bridge_id?: BridgeTypeJson;
1300
+ /** Indicates whether this transfer is relayed via Smart Relay */
1301
+ smart_relay?: boolean;
1302
+ smart_relay_fee_quote?: SmartRelayFeeQuoteJson | null;
1303
+ /** Optional address of the Eureka callback contract on the destination chain */
1304
+ to_chain_callback_contract_address?: string | null;
1305
+ /** Optional address of the Eureka entry contract on the destination chain */
1306
+ to_chain_entry_contract_address?: string | null;
1307
+ }
1308
+ interface EurekaTransferInfoJson {
1309
+ /** Chain ID of the source chain */
1310
+ from_chain_id: string;
1311
+ /** Chain ID of the destination chain */
1312
+ to_chain_id: string;
1313
+ /**
1314
+ * Transfer state:
1315
+ * * `TRANSFER_UNKNOWN` - Transfer state is not known.
1316
+ * * `TRANSFER_PENDING` - The send packet for the transfer has been committed and the transfer is pending.
1317
+ * * `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.
1318
+ * * `TRANSFER_SUCCESS` - The transfer has been successfully completed and will not revert.
1319
+ * * `TRANSFER_FAILURE`- The transfer has failed.
1320
+ */
1321
+ state: TransferStateJson;
1322
+ packet_txs: PacketJson;
1323
+ }
1324
+ interface EurekaTransferWrapperJson {
1325
+ /** An IBC Eureka transfer */
1326
+ eureka_transfer?: EurekaTransferJson;
1327
+ }
1328
+ /** A Layer Zero Transfer */
1329
+ interface LayerZeroTransferJson {
1330
+ /** Chain-id on which the transfer is initiated */
1331
+ from_chain_id: string;
1332
+ /** Chain-id on which the transfer is received */
1333
+ to_chain_id: string;
1334
+ /** Denom of the input asset of the transfer */
1335
+ denom_in: string;
1336
+ /** Denom of the output asset of the transfer */
1337
+ denom_out: string;
1338
+ source_oft_cntract_address: string;
1339
+ destination_endpoint_id: number;
1340
+ messaging_fee_asset: AssetJson;
1341
+ messaging_fee_amount: string;
1342
+ messaging_fee_amount_usd: string;
1343
+ /**
1344
+ * Bridge Type:
1345
+ * * `IBC` - IBC Bridge
1346
+ * * `AXELAR` - Axelar Bridge
1347
+ * * `CCTP` - CCTP Bridge
1348
+ * * `HYPERLANE` - Hyperlane Bridge
1349
+ * * `OPINIT` - Opinit Bridge
1350
+ * * `GO_FAST` - Go Fast Bridge
1351
+ * * `STARGATE` - Stargate Bridge
1352
+ * * `EUREKA` - IBC Eureka Bridge
1353
+ */
1354
+ bridge_id: BridgeTypeJson;
1355
+ }
1356
+ interface LayerZeroTransferInfoJson {
1357
+ /** Chain ID of the source chain */
1358
+ from_chain_id: string;
1359
+ /** Chain ID of the destination chain */
1360
+ to_chain_id: string;
1361
+ /**
1362
+ * LayerZero transfer state:
1363
+ * * `LAYER_ZERO_TRANSFER_UNKNOWN` - Unknown error
1364
+ * * `LAYER_ZERO_TRANSFER_SENT` - The transaction on the source chain has executed
1365
+ * * `LAYER_ZERO_TRANSFER_RECEIVED` - The transfer has been received at the destination chain
1366
+ * * `LAYER_ZERO_TRANSFER_FAILED` - The transfer has failed
1367
+ */
1368
+ state: LayerZeroTransferStateJson;
1369
+ txs: LayerZeroTransferTransactionsJson;
1370
+ }
1371
+ interface LayerZeroTransferWrapperJson {
1372
+ /** A Layer Zero Transfer */
1373
+ layer_zero_transfer?: LayerZeroTransferJson;
1374
+ }
1375
+ interface RecommendationRequestJson {
1376
+ /** Denom of the source asset */
1377
+ source_asset_denom?: string;
1378
+ /** Chain-id of the source asset */
1379
+ source_asset_chain_id?: string;
1380
+ /** Chain-id of the recommended destination asset */
1381
+ dest_chain_id?: string | null;
1382
+ /** Reason for recommendation (optional) */
1383
+ reason?: ReasonJson | null;
1384
+ }
1385
+ interface CosmosModuleSupportJson {
1386
+ /** Whether the authz module is supported */
1387
+ authz?: boolean;
1388
+ /** Whether the feegrant module is supported */
1389
+ feegrant?: boolean;
1390
+ }
1391
+ interface IbcCapabilitiesJson {
1392
+ /** Whether the packet forwarding middleware module is supported */
1393
+ cosmos_pfm?: boolean;
1394
+ /** Whether the ibc hooks module is supported */
1395
+ cosmos_ibc_hooks?: boolean;
1396
+ /** Whether the chain supports IBC memos */
1397
+ cosmos_memo?: boolean;
1398
+ /** Whether the autopilot module is supported */
1399
+ cosmos_autopilot?: boolean;
1400
+ }
1401
+ /**
1402
+ * Fee type:
1403
+ * * SMART_RELAY - Fees for Smart relaying services.'
1404
+ */
1405
+ declare enum FeeTypeJson {
1406
+ SMART_RELAY = "SMART_RELAY"
1407
+ }
1408
+ interface FeeJson {
1409
+ /**
1410
+ * Fee type:
1411
+ * * SMART_RELAY - Fees for Smart relaying services.'
1412
+ */
1413
+ fee_type?: FeeTypeJson;
1414
+ /**
1415
+ * Bridge Type:
1416
+ * * `IBC` - IBC Bridge
1417
+ * * `AXELAR` - Axelar Bridge
1418
+ * * `CCTP` - CCTP Bridge
1419
+ * * `HYPERLANE` - Hyperlane Bridge
1420
+ * * `OPINIT` - Opinit Bridge
1421
+ * * `GO_FAST` - Go Fast Bridge
1422
+ * * `STARGATE` - Stargate Bridge
1423
+ * * `EUREKA` - IBC Eureka Bridge
1424
+ */
1425
+ bridge_id?: BridgeTypeJson;
1426
+ /** Amount of the fee asset to be paid */
1427
+ amount?: string;
1428
+ /** The value of the fee in USD */
1429
+ usd_amount?: string;
1430
+ origin_asset: AssetJson;
1431
+ /** Chain ID of the chain where fees are collected */
1432
+ chain_id?: string;
1433
+ /** The index of the transaction in the list of transactions required to execute the transfer where fees are paid */
1434
+ tx_index?: number;
1435
+ /** The index of the operation in the returned operations list which incurs the fee */
1436
+ operation_index?: number | null;
1437
+ }
1438
+ interface ChainsRequestJson {
1439
+ /** Chain IDs to limit the response to, defaults to all chains if not provided */
1440
+ chain_ids?: string[];
1441
+ /**
1442
+ * Whether to include EVM chains in the response
1443
+ * @example false
1444
+ */
1445
+ include_evm?: boolean;
1446
+ /** Whether to include SVM chains in the response */
1447
+ include_svm?: boolean;
1448
+ /**
1449
+ * Whether to display only testnets in the response
1450
+ * @example false
1451
+ */
1452
+ only_testnets?: boolean;
1453
+ }
1454
+ interface ChainsResponseJson {
1455
+ /** Array of supported chain-ids */
1456
+ chains?: ChainJson[];
1457
+ }
1458
+ interface BalancesResponseJson {
1459
+ chains?: Record<string, BalanceResponseChainEntryJson>;
1460
+ }
1461
+ interface BridgesResponseJson {
1462
+ /** Array of supported bridges */
1463
+ bridges?: BridgeJson[];
1464
+ }
1465
+ interface VenuesRequestJson {
1466
+ /**
1467
+ * Whether to display only venues from testnets in the response
1468
+ * @example false
1469
+ */
1470
+ only_testnets?: boolean;
1471
+ }
1472
+ interface VenuesResponseJson {
1473
+ /** Array of supported swap venues */
1474
+ venues?: SwapVenueJson[];
1475
+ }
1476
+ interface AssetsRequestJson {
1477
+ /** Chain IDs to limit the response to, defaults to all chains if not provided */
1478
+ chain_ids?: string[];
1479
+ /** Whether to restrict assets to those native to their chain */
1480
+ native_only?: boolean;
1481
+ /** Whether to include assets without metadata (symbol, name, logo_uri, etc.) */
1482
+ include_no_metadata_assets?: boolean;
1483
+ /** Whether to include CW20 tokens */
1484
+ include_cw20_assets?: boolean;
1485
+ /** Whether to include EVM tokens */
1486
+ include_evm_assets?: boolean;
1487
+ /** Whether to include SVM tokens */
1488
+ include_svm_assets?: boolean;
1489
+ /**
1490
+ * Whether to display only assets from testnets in the response
1491
+ * @example false
1492
+ */
1493
+ only_testnets?: boolean;
1494
+ }
1495
+ interface AssetsResponseJson {
1496
+ /** Map of chain-ids to array of assets supported on the chain */
1497
+ chain_to_assets_map?: Record<string, {
1498
+ assets?: AssetJson[];
1499
+ }>;
1500
+ }
1501
+ interface AssetsFromSourceResponseJson {
1502
+ /** Array of assets that are reachable from the specified source asset */
1503
+ dest_assets?: Record<string, {
1504
+ assets?: AssetJson[];
1505
+ }>;
1506
+ }
1507
+ type RouteResponseJson = RouteJson;
1508
+ interface MsgsResponseJson {
1509
+ msgs?: MsgJson[];
1510
+ txs?: TxJson[];
1511
+ /** Indicates fees incurred in the execution of the transfer */
1512
+ estimated_fees?: FeeJson[];
1513
+ }
1514
+ interface MsgsDirectResponseJson {
1515
+ msgs?: MsgJson[];
1516
+ txs?: TxJson[];
1517
+ route?: RouteJson;
1518
+ }
1519
+ interface AssetRecommendationsResponseJson {
1520
+ /** Array of recommendations for each entry in the `request` field. */
1521
+ recommendation_entries?: {
1522
+ recommendations?: AssetRecommendationJson[];
1523
+ error?: ApiErrorJson;
1524
+ }[];
1525
+ }
1526
+ interface SubmitResponseJson {
1527
+ /** Hash of the transaction */
1528
+ tx_hash?: string;
1529
+ /** Link to the transaction on the relevant block explorer */
1530
+ explorer_link?: string;
1531
+ }
1532
+ interface TrackResponseJson {
1533
+ /** Hash of the transaction */
1534
+ tx_hash: string;
1535
+ /** Link to the transaction on the relevant block explorer */
1536
+ explorer_link: string;
1537
+ }
1538
+ interface StatusRequestJson {
1539
+ /**
1540
+ * Hex encoded hash of the transaction to query for
1541
+ * @example "EEC65138E6A7BDD047ED0D4BBA249A754F0BBBC7AA976568C4F35A32CD7FB8EB"
1542
+ */
1543
+ tx_hash: string;
1544
+ /**
1545
+ * Chain ID of the transaction
1546
+ * @example "cosmoshub-4"
1547
+ */
1548
+ chain_id: string;
1549
+ }
1550
+ interface StatusResponseJson {
1551
+ /** Transfer status for all transfers initiated by the transaction in the order they were initiated. */
1552
+ transfers?: TransferStatusJson[];
1553
+ /** The overall state reflecting the end-to-end status of all transfers initiated by the original transaction. */
1554
+ state: TransactionStateJson;
1555
+ /**
1556
+ * **DEPRECATED.** This field provides a flat list of all transfer events. For a more structured and detailed status of each transfer leg, including its individual events, please use the 'transfers' array instead. This field may be removed in a future version.
1557
+ * @deprecated
1558
+ */
1559
+ transfer_sequence: TransferEventJson[];
1560
+ /** Details about the next transfer in the sequence that is preventing further progress, if any. */
1561
+ next_blocking_transfer?: {
1562
+ transfer_sequence_index?: number;
1563
+ } | null;
1564
+ /** Indicates location and denom of transfer asset release. */
1565
+ transfer_asset_release?: TransferAssetReleaseJson;
1566
+ /** Details about any error encountered during the transaction or its subsequent transfers. */
1567
+ error?: StatusErrorJson | null;
1568
+ /**
1569
+ * A high-level status indicator for the transaction's completion state.
1570
+ * @example "STATE_COMPLETED"
1571
+ */
1572
+ status?: string;
1573
+ }
1574
+ interface IbcOriginAssetsResponseJson {
1575
+ origin_assets?: OptionalAssetJson[];
1576
+ }
1577
+ interface FungibleAssetsBetweenChainsCreateResponseJson {
1578
+ assets_between_chains?: AssetBetweenChainsJson[];
1579
+ }
1580
+
32
1581
  declare const GAS_STATION_CHAIN_IDS: string[];
33
1582
 
34
- export { GAS_STATION_CHAIN_IDS };
1583
+ export { type AcknowledgementErrorDetailsJson, type AffiliateJson, type ApiErrorJson, type AssetBetweenChainsJson, type AssetJson, type AssetRecommendationJson, type AssetRecommendationsResponseJson, type AssetsFromSourceResponseJson, type AssetsRequestJson, type AssetsResponseJson, AutopilotActionJson, type AutopilotMsgJson, type AutopilotMsgWrapperJson, type AxelarTransferInfoJson, type AxelarTransferJson, AxelarTransferStateJson, AxelarTransferTypeJson, type AxelarTransferWrapperJson, type BalanceRequestChainEntryJson, type BalanceResponseChainEntryJson, type BalanceResponseDenomEntryJson, type BalancesResponseJson, type BankSendJson, type BankSendWrapperJson, type BridgeJson, BridgeTypeJson, type BridgesResponseJson, type CCTPTransferInfoJson, type CCTPTransferJson, CCTPTransferStateJson, type CCTPTransferTxsJson, type CCTPTransferWrapperJson, type ChainAffiliatesJson, type ChainJson, type ChainTransactionJson, ChainTypeJson, type ChainsRequestJson, type ChainsResponseJson, type ContractCallWithTokenErrorJson, ContractCallWithTokenErrorTypeJson, type ContractCallWithTokenTxsJson, type CosmWasmContractMsgJson, type CosmWasmContractMsgWrapperJson, type CosmosModuleSupportJson, type CosmosMsgJson, type CosmosTxJson, type CosmosTxWrapperJson, type Erc20ApprovalJson, type ErrorDetailJson, type ErrorJson, type EurekaTransferInfoJson, type EurekaTransferJson, type EurekaTransferWrapperJson, type EvmSwapJson, type EvmSwapWrapperJson, type EvmTxJson, type EvmTxWrapperJson, type FeeAssetJson, type FeeJson, FeeTypeJson, type FungibleAssetsBetweenChainsCreateResponseJson, GAS_STATION_CHAIN_IDS, type GRPCStatusCodeJson, type GoFastFeeJson, type GoFastTransferInfoJson, type GoFastTransferJson, GoFastTransferStateJson, type GoFastTransferTxsJson, type GoFastTransferWrapperJson, type HyperlaneTransferInfoJson, type HyperlaneTransferJson, HyperlaneTransferStateJson, type HyperlaneTransferTransactionsJson, type HyperlaneTransferWrapperJson, type IBCTransferInfoJson, type IbcCapabilitiesJson, type IbcOriginAssetsResponseJson, type LayerZeroTransferInfoJson, type LayerZeroTransferJson, LayerZeroTransferStateJson, type LayerZeroTransferTransactionsJson, type LayerZeroTransferWrapperJson, type MsgJson, type MsgsDirectResponseJson, type MsgsResponseJson, type MultiChainMsgJson, type MultiChainMsgWrapperJson, type OPInitTransferInfoJson, type OPInitTransferJson, OPInitTransferStateJson, type OPInitTransferTxsJson, type OPInitTransferWrapperJson, type OperationJson, type OptionalAssetJson, type PacketErrorJson, PacketErrorTypeJson, type PacketJson, type PostHandlerJson, ReasonJson, type RecommendationRequestJson, type RouteJson, RoutePriceWarningTypeJson, type RouteResponseJson, type SendTokenErrorJson, SendTokenErrorTypeJson, type SendTokenTxsJson, type SmartRelayFeeQuoteJson, type SmartSwapExactCoinInJson, type SmartSwapInWrapperJson, type SmartSwapOptionsJson, type StargateTransferInfoJson, type StargateTransferJson, StargateTransferStateJson, type StargateTransferTxsJson, type StargateTransferWrapperJson, type StatusErrorJson, StatusErrorTypeJson, type StatusRequestJson, type StatusResponseJson, type SubmitResponseJson, type SvmTxJson, type SvmTxWrapperJson, type SwapExactCoinInJson, type SwapExactCoinOutJson, type SwapInWrapperJson, type SwapJson, type SwapOperationJson, type SwapOutWrapperJson, type SwapRouteJson, type SwapVenueJson, type SwapWrapperJson, type TrackResponseJson, type TransactionExecutionErrorDetailsJson, TransactionStateJson, type TransferAssetReleaseJson, type TransferEventJson, type TransferJson, TransferStateJson, type TransferStatusJson, type TransferWrapperJson, type TxJson, type VenuesRequestJson, type VenuesResponseJson };