@skip-go/client 1.5.3-alpha.1 → 1.5.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/api/getAssets.cjs +5 -5
- package/dist/cjs/api/getAssetsBetweenChains.cjs +4 -4
- package/dist/cjs/api/getBridges.cjs +4 -4
- package/dist/cjs/api/getChains.cjs +4 -4
- package/dist/cjs/api/getVenues.cjs +4 -4
- package/dist/cjs/api/postAssetsFromSource.cjs +5 -5
- package/dist/cjs/api/postBalances.cjs +4 -4
- package/dist/cjs/api/postIbcOriginAssets.cjs +4 -4
- package/dist/cjs/api/postMessages.cjs +4 -4
- package/dist/cjs/api/postMessagesDirect.cjs +4 -4
- package/dist/cjs/api/postRecommendAssets.cjs +4 -4
- package/dist/cjs/api/postRoute.cjs +4 -4
- package/dist/cjs/api/postSubmitTransaction.cjs +4 -4
- package/dist/cjs/api/postTrackTransaction.cjs +4 -4
- package/dist/cjs/api/postTransactionStatus.cjs +4 -4
- package/dist/cjs/{chunk-HFEMNOJS.cjs → chunk-2QPPD3BB.cjs} +3 -0
- package/dist/cjs/{chunk-7SZZBUBD.cjs → chunk-2SA3OAIJ.cjs} +3 -3
- package/dist/cjs/{chunk-APJDSXWR.cjs → chunk-3RPOC3AX.cjs} +12 -12
- package/dist/cjs/chunk-4BWE7SOV.cjs +68 -0
- package/dist/cjs/{chunk-FF5UWES6.cjs → chunk-4GHUZDDP.cjs} +4 -4
- package/dist/cjs/{chunk-KM2D7PJL.cjs → chunk-4TBONPD6.cjs} +33 -33
- package/dist/cjs/chunk-5JS6DMVZ.cjs +214 -0
- package/dist/cjs/{chunk-NWD4MAMT.cjs → chunk-5KWNKICM.cjs} +4 -10
- package/dist/cjs/{chunk-I2FDWZZJ.cjs → chunk-67WZP4PA.cjs} +106 -807
- package/dist/cjs/{chunk-WKYP2NMS.cjs → chunk-6W2OIU3O.cjs} +15 -15
- package/dist/cjs/{chunk-PDTIT3JO.cjs → chunk-7CFJPJJ2.cjs} +22 -22
- package/dist/cjs/chunk-7HDLYDAS.cjs +55 -0
- package/dist/cjs/{chunk-AW6IQ7JH.cjs → chunk-A5S6SIYN.cjs} +2 -2
- package/dist/cjs/{chunk-ZBJZTBIW.cjs → chunk-ASDMDYTC.cjs} +2 -2
- package/dist/cjs/{chunk-QAHHTQ7V.cjs → chunk-ATW6UNT5.cjs} +4 -4
- package/dist/cjs/{chunk-PLO5CVGN.cjs → chunk-AUTOIM57.cjs} +2 -2
- package/dist/cjs/{chunk-KWH6S7PB.cjs → chunk-CK6CQWQU.cjs} +6 -6
- package/dist/cjs/{chunk-RC73RNNQ.cjs → chunk-EGFH6FEG.cjs} +4 -4
- package/dist/cjs/{chunk-T5EGKQAT.cjs → chunk-FCTBCHOT.cjs} +2 -2
- package/dist/cjs/{chunk-S3BKLN4L.cjs → chunk-IJIBMN2F.cjs} +2 -2
- package/dist/cjs/{chunk-262HFM6V.cjs → chunk-JRXPJ45U.cjs} +2 -2
- package/dist/cjs/chunk-KZOSEIWH.cjs +10 -0
- package/dist/cjs/{chunk-3M7YYWGL.cjs → chunk-MUJBB64F.cjs} +3 -7
- package/dist/cjs/{chunk-3NHW3XWK.cjs → chunk-NCFH5MGF.cjs} +2 -2
- package/dist/cjs/{chunk-DWOE6N5S.cjs → chunk-NM4PISTQ.cjs} +189 -188
- package/dist/cjs/{chunk-4MV4GLIA.cjs → chunk-OJISEAMX.cjs} +2 -2
- package/dist/cjs/{chunk-JWWJIJUE.cjs → chunk-PDNKS5R2.cjs} +2 -2
- package/dist/cjs/{chunk-RBM66GW6.cjs → chunk-UXW4XVHF.cjs} +2 -2
- package/dist/cjs/chunk-VEEDEDME.cjs +454 -0
- package/dist/cjs/{chunk-DLT6Q6RB.cjs → chunk-WOSAJSJB.cjs} +163 -149
- package/dist/cjs/{chunk-XCFPRLX3.cjs → chunk-WRTBZRHG.cjs} +161 -161
- package/dist/cjs/{chunk-BCX2D6TE.cjs → chunk-ZHV4J6EM.cjs} +55 -23
- package/dist/cjs/index.cjs +123 -115
- package/dist/cjs/public-functions/executeMultipleRoutes.cjs +19 -29
- package/dist/cjs/public-functions/executeRoute.cjs +19 -29
- package/dist/cjs/public-functions/getCosmosGasAmountForMessage.cjs +5 -5
- package/dist/cjs/public-functions/getEvmGasAmountForMessage.cjs +1 -1
- package/dist/cjs/public-functions/getFeeInfoForChain.cjs +6 -5
- package/dist/cjs/public-functions/getRecommendedGasPrice.cjs +8 -7
- package/dist/cjs/public-functions/getRouteWithGasOnReceive.cjs +33 -29
- package/dist/cjs/public-functions/getSigningStargateClient.cjs +6 -6
- package/dist/cjs/public-functions/setApiOptions.cjs +4 -4
- package/dist/cjs/public-functions/setClientOptions.cjs +7 -7
- package/dist/cjs/public-functions/subscribeToRouteStatus.cjs +9 -9
- package/dist/cjs/public-functions/validateCosmosGasBalance.cjs +10 -10
- package/dist/cjs/public-functions/waitForTransaction.cjs +10 -6
- package/dist/esm/api/getAssets.d.ts +1 -1
- package/dist/esm/api/getAssets.js +3 -3
- package/dist/esm/api/getAssetsBetweenChains.d.ts +1 -1
- package/dist/esm/api/getAssetsBetweenChains.js +3 -3
- package/dist/esm/api/getBridges.d.ts +1 -1
- package/dist/esm/api/getBridges.js +3 -3
- package/dist/esm/api/getChains.d.ts +1 -1
- package/dist/esm/api/getChains.js +3 -3
- package/dist/esm/api/getVenues.js +3 -3
- package/dist/esm/api/postAssetsFromSource.d.ts +1 -1
- package/dist/esm/api/postAssetsFromSource.js +4 -4
- package/dist/esm/api/postBalances.d.ts +2 -2
- package/dist/esm/api/postBalances.js +3 -3
- package/dist/esm/api/postIbcOriginAssets.js +3 -3
- package/dist/esm/api/postMessages.d.ts +2 -2
- package/dist/esm/api/postMessages.js +3 -3
- package/dist/esm/api/postMessagesDirect.d.ts +1 -1
- package/dist/esm/api/postMessagesDirect.js +3 -3
- package/dist/esm/api/postRecommendAssets.d.ts +1 -1
- package/dist/esm/api/postRecommendAssets.js +3 -3
- package/dist/esm/api/postRoute.d.ts +2 -2
- package/dist/esm/api/postRoute.js +3 -3
- package/dist/esm/api/postSubmitTransaction.d.ts +2 -2
- package/dist/esm/api/postSubmitTransaction.js +3 -3
- package/dist/esm/api/postTrackTransaction.d.ts +2 -2
- package/dist/esm/api/postTrackTransaction.js +3 -3
- package/dist/esm/api/postTransactionStatus.d.ts +72 -68
- package/dist/esm/api/postTransactionStatus.js +3 -3
- package/dist/esm/{callbacks-C-KUJnDv.d.ts → callbacks-CZNSHCBb.d.ts} +5 -5
- package/dist/esm/chunk-22LYQHMA.js +53 -0
- package/dist/esm/{chunk-YLVUKXLR.js → chunk-3JHLVPRG.js} +1 -1
- package/dist/esm/chunk-763YPOJQ.js +431 -0
- package/dist/esm/chunk-7OHBD7I6.js +212 -0
- package/dist/esm/{chunk-FNTPI2AV.js → chunk-A5NZMSTI.js} +1 -1
- package/dist/esm/{chunk-QRKO56DH.js → chunk-BJKCMEMJ.js} +3 -8
- package/dist/esm/chunk-E4NRDAVO.js +65 -0
- package/dist/esm/{chunk-HDW6XFWX.js → chunk-ETBJVFQP.js} +1 -1
- package/dist/esm/{chunk-UIDIKXMB.js → chunk-F2LQB2DP.js} +6 -5
- package/dist/esm/{chunk-VGCTTJO7.js → chunk-F66EKL3W.js} +3 -0
- package/dist/esm/{chunk-V7VKYD4J.js → chunk-G63PICMU.js} +2 -2
- package/dist/esm/{chunk-KNXMSLOB.js → chunk-GLH7IRLX.js} +2 -2
- package/dist/esm/{chunk-RFJYCJK4.js → chunk-HNU2Y3JI.js} +1 -1
- package/dist/esm/{chunk-QL423UEF.js → chunk-HP5EMWC6.js} +163 -149
- package/dist/esm/{chunk-MYGJGC62.js → chunk-J24LYWJE.js} +1 -1
- package/dist/esm/{chunk-JYYCFKB4.js → chunk-KS764SOZ.js} +15 -15
- package/dist/esm/{chunk-SFWTQBQT.js → chunk-KXS5UH7E.js} +4 -4
- package/dist/esm/{chunk-VWOMKMH2.js → chunk-KZKAL5ZN.js} +1 -1
- package/dist/esm/{chunk-IKWC55JU.js → chunk-LAGER3PR.js} +61 -740
- package/dist/esm/{chunk-3WFXBPS2.js → chunk-N4PTRCNT.js} +1 -1
- package/dist/esm/{chunk-IHSSWY3M.js → chunk-P36PE4CR.js} +1 -1
- package/dist/esm/{chunk-UBVBVJPY.js → chunk-QYXGDTUU.js} +1 -1
- package/dist/esm/{chunk-QO2CYYF5.js → chunk-RTDD7HZ3.js} +4 -7
- package/dist/esm/chunk-SWYON2RG.js +7 -0
- package/dist/esm/{chunk-AUNRER4I.js → chunk-SXBG57J3.js} +1 -1
- package/dist/esm/{chunk-HELQO7PA.js → chunk-TGTOO2ZQ.js} +2 -2
- package/dist/esm/{chunk-6M7N6EAO.js → chunk-TON3V7SK.js} +14 -14
- package/dist/esm/{chunk-KXQ2ASHQ.js → chunk-UHCKOKBM.js} +1 -1
- package/dist/esm/{chunk-YGQ4NKTM.js → chunk-UN46DUOV.js} +1 -1
- package/dist/esm/{chunk-2PWROHHX.js → chunk-VMEHGKH7.js} +2 -2
- package/dist/esm/{chunk-5IXH2QPF.js → chunk-WRPS6WK2.js} +52 -20
- package/dist/esm/{chunk-44IX6KPJ.js → chunk-XNU3TKKM.js} +1 -1
- package/dist/esm/{client-types-CGMuZ3zo.d.ts → client-types-BX_0924O.d.ts} +1 -1
- package/dist/esm/{generateApi-D_-Gso-x.d.ts → generateApi-Clc85Kxw.d.ts} +1 -1
- package/dist/esm/index.d.ts +264 -261
- package/dist/esm/index.js +32 -28
- package/dist/esm/public-functions/executeMultipleRoutes.d.ts +4 -4
- package/dist/esm/public-functions/executeMultipleRoutes.js +18 -28
- package/dist/esm/public-functions/executeRoute.d.ts +4 -4
- package/dist/esm/public-functions/executeRoute.js +18 -28
- package/dist/esm/public-functions/getCosmosGasAmountForMessage.d.ts +1 -1
- package/dist/esm/public-functions/getCosmosGasAmountForMessage.js +3 -3
- package/dist/esm/public-functions/getEvmGasAmountForMessage.d.ts +3 -3
- package/dist/esm/public-functions/getEvmGasAmountForMessage.js +1 -1
- package/dist/esm/public-functions/getFeeInfoForChain.d.ts +1 -1
- package/dist/esm/public-functions/getFeeInfoForChain.js +5 -4
- package/dist/esm/public-functions/getRecommendedGasPrice.js +7 -6
- package/dist/esm/public-functions/getRouteWithGasOnReceive.d.ts +1 -1
- package/dist/esm/public-functions/getRouteWithGasOnReceive.js +32 -28
- package/dist/esm/public-functions/getSigningStargateClient.js +5 -5
- package/dist/esm/public-functions/setApiOptions.d.ts +1 -1
- package/dist/esm/public-functions/setApiOptions.js +3 -3
- package/dist/esm/public-functions/setClientOptions.d.ts +4 -4
- package/dist/esm/public-functions/setClientOptions.js +6 -6
- package/dist/esm/public-functions/subscribeToRouteStatus.d.ts +4 -4
- package/dist/esm/public-functions/subscribeToRouteStatus.js +5 -5
- package/dist/esm/public-functions/validateCosmosGasBalance.d.ts +4 -4
- package/dist/esm/public-functions/validateCosmosGasBalance.js +9 -9
- package/dist/esm/public-functions/waitForTransaction.d.ts +712 -74
- package/dist/esm/public-functions/waitForTransaction.js +5 -5
- package/dist/esm/{setClientOptions-C8g92xTm.d.ts → setClientOptions-DD5Mzkw_.d.ts} +3 -3
- package/dist/esm/{swaggerTypes-B_jKfpvz.d.ts → swaggerTypes-Dr4I6vW2.d.ts} +260 -256
- package/package.json +5 -5
- package/dist/cjs/chunk-4NGHNHAS.cjs +0 -46
- package/dist/esm/chunk-TNIGHYH2.js +0 -44
package/dist/esm/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export { C as ClientTransferEvent, E as ExecuteRouteOptions, R as RouteDetails, a as RouteStatus, h as TransactionCallbacks, T as TransactionDetails, b as TransactionStatus, c as TransferEventStatus, d as TransferType, e as executeRoute, f as getSimpleOverallStatus, g as getTransferEventsFromTxStatusResponse, s as subscribeToRouteStatus } from './callbacks-
|
|
3
|
-
export { B as BaseSettings, 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-
|
|
1
|
+
export { j as AcknowledgementErrorDetails, k as Affiliate, bI as Api, bE as ApiConfig, l as ApiError, m as Asset, n as AssetBetweenChains, o as AssetRecommendation, ba as AssetRecommendationsRequest, bt as AssetRecommendationsResponse, bg as AssetsBetweenChainsRequest, b7 as AssetsFromSourceRequest, bp as AssetsFromSourceResponse, bn as AssetsRequest, bo as AssetsResponse, i as AutopilotAction, p as AutopilotMsg, q as AutopilotMsgWrapper, r as AxelarTransfer, s as AxelarTransferInfo, h as AxelarTransferState, A as AxelarTransferType, t as AxelarTransferWrapper, Q as BalanceRequestChainEntry, V as BalanceResponseChainEntry, U as BalanceResponseDenomEntry, b6 as BalancesRequest, bj as BalancesResponse, W as BankSend, X as BankSendWrapper, Y as Bridge, B as BridgeType, bk as BridgesResponse, v as CCTPTransfer, w as CCTPTransferInfo, g as CCTPTransferState, x as CCTPTransferTxs, y as CCTPTransferWrapper, Z as Chain, _ as ChainAffiliates, aw as ChainTransaction, e as ChainType, bh as ChainsRequest, bi as ChainsResponse, bG as ContentType, $ as ContractCallWithTokenError, C as ContractCallWithTokenErrorType, a0 as ContractCallWithTokenTxs, a1 as CosmWasmContractMsg, a2 as CosmWasmContractMsgWrapper, b3 as CosmosModuleSupport, a6 as CosmosMsg, a7 as CosmosTx, a8 as CosmosTxWrapper, a3 as Erc20Approval, a5 as Error, a4 as ErrorDetail, aY as EurekaTransfer, aZ as EurekaTransferInfo, a_ as EurekaTransferWrapper, a9 as EvmSwap, aa as EvmSwapWrapper, ab as EvmTx, ac as EvmTxWrapper, b5 as Fee, af as FeeAsset, F as FeeBehavior, a as FeeType, bC as FullRequestParams, bz as FungibleAssetsBetweenChainsCreateResponse, ah as GRPCStatusCode, ag as GoFastFee, J as GoFastTransfer, M as GoFastTransferInfo, G as GoFastTransferState, K as GoFastTransferTxs, N as GoFastTransferWrapper, bH as HttpClient, bF as HttpResponse, ai as HyperlaneTransfer, aj as HyperlaneTransferInfo, H as HyperlaneTransferState, ak as HyperlaneTransferTransactions, al as HyperlaneTransferWrapper, am as IBCTransferInfo, b4 as IbcCapabilities, bf as IbcOriginAssetsRequest, by as IbcOriginAssetsResponse, a$ as LayerZeroTransfer, b0 as LayerZeroTransferInfo, L as LayerZeroTransferState, at as LayerZeroTransferTransactions, b1 as LayerZeroTransferWrapper, an as Msg, b9 as MsgsDirectRequest, bs as MsgsDirectResponse, b8 as MsgsRequest, br as MsgsResponse, ap as MultiChainMsg, aq as MultiChainMsgWrapper, aP as OPInitTransfer, aR as OPInitTransferInfo, O as OPInitTransferState, aS as OPInitTransferTxs, aQ as OPInitTransferWrapper, ar as Operation, as as OptionalAsset, au as Packet, av as PacketError, P as PacketErrorType, ax as PostHandler, bA as QueryParamsType, d as Reason, b2 as RecommendationRequest, bD as RequestParams, bB as ResponseFormat, ay as Route, R as RoutePriceWarningType, bq as RouteResponse, az as SendTokenError, c as SendTokenErrorType, aA as SendTokenTxs, u as SmartRelayFeeQuote, aJ as SmartSwapExactCoinIn, aL as SmartSwapInWrapper, aK as SmartSwapOptions, z as StargateTransfer, E as StargateTransferInfo, f as StargateTransferState, D as StargateTransferTxs, I as StargateTransferWrapper, aB as StatusError, S as StatusErrorType, bw as StatusRequest, bx as StatusResponse, be as StatusTxResponse, bu as SubmitResponse, bb as SubmitTxRequest, ad as SvmTx, ae as SvmTxWrapper, aC as Swap, aD as SwapExactCoinIn, aE as SwapExactCoinOut, aF as SwapInWrapper, aG as SwapOperation, aH as SwapOutWrapper, aI as SwapRoute, aM as SwapVenue, aN as SwapWrapper, bv as TrackResponse, bc as TrackTxRequest, bd as TrackTxResponse, aO as TransactionExecutionErrorDetails, b as TransactionState, aT as Transfer, aV as TransferAssetRelease, aU as TransferEvent, T as TransferState, aW as TransferStatus, aX as TransferWrapper, ao as Tx, bl as VenuesRequest, bm as VenuesResponse } from './swaggerTypes-Dr4I6vW2.js';
|
|
2
|
+
export { C as ClientTransferEvent, E as ExecuteRouteOptions, O as OverallStatus, R as RouteDetails, a as RouteStatus, h as TransactionCallbacks, T as TransactionDetails, b as TransactionStatus, c as TransferEventStatus, d as TransferType, e as executeRoute, f as getSimpleOverallStatus, g as getTransferEventsFromTxStatusResponse, s as subscribeToRouteStatus } from './callbacks-CZNSHCBb.js';
|
|
3
|
+
export { B as BaseSettings, 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-BX_0924O.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';
|
|
@@ -19,15 +19,15 @@ export { trackTransaction } from './api/postTrackTransaction.js';
|
|
|
19
19
|
export { TxStatusResponse, transactionStatus } from './api/postTransactionStatus.js';
|
|
20
20
|
export { ExecuteMultipleRoutesOptions, executeMultipleRoutes } from './public-functions/executeMultipleRoutes.js';
|
|
21
21
|
export { getSigningStargateClient, getSigningStargateClientProps } from './public-functions/getSigningStargateClient.js';
|
|
22
|
-
export { C as ClientState, S as SkipClientOptions, s as setClientOptions } from './setClientOptions-
|
|
22
|
+
export { C as ClientState, S as SkipClientOptions, s as setClientOptions } from './setClientOptions-DD5Mzkw_.js';
|
|
23
23
|
export { getRecommendedGasPrice } from './public-functions/getRecommendedGasPrice.js';
|
|
24
24
|
export { getFeeInfoForChain } from './public-functions/getFeeInfoForChain.js';
|
|
25
25
|
export { SetApiOptionsProps, setApiOptions } from './public-functions/setApiOptions.js';
|
|
26
|
-
export { waitForTransaction } from './public-functions/waitForTransaction.js';
|
|
26
|
+
export { waitForTransaction, waitForTransactionWithCancel } from './public-functions/waitForTransaction.js';
|
|
27
27
|
export { getCosmosGasAmountForMessage } from './public-functions/getCosmosGasAmountForMessage.js';
|
|
28
28
|
export { getEVMGasAmountForMessage } from './public-functions/getEvmGasAmountForMessage.js';
|
|
29
29
|
export { validateCosmosGasBalance } from './public-functions/validateCosmosGasBalance.js';
|
|
30
|
-
import './generateApi-
|
|
30
|
+
import './generateApi-Clc85Kxw.js';
|
|
31
31
|
import '@cosmjs/amino';
|
|
32
32
|
import '@cosmjs/proto-signing';
|
|
33
33
|
import '@cosmjs/stargate';
|
|
@@ -35,6 +35,259 @@ import 'viem';
|
|
|
35
35
|
import '@solana/wallet-adapter-base';
|
|
36
36
|
import './apiState-1VvikVK-.js';
|
|
37
37
|
|
|
38
|
+
/**
|
|
39
|
+
* Indicates whether the fee is deducted from the transfer amount or charged additionally.
|
|
40
|
+
* - FEE_BEHAVIOR_DEDUCTED: Fee is subtracted from the transfer amount (default, typical for Cosmos chains)
|
|
41
|
+
* - FEE_BEHAVIOR_ADDITIONAL: Fee is charged on top of the transfer amount (typical for EVM chains with native tokens)
|
|
42
|
+
*/
|
|
43
|
+
declare enum FeeBehaviorJson {
|
|
44
|
+
FEE_BEHAVIOR_DEDUCTED = "FEE_BEHAVIOR_DEDUCTED",
|
|
45
|
+
FEE_BEHAVIOR_ADDITIONAL = "FEE_BEHAVIOR_ADDITIONAL"
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Fee type:
|
|
49
|
+
* * SMART_RELAY - Fees for Smart relaying services.'
|
|
50
|
+
*/
|
|
51
|
+
declare enum FeeTypeJson {
|
|
52
|
+
SMART_RELAY = "SMART_RELAY"
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Transfer state:
|
|
56
|
+
* * `TRANSFER_UNKNOWN` - Transfer state is not known.
|
|
57
|
+
* * `TRANSFER_PENDING` - The send packet for the transfer has been committed and the transfer is pending.
|
|
58
|
+
* * `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.
|
|
59
|
+
* * `TRANSFER_SUCCESS` - The transfer has been successfully completed and will not revert.
|
|
60
|
+
* * `TRANSFER_FAILURE`- The transfer has failed.
|
|
61
|
+
*/
|
|
62
|
+
declare enum TransferStateJson {
|
|
63
|
+
TRANSFER_UNKNOWN = "TRANSFER_UNKNOWN",
|
|
64
|
+
TRANSFER_PENDING = "TRANSFER_PENDING",
|
|
65
|
+
TRANSFER_RECEIVED = "TRANSFER_RECEIVED",
|
|
66
|
+
TRANSFER_SUCCESS = "TRANSFER_SUCCESS",
|
|
67
|
+
TRANSFER_FAILURE = "TRANSFER_FAILURE"
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* LayerZero transfer state:
|
|
71
|
+
* * `LAYER_ZERO_TRANSFER_UNKNOWN` - Unknown error
|
|
72
|
+
* * `LAYER_ZERO_TRANSFER_SENT` - The transaction on the source chain has executed
|
|
73
|
+
* * `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
|
|
74
|
+
* * `LAYER_ZERO_TRANSFER_RECEIVED` - The transfer has been received at the destination chain
|
|
75
|
+
* * `LAYER_ZERO_TRANSFER_FAILED` - The transfer has failed
|
|
76
|
+
*/
|
|
77
|
+
declare enum LayerZeroTransferStateJson {
|
|
78
|
+
LAYER_ZERO_TRANSFER_UNKNOWN = "LAYER_ZERO_TRANSFER_UNKNOWN",
|
|
79
|
+
LAYER_ZERO_TRANSFER_SENT = "LAYER_ZERO_TRANSFER_SENT",
|
|
80
|
+
LAYER_ZERO_TRANSFER_WAITING_FOR_COMPOSE = "LAYER_ZERO_TRANSFER_WAITING_FOR_COMPOSE",
|
|
81
|
+
LAYER_ZERO_TRANSFER_RECEIVED = "LAYER_ZERO_TRANSFER_RECEIVED",
|
|
82
|
+
LAYER_ZERO_TRANSFER_FAILED = "LAYER_ZERO_TRANSFER_FAILED"
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* OPInit transfer state:
|
|
86
|
+
* * `OPINIT_TRANSFER_UNKNOWN` - Unknown error
|
|
87
|
+
* * `OPINIT_TRANSFER_SENT` - The deposit transaction on the source chain has executed
|
|
88
|
+
* * `OPINIT_TRANSFER_RECEIVED` - OPInit transfer has been received at the destination chain
|
|
89
|
+
*/
|
|
90
|
+
declare enum OPInitTransferStateJson {
|
|
91
|
+
OPINIT_TRANSFER_UNKNOWN = "OPINIT_TRANSFER_UNKNOWN",
|
|
92
|
+
OPINIT_TRANSFER_SENT = "OPINIT_TRANSFER_SENT",
|
|
93
|
+
OPINIT_TRANSFER_RECEIVED = "OPINIT_TRANSFER_RECEIVED"
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* Transaction state:
|
|
97
|
+
* * `STATE_SUBMITTED` - The initial transaction has been submitted to Skip Go API but not observed on chain yet
|
|
98
|
+
* * `STATE_PENDING` - The initial transaction has been observed on chain, and there are still pending actions
|
|
99
|
+
* * `STATE_COMPLETED_SUCCESS` - The route has completed successfully and the user has their tokens on the destination. (indicated by `transfer_asset_release`)
|
|
100
|
+
* * `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.
|
|
101
|
+
* (Again, `transfer_asset_release` indicates where the tokens are)
|
|
102
|
+
* * `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.
|
|
103
|
+
* * `STATE_PENDING_ERROR` - The overall transaction will fail, pending error propagation
|
|
104
|
+
*/
|
|
105
|
+
declare enum TransactionStateJson {
|
|
106
|
+
STATE_SUBMITTED = "STATE_SUBMITTED",
|
|
107
|
+
STATE_PENDING = "STATE_PENDING",
|
|
108
|
+
STATE_ABANDONED = "STATE_ABANDONED",
|
|
109
|
+
STATE_COMPLETED_SUCCESS = "STATE_COMPLETED_SUCCESS",
|
|
110
|
+
STATE_COMPLETED_ERROR = "STATE_COMPLETED_ERROR",
|
|
111
|
+
STATE_PENDING_ERROR = "STATE_PENDING_ERROR"
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
114
|
+
* Packet error types:
|
|
115
|
+
* * `STATUS_ERROR_UNKNOWN` - Unknown error
|
|
116
|
+
* * `STATUS_ERROR_TRANSACTION_EXECUTION` - Error was encountered during transaction execution
|
|
117
|
+
* * `STATUS_ERROR_INDEXING` - Error was encountered while indexing the transaction and packet data
|
|
118
|
+
* * `STATUS_ERROR_TRANSFER` - The transfer failed to complete successfully
|
|
119
|
+
*/
|
|
120
|
+
declare enum StatusErrorTypeJson {
|
|
121
|
+
STATUS_ERROR_UNKNOWN = "STATUS_ERROR_UNKNOWN",
|
|
122
|
+
STATUS_ERROR_TRANSACTION_EXECUTION = "STATUS_ERROR_TRANSACTION_EXECUTION",
|
|
123
|
+
STATUS_ERROR_INDEXING = "STATUS_ERROR_INDEXING",
|
|
124
|
+
STATUS_ERROR_TRANSFER = "STATUS_ERROR_TRANSFER"
|
|
125
|
+
}
|
|
126
|
+
/**
|
|
127
|
+
* SendToken error types:
|
|
128
|
+
* * `SEND_TOKEN_EXECUTION_ERROR` - Error occurred during the execute transaction
|
|
129
|
+
*/
|
|
130
|
+
declare enum SendTokenErrorTypeJson {
|
|
131
|
+
SEND_TOKEN_EXECUTION_ERROR = "SEND_TOKEN_EXECUTION_ERROR"
|
|
132
|
+
}
|
|
133
|
+
/**
|
|
134
|
+
* Recommendation reason:
|
|
135
|
+
* * `LOW_INFO_WARNING` - Not enough asset pricing information to determine the price safety of the route.
|
|
136
|
+
* * `BAD_PRICE_WARNING` - The execution price of the route deviates significantly from the current market price.
|
|
137
|
+
*/
|
|
138
|
+
declare enum RoutePriceWarningTypeJson {
|
|
139
|
+
LOW_INFO_WARNING = "LOW_INFO_WARNING",
|
|
140
|
+
BAD_PRICE_WARNING = "BAD_PRICE_WARNING"
|
|
141
|
+
}
|
|
142
|
+
/**
|
|
143
|
+
* Recommendation reason:
|
|
144
|
+
* * `UNKNOWN` - Unknown recommendation reason.
|
|
145
|
+
* * `MOST_LIQUID` - Highest liquidity form of the transferred token on the destination chain.
|
|
146
|
+
* * `BASE_TOKEN` - The base token if the destination chain is the origin chain of the source token.
|
|
147
|
+
* * `DIRECT` - The token resulting from the least amount of transfers to the destination chain.
|
|
148
|
+
*/
|
|
149
|
+
declare enum ReasonJson {
|
|
150
|
+
UNKNOWN = "UNKNOWN",
|
|
151
|
+
MOST_LIQUID = "MOST_LIQUID",
|
|
152
|
+
BASE_TOKEN = "BASE_TOKEN",
|
|
153
|
+
DIRECT = "DIRECT"
|
|
154
|
+
}
|
|
155
|
+
/**
|
|
156
|
+
* Packet error type:
|
|
157
|
+
* * `PACKET_ERROR_UNKNOWN` - Unknown error
|
|
158
|
+
* * `PACKET_ERROR_ACKNOWLEDGEMENT` - Packet acknowledgement error
|
|
159
|
+
* * `PACKET_ERROR_TIMEOUT` - Packet timed out
|
|
160
|
+
*/
|
|
161
|
+
declare enum PacketErrorTypeJson {
|
|
162
|
+
PACKET_ERROR_UNKNOWN = "PACKET_ERROR_UNKNOWN",
|
|
163
|
+
PACKET_ERROR_ACKNOWLEDGEMENT = "PACKET_ERROR_ACKNOWLEDGEMENT",
|
|
164
|
+
PACKET_ERROR_TIMEOUT = "PACKET_ERROR_TIMEOUT"
|
|
165
|
+
}
|
|
166
|
+
/**
|
|
167
|
+
* Hyperlane transfer state:
|
|
168
|
+
* * `HYPERLANE_TRANSFER_UNKNOWN` - Unknown error
|
|
169
|
+
* * `HYPERLANE_TRANSFER_SENT` - The Hyperlane transfer transaction on the source chain has executed
|
|
170
|
+
* * `HYPERLANE_TRANSFER_FAILED` - The Hyperlane transfer failed
|
|
171
|
+
* * `HYPERLANE_TRANSFER_RECEIVED` - The Hyperlane transfer has been received at the destination chain
|
|
172
|
+
*/
|
|
173
|
+
declare enum HyperlaneTransferStateJson {
|
|
174
|
+
HYPERLANE_TRANSFER_UNKNOWN = "HYPERLANE_TRANSFER_UNKNOWN",
|
|
175
|
+
HYPERLANE_TRANSFER_SENT = "HYPERLANE_TRANSFER_SENT",
|
|
176
|
+
HYPERLANE_TRANSFER_FAILED = "HYPERLANE_TRANSFER_FAILED",
|
|
177
|
+
HYPERLANE_TRANSFER_RECEIVED = "HYPERLANE_TRANSFER_RECEIVED"
|
|
178
|
+
}
|
|
179
|
+
/**
|
|
180
|
+
* ContractCallWithToken errors:
|
|
181
|
+
* * `CONTRACT_CALL_WITH_TOKEN_EXECUTION_ERROR` - Error occurred during the execute transaction
|
|
182
|
+
*/
|
|
183
|
+
declare enum ContractCallWithTokenErrorTypeJson {
|
|
184
|
+
CONTRACT_CALL_WITH_TOKEN_EXECUTION_ERROR = "CONTRACT_CALL_WITH_TOKEN_EXECUTION_ERROR"
|
|
185
|
+
}
|
|
186
|
+
declare enum ChainTypeJson {
|
|
187
|
+
Cosmos = "cosmos",
|
|
188
|
+
Evm = "evm",
|
|
189
|
+
Svm = "svm"
|
|
190
|
+
}
|
|
191
|
+
/**
|
|
192
|
+
* Bridge Type:
|
|
193
|
+
* * `IBC` - IBC Bridge
|
|
194
|
+
* * `AXELAR` - Axelar Bridge
|
|
195
|
+
* * `CCTP` - CCTP Bridge
|
|
196
|
+
* * `HYPERLANE` - Hyperlane Bridge
|
|
197
|
+
* * `OPINIT` - Opinit Bridge
|
|
198
|
+
* * `GO_FAST` - Go Fast Bridge
|
|
199
|
+
* * `STARGATE` - Stargate Bridge
|
|
200
|
+
* * `LAYER_ZERO` - Layerzero Bridge
|
|
201
|
+
* * `EUREKA` - IBC Eureka Bridge
|
|
202
|
+
*/
|
|
203
|
+
declare enum BridgeTypeJson {
|
|
204
|
+
IBC = "IBC",
|
|
205
|
+
AXELAR = "AXELAR",
|
|
206
|
+
CCTP = "CCTP",
|
|
207
|
+
HYPERLANE = "HYPERLANE",
|
|
208
|
+
OPINIT = "OPINIT",
|
|
209
|
+
GO_FAST = "GO_FAST",
|
|
210
|
+
STARGATE = "STARGATE",
|
|
211
|
+
LAYER_ZERO = "LAYER_ZERO",
|
|
212
|
+
EUREKA = "EUREKA"
|
|
213
|
+
}
|
|
214
|
+
/**
|
|
215
|
+
* GoFast transfer state:
|
|
216
|
+
* * `GO_FAST_TRANSFER_UNKNOWN` - Unknown state
|
|
217
|
+
* * `GO_FAST_TRANSFER_SENT` - Order submitted on source chain
|
|
218
|
+
* * `GO_FAST_POST_ACTION_FAILED` - Order filled, but subsequent action (e.g., swap) failed
|
|
219
|
+
* * `GO_FAST_TRANSFER_TIMEOUT` - Order timed out
|
|
220
|
+
* * `GO_FAST_TRANSFER_FILLED` - Order filled on destination chain
|
|
221
|
+
* * `GO_FAST_TRANSFER_REFUNDED` - Order refunded
|
|
222
|
+
*/
|
|
223
|
+
declare enum GoFastTransferStateJson {
|
|
224
|
+
GO_FAST_TRANSFER_UNKNOWN = "GO_FAST_TRANSFER_UNKNOWN",
|
|
225
|
+
GO_FAST_TRANSFER_SENT = "GO_FAST_TRANSFER_SENT",
|
|
226
|
+
GO_FAST_POST_ACTION_FAILED = "GO_FAST_POST_ACTION_FAILED",
|
|
227
|
+
GO_FAST_TRANSFER_TIMEOUT = "GO_FAST_TRANSFER_TIMEOUT",
|
|
228
|
+
GO_FAST_TRANSFER_FILLED = "GO_FAST_TRANSFER_FILLED",
|
|
229
|
+
GO_FAST_TRANSFER_REFUNDED = "GO_FAST_TRANSFER_REFUNDED"
|
|
230
|
+
}
|
|
231
|
+
/**
|
|
232
|
+
* Stargate transfer state:
|
|
233
|
+
* * `STARGATE_TRANSFER_UNKNOWN` - Unknown error
|
|
234
|
+
* * `STARGATE_TRANSFER_SENT` - The Stargate transfer transaction on the source chain has executed
|
|
235
|
+
* * `STARGATE_TRANSFER_PENDING_CONFIRMATION` - Stargate transfer is pending confirmation
|
|
236
|
+
* * `STARGATE_TRANSFER_CONFIRMED` - Stargate transfer has been confirmed
|
|
237
|
+
* * `STARGATE_TRANSFER_RECEIVED` - Stargate transfer has been received at the destination chain
|
|
238
|
+
* * `STARGATE_TRANSFER_FAILED` - Stargate transfer failed
|
|
239
|
+
*/
|
|
240
|
+
declare enum StargateTransferStateJson {
|
|
241
|
+
STARGATE_TRANSFER_UNKNOWN = "STARGATE_TRANSFER_UNKNOWN",
|
|
242
|
+
STARGATE_TRANSFER_SENT = "STARGATE_TRANSFER_SENT",
|
|
243
|
+
STARGATE_TRANSFER_PENDING_CONFIRMATION = "STARGATE_TRANSFER_PENDING_CONFIRMATION",
|
|
244
|
+
STARGATE_TRANSFER_CONFIRMED = "STARGATE_TRANSFER_CONFIRMED",
|
|
245
|
+
STARGATE_TRANSFER_RECEIVED = "STARGATE_TRANSFER_RECEIVED",
|
|
246
|
+
STARGATE_TRANSFER_FAILED = "STARGATE_TRANSFER_FAILED"
|
|
247
|
+
}
|
|
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
|
+
declare enum CCTPTransferStateJson {
|
|
257
|
+
CCTP_TRANSFER_UNKNOWN = "CCTP_TRANSFER_UNKNOWN",
|
|
258
|
+
CCTP_TRANSFER_SENT = "CCTP_TRANSFER_SENT",
|
|
259
|
+
CCTP_TRANSFER_PENDING_CONFIRMATION = "CCTP_TRANSFER_PENDING_CONFIRMATION",
|
|
260
|
+
CCTP_TRANSFER_CONFIRMED = "CCTP_TRANSFER_CONFIRMED",
|
|
261
|
+
CCTP_TRANSFER_RECEIVED = "CCTP_TRANSFER_RECEIVED"
|
|
262
|
+
}
|
|
263
|
+
/**
|
|
264
|
+
* Axelar transfer type:
|
|
265
|
+
* * `AXELAR_TRANSFER_CONTRACT_CALL_WITH_TOKEN` - GMP contract call with token transfer type
|
|
266
|
+
* * `AXELAR_TRANSFER_SEND_TOKEN` - Send token transfer type
|
|
267
|
+
*/
|
|
268
|
+
declare enum AxelarTransferTypeJson {
|
|
269
|
+
AXELAR_TRANSFER_CONTRACT_CALL_WITH_TOKEN = "AXELAR_TRANSFER_CONTRACT_CALL_WITH_TOKEN",
|
|
270
|
+
AXELAR_TRANSFER_SEND_TOKEN = "AXELAR_TRANSFER_SEND_TOKEN"
|
|
271
|
+
}
|
|
272
|
+
/**
|
|
273
|
+
* Axelar transfer state:
|
|
274
|
+
* * `AXELAR_TRANSFER_UNKNOWN` - Unknown error
|
|
275
|
+
* * `AXELAR_TRANSFER_PENDING_CONFIRMATION` - Axelar transfer is pending confirmation
|
|
276
|
+
* * `AXELAR_TRANSFER_PENDING_RECEIPT` - Axelar transfer is pending receipt at destination
|
|
277
|
+
* * `AXELAR_TRANSFER_SUCCESS` - Axelar transfer succeeded and assets have been received
|
|
278
|
+
* * `AXELAR_TRANSFER_FAILURE` - Axelar transfer failed
|
|
279
|
+
*/
|
|
280
|
+
declare enum AxelarTransferStateJson {
|
|
281
|
+
AXELAR_TRANSFER_UNKNOWN = "AXELAR_TRANSFER_UNKNOWN",
|
|
282
|
+
AXELAR_TRANSFER_PENDING_CONFIRMATION = "AXELAR_TRANSFER_PENDING_CONFIRMATION",
|
|
283
|
+
AXELAR_TRANSFER_PENDING_RECEIPT = "AXELAR_TRANSFER_PENDING_RECEIPT",
|
|
284
|
+
AXELAR_TRANSFER_SUCCESS = "AXELAR_TRANSFER_SUCCESS",
|
|
285
|
+
AXELAR_TRANSFER_FAILURE = "AXELAR_TRANSFER_FAILURE"
|
|
286
|
+
}
|
|
287
|
+
declare enum AutopilotActionJson {
|
|
288
|
+
LIQUID_STAKE = "LIQUID_STAKE",
|
|
289
|
+
CLAIM = "CLAIM"
|
|
290
|
+
}
|
|
38
291
|
interface AcknowledgementErrorDetailsJson {
|
|
39
292
|
/** Error code */
|
|
40
293
|
code?: number;
|
|
@@ -100,10 +353,6 @@ interface AssetRecommendationJson {
|
|
|
100
353
|
/** Reason for recommending the asset */
|
|
101
354
|
reason?: ReasonJson;
|
|
102
355
|
}
|
|
103
|
-
declare enum AutopilotActionJson {
|
|
104
|
-
LIQUID_STAKE = "LIQUID_STAKE",
|
|
105
|
-
CLAIM = "CLAIM"
|
|
106
|
-
}
|
|
107
356
|
interface AutopilotMsgJson {
|
|
108
357
|
action?: AutopilotActionJson;
|
|
109
358
|
receiver?: string;
|
|
@@ -176,7 +425,9 @@ interface AxelarTransferInfoJson {
|
|
|
176
425
|
* * `AXELAR_TRANSFER_FAILURE` - Axelar transfer failed
|
|
177
426
|
*/
|
|
178
427
|
state: AxelarTransferStateJson;
|
|
179
|
-
txs:
|
|
428
|
+
txs: {
|
|
429
|
+
contract_call_with_token_txs?: ContractCallWithTokenTxsJson;
|
|
430
|
+
} | SendTokenTxsJson;
|
|
180
431
|
/**
|
|
181
432
|
* Axelar transfer type:
|
|
182
433
|
* * `AXELAR_TRANSFER_CONTRACT_CALL_WITH_TOKEN` - GMP contract call with token transfer type
|
|
@@ -184,30 +435,6 @@ interface AxelarTransferInfoJson {
|
|
|
184
435
|
*/
|
|
185
436
|
type?: AxelarTransferTypeJson;
|
|
186
437
|
}
|
|
187
|
-
/**
|
|
188
|
-
* Axelar transfer state:
|
|
189
|
-
* * `AXELAR_TRANSFER_UNKNOWN` - Unknown error
|
|
190
|
-
* * `AXELAR_TRANSFER_PENDING_CONFIRMATION` - Axelar transfer is pending confirmation
|
|
191
|
-
* * `AXELAR_TRANSFER_PENDING_RECEIPT` - Axelar transfer is pending receipt at destination
|
|
192
|
-
* * `AXELAR_TRANSFER_SUCCESS` - Axelar transfer succeeded and assets have been received
|
|
193
|
-
* * `AXELAR_TRANSFER_FAILURE` - Axelar transfer failed
|
|
194
|
-
*/
|
|
195
|
-
declare enum AxelarTransferStateJson {
|
|
196
|
-
AXELAR_TRANSFER_UNKNOWN = "AXELAR_TRANSFER_UNKNOWN",
|
|
197
|
-
AXELAR_TRANSFER_PENDING_CONFIRMATION = "AXELAR_TRANSFER_PENDING_CONFIRMATION",
|
|
198
|
-
AXELAR_TRANSFER_PENDING_RECEIPT = "AXELAR_TRANSFER_PENDING_RECEIPT",
|
|
199
|
-
AXELAR_TRANSFER_SUCCESS = "AXELAR_TRANSFER_SUCCESS",
|
|
200
|
-
AXELAR_TRANSFER_FAILURE = "AXELAR_TRANSFER_FAILURE"
|
|
201
|
-
}
|
|
202
|
-
/**
|
|
203
|
-
* Axelar transfer type:
|
|
204
|
-
* * `AXELAR_TRANSFER_CONTRACT_CALL_WITH_TOKEN` - GMP contract call with token transfer type
|
|
205
|
-
* * `AXELAR_TRANSFER_SEND_TOKEN` - Send token transfer type
|
|
206
|
-
*/
|
|
207
|
-
declare enum AxelarTransferTypeJson {
|
|
208
|
-
AXELAR_TRANSFER_CONTRACT_CALL_WITH_TOKEN = "AXELAR_TRANSFER_CONTRACT_CALL_WITH_TOKEN",
|
|
209
|
-
AXELAR_TRANSFER_SEND_TOKEN = "AXELAR_TRANSFER_SEND_TOKEN"
|
|
210
|
-
}
|
|
211
438
|
interface AxelarTransferWrapperJson {
|
|
212
439
|
/** A transfer facilitated by the Axelar bridge */
|
|
213
440
|
axelar_transfer?: AxelarTransferJson;
|
|
@@ -274,21 +501,6 @@ interface CCTPTransferTxsJson {
|
|
|
274
501
|
send_tx?: ChainTransactionJson | null;
|
|
275
502
|
receive_tx?: ChainTransactionJson | null;
|
|
276
503
|
}
|
|
277
|
-
/**
|
|
278
|
-
* CCTP transfer state:
|
|
279
|
-
* * `CCTP_TRANSFER_UNKNOWN` - Unknown error
|
|
280
|
-
* * `CCTP_TRANSFER_SENT` - The burn transaction on the source chain has executed
|
|
281
|
-
* * `CCTP_TRANSFER_PENDING_CONFIRMATION` - CCTP transfer is pending confirmation by the cctp attestation api
|
|
282
|
-
* * `CCTP_TRANSFER_CONFIRMED` - CCTP transfer has been confirmed by the cctp attestation api
|
|
283
|
-
* * `CCTP_TRANSFER_RECEIVED` - CCTP transfer has been received at the destination chain
|
|
284
|
-
*/
|
|
285
|
-
declare enum CCTPTransferStateJson {
|
|
286
|
-
CCTP_TRANSFER_UNKNOWN = "CCTP_TRANSFER_UNKNOWN",
|
|
287
|
-
CCTP_TRANSFER_SENT = "CCTP_TRANSFER_SENT",
|
|
288
|
-
CCTP_TRANSFER_PENDING_CONFIRMATION = "CCTP_TRANSFER_PENDING_CONFIRMATION",
|
|
289
|
-
CCTP_TRANSFER_CONFIRMED = "CCTP_TRANSFER_CONFIRMED",
|
|
290
|
-
CCTP_TRANSFER_RECEIVED = "CCTP_TRANSFER_RECEIVED"
|
|
291
|
-
}
|
|
292
504
|
interface CCTPTransferWrapperJson {
|
|
293
505
|
/** A transfer facilitated by the CCTP bridge */
|
|
294
506
|
cctp_transfer?: CCTPTransferJson;
|
|
@@ -325,23 +537,6 @@ interface StargateTransferJson {
|
|
|
325
537
|
*/
|
|
326
538
|
bridge_id?: BridgeTypeJson;
|
|
327
539
|
}
|
|
328
|
-
/**
|
|
329
|
-
* Stargate transfer state:
|
|
330
|
-
* * `STARGATE_TRANSFER_UNKNOWN` - Unknown error
|
|
331
|
-
* * `STARGATE_TRANSFER_SENT` - The Stargate transfer transaction on the source chain has executed
|
|
332
|
-
* * `STARGATE_TRANSFER_PENDING_CONFIRMATION` - Stargate transfer is pending confirmation
|
|
333
|
-
* * `STARGATE_TRANSFER_CONFIRMED` - Stargate transfer has been confirmed
|
|
334
|
-
* * `STARGATE_TRANSFER_RECEIVED` - Stargate transfer has been received at the destination chain
|
|
335
|
-
* * `STARGATE_TRANSFER_FAILED` - Stargate transfer failed
|
|
336
|
-
*/
|
|
337
|
-
declare enum StargateTransferStateJson {
|
|
338
|
-
STARGATE_TRANSFER_UNKNOWN = "STARGATE_TRANSFER_UNKNOWN",
|
|
339
|
-
STARGATE_TRANSFER_SENT = "STARGATE_TRANSFER_SENT",
|
|
340
|
-
STARGATE_TRANSFER_PENDING_CONFIRMATION = "STARGATE_TRANSFER_PENDING_CONFIRMATION",
|
|
341
|
-
STARGATE_TRANSFER_CONFIRMED = "STARGATE_TRANSFER_CONFIRMED",
|
|
342
|
-
STARGATE_TRANSFER_RECEIVED = "STARGATE_TRANSFER_RECEIVED",
|
|
343
|
-
STARGATE_TRANSFER_FAILED = "STARGATE_TRANSFER_FAILED"
|
|
344
|
-
}
|
|
345
540
|
interface StargateTransferTxsJson {
|
|
346
541
|
send_tx?: ChainTransactionJson | null;
|
|
347
542
|
receive_tx?: ChainTransactionJson | null;
|
|
@@ -398,23 +593,6 @@ interface GoFastTransferJson {
|
|
|
398
593
|
/** Destination domain ID of the transfer */
|
|
399
594
|
destination_domain?: string;
|
|
400
595
|
}
|
|
401
|
-
/**
|
|
402
|
-
* GoFast transfer state:
|
|
403
|
-
* * `GO_FAST_TRANSFER_UNKNOWN` - Unknown state
|
|
404
|
-
* * `GO_FAST_TRANSFER_SENT` - Order submitted on source chain
|
|
405
|
-
* * `GO_FAST_POST_ACTION_FAILED` - Order filled, but subsequent action (e.g., swap) failed
|
|
406
|
-
* * `GO_FAST_TRANSFER_TIMEOUT` - Order timed out
|
|
407
|
-
* * `GO_FAST_TRANSFER_FILLED` - Order filled on destination chain
|
|
408
|
-
* * `GO_FAST_TRANSFER_REFUNDED` - Order refunded
|
|
409
|
-
*/
|
|
410
|
-
declare enum GoFastTransferStateJson {
|
|
411
|
-
GO_FAST_TRANSFER_UNKNOWN = "GO_FAST_TRANSFER_UNKNOWN",
|
|
412
|
-
GO_FAST_TRANSFER_SENT = "GO_FAST_TRANSFER_SENT",
|
|
413
|
-
GO_FAST_POST_ACTION_FAILED = "GO_FAST_POST_ACTION_FAILED",
|
|
414
|
-
GO_FAST_TRANSFER_TIMEOUT = "GO_FAST_TRANSFER_TIMEOUT",
|
|
415
|
-
GO_FAST_TRANSFER_FILLED = "GO_FAST_TRANSFER_FILLED",
|
|
416
|
-
GO_FAST_TRANSFER_REFUNDED = "GO_FAST_TRANSFER_REFUNDED"
|
|
417
|
-
}
|
|
418
596
|
interface GoFastTransferTxsJson {
|
|
419
597
|
order_submitted_tx?: ChainTransactionJson | null;
|
|
420
598
|
order_filled_tx?: ChainTransactionJson | null;
|
|
@@ -490,29 +668,6 @@ interface BridgeJson {
|
|
|
490
668
|
/** URI pointing to an image of the logo of the bridge */
|
|
491
669
|
logo_uri?: string;
|
|
492
670
|
}
|
|
493
|
-
/**
|
|
494
|
-
* Bridge Type:
|
|
495
|
-
* * `IBC` - IBC Bridge
|
|
496
|
-
* * `AXELAR` - Axelar Bridge
|
|
497
|
-
* * `CCTP` - CCTP Bridge
|
|
498
|
-
* * `HYPERLANE` - Hyperlane Bridge
|
|
499
|
-
* * `OPINIT` - Opinit Bridge
|
|
500
|
-
* * `GO_FAST` - Go Fast Bridge
|
|
501
|
-
* * `STARGATE` - Stargate Bridge
|
|
502
|
-
* * `LAYER_ZERO` - Layerzero Bridge
|
|
503
|
-
* * `EUREKA` - IBC Eureka Bridge
|
|
504
|
-
*/
|
|
505
|
-
declare enum BridgeTypeJson {
|
|
506
|
-
IBC = "IBC",
|
|
507
|
-
AXELAR = "AXELAR",
|
|
508
|
-
CCTP = "CCTP",
|
|
509
|
-
HYPERLANE = "HYPERLANE",
|
|
510
|
-
OPINIT = "OPINIT",
|
|
511
|
-
GO_FAST = "GO_FAST",
|
|
512
|
-
STARGATE = "STARGATE",
|
|
513
|
-
LAYER_ZERO = "LAYER_ZERO",
|
|
514
|
-
EUREKA = "EUREKA"
|
|
515
|
-
}
|
|
516
671
|
interface ChainJson {
|
|
517
672
|
/** Name of the chain */
|
|
518
673
|
chain_name: string;
|
|
@@ -539,11 +694,6 @@ interface ChainJson {
|
|
|
539
694
|
/** User friendly name of the chain */
|
|
540
695
|
pretty_name: string;
|
|
541
696
|
}
|
|
542
|
-
declare enum ChainTypeJson {
|
|
543
|
-
Cosmos = "cosmos",
|
|
544
|
-
Evm = "evm",
|
|
545
|
-
Svm = "svm"
|
|
546
|
-
}
|
|
547
697
|
interface ChainAffiliatesJson {
|
|
548
698
|
/** An array of affiliates that receives fees from a swap */
|
|
549
699
|
affiliates?: AffiliateJson[];
|
|
@@ -557,13 +707,6 @@ interface ContractCallWithTokenErrorJson {
|
|
|
557
707
|
*/
|
|
558
708
|
type?: ContractCallWithTokenErrorTypeJson;
|
|
559
709
|
}
|
|
560
|
-
/**
|
|
561
|
-
* ContractCallWithToken errors:
|
|
562
|
-
* * `CONTRACT_CALL_WITH_TOKEN_EXECUTION_ERROR` - Error occurred during the execute transaction
|
|
563
|
-
*/
|
|
564
|
-
declare enum ContractCallWithTokenErrorTypeJson {
|
|
565
|
-
CONTRACT_CALL_WITH_TOKEN_EXECUTION_ERROR = "CONTRACT_CALL_WITH_TOKEN_EXECUTION_ERROR"
|
|
566
|
-
}
|
|
567
710
|
interface ContractCallWithTokenTxsJson {
|
|
568
711
|
approve_tx?: ChainTransactionJson | null;
|
|
569
712
|
confirm_tx?: ChainTransactionJson | null;
|
|
@@ -595,8 +738,9 @@ interface ErrorDetailJson {
|
|
|
595
738
|
* Error detail:
|
|
596
739
|
* * `LOW_INFO_ERROR` - Not enough asset pricing information to determine the price safety of the route.
|
|
597
740
|
* * `BAD_PRICE_ERROR` - The execution price of the route deviates significantly from the current market price.
|
|
741
|
+
* * `HIGH_LOSS_ERROR` - The route would result in a USD loss exceeding the configured threshold and has been blocked.
|
|
598
742
|
*/
|
|
599
|
-
reason?: "LOW_INFO_ERROR" | "BAD_PRICE_ERROR";
|
|
743
|
+
reason?: "LOW_INFO_ERROR" | "BAD_PRICE_ERROR" | "HIGH_LOSS_ERROR";
|
|
600
744
|
}
|
|
601
745
|
interface ErrorJson {
|
|
602
746
|
/** Error code */
|
|
@@ -758,19 +902,6 @@ interface HyperlaneTransferInfoJson {
|
|
|
758
902
|
state: HyperlaneTransferStateJson;
|
|
759
903
|
txs: HyperlaneTransferTransactionsJson;
|
|
760
904
|
}
|
|
761
|
-
/**
|
|
762
|
-
* Hyperlane transfer state:
|
|
763
|
-
* * `HYPERLANE_TRANSFER_UNKNOWN` - Unknown error
|
|
764
|
-
* * `HYPERLANE_TRANSFER_SENT` - The Hyperlane transfer transaction on the source chain has executed
|
|
765
|
-
* * `HYPERLANE_TRANSFER_FAILED` - The Hyperlane transfer failed
|
|
766
|
-
* * `HYPERLANE_TRANSFER_RECEIVED` - The Hyperlane transfer has been received at the destination chain
|
|
767
|
-
*/
|
|
768
|
-
declare enum HyperlaneTransferStateJson {
|
|
769
|
-
HYPERLANE_TRANSFER_UNKNOWN = "HYPERLANE_TRANSFER_UNKNOWN",
|
|
770
|
-
HYPERLANE_TRANSFER_SENT = "HYPERLANE_TRANSFER_SENT",
|
|
771
|
-
HYPERLANE_TRANSFER_FAILED = "HYPERLANE_TRANSFER_FAILED",
|
|
772
|
-
HYPERLANE_TRANSFER_RECEIVED = "HYPERLANE_TRANSFER_RECEIVED"
|
|
773
|
-
}
|
|
774
905
|
interface HyperlaneTransferTransactionsJson {
|
|
775
906
|
send_tx?: ChainTransactionJson | null;
|
|
776
907
|
receive_tx?: ChainTransactionJson | null;
|
|
@@ -853,17 +984,6 @@ interface PacketErrorJson {
|
|
|
853
984
|
*/
|
|
854
985
|
type?: PacketErrorTypeJson;
|
|
855
986
|
}
|
|
856
|
-
/**
|
|
857
|
-
* Packet error type:
|
|
858
|
-
* * `PACKET_ERROR_UNKNOWN` - Unknown error
|
|
859
|
-
* * `PACKET_ERROR_ACKNOWLEDGEMENT` - Packet acknowledgement error
|
|
860
|
-
* * `PACKET_ERROR_TIMEOUT` - Packet timed out
|
|
861
|
-
*/
|
|
862
|
-
declare enum PacketErrorTypeJson {
|
|
863
|
-
PACKET_ERROR_UNKNOWN = "PACKET_ERROR_UNKNOWN",
|
|
864
|
-
PACKET_ERROR_ACKNOWLEDGEMENT = "PACKET_ERROR_ACKNOWLEDGEMENT",
|
|
865
|
-
PACKET_ERROR_TIMEOUT = "PACKET_ERROR_TIMEOUT"
|
|
866
|
-
}
|
|
867
987
|
interface ChainTransactionJson {
|
|
868
988
|
/** Chain ID the packet event occurs on */
|
|
869
989
|
chain_id?: string;
|
|
@@ -875,28 +995,6 @@ interface ChainTransactionJson {
|
|
|
875
995
|
on_chain_at?: string;
|
|
876
996
|
}
|
|
877
997
|
type PostHandlerJson = CosmWasmContractMsgWrapperJson | AutopilotMsgWrapperJson;
|
|
878
|
-
/**
|
|
879
|
-
* Recommendation reason:
|
|
880
|
-
* * `UNKNOWN` - Unknown recommendation reason.
|
|
881
|
-
* * `MOST_LIQUID` - Highest liquidity form of the transferred token on the destination chain.
|
|
882
|
-
* * `BASE_TOKEN` - The base token if the destination chain is the origin chain of the source token.
|
|
883
|
-
* * `DIRECT` - The token resulting from the least amount of transfers to the destination chain.
|
|
884
|
-
*/
|
|
885
|
-
declare enum ReasonJson {
|
|
886
|
-
UNKNOWN = "UNKNOWN",
|
|
887
|
-
MOST_LIQUID = "MOST_LIQUID",
|
|
888
|
-
BASE_TOKEN = "BASE_TOKEN",
|
|
889
|
-
DIRECT = "DIRECT"
|
|
890
|
-
}
|
|
891
|
-
/**
|
|
892
|
-
* Recommendation reason:
|
|
893
|
-
* * `LOW_INFO_WARNING` - Not enough asset pricing information to determine the price safety of the route.
|
|
894
|
-
* * `BAD_PRICE_WARNING` - The execution price of the route deviates significantly from the current market price.
|
|
895
|
-
*/
|
|
896
|
-
declare enum RoutePriceWarningTypeJson {
|
|
897
|
-
LOW_INFO_WARNING = "LOW_INFO_WARNING",
|
|
898
|
-
BAD_PRICE_WARNING = "BAD_PRICE_WARNING"
|
|
899
|
-
}
|
|
900
998
|
interface RouteJson {
|
|
901
999
|
/** Amount of source asset to be transferred or swapped */
|
|
902
1000
|
amount_in: string;
|
|
@@ -955,13 +1053,6 @@ interface SendTokenErrorJson {
|
|
|
955
1053
|
*/
|
|
956
1054
|
type?: SendTokenErrorTypeJson;
|
|
957
1055
|
}
|
|
958
|
-
/**
|
|
959
|
-
* SendToken error types:
|
|
960
|
-
* * `SEND_TOKEN_EXECUTION_ERROR` - Error occurred during the execute transaction
|
|
961
|
-
*/
|
|
962
|
-
declare enum SendTokenErrorTypeJson {
|
|
963
|
-
SEND_TOKEN_EXECUTION_ERROR = "SEND_TOKEN_EXECUTION_ERROR"
|
|
964
|
-
}
|
|
965
1056
|
interface SendTokenTxsJson {
|
|
966
1057
|
confirm_tx?: ChainTransactionJson | null;
|
|
967
1058
|
error?: SendTokenErrorJson | null;
|
|
@@ -981,19 +1072,6 @@ interface StatusErrorJson {
|
|
|
981
1072
|
*/
|
|
982
1073
|
type?: StatusErrorTypeJson;
|
|
983
1074
|
}
|
|
984
|
-
/**
|
|
985
|
-
* Packet error types:
|
|
986
|
-
* * `STATUS_ERROR_UNKNOWN` - Unknown error
|
|
987
|
-
* * `STATUS_ERROR_TRANSACTION_EXECUTION` - Error was encountered during transaction execution
|
|
988
|
-
* * `STATUS_ERROR_INDEXING` - Error was encountered while indexing the transaction and packet data
|
|
989
|
-
* * `STATUS_ERROR_TRANSFER` - The transfer failed to complete successfully
|
|
990
|
-
*/
|
|
991
|
-
declare enum StatusErrorTypeJson {
|
|
992
|
-
STATUS_ERROR_UNKNOWN = "STATUS_ERROR_UNKNOWN",
|
|
993
|
-
STATUS_ERROR_TRANSACTION_EXECUTION = "STATUS_ERROR_TRANSACTION_EXECUTION",
|
|
994
|
-
STATUS_ERROR_INDEXING = "STATUS_ERROR_INDEXING",
|
|
995
|
-
STATUS_ERROR_TRANSFER = "STATUS_ERROR_TRANSFER"
|
|
996
|
-
}
|
|
997
1075
|
type SwapJson = (SwapInWrapperJson | SwapOutWrapperJson | SmartSwapInWrapperJson) & {
|
|
998
1076
|
/** Estimated total affiliate fee generated by the swap */
|
|
999
1077
|
estimated_affiliate_fee?: string;
|
|
@@ -1096,24 +1174,6 @@ interface TransactionExecutionErrorDetailsJson {
|
|
|
1096
1174
|
/** Error message */
|
|
1097
1175
|
message?: string;
|
|
1098
1176
|
}
|
|
1099
|
-
/**
|
|
1100
|
-
* Transaction state:
|
|
1101
|
-
* * `STATE_SUBMITTED` - The initial transaction has been submitted to Skip Go API but not observed on chain yet
|
|
1102
|
-
* * `STATE_PENDING` - The initial transaction has been observed on chain, and there are still pending actions
|
|
1103
|
-
* * `STATE_COMPLETED_SUCCESS` - The route has completed successfully and the user has their tokens on the destination. (indicated by `transfer_asset_release`)
|
|
1104
|
-
* * `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.
|
|
1105
|
-
* (Again, `transfer_asset_release` indicates where the tokens are)
|
|
1106
|
-
* * `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.
|
|
1107
|
-
* * `STATE_PENDING_ERROR` - The overall transaction will fail, pending error propagation
|
|
1108
|
-
*/
|
|
1109
|
-
declare enum TransactionStateJson {
|
|
1110
|
-
STATE_SUBMITTED = "STATE_SUBMITTED",
|
|
1111
|
-
STATE_PENDING = "STATE_PENDING",
|
|
1112
|
-
STATE_ABANDONED = "STATE_ABANDONED",
|
|
1113
|
-
STATE_COMPLETED_SUCCESS = "STATE_COMPLETED_SUCCESS",
|
|
1114
|
-
STATE_COMPLETED_ERROR = "STATE_COMPLETED_ERROR",
|
|
1115
|
-
STATE_PENDING_ERROR = "STATE_PENDING_ERROR"
|
|
1116
|
-
}
|
|
1117
1177
|
/** A transfer facilitated by the OP Init bridge */
|
|
1118
1178
|
interface OPInitTransferJson {
|
|
1119
1179
|
/** Canonical chain-id of the source chain of the bridge transaction */
|
|
@@ -1164,32 +1224,6 @@ interface OPInitTransferTxsJson {
|
|
|
1164
1224
|
send_tx?: ChainTransactionJson | null;
|
|
1165
1225
|
receive_tx?: ChainTransactionJson | null;
|
|
1166
1226
|
}
|
|
1167
|
-
/**
|
|
1168
|
-
* OPInit transfer state:
|
|
1169
|
-
* * `OPINIT_TRANSFER_UNKNOWN` - Unknown error
|
|
1170
|
-
* * `OPINIT_TRANSFER_SENT` - The deposit transaction on the source chain has executed
|
|
1171
|
-
* * `OPINIT_TRANSFER_RECEIVED` - OPInit transfer has been received at the destination chain
|
|
1172
|
-
*/
|
|
1173
|
-
declare enum OPInitTransferStateJson {
|
|
1174
|
-
OPINIT_TRANSFER_UNKNOWN = "OPINIT_TRANSFER_UNKNOWN",
|
|
1175
|
-
OPINIT_TRANSFER_SENT = "OPINIT_TRANSFER_SENT",
|
|
1176
|
-
OPINIT_TRANSFER_RECEIVED = "OPINIT_TRANSFER_RECEIVED"
|
|
1177
|
-
}
|
|
1178
|
-
/**
|
|
1179
|
-
* LayerZero transfer state:
|
|
1180
|
-
* * `LAYER_ZERO_TRANSFER_UNKNOWN` - Unknown error
|
|
1181
|
-
* * `LAYER_ZERO_TRANSFER_SENT` - The transaction on the source chain has executed
|
|
1182
|
-
* * `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
|
|
1183
|
-
* * `LAYER_ZERO_TRANSFER_RECEIVED` - The transfer has been received at the destination chain
|
|
1184
|
-
* * `LAYER_ZERO_TRANSFER_FAILED` - The transfer has failed
|
|
1185
|
-
*/
|
|
1186
|
-
declare enum LayerZeroTransferStateJson {
|
|
1187
|
-
LAYER_ZERO_TRANSFER_UNKNOWN = "LAYER_ZERO_TRANSFER_UNKNOWN",
|
|
1188
|
-
LAYER_ZERO_TRANSFER_SENT = "LAYER_ZERO_TRANSFER_SENT",
|
|
1189
|
-
LAYER_ZERO_TRANSFER_WAITING_FOR_COMPOSE = "LAYER_ZERO_TRANSFER_WAITING_FOR_COMPOSE",
|
|
1190
|
-
LAYER_ZERO_TRANSFER_RECEIVED = "LAYER_ZERO_TRANSFER_RECEIVED",
|
|
1191
|
-
LAYER_ZERO_TRANSFER_FAILED = "LAYER_ZERO_TRANSFER_FAILED"
|
|
1192
|
-
}
|
|
1193
1227
|
/** A cross-chain transfer */
|
|
1194
1228
|
interface TransferJson {
|
|
1195
1229
|
/** Port to use to initiate the transfer */
|
|
@@ -1250,21 +1284,6 @@ interface TransferEventJson {
|
|
|
1250
1284
|
eureka_transfer?: EurekaTransferInfoJson;
|
|
1251
1285
|
layer_zero_transfer?: LayerZeroTransferInfoJson;
|
|
1252
1286
|
}
|
|
1253
|
-
/**
|
|
1254
|
-
* Transfer state:
|
|
1255
|
-
* * `TRANSFER_UNKNOWN` - Transfer state is not known.
|
|
1256
|
-
* * `TRANSFER_PENDING` - The send packet for the transfer has been committed and the transfer is pending.
|
|
1257
|
-
* * `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.
|
|
1258
|
-
* * `TRANSFER_SUCCESS` - The transfer has been successfully completed and will not revert.
|
|
1259
|
-
* * `TRANSFER_FAILURE`- The transfer has failed.
|
|
1260
|
-
*/
|
|
1261
|
-
declare enum TransferStateJson {
|
|
1262
|
-
TRANSFER_UNKNOWN = "TRANSFER_UNKNOWN",
|
|
1263
|
-
TRANSFER_PENDING = "TRANSFER_PENDING",
|
|
1264
|
-
TRANSFER_RECEIVED = "TRANSFER_RECEIVED",
|
|
1265
|
-
TRANSFER_SUCCESS = "TRANSFER_SUCCESS",
|
|
1266
|
-
TRANSFER_FAILURE = "TRANSFER_FAILURE"
|
|
1267
|
-
}
|
|
1268
1287
|
/** Indicates location and denom of transfer asset release. */
|
|
1269
1288
|
interface TransferAssetReleaseJson {
|
|
1270
1289
|
/** The chain ID of the chain that the transfer asset is released on. */
|
|
@@ -1441,22 +1460,6 @@ interface IbcCapabilitiesJson {
|
|
|
1441
1460
|
/** Whether the autopilot module is supported */
|
|
1442
1461
|
cosmos_autopilot?: boolean;
|
|
1443
1462
|
}
|
|
1444
|
-
/**
|
|
1445
|
-
* Fee type:
|
|
1446
|
-
* * SMART_RELAY - Fees for Smart relaying services.'
|
|
1447
|
-
*/
|
|
1448
|
-
declare enum FeeTypeJson {
|
|
1449
|
-
SMART_RELAY = "SMART_RELAY"
|
|
1450
|
-
}
|
|
1451
|
-
/**
|
|
1452
|
-
* Indicates whether the fee is deducted from the transfer amount or charged additionally.
|
|
1453
|
-
* - FEE_BEHAVIOR_DEDUCTED: Fee is subtracted from the transfer amount (default, typical for Cosmos chains)
|
|
1454
|
-
* - FEE_BEHAVIOR_ADDITIONAL: Fee is charged on top of the transfer amount (typical for EVM chains with native tokens)
|
|
1455
|
-
*/
|
|
1456
|
-
declare enum FeeBehaviorJson {
|
|
1457
|
-
FEE_BEHAVIOR_DEDUCTED = "FEE_BEHAVIOR_DEDUCTED",
|
|
1458
|
-
FEE_BEHAVIOR_ADDITIONAL = "FEE_BEHAVIOR_ADDITIONAL"
|
|
1459
|
-
}
|
|
1460
1463
|
interface FeeJson {
|
|
1461
1464
|
/**
|
|
1462
1465
|
* Fee type:
|