@skip-go/client 1.5.3 → 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.
Files changed (139) hide show
  1. package/dist/cjs/api/getAssets.cjs +4 -4
  2. package/dist/cjs/api/getAssetsBetweenChains.cjs +3 -3
  3. package/dist/cjs/api/getBridges.cjs +3 -3
  4. package/dist/cjs/api/getChains.cjs +3 -3
  5. package/dist/cjs/api/getVenues.cjs +3 -3
  6. package/dist/cjs/api/postAssetsFromSource.cjs +4 -4
  7. package/dist/cjs/api/postBalances.cjs +3 -3
  8. package/dist/cjs/api/postIbcOriginAssets.cjs +3 -3
  9. package/dist/cjs/api/postMessages.cjs +3 -3
  10. package/dist/cjs/api/postMessagesDirect.cjs +3 -3
  11. package/dist/cjs/api/postRecommendAssets.cjs +3 -3
  12. package/dist/cjs/api/postRoute.cjs +3 -3
  13. package/dist/cjs/api/postSubmitTransaction.cjs +3 -3
  14. package/dist/cjs/api/postTrackTransaction.cjs +3 -3
  15. package/dist/cjs/api/postTransactionStatus.cjs +3 -3
  16. package/dist/cjs/{chunk-HFEMNOJS.cjs → chunk-2QPPD3BB.cjs} +3 -0
  17. package/dist/cjs/{chunk-7SZZBUBD.cjs → chunk-2SA3OAIJ.cjs} +3 -3
  18. package/dist/cjs/{chunk-DAPPFYGA.cjs → chunk-3RPOC3AX.cjs} +6 -6
  19. package/dist/cjs/chunk-4BWE7SOV.cjs +68 -0
  20. package/dist/cjs/{chunk-FF5UWES6.cjs → chunk-4GHUZDDP.cjs} +4 -4
  21. package/dist/cjs/{chunk-BT6HQNBF.cjs → chunk-5JS6DMVZ.cjs} +14 -14
  22. package/dist/cjs/{chunk-ND7SYSAP.cjs → chunk-5KWNKICM.cjs} +2 -2
  23. package/dist/cjs/{chunk-BFA7XKVT.cjs → chunk-67WZP4PA.cjs} +52 -52
  24. package/dist/cjs/{chunk-QWQVTCKP.cjs → chunk-7CFJPJJ2.cjs} +10 -10
  25. package/dist/cjs/{chunk-4RLEZ5DV.cjs → chunk-7HDLYDAS.cjs} +10 -10
  26. package/dist/cjs/{chunk-AW6IQ7JH.cjs → chunk-A5S6SIYN.cjs} +2 -2
  27. package/dist/cjs/{chunk-ZBJZTBIW.cjs → chunk-ASDMDYTC.cjs} +2 -2
  28. package/dist/cjs/{chunk-QAHHTQ7V.cjs → chunk-ATW6UNT5.cjs} +4 -4
  29. package/dist/cjs/{chunk-PLO5CVGN.cjs → chunk-AUTOIM57.cjs} +2 -2
  30. package/dist/cjs/{chunk-KWH6S7PB.cjs → chunk-CK6CQWQU.cjs} +6 -6
  31. package/dist/cjs/{chunk-GOQK63JP.cjs → chunk-EGFH6FEG.cjs} +2 -2
  32. package/dist/cjs/{chunk-T5EGKQAT.cjs → chunk-FCTBCHOT.cjs} +2 -2
  33. package/dist/cjs/{chunk-S3BKLN4L.cjs → chunk-IJIBMN2F.cjs} +2 -2
  34. package/dist/cjs/{chunk-262HFM6V.cjs → chunk-JRXPJ45U.cjs} +2 -2
  35. package/dist/cjs/{chunk-3NHW3XWK.cjs → chunk-NCFH5MGF.cjs} +2 -2
  36. package/dist/cjs/{chunk-4MV4GLIA.cjs → chunk-OJISEAMX.cjs} +2 -2
  37. package/dist/cjs/{chunk-JWWJIJUE.cjs → chunk-PDNKS5R2.cjs} +2 -2
  38. package/dist/cjs/{chunk-RBM66GW6.cjs → chunk-UXW4XVHF.cjs} +2 -2
  39. package/dist/cjs/{chunk-3UPZIINE.cjs → chunk-VEEDEDME.cjs} +6 -6
  40. package/dist/cjs/{chunk-U2NZCNKX.cjs → chunk-WRTBZRHG.cjs} +8 -8
  41. package/dist/cjs/{chunk-BCX2D6TE.cjs → chunk-ZHV4J6EM.cjs} +55 -23
  42. package/dist/cjs/index.cjs +81 -77
  43. package/dist/cjs/public-functions/executeMultipleRoutes.cjs +13 -13
  44. package/dist/cjs/public-functions/executeRoute.cjs +13 -13
  45. package/dist/cjs/public-functions/getFeeInfoForChain.cjs +4 -4
  46. package/dist/cjs/public-functions/getRecommendedGasPrice.cjs +5 -5
  47. package/dist/cjs/public-functions/getRouteWithGasOnReceive.cjs +27 -27
  48. package/dist/cjs/public-functions/getSigningStargateClient.cjs +4 -4
  49. package/dist/cjs/public-functions/setApiOptions.cjs +3 -3
  50. package/dist/cjs/public-functions/setClientOptions.cjs +4 -4
  51. package/dist/cjs/public-functions/subscribeToRouteStatus.cjs +8 -8
  52. package/dist/cjs/public-functions/validateCosmosGasBalance.cjs +5 -5
  53. package/dist/cjs/public-functions/waitForTransaction.cjs +9 -5
  54. package/dist/esm/api/getAssets.d.ts +1 -1
  55. package/dist/esm/api/getAssets.js +2 -2
  56. package/dist/esm/api/getAssetsBetweenChains.d.ts +1 -1
  57. package/dist/esm/api/getAssetsBetweenChains.js +2 -2
  58. package/dist/esm/api/getBridges.d.ts +1 -1
  59. package/dist/esm/api/getBridges.js +2 -2
  60. package/dist/esm/api/getChains.d.ts +1 -1
  61. package/dist/esm/api/getChains.js +2 -2
  62. package/dist/esm/api/getVenues.js +2 -2
  63. package/dist/esm/api/postAssetsFromSource.d.ts +1 -1
  64. package/dist/esm/api/postAssetsFromSource.js +3 -3
  65. package/dist/esm/api/postBalances.d.ts +2 -2
  66. package/dist/esm/api/postBalances.js +2 -2
  67. package/dist/esm/api/postIbcOriginAssets.js +2 -2
  68. package/dist/esm/api/postMessages.d.ts +2 -2
  69. package/dist/esm/api/postMessages.js +2 -2
  70. package/dist/esm/api/postMessagesDirect.d.ts +1 -1
  71. package/dist/esm/api/postMessagesDirect.js +2 -2
  72. package/dist/esm/api/postRecommendAssets.d.ts +1 -1
  73. package/dist/esm/api/postRecommendAssets.js +2 -2
  74. package/dist/esm/api/postRoute.d.ts +2 -2
  75. package/dist/esm/api/postRoute.js +2 -2
  76. package/dist/esm/api/postSubmitTransaction.d.ts +2 -2
  77. package/dist/esm/api/postSubmitTransaction.js +2 -2
  78. package/dist/esm/api/postTrackTransaction.d.ts +2 -2
  79. package/dist/esm/api/postTrackTransaction.js +2 -2
  80. package/dist/esm/api/postTransactionStatus.d.ts +72 -68
  81. package/dist/esm/api/postTransactionStatus.js +2 -2
  82. package/dist/esm/{callbacks-CJ_p70xa.d.ts → callbacks-CZNSHCBb.d.ts} +5 -5
  83. package/dist/esm/{chunk-BBEFB277.js → chunk-22LYQHMA.js} +4 -4
  84. package/dist/esm/{chunk-YLVUKXLR.js → chunk-3JHLVPRG.js} +1 -1
  85. package/dist/esm/{chunk-426BGQ4K.js → chunk-763YPOJQ.js} +2 -2
  86. package/dist/esm/{chunk-SA4GETWP.js → chunk-7OHBD7I6.js} +5 -5
  87. package/dist/esm/{chunk-FNTPI2AV.js → chunk-A5NZMSTI.js} +1 -1
  88. package/dist/esm/{chunk-QYIZGNWZ.js → chunk-BJKCMEMJ.js} +1 -1
  89. package/dist/esm/chunk-E4NRDAVO.js +65 -0
  90. package/dist/esm/{chunk-HDW6XFWX.js → chunk-ETBJVFQP.js} +1 -1
  91. package/dist/esm/{chunk-VGCTTJO7.js → chunk-F66EKL3W.js} +3 -0
  92. package/dist/esm/{chunk-HZVXNDMH.js → chunk-G63PICMU.js} +1 -1
  93. package/dist/esm/{chunk-RFJYCJK4.js → chunk-HNU2Y3JI.js} +1 -1
  94. package/dist/esm/{chunk-MYGJGC62.js → chunk-J24LYWJE.js} +1 -1
  95. package/dist/esm/{chunk-H2TTIB5K.js → chunk-KXS5UH7E.js} +2 -2
  96. package/dist/esm/{chunk-VWOMKMH2.js → chunk-KZKAL5ZN.js} +1 -1
  97. package/dist/esm/{chunk-L233BZ4I.js → chunk-LAGER3PR.js} +7 -7
  98. package/dist/esm/{chunk-3WFXBPS2.js → chunk-N4PTRCNT.js} +1 -1
  99. package/dist/esm/{chunk-IHSSWY3M.js → chunk-P36PE4CR.js} +1 -1
  100. package/dist/esm/{chunk-UBVBVJPY.js → chunk-QYXGDTUU.js} +1 -1
  101. package/dist/esm/{chunk-AUNRER4I.js → chunk-SXBG57J3.js} +1 -1
  102. package/dist/esm/{chunk-HELQO7PA.js → chunk-TGTOO2ZQ.js} +2 -2
  103. package/dist/esm/{chunk-LBS7KX5I.js → chunk-TON3V7SK.js} +2 -2
  104. package/dist/esm/{chunk-KXQ2ASHQ.js → chunk-UHCKOKBM.js} +1 -1
  105. package/dist/esm/{chunk-YGQ4NKTM.js → chunk-UN46DUOV.js} +1 -1
  106. package/dist/esm/{chunk-GLM7QWYT.js → chunk-VMEHGKH7.js} +1 -1
  107. package/dist/esm/{chunk-5IXH2QPF.js → chunk-WRPS6WK2.js} +52 -20
  108. package/dist/esm/{chunk-44IX6KPJ.js → chunk-XNU3TKKM.js} +1 -1
  109. package/dist/esm/{client-types-uXKJQRqe.d.ts → client-types-BX_0924O.d.ts} +1 -1
  110. package/dist/esm/{generateApi-BMFrG4FZ.d.ts → generateApi-Clc85Kxw.d.ts} +1 -1
  111. package/dist/esm/index.d.ts +9 -7
  112. package/dist/esm/index.js +26 -26
  113. package/dist/esm/public-functions/executeMultipleRoutes.d.ts +4 -4
  114. package/dist/esm/public-functions/executeMultipleRoutes.js +12 -12
  115. package/dist/esm/public-functions/executeRoute.d.ts +4 -4
  116. package/dist/esm/public-functions/executeRoute.js +12 -12
  117. package/dist/esm/public-functions/getCosmosGasAmountForMessage.d.ts +1 -1
  118. package/dist/esm/public-functions/getEvmGasAmountForMessage.d.ts +3 -3
  119. package/dist/esm/public-functions/getFeeInfoForChain.d.ts +1 -1
  120. package/dist/esm/public-functions/getFeeInfoForChain.js +3 -3
  121. package/dist/esm/public-functions/getRecommendedGasPrice.js +4 -4
  122. package/dist/esm/public-functions/getRouteWithGasOnReceive.d.ts +1 -1
  123. package/dist/esm/public-functions/getRouteWithGasOnReceive.js +26 -26
  124. package/dist/esm/public-functions/getSigningStargateClient.js +3 -3
  125. package/dist/esm/public-functions/setApiOptions.d.ts +1 -1
  126. package/dist/esm/public-functions/setApiOptions.js +2 -2
  127. package/dist/esm/public-functions/setClientOptions.d.ts +4 -4
  128. package/dist/esm/public-functions/setClientOptions.js +3 -3
  129. package/dist/esm/public-functions/subscribeToRouteStatus.d.ts +4 -4
  130. package/dist/esm/public-functions/subscribeToRouteStatus.js +4 -4
  131. package/dist/esm/public-functions/validateCosmosGasBalance.d.ts +4 -4
  132. package/dist/esm/public-functions/validateCosmosGasBalance.js +4 -4
  133. package/dist/esm/public-functions/waitForTransaction.d.ts +712 -74
  134. package/dist/esm/public-functions/waitForTransaction.js +4 -4
  135. package/dist/esm/{setClientOptions-D1qgaOqC.d.ts → setClientOptions-DD5Mzkw_.d.ts} +3 -3
  136. package/dist/esm/{swaggerTypes-Cop47I0X.d.ts → swaggerTypes-Dr4I6vW2.d.ts} +3 -1
  137. package/package.json +1 -1
  138. package/dist/cjs/chunk-4NGHNHAS.cjs +0 -46
  139. package/dist/esm/chunk-TNIGHYH2.js +0 -44
@@ -1,20 +1,24 @@
1
- import { b as TransactionState, P as PacketErrorType, T as TransferState, h as AxelarTransferState, C as ContractCallWithTokenErrorType, c as SendTokenErrorType, A as AxelarTransferType, g as CCTPTransferState, H as HyperlaneTransferState, O as OPInitTransferState, f as StargateTransferState, G as GoFastTransferState, L as LayerZeroTransferState, S as StatusErrorType } from '../swaggerTypes-Cop47I0X.js';
2
- import { h as TransactionCallbacks } from '../callbacks-CJ_p70xa.js';
3
- import { T as TxResult } from '../client-types-uXKJQRqe.js';
4
- import '../api/postTransactionStatus.js';
5
- import '../generateApi-BMFrG4FZ.js';
6
- import '../apiState-1VvikVK-.js';
1
+ import { b as TransactionState, P as PacketErrorType, T as TransferState, h as AxelarTransferState, C as ContractCallWithTokenErrorType, c as SendTokenErrorType, A as AxelarTransferType, g as CCTPTransferState, H as HyperlaneTransferState, O as OPInitTransferState, f as StargateTransferState, G as GoFastTransferState, L as LayerZeroTransferState, S as StatusErrorType } from '../swaggerTypes-Dr4I6vW2.js';
2
+ import { h as TransactionCallbacks } from '../callbacks-CZNSHCBb.js';
3
+ import { T as TxResult } from '../client-types-BX_0924O.js';
4
+ import { TxStatusResponse } from '../api/postTransactionStatus.js';
5
+ import '../generateApi-Clc85Kxw.js';
7
6
  import '@cosmjs/amino';
8
7
  import '@cosmjs/proto-signing';
9
8
  import '@cosmjs/stargate';
10
9
  import 'viem';
11
10
  import '@solana/wallet-adapter-base';
12
11
  import '../api/postTrackTransaction.js';
12
+ import '../apiState-1VvikVK-.js';
13
13
 
14
14
  type WaitForTransactionProps = TxResult & {
15
15
  onTransactionTracked?: TransactionCallbacks["onTransactionTracked"];
16
+ doNotTrack?: boolean;
17
+ onStatusUpdated?: (status: TxStatusResponse) => void;
18
+ onError?: (error: Error) => void;
19
+ isCancelled?: () => boolean;
16
20
  };
17
- declare const waitForTransaction: ({ chainId, txHash, explorerLink, onTransactionTracked, ...trackTxPollingOptions }: WaitForTransactionProps) => Promise<{
21
+ declare const waitForTransaction: ({ chainId, txHash, explorerLink, doNotTrack, onStatusUpdated, onError, onTransactionTracked, isCancelled, ...trackTxPollingOptions }: WaitForTransactionProps) => Promise<{
18
22
  transfers?: {
19
23
  state?: TransactionState | undefined;
20
24
  transferSequence?: {
@@ -63,39 +67,41 @@ declare const waitForTransaction: ({ chainId, txHash, explorerLink, onTransactio
63
67
  fromChainId: string;
64
68
  state: AxelarTransferState;
65
69
  txs: {
66
- approveTx?: {
67
- chainId?: string | undefined;
68
- explorerLink: string;
69
- txHash?: string | undefined;
70
- onChainAt?: string | undefined;
71
- } | undefined;
72
- confirmTx?: {
73
- chainId?: string | undefined;
74
- explorerLink: string;
75
- txHash?: string | undefined;
76
- onChainAt?: string | undefined;
77
- } | undefined;
78
- error?: {
79
- message?: string | undefined;
80
- type?: ContractCallWithTokenErrorType | undefined;
81
- } | undefined;
82
- executeTx?: {
83
- chainId?: string | undefined;
84
- explorerLink: string;
85
- txHash?: string | undefined;
86
- onChainAt?: string | undefined;
87
- } | undefined;
88
- gasPaidTx?: {
89
- chainId?: string | undefined;
90
- explorerLink: string;
91
- txHash?: string | undefined;
92
- onChainAt?: string | undefined;
93
- } | undefined;
94
- sendTx?: {
95
- chainId?: string | undefined;
96
- explorerLink: string;
97
- txHash?: string | undefined;
98
- onChainAt?: string | undefined;
70
+ contractCallWithTokenTxs?: {
71
+ approveTx?: {
72
+ chainId?: string | undefined;
73
+ explorerLink: string;
74
+ txHash?: string | undefined;
75
+ onChainAt?: string | undefined;
76
+ } | undefined;
77
+ confirmTx?: {
78
+ chainId?: string | undefined;
79
+ explorerLink: string;
80
+ txHash?: string | undefined;
81
+ onChainAt?: string | undefined;
82
+ } | undefined;
83
+ error?: {
84
+ message?: string | undefined;
85
+ type?: ContractCallWithTokenErrorType | undefined;
86
+ } | undefined;
87
+ executeTx?: {
88
+ chainId?: string | undefined;
89
+ explorerLink: string;
90
+ txHash?: string | undefined;
91
+ onChainAt?: string | undefined;
92
+ } | undefined;
93
+ gasPaidTx?: {
94
+ chainId?: string | undefined;
95
+ explorerLink: string;
96
+ txHash?: string | undefined;
97
+ onChainAt?: string | undefined;
98
+ } | undefined;
99
+ sendTx?: {
100
+ chainId?: string | undefined;
101
+ explorerLink: string;
102
+ txHash?: string | undefined;
103
+ onChainAt?: string | undefined;
104
+ } | undefined;
99
105
  } | undefined;
100
106
  } | {
101
107
  confirmTx?: {
@@ -390,39 +396,41 @@ declare const waitForTransaction: ({ chainId, txHash, explorerLink, onTransactio
390
396
  fromChainId: string;
391
397
  state: AxelarTransferState;
392
398
  txs: {
393
- approveTx?: {
394
- chainId?: string | undefined;
395
- explorerLink: string;
396
- txHash?: string | undefined;
397
- onChainAt?: string | undefined;
398
- } | undefined;
399
- confirmTx?: {
400
- chainId?: string | undefined;
401
- explorerLink: string;
402
- txHash?: string | undefined;
403
- onChainAt?: string | undefined;
404
- } | undefined;
405
- error?: {
406
- message?: string | undefined;
407
- type?: ContractCallWithTokenErrorType | undefined;
408
- } | undefined;
409
- executeTx?: {
410
- chainId?: string | undefined;
411
- explorerLink: string;
412
- txHash?: string | undefined;
413
- onChainAt?: string | undefined;
414
- } | undefined;
415
- gasPaidTx?: {
416
- chainId?: string | undefined;
417
- explorerLink: string;
418
- txHash?: string | undefined;
419
- onChainAt?: string | undefined;
420
- } | undefined;
421
- sendTx?: {
422
- chainId?: string | undefined;
423
- explorerLink: string;
424
- txHash?: string | undefined;
425
- onChainAt?: string | undefined;
399
+ contractCallWithTokenTxs?: {
400
+ approveTx?: {
401
+ chainId?: string | undefined;
402
+ explorerLink: string;
403
+ txHash?: string | undefined;
404
+ onChainAt?: string | undefined;
405
+ } | undefined;
406
+ confirmTx?: {
407
+ chainId?: string | undefined;
408
+ explorerLink: string;
409
+ txHash?: string | undefined;
410
+ onChainAt?: string | undefined;
411
+ } | undefined;
412
+ error?: {
413
+ message?: string | undefined;
414
+ type?: ContractCallWithTokenErrorType | undefined;
415
+ } | undefined;
416
+ executeTx?: {
417
+ chainId?: string | undefined;
418
+ explorerLink: string;
419
+ txHash?: string | undefined;
420
+ onChainAt?: string | undefined;
421
+ } | undefined;
422
+ gasPaidTx?: {
423
+ chainId?: string | undefined;
424
+ explorerLink: string;
425
+ txHash?: string | undefined;
426
+ onChainAt?: string | undefined;
427
+ } | undefined;
428
+ sendTx?: {
429
+ chainId?: string | undefined;
430
+ explorerLink: string;
431
+ txHash?: string | undefined;
432
+ onChainAt?: string | undefined;
433
+ } | undefined;
426
434
  } | undefined;
427
435
  } | {
428
436
  confirmTx?: {
@@ -637,5 +645,635 @@ declare const waitForTransaction: ({ chainId, txHash, explorerLink, onTransactio
637
645
  }[];
638
646
  status?: string | undefined;
639
647
  }>;
648
+ declare const waitForTransactionWithCancel: (props: WaitForTransactionProps) => {
649
+ promise: Promise<{
650
+ transfers?: {
651
+ state?: TransactionState | undefined;
652
+ transferSequence?: {
653
+ ibcTransfer?: {
654
+ toChainId: string;
655
+ packetTxs: {
656
+ acknowledgeTx?: {
657
+ chainId?: string | undefined;
658
+ explorerLink: string;
659
+ txHash?: string | undefined;
660
+ onChainAt?: string | undefined;
661
+ } | undefined;
662
+ error?: {
663
+ details?: {
664
+ code?: number | undefined;
665
+ message?: string | undefined;
666
+ } | undefined;
667
+ message?: string | undefined;
668
+ type?: PacketErrorType | undefined;
669
+ } | undefined;
670
+ receiveTx?: {
671
+ chainId?: string | undefined;
672
+ explorerLink: string;
673
+ txHash?: string | undefined;
674
+ onChainAt?: string | undefined;
675
+ } | undefined;
676
+ sendTx?: {
677
+ chainId?: string | undefined;
678
+ explorerLink: string;
679
+ txHash?: string | undefined;
680
+ onChainAt?: string | undefined;
681
+ } | undefined;
682
+ timeoutTx?: {
683
+ chainId?: string | undefined;
684
+ explorerLink: string;
685
+ txHash?: string | undefined;
686
+ onChainAt?: string | undefined;
687
+ } | undefined;
688
+ };
689
+ fromChainId: string;
690
+ state: TransferState;
691
+ } | undefined;
692
+ axelarTransfer?: {
693
+ axelarScanLink?: string | undefined;
694
+ toChainId: string;
695
+ fromChainId: string;
696
+ state: AxelarTransferState;
697
+ txs: {
698
+ contractCallWithTokenTxs?: {
699
+ approveTx?: {
700
+ chainId?: string | undefined;
701
+ explorerLink: string;
702
+ txHash?: string | undefined;
703
+ onChainAt?: string | undefined;
704
+ } | undefined;
705
+ confirmTx?: {
706
+ chainId?: string | undefined;
707
+ explorerLink: string;
708
+ txHash?: string | undefined;
709
+ onChainAt?: string | undefined;
710
+ } | undefined;
711
+ error?: {
712
+ message?: string | undefined;
713
+ type?: ContractCallWithTokenErrorType | undefined;
714
+ } | undefined;
715
+ executeTx?: {
716
+ chainId?: string | undefined;
717
+ explorerLink: string;
718
+ txHash?: string | undefined;
719
+ onChainAt?: string | undefined;
720
+ } | undefined;
721
+ gasPaidTx?: {
722
+ chainId?: string | undefined;
723
+ explorerLink: string;
724
+ txHash?: string | undefined;
725
+ onChainAt?: string | undefined;
726
+ } | undefined;
727
+ sendTx?: {
728
+ chainId?: string | undefined;
729
+ explorerLink: string;
730
+ txHash?: string | undefined;
731
+ onChainAt?: string | undefined;
732
+ } | undefined;
733
+ } | undefined;
734
+ } | {
735
+ confirmTx?: {
736
+ chainId?: string | undefined;
737
+ explorerLink: string;
738
+ txHash?: string | undefined;
739
+ onChainAt?: string | undefined;
740
+ } | undefined;
741
+ error?: {
742
+ message?: string | undefined;
743
+ type?: SendTokenErrorType | undefined;
744
+ } | undefined;
745
+ executeTx?: {
746
+ chainId?: string | undefined;
747
+ explorerLink: string;
748
+ txHash?: string | undefined;
749
+ onChainAt?: string | undefined;
750
+ } | undefined;
751
+ sendTx?: {
752
+ chainId?: string | undefined;
753
+ explorerLink: string;
754
+ txHash?: string | undefined;
755
+ onChainAt?: string | undefined;
756
+ } | undefined;
757
+ };
758
+ type?: AxelarTransferType | undefined;
759
+ } | undefined;
760
+ cctpTransfer?: {
761
+ toChainId?: string | undefined;
762
+ fromChainId?: string | undefined;
763
+ state?: CCTPTransferState | undefined;
764
+ txs?: {
765
+ sendTx?: {
766
+ chainId?: string | undefined;
767
+ explorerLink: string;
768
+ txHash?: string | undefined;
769
+ onChainAt?: string | undefined;
770
+ } | undefined;
771
+ receiveTx?: {
772
+ chainId?: string | undefined;
773
+ explorerLink: string;
774
+ txHash?: string | undefined;
775
+ onChainAt?: string | undefined;
776
+ } | undefined;
777
+ } | undefined;
778
+ } | undefined;
779
+ hyperlaneTransfer?: {
780
+ fromChainId: string;
781
+ toChainId: string;
782
+ state: HyperlaneTransferState;
783
+ txs: {
784
+ sendTx?: {
785
+ chainId?: string | undefined;
786
+ explorerLink: string;
787
+ txHash?: string | undefined;
788
+ onChainAt?: string | undefined;
789
+ } | undefined;
790
+ receiveTx?: {
791
+ chainId?: string | undefined;
792
+ explorerLink: string;
793
+ txHash?: string | undefined;
794
+ onChainAt?: string | undefined;
795
+ } | undefined;
796
+ };
797
+ } | undefined;
798
+ opInitTransfer?: {
799
+ toChainId: string;
800
+ fromChainId: string;
801
+ state: OPInitTransferState;
802
+ txs: {
803
+ sendTx?: {
804
+ chainId?: string | undefined;
805
+ explorerLink: string;
806
+ txHash?: string | undefined;
807
+ onChainAt?: string | undefined;
808
+ } | undefined;
809
+ receiveTx?: {
810
+ chainId?: string | undefined;
811
+ explorerLink: string;
812
+ txHash?: string | undefined;
813
+ onChainAt?: string | undefined;
814
+ } | undefined;
815
+ };
816
+ } | undefined;
817
+ stargateTransfer?: {
818
+ fromChainId?: string | undefined;
819
+ toChainId?: string | undefined;
820
+ state?: StargateTransferState | undefined;
821
+ txs?: {
822
+ sendTx?: {
823
+ chainId?: string | undefined;
824
+ explorerLink: string;
825
+ txHash?: string | undefined;
826
+ onChainAt?: string | undefined;
827
+ } | undefined;
828
+ receiveTx?: {
829
+ chainId?: string | undefined;
830
+ explorerLink: string;
831
+ txHash?: string | undefined;
832
+ onChainAt?: string | undefined;
833
+ } | undefined;
834
+ errorTx?: {
835
+ chainId?: string | undefined;
836
+ explorerLink: string;
837
+ txHash?: string | undefined;
838
+ onChainAt?: string | undefined;
839
+ } | undefined;
840
+ } | undefined;
841
+ } | undefined;
842
+ goFastTransfer?: {
843
+ fromChainId: string;
844
+ toChainId: string;
845
+ state: GoFastTransferState;
846
+ txs: {
847
+ orderSubmittedTx?: {
848
+ chainId?: string | undefined;
849
+ explorerLink: string;
850
+ txHash?: string | undefined;
851
+ onChainAt?: string | undefined;
852
+ } | undefined;
853
+ orderFilledTx?: {
854
+ chainId?: string | undefined;
855
+ explorerLink: string;
856
+ txHash?: string | undefined;
857
+ onChainAt?: string | undefined;
858
+ } | undefined;
859
+ orderRefundedTx?: {
860
+ chainId?: string | undefined;
861
+ explorerLink: string;
862
+ txHash?: string | undefined;
863
+ onChainAt?: string | undefined;
864
+ } | undefined;
865
+ orderTimeoutTx?: {
866
+ chainId?: string | undefined;
867
+ explorerLink: string;
868
+ txHash?: string | undefined;
869
+ onChainAt?: string | undefined;
870
+ } | undefined;
871
+ };
872
+ errorMessage?: string | undefined;
873
+ } | undefined;
874
+ eurekaTransfer?: {
875
+ fromChainId: string;
876
+ toChainId: string;
877
+ state: TransferState;
878
+ packetTxs: {
879
+ acknowledgeTx?: {
880
+ chainId?: string | undefined;
881
+ explorerLink: string;
882
+ txHash?: string | undefined;
883
+ onChainAt?: string | undefined;
884
+ } | undefined;
885
+ error?: {
886
+ details?: {
887
+ code?: number | undefined;
888
+ message?: string | undefined;
889
+ } | undefined;
890
+ message?: string | undefined;
891
+ type?: PacketErrorType | undefined;
892
+ } | undefined;
893
+ receiveTx?: {
894
+ chainId?: string | undefined;
895
+ explorerLink: string;
896
+ txHash?: string | undefined;
897
+ onChainAt?: string | undefined;
898
+ } | undefined;
899
+ sendTx?: {
900
+ chainId?: string | undefined;
901
+ explorerLink: string;
902
+ txHash?: string | undefined;
903
+ onChainAt?: string | undefined;
904
+ } | undefined;
905
+ timeoutTx?: {
906
+ chainId?: string | undefined;
907
+ explorerLink: string;
908
+ txHash?: string | undefined;
909
+ onChainAt?: string | undefined;
910
+ } | undefined;
911
+ };
912
+ } | undefined;
913
+ layerZeroTransfer?: {
914
+ fromChainId: string;
915
+ toChainId: string;
916
+ state: LayerZeroTransferState;
917
+ txs: {
918
+ sendTx?: {
919
+ chainId?: string | undefined;
920
+ explorerLink: string;
921
+ txHash?: string | undefined;
922
+ onChainAt?: string | undefined;
923
+ } | undefined;
924
+ receiveTx?: {
925
+ chainId?: string | undefined;
926
+ explorerLink: string;
927
+ txHash?: string | undefined;
928
+ onChainAt?: string | undefined;
929
+ } | undefined;
930
+ composeTx?: {
931
+ chainId?: string | undefined;
932
+ explorerLink: string;
933
+ txHash?: string | undefined;
934
+ onChainAt?: string | undefined;
935
+ } | undefined;
936
+ errorTx?: {
937
+ chainId?: string | undefined;
938
+ explorerLink: string;
939
+ txHash?: string | undefined;
940
+ onChainAt?: string | undefined;
941
+ } | undefined;
942
+ };
943
+ } | undefined;
944
+ }[] | undefined;
945
+ nextBlockingTransfer?: {
946
+ transferSequenceIndex?: number | undefined;
947
+ } | undefined;
948
+ transferAssetRelease?: {
949
+ chainId?: string | undefined;
950
+ denom?: string | undefined;
951
+ amount?: string | undefined;
952
+ released?: boolean | undefined;
953
+ } | undefined;
954
+ error?: {
955
+ details?: {
956
+ code?: number | undefined;
957
+ message?: string | undefined;
958
+ } | undefined;
959
+ message?: string | undefined;
960
+ type?: StatusErrorType | undefined;
961
+ } | undefined;
962
+ }[] | undefined;
963
+ state: TransactionState;
964
+ nextBlockingTransfer?: {
965
+ transferSequenceIndex?: number | undefined;
966
+ } | undefined;
967
+ transferAssetRelease?: {
968
+ chainId?: string | undefined;
969
+ denom?: string | undefined;
970
+ amount?: string | undefined;
971
+ released?: boolean | undefined;
972
+ } | undefined;
973
+ error?: {
974
+ details?: {
975
+ code?: number | undefined;
976
+ message?: string | undefined;
977
+ } | undefined;
978
+ message?: string | undefined;
979
+ type?: StatusErrorType | undefined;
980
+ } | undefined;
981
+ transferSequence: {
982
+ ibcTransfer?: {
983
+ toChainId: string;
984
+ packetTxs: {
985
+ acknowledgeTx?: {
986
+ chainId?: string | undefined;
987
+ explorerLink: string;
988
+ txHash?: string | undefined;
989
+ onChainAt?: string | undefined;
990
+ } | undefined;
991
+ error?: {
992
+ details?: {
993
+ code?: number | undefined;
994
+ message?: string | undefined;
995
+ } | undefined;
996
+ message?: string | undefined;
997
+ type?: PacketErrorType | undefined;
998
+ } | undefined;
999
+ receiveTx?: {
1000
+ chainId?: string | undefined;
1001
+ explorerLink: string;
1002
+ txHash?: string | undefined;
1003
+ onChainAt?: string | undefined;
1004
+ } | undefined;
1005
+ sendTx?: {
1006
+ chainId?: string | undefined;
1007
+ explorerLink: string;
1008
+ txHash?: string | undefined;
1009
+ onChainAt?: string | undefined;
1010
+ } | undefined;
1011
+ timeoutTx?: {
1012
+ chainId?: string | undefined;
1013
+ explorerLink: string;
1014
+ txHash?: string | undefined;
1015
+ onChainAt?: string | undefined;
1016
+ } | undefined;
1017
+ };
1018
+ fromChainId: string;
1019
+ state: TransferState;
1020
+ } | undefined;
1021
+ axelarTransfer?: {
1022
+ axelarScanLink?: string | undefined;
1023
+ toChainId: string;
1024
+ fromChainId: string;
1025
+ state: AxelarTransferState;
1026
+ txs: {
1027
+ contractCallWithTokenTxs?: {
1028
+ approveTx?: {
1029
+ chainId?: string | undefined;
1030
+ explorerLink: string;
1031
+ txHash?: string | undefined;
1032
+ onChainAt?: string | undefined;
1033
+ } | undefined;
1034
+ confirmTx?: {
1035
+ chainId?: string | undefined;
1036
+ explorerLink: string;
1037
+ txHash?: string | undefined;
1038
+ onChainAt?: string | undefined;
1039
+ } | undefined;
1040
+ error?: {
1041
+ message?: string | undefined;
1042
+ type?: ContractCallWithTokenErrorType | undefined;
1043
+ } | undefined;
1044
+ executeTx?: {
1045
+ chainId?: string | undefined;
1046
+ explorerLink: string;
1047
+ txHash?: string | undefined;
1048
+ onChainAt?: string | undefined;
1049
+ } | undefined;
1050
+ gasPaidTx?: {
1051
+ chainId?: string | undefined;
1052
+ explorerLink: string;
1053
+ txHash?: string | undefined;
1054
+ onChainAt?: string | undefined;
1055
+ } | undefined;
1056
+ sendTx?: {
1057
+ chainId?: string | undefined;
1058
+ explorerLink: string;
1059
+ txHash?: string | undefined;
1060
+ onChainAt?: string | undefined;
1061
+ } | undefined;
1062
+ } | undefined;
1063
+ } | {
1064
+ confirmTx?: {
1065
+ chainId?: string | undefined;
1066
+ explorerLink: string;
1067
+ txHash?: string | undefined;
1068
+ onChainAt?: string | undefined;
1069
+ } | undefined;
1070
+ error?: {
1071
+ message?: string | undefined;
1072
+ type?: SendTokenErrorType | undefined;
1073
+ } | undefined;
1074
+ executeTx?: {
1075
+ chainId?: string | undefined;
1076
+ explorerLink: string;
1077
+ txHash?: string | undefined;
1078
+ onChainAt?: string | undefined;
1079
+ } | undefined;
1080
+ sendTx?: {
1081
+ chainId?: string | undefined;
1082
+ explorerLink: string;
1083
+ txHash?: string | undefined;
1084
+ onChainAt?: string | undefined;
1085
+ } | undefined;
1086
+ };
1087
+ type?: AxelarTransferType | undefined;
1088
+ } | undefined;
1089
+ cctpTransfer?: {
1090
+ toChainId?: string | undefined;
1091
+ fromChainId?: string | undefined;
1092
+ state?: CCTPTransferState | undefined;
1093
+ txs?: {
1094
+ sendTx?: {
1095
+ chainId?: string | undefined;
1096
+ explorerLink: string;
1097
+ txHash?: string | undefined;
1098
+ onChainAt?: string | undefined;
1099
+ } | undefined;
1100
+ receiveTx?: {
1101
+ chainId?: string | undefined;
1102
+ explorerLink: string;
1103
+ txHash?: string | undefined;
1104
+ onChainAt?: string | undefined;
1105
+ } | undefined;
1106
+ } | undefined;
1107
+ } | undefined;
1108
+ hyperlaneTransfer?: {
1109
+ fromChainId: string;
1110
+ toChainId: string;
1111
+ state: HyperlaneTransferState;
1112
+ txs: {
1113
+ sendTx?: {
1114
+ chainId?: string | undefined;
1115
+ explorerLink: string;
1116
+ txHash?: string | undefined;
1117
+ onChainAt?: string | undefined;
1118
+ } | undefined;
1119
+ receiveTx?: {
1120
+ chainId?: string | undefined;
1121
+ explorerLink: string;
1122
+ txHash?: string | undefined;
1123
+ onChainAt?: string | undefined;
1124
+ } | undefined;
1125
+ };
1126
+ } | undefined;
1127
+ opInitTransfer?: {
1128
+ toChainId: string;
1129
+ fromChainId: string;
1130
+ state: OPInitTransferState;
1131
+ txs: {
1132
+ sendTx?: {
1133
+ chainId?: string | undefined;
1134
+ explorerLink: string;
1135
+ txHash?: string | undefined;
1136
+ onChainAt?: string | undefined;
1137
+ } | undefined;
1138
+ receiveTx?: {
1139
+ chainId?: string | undefined;
1140
+ explorerLink: string;
1141
+ txHash?: string | undefined;
1142
+ onChainAt?: string | undefined;
1143
+ } | undefined;
1144
+ };
1145
+ } | undefined;
1146
+ stargateTransfer?: {
1147
+ fromChainId?: string | undefined;
1148
+ toChainId?: string | undefined;
1149
+ state?: StargateTransferState | undefined;
1150
+ txs?: {
1151
+ sendTx?: {
1152
+ chainId?: string | undefined;
1153
+ explorerLink: string;
1154
+ txHash?: string | undefined;
1155
+ onChainAt?: string | undefined;
1156
+ } | undefined;
1157
+ receiveTx?: {
1158
+ chainId?: string | undefined;
1159
+ explorerLink: string;
1160
+ txHash?: string | undefined;
1161
+ onChainAt?: string | undefined;
1162
+ } | undefined;
1163
+ errorTx?: {
1164
+ chainId?: string | undefined;
1165
+ explorerLink: string;
1166
+ txHash?: string | undefined;
1167
+ onChainAt?: string | undefined;
1168
+ } | undefined;
1169
+ } | undefined;
1170
+ } | undefined;
1171
+ goFastTransfer?: {
1172
+ fromChainId: string;
1173
+ toChainId: string;
1174
+ state: GoFastTransferState;
1175
+ txs: {
1176
+ orderSubmittedTx?: {
1177
+ chainId?: string | undefined;
1178
+ explorerLink: string;
1179
+ txHash?: string | undefined;
1180
+ onChainAt?: string | undefined;
1181
+ } | undefined;
1182
+ orderFilledTx?: {
1183
+ chainId?: string | undefined;
1184
+ explorerLink: string;
1185
+ txHash?: string | undefined;
1186
+ onChainAt?: string | undefined;
1187
+ } | undefined;
1188
+ orderRefundedTx?: {
1189
+ chainId?: string | undefined;
1190
+ explorerLink: string;
1191
+ txHash?: string | undefined;
1192
+ onChainAt?: string | undefined;
1193
+ } | undefined;
1194
+ orderTimeoutTx?: {
1195
+ chainId?: string | undefined;
1196
+ explorerLink: string;
1197
+ txHash?: string | undefined;
1198
+ onChainAt?: string | undefined;
1199
+ } | undefined;
1200
+ };
1201
+ errorMessage?: string | undefined;
1202
+ } | undefined;
1203
+ eurekaTransfer?: {
1204
+ fromChainId: string;
1205
+ toChainId: string;
1206
+ state: TransferState;
1207
+ packetTxs: {
1208
+ acknowledgeTx?: {
1209
+ chainId?: string | undefined;
1210
+ explorerLink: string;
1211
+ txHash?: string | undefined;
1212
+ onChainAt?: string | undefined;
1213
+ } | undefined;
1214
+ error?: {
1215
+ details?: {
1216
+ code?: number | undefined;
1217
+ message?: string | undefined;
1218
+ } | undefined;
1219
+ message?: string | undefined;
1220
+ type?: PacketErrorType | undefined;
1221
+ } | undefined;
1222
+ receiveTx?: {
1223
+ chainId?: string | undefined;
1224
+ explorerLink: string;
1225
+ txHash?: string | undefined;
1226
+ onChainAt?: string | undefined;
1227
+ } | undefined;
1228
+ sendTx?: {
1229
+ chainId?: string | undefined;
1230
+ explorerLink: string;
1231
+ txHash?: string | undefined;
1232
+ onChainAt?: string | undefined;
1233
+ } | undefined;
1234
+ timeoutTx?: {
1235
+ chainId?: string | undefined;
1236
+ explorerLink: string;
1237
+ txHash?: string | undefined;
1238
+ onChainAt?: string | undefined;
1239
+ } | undefined;
1240
+ };
1241
+ } | undefined;
1242
+ layerZeroTransfer?: {
1243
+ fromChainId: string;
1244
+ toChainId: string;
1245
+ state: LayerZeroTransferState;
1246
+ txs: {
1247
+ sendTx?: {
1248
+ chainId?: string | undefined;
1249
+ explorerLink: string;
1250
+ txHash?: string | undefined;
1251
+ onChainAt?: string | undefined;
1252
+ } | undefined;
1253
+ receiveTx?: {
1254
+ chainId?: string | undefined;
1255
+ explorerLink: string;
1256
+ txHash?: string | undefined;
1257
+ onChainAt?: string | undefined;
1258
+ } | undefined;
1259
+ composeTx?: {
1260
+ chainId?: string | undefined;
1261
+ explorerLink: string;
1262
+ txHash?: string | undefined;
1263
+ onChainAt?: string | undefined;
1264
+ } | undefined;
1265
+ errorTx?: {
1266
+ chainId?: string | undefined;
1267
+ explorerLink: string;
1268
+ txHash?: string | undefined;
1269
+ onChainAt?: string | undefined;
1270
+ } | undefined;
1271
+ };
1272
+ } | undefined;
1273
+ }[];
1274
+ status?: string | undefined;
1275
+ }>;
1276
+ cancel: () => void;
1277
+ };
640
1278
 
641
- export { type WaitForTransactionProps, waitForTransaction };
1279
+ export { type WaitForTransactionProps, waitForTransaction, waitForTransactionWithCancel };