@zkp2p/cash 0.1.4 → 0.1.5

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/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { I as IntentStatus, C as CashPayoutInfo, a as IntentEntity, b as CashBuyerProfile, c as CashDepositInput, d as CreateDepositParamsArg, e as CashOrder, f as CashFill, g as CashCapabilities, h as CashoutResult, i as CashEstimate, P as PrepareResult, j as CashPreparedStep, R as RelayExecutionResult, k as RelayQuote, l as RelayStatus, m as CashSourceCapabilities, T as TopUpResult, W as WithdrawResult } from './createCashClient-BbkfxILl.cjs';
2
- export { n as CASH_ATTRIBUTION_CODE, o as CashAsset, p as CashChain, q as CashClient, r as CashClientOptions, s as CashFillEta, t as CashLeg, u as CashNextAction, v as CashOrderState, w as CashPayout, x as CashPayoutPricing, y as CashPlatformCapability, z as CashPreparedStepKind, A as CashoutInput, B as CashoutOptions, D as CuratorPayeeDataInput, E as EstimateInput, M as MIN_CASHOUT_AMOUNT, O as OrdersOptions, F as RECOMMENDED_MIN_CASHOUT_AMOUNT, G as RelayOptions, H as RelayQuoteInput, J as RelaySourceInput, K as RelayTransaction, S as SignerOptions, L as WatchOptions, N as WithdrawOptions, Q as buildCapabilities, U as createCashClient } from './createCashClient-BbkfxILl.cjs';
1
+ import { I as IntentStatus, C as CashPayoutInfo, a as IntentEntity, b as CashBuyerProfile, c as CashDepositInput, d as CreateDepositParamsArg, e as CashOrder, f as CashFill, g as CashCapabilities, h as CashoutResult, i as CashEstimate, P as PrepareResult, j as CashPreparedStep, R as RelayExecutionResult, k as RelayQuote, l as RelayStatus, m as CashSourceCapabilities, T as TopUpResult, W as WithdrawResult } from './createCashClient-jUA_GNdh.cjs';
2
+ export { n as CASH_ATTRIBUTION_CODE, o as CashAsset, p as CashChain, q as CashClient, r as CashClientOptions, s as CashFillEta, t as CashLeg, u as CashNextAction, v as CashOrderState, w as CashPayout, x as CashPayoutPricing, y as CashPlatformCapability, z as CashPreparedStepKind, A as CashoutInput, B as CashoutOptions, D as CuratorPayeeDataInput, E as EstimateInput, M as MIN_CASHOUT_AMOUNT, O as OrdersOptions, F as RECOMMENDED_MIN_CASHOUT_AMOUNT, G as RelayOptions, H as RelayQuoteInput, J as RelaySourceInput, K as RelayTransaction, S as SignerOptions, L as WatchOptions, N as WithdrawOptions, Q as buildCapabilities, U as createCashClient } from './createCashClient-jUA_GNdh.cjs';
3
3
  import { PaymentMethodCatalog, CurrencyType, OracleAdapterOverrides, OnchainCurrency, Zkp2pClient, PreparedTransaction } from '@zkp2p/sdk';
4
4
  export { CurrencyType, PreparedTransaction, RuntimeEnv } from '@zkp2p/sdk';
5
5
  import { Log, Abi } from 'viem';
@@ -27,10 +27,12 @@ interface CashSourceRecoveryBase {
27
27
  origin: Array<{
28
28
  hash: string;
29
29
  chainId: number;
30
+ isBatchTx?: boolean | undefined;
30
31
  }>;
31
32
  destination: Array<{
32
33
  hash: string;
33
34
  chainId: number;
35
+ isBatchTx?: boolean | undefined;
34
36
  }>;
35
37
  };
36
38
  }
@@ -342,51 +344,64 @@ declare const nonNegativeBigintString: z.ZodString;
342
344
  declare const relayTransactionJsonSchema: z.ZodObject<{
343
345
  hash: z.ZodString;
344
346
  chainId: z.ZodNumber;
347
+ isBatchTx: z.ZodOptional<z.ZodBoolean>;
345
348
  }, "strip", z.ZodTypeAny, {
346
349
  chainId: number;
347
350
  hash: string;
351
+ isBatchTx?: boolean | undefined;
348
352
  }, {
349
353
  chainId: number;
350
354
  hash: string;
355
+ isBatchTx?: boolean | undefined;
351
356
  }>;
352
357
  declare const relayTransactionsJsonSchema: z.ZodObject<{
353
358
  origin: z.ZodArray<z.ZodObject<{
354
359
  hash: z.ZodString;
355
360
  chainId: z.ZodNumber;
361
+ isBatchTx: z.ZodOptional<z.ZodBoolean>;
356
362
  }, "strip", z.ZodTypeAny, {
357
363
  chainId: number;
358
364
  hash: string;
365
+ isBatchTx?: boolean | undefined;
359
366
  }, {
360
367
  chainId: number;
361
368
  hash: string;
369
+ isBatchTx?: boolean | undefined;
362
370
  }>, "many">;
363
371
  destination: z.ZodArray<z.ZodObject<{
364
372
  hash: z.ZodString;
365
373
  chainId: z.ZodNumber;
374
+ isBatchTx: z.ZodOptional<z.ZodBoolean>;
366
375
  }, "strip", z.ZodTypeAny, {
367
376
  chainId: number;
368
377
  hash: string;
378
+ isBatchTx?: boolean | undefined;
369
379
  }, {
370
380
  chainId: number;
371
381
  hash: string;
382
+ isBatchTx?: boolean | undefined;
372
383
  }>, "many">;
373
384
  }, "strict", z.ZodTypeAny, {
374
385
  destination: {
375
386
  chainId: number;
376
387
  hash: string;
388
+ isBatchTx?: boolean | undefined;
377
389
  }[];
378
390
  origin: {
379
391
  chainId: number;
380
392
  hash: string;
393
+ isBatchTx?: boolean | undefined;
381
394
  }[];
382
395
  }, {
383
396
  destination: {
384
397
  chainId: number;
385
398
  hash: string;
399
+ isBatchTx?: boolean | undefined;
386
400
  }[];
387
401
  origin: {
388
402
  chainId: number;
389
403
  hash: string;
404
+ isBatchTx?: boolean | undefined;
390
405
  }[];
391
406
  }>;
392
407
  declare const cashAssetJsonSchema: z.ZodObject<{
@@ -1602,40 +1617,50 @@ declare const relayExecutionResultJsonSchema: z.ZodObject<{
1602
1617
  origin: z.ZodArray<z.ZodObject<{
1603
1618
  hash: z.ZodString;
1604
1619
  chainId: z.ZodNumber;
1620
+ isBatchTx: z.ZodOptional<z.ZodBoolean>;
1605
1621
  }, "strip", z.ZodTypeAny, {
1606
1622
  chainId: number;
1607
1623
  hash: string;
1624
+ isBatchTx?: boolean | undefined;
1608
1625
  }, {
1609
1626
  chainId: number;
1610
1627
  hash: string;
1628
+ isBatchTx?: boolean | undefined;
1611
1629
  }>, "many">;
1612
1630
  destination: z.ZodArray<z.ZodObject<{
1613
1631
  hash: z.ZodString;
1614
1632
  chainId: z.ZodNumber;
1633
+ isBatchTx: z.ZodOptional<z.ZodBoolean>;
1615
1634
  }, "strip", z.ZodTypeAny, {
1616
1635
  chainId: number;
1617
1636
  hash: string;
1637
+ isBatchTx?: boolean | undefined;
1618
1638
  }, {
1619
1639
  chainId: number;
1620
1640
  hash: string;
1641
+ isBatchTx?: boolean | undefined;
1621
1642
  }>, "many">;
1622
1643
  }, "strict", z.ZodTypeAny, {
1623
1644
  destination: {
1624
1645
  chainId: number;
1625
1646
  hash: string;
1647
+ isBatchTx?: boolean | undefined;
1626
1648
  }[];
1627
1649
  origin: {
1628
1650
  chainId: number;
1629
1651
  hash: string;
1652
+ isBatchTx?: boolean | undefined;
1630
1653
  }[];
1631
1654
  }, {
1632
1655
  destination: {
1633
1656
  chainId: number;
1634
1657
  hash: string;
1658
+ isBatchTx?: boolean | undefined;
1635
1659
  }[];
1636
1660
  origin: {
1637
1661
  chainId: number;
1638
1662
  hash: string;
1663
+ isBatchTx?: boolean | undefined;
1639
1664
  }[];
1640
1665
  }>>;
1641
1666
  quote: z.ZodUnknown;
@@ -1645,10 +1670,12 @@ declare const relayExecutionResultJsonSchema: z.ZodObject<{
1645
1670
  destination: {
1646
1671
  chainId: number;
1647
1672
  hash: string;
1673
+ isBatchTx?: boolean | undefined;
1648
1674
  }[];
1649
1675
  origin: {
1650
1676
  chainId: number;
1651
1677
  hash: string;
1678
+ isBatchTx?: boolean | undefined;
1652
1679
  }[];
1653
1680
  } | undefined;
1654
1681
  requestId?: string | undefined;
@@ -1659,10 +1686,12 @@ declare const relayExecutionResultJsonSchema: z.ZodObject<{
1659
1686
  destination: {
1660
1687
  chainId: number;
1661
1688
  hash: string;
1689
+ isBatchTx?: boolean | undefined;
1662
1690
  }[];
1663
1691
  origin: {
1664
1692
  chainId: number;
1665
1693
  hash: string;
1694
+ isBatchTx?: boolean | undefined;
1666
1695
  }[];
1667
1696
  } | undefined;
1668
1697
  requestId?: string | undefined;
@@ -1940,40 +1969,50 @@ declare const cashoutResultJsonSchema: z.ZodObject<{
1940
1969
  origin: z.ZodArray<z.ZodObject<{
1941
1970
  hash: z.ZodString;
1942
1971
  chainId: z.ZodNumber;
1972
+ isBatchTx: z.ZodOptional<z.ZodBoolean>;
1943
1973
  }, "strip", z.ZodTypeAny, {
1944
1974
  chainId: number;
1945
1975
  hash: string;
1976
+ isBatchTx?: boolean | undefined;
1946
1977
  }, {
1947
1978
  chainId: number;
1948
1979
  hash: string;
1980
+ isBatchTx?: boolean | undefined;
1949
1981
  }>, "many">;
1950
1982
  destination: z.ZodArray<z.ZodObject<{
1951
1983
  hash: z.ZodString;
1952
1984
  chainId: z.ZodNumber;
1985
+ isBatchTx: z.ZodOptional<z.ZodBoolean>;
1953
1986
  }, "strip", z.ZodTypeAny, {
1954
1987
  chainId: number;
1955
1988
  hash: string;
1989
+ isBatchTx?: boolean | undefined;
1956
1990
  }, {
1957
1991
  chainId: number;
1958
1992
  hash: string;
1993
+ isBatchTx?: boolean | undefined;
1959
1994
  }>, "many">;
1960
1995
  }, "strict", z.ZodTypeAny, {
1961
1996
  destination: {
1962
1997
  chainId: number;
1963
1998
  hash: string;
1999
+ isBatchTx?: boolean | undefined;
1964
2000
  }[];
1965
2001
  origin: {
1966
2002
  chainId: number;
1967
2003
  hash: string;
2004
+ isBatchTx?: boolean | undefined;
1968
2005
  }[];
1969
2006
  }, {
1970
2007
  destination: {
1971
2008
  chainId: number;
1972
2009
  hash: string;
2010
+ isBatchTx?: boolean | undefined;
1973
2011
  }[];
1974
2012
  origin: {
1975
2013
  chainId: number;
1976
2014
  hash: string;
2015
+ isBatchTx?: boolean | undefined;
1977
2016
  }[];
1978
2017
  }>>;
1979
2018
  }, "strip", z.ZodTypeAny, {
@@ -1983,10 +2022,12 @@ declare const cashoutResultJsonSchema: z.ZodObject<{
1983
2022
  destination: {
1984
2023
  chainId: number;
1985
2024
  hash: string;
2025
+ isBatchTx?: boolean | undefined;
1986
2026
  }[];
1987
2027
  origin: {
1988
2028
  chainId: number;
1989
2029
  hash: string;
2030
+ isBatchTx?: boolean | undefined;
1990
2031
  }[];
1991
2032
  } | undefined;
1992
2033
  requestId?: string | undefined;
@@ -1997,10 +2038,12 @@ declare const cashoutResultJsonSchema: z.ZodObject<{
1997
2038
  destination: {
1998
2039
  chainId: number;
1999
2040
  hash: string;
2041
+ isBatchTx?: boolean | undefined;
2000
2042
  }[];
2001
2043
  origin: {
2002
2044
  chainId: number;
2003
2045
  hash: string;
2046
+ isBatchTx?: boolean | undefined;
2004
2047
  }[];
2005
2048
  } | undefined;
2006
2049
  requestId?: string | undefined;
@@ -2072,10 +2115,12 @@ declare const cashoutResultJsonSchema: z.ZodObject<{
2072
2115
  destination: {
2073
2116
  chainId: number;
2074
2117
  hash: string;
2118
+ isBatchTx?: boolean | undefined;
2075
2119
  }[];
2076
2120
  origin: {
2077
2121
  chainId: number;
2078
2122
  hash: string;
2123
+ isBatchTx?: boolean | undefined;
2079
2124
  }[];
2080
2125
  } | undefined;
2081
2126
  requestId?: string | undefined;
@@ -2147,10 +2192,12 @@ declare const cashoutResultJsonSchema: z.ZodObject<{
2147
2192
  destination: {
2148
2193
  chainId: number;
2149
2194
  hash: string;
2195
+ isBatchTx?: boolean | undefined;
2150
2196
  }[];
2151
2197
  origin: {
2152
2198
  chainId: number;
2153
2199
  hash: string;
2200
+ isBatchTx?: boolean | undefined;
2154
2201
  }[];
2155
2202
  } | undefined;
2156
2203
  requestId?: string | undefined;
@@ -2733,40 +2780,50 @@ declare const cashErrorRecoveryJsonSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
2733
2780
  origin: z.ZodArray<z.ZodObject<{
2734
2781
  hash: z.ZodString;
2735
2782
  chainId: z.ZodNumber;
2783
+ isBatchTx: z.ZodOptional<z.ZodBoolean>;
2736
2784
  }, "strip", z.ZodTypeAny, {
2737
2785
  chainId: number;
2738
2786
  hash: string;
2787
+ isBatchTx?: boolean | undefined;
2739
2788
  }, {
2740
2789
  chainId: number;
2741
2790
  hash: string;
2791
+ isBatchTx?: boolean | undefined;
2742
2792
  }>, "many">;
2743
2793
  destination: z.ZodArray<z.ZodObject<{
2744
2794
  hash: z.ZodString;
2745
2795
  chainId: z.ZodNumber;
2796
+ isBatchTx: z.ZodOptional<z.ZodBoolean>;
2746
2797
  }, "strip", z.ZodTypeAny, {
2747
2798
  chainId: number;
2748
2799
  hash: string;
2800
+ isBatchTx?: boolean | undefined;
2749
2801
  }, {
2750
2802
  chainId: number;
2751
2803
  hash: string;
2804
+ isBatchTx?: boolean | undefined;
2752
2805
  }>, "many">;
2753
2806
  }, "strict", z.ZodTypeAny, {
2754
2807
  destination: {
2755
2808
  chainId: number;
2756
2809
  hash: string;
2810
+ isBatchTx?: boolean | undefined;
2757
2811
  }[];
2758
2812
  origin: {
2759
2813
  chainId: number;
2760
2814
  hash: string;
2815
+ isBatchTx?: boolean | undefined;
2761
2816
  }[];
2762
2817
  }, {
2763
2818
  destination: {
2764
2819
  chainId: number;
2765
2820
  hash: string;
2821
+ isBatchTx?: boolean | undefined;
2766
2822
  }[];
2767
2823
  origin: {
2768
2824
  chainId: number;
2769
2825
  hash: string;
2826
+ isBatchTx?: boolean | undefined;
2770
2827
  }[];
2771
2828
  }>>;
2772
2829
  }, "strict", z.ZodTypeAny, {
@@ -2777,10 +2834,12 @@ declare const cashErrorRecoveryJsonSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
2777
2834
  destination: {
2778
2835
  chainId: number;
2779
2836
  hash: string;
2837
+ isBatchTx?: boolean | undefined;
2780
2838
  }[];
2781
2839
  origin: {
2782
2840
  chainId: number;
2783
2841
  hash: string;
2842
+ isBatchTx?: boolean | undefined;
2784
2843
  }[];
2785
2844
  } | undefined;
2786
2845
  requestId?: string | undefined;
@@ -2792,10 +2851,12 @@ declare const cashErrorRecoveryJsonSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
2792
2851
  destination: {
2793
2852
  chainId: number;
2794
2853
  hash: string;
2854
+ isBatchTx?: boolean | undefined;
2795
2855
  }[];
2796
2856
  origin: {
2797
2857
  chainId: number;
2798
2858
  hash: string;
2859
+ isBatchTx?: boolean | undefined;
2799
2860
  }[];
2800
2861
  } | undefined;
2801
2862
  requestId?: string | undefined;
@@ -2809,40 +2870,50 @@ declare const cashErrorRecoveryJsonSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
2809
2870
  origin: z.ZodArray<z.ZodObject<{
2810
2871
  hash: z.ZodString;
2811
2872
  chainId: z.ZodNumber;
2873
+ isBatchTx: z.ZodOptional<z.ZodBoolean>;
2812
2874
  }, "strip", z.ZodTypeAny, {
2813
2875
  chainId: number;
2814
2876
  hash: string;
2877
+ isBatchTx?: boolean | undefined;
2815
2878
  }, {
2816
2879
  chainId: number;
2817
2880
  hash: string;
2881
+ isBatchTx?: boolean | undefined;
2818
2882
  }>, "many">;
2819
2883
  destination: z.ZodArray<z.ZodObject<{
2820
2884
  hash: z.ZodString;
2821
2885
  chainId: z.ZodNumber;
2886
+ isBatchTx: z.ZodOptional<z.ZodBoolean>;
2822
2887
  }, "strip", z.ZodTypeAny, {
2823
2888
  chainId: number;
2824
2889
  hash: string;
2890
+ isBatchTx?: boolean | undefined;
2825
2891
  }, {
2826
2892
  chainId: number;
2827
2893
  hash: string;
2894
+ isBatchTx?: boolean | undefined;
2828
2895
  }>, "many">;
2829
2896
  }, "strict", z.ZodTypeAny, {
2830
2897
  destination: {
2831
2898
  chainId: number;
2832
2899
  hash: string;
2900
+ isBatchTx?: boolean | undefined;
2833
2901
  }[];
2834
2902
  origin: {
2835
2903
  chainId: number;
2836
2904
  hash: string;
2905
+ isBatchTx?: boolean | undefined;
2837
2906
  }[];
2838
2907
  }, {
2839
2908
  destination: {
2840
2909
  chainId: number;
2841
2910
  hash: string;
2911
+ isBatchTx?: boolean | undefined;
2842
2912
  }[];
2843
2913
  origin: {
2844
2914
  chainId: number;
2845
2915
  hash: string;
2916
+ isBatchTx?: boolean | undefined;
2846
2917
  }[];
2847
2918
  }>>;
2848
2919
  }, "strict", z.ZodTypeAny, {
@@ -2854,10 +2925,12 @@ declare const cashErrorRecoveryJsonSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
2854
2925
  destination: {
2855
2926
  chainId: number;
2856
2927
  hash: string;
2928
+ isBatchTx?: boolean | undefined;
2857
2929
  }[];
2858
2930
  origin: {
2859
2931
  chainId: number;
2860
2932
  hash: string;
2933
+ isBatchTx?: boolean | undefined;
2861
2934
  }[];
2862
2935
  } | undefined;
2863
2936
  requestId?: string | undefined;
@@ -2870,10 +2943,12 @@ declare const cashErrorRecoveryJsonSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
2870
2943
  destination: {
2871
2944
  chainId: number;
2872
2945
  hash: string;
2946
+ isBatchTx?: boolean | undefined;
2873
2947
  }[];
2874
2948
  origin: {
2875
2949
  chainId: number;
2876
2950
  hash: string;
2951
+ isBatchTx?: boolean | undefined;
2877
2952
  }[];
2878
2953
  } | undefined;
2879
2954
  requestId?: string | undefined;
@@ -2887,40 +2962,50 @@ declare const cashErrorRecoveryJsonSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
2887
2962
  origin: z.ZodArray<z.ZodObject<{
2888
2963
  hash: z.ZodString;
2889
2964
  chainId: z.ZodNumber;
2965
+ isBatchTx: z.ZodOptional<z.ZodBoolean>;
2890
2966
  }, "strip", z.ZodTypeAny, {
2891
2967
  chainId: number;
2892
2968
  hash: string;
2969
+ isBatchTx?: boolean | undefined;
2893
2970
  }, {
2894
2971
  chainId: number;
2895
2972
  hash: string;
2973
+ isBatchTx?: boolean | undefined;
2896
2974
  }>, "many">;
2897
2975
  destination: z.ZodArray<z.ZodObject<{
2898
2976
  hash: z.ZodString;
2899
2977
  chainId: z.ZodNumber;
2978
+ isBatchTx: z.ZodOptional<z.ZodBoolean>;
2900
2979
  }, "strip", z.ZodTypeAny, {
2901
2980
  chainId: number;
2902
2981
  hash: string;
2982
+ isBatchTx?: boolean | undefined;
2903
2983
  }, {
2904
2984
  chainId: number;
2905
2985
  hash: string;
2986
+ isBatchTx?: boolean | undefined;
2906
2987
  }>, "many">;
2907
2988
  }, "strict", z.ZodTypeAny, {
2908
2989
  destination: {
2909
2990
  chainId: number;
2910
2991
  hash: string;
2992
+ isBatchTx?: boolean | undefined;
2911
2993
  }[];
2912
2994
  origin: {
2913
2995
  chainId: number;
2914
2996
  hash: string;
2997
+ isBatchTx?: boolean | undefined;
2915
2998
  }[];
2916
2999
  }, {
2917
3000
  destination: {
2918
3001
  chainId: number;
2919
3002
  hash: string;
3003
+ isBatchTx?: boolean | undefined;
2920
3004
  }[];
2921
3005
  origin: {
2922
3006
  chainId: number;
2923
3007
  hash: string;
3008
+ isBatchTx?: boolean | undefined;
2924
3009
  }[];
2925
3010
  }>>;
2926
3011
  }, "strict", z.ZodTypeAny, {
@@ -2932,10 +3017,12 @@ declare const cashErrorRecoveryJsonSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
2932
3017
  destination: {
2933
3018
  chainId: number;
2934
3019
  hash: string;
3020
+ isBatchTx?: boolean | undefined;
2935
3021
  }[];
2936
3022
  origin: {
2937
3023
  chainId: number;
2938
3024
  hash: string;
3025
+ isBatchTx?: boolean | undefined;
2939
3026
  }[];
2940
3027
  } | undefined;
2941
3028
  requestId?: string | undefined;
@@ -2948,10 +3035,12 @@ declare const cashErrorRecoveryJsonSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
2948
3035
  destination: {
2949
3036
  chainId: number;
2950
3037
  hash: string;
3038
+ isBatchTx?: boolean | undefined;
2951
3039
  }[];
2952
3040
  origin: {
2953
3041
  chainId: number;
2954
3042
  hash: string;
3043
+ isBatchTx?: boolean | undefined;
2955
3044
  }[];
2956
3045
  } | undefined;
2957
3046
  requestId?: string | undefined;
@@ -2963,40 +3052,50 @@ declare const cashErrorRecoveryJsonSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
2963
3052
  origin: z.ZodArray<z.ZodObject<{
2964
3053
  hash: z.ZodString;
2965
3054
  chainId: z.ZodNumber;
3055
+ isBatchTx: z.ZodOptional<z.ZodBoolean>;
2966
3056
  }, "strip", z.ZodTypeAny, {
2967
3057
  chainId: number;
2968
3058
  hash: string;
3059
+ isBatchTx?: boolean | undefined;
2969
3060
  }, {
2970
3061
  chainId: number;
2971
3062
  hash: string;
3063
+ isBatchTx?: boolean | undefined;
2972
3064
  }>, "many">;
2973
3065
  destination: z.ZodArray<z.ZodObject<{
2974
3066
  hash: z.ZodString;
2975
3067
  chainId: z.ZodNumber;
3068
+ isBatchTx: z.ZodOptional<z.ZodBoolean>;
2976
3069
  }, "strip", z.ZodTypeAny, {
2977
3070
  chainId: number;
2978
3071
  hash: string;
3072
+ isBatchTx?: boolean | undefined;
2979
3073
  }, {
2980
3074
  chainId: number;
2981
3075
  hash: string;
3076
+ isBatchTx?: boolean | undefined;
2982
3077
  }>, "many">;
2983
3078
  }, "strict", z.ZodTypeAny, {
2984
3079
  destination: {
2985
3080
  chainId: number;
2986
3081
  hash: string;
3082
+ isBatchTx?: boolean | undefined;
2987
3083
  }[];
2988
3084
  origin: {
2989
3085
  chainId: number;
2990
3086
  hash: string;
3087
+ isBatchTx?: boolean | undefined;
2991
3088
  }[];
2992
3089
  }, {
2993
3090
  destination: {
2994
3091
  chainId: number;
2995
3092
  hash: string;
3093
+ isBatchTx?: boolean | undefined;
2996
3094
  }[];
2997
3095
  origin: {
2998
3096
  chainId: number;
2999
3097
  hash: string;
3098
+ isBatchTx?: boolean | undefined;
3000
3099
  }[];
3001
3100
  }>>;
3002
3101
  }, "strict", z.ZodTypeAny, {
@@ -3006,10 +3105,12 @@ declare const cashErrorRecoveryJsonSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
3006
3105
  destination: {
3007
3106
  chainId: number;
3008
3107
  hash: string;
3108
+ isBatchTx?: boolean | undefined;
3009
3109
  }[];
3010
3110
  origin: {
3011
3111
  chainId: number;
3012
3112
  hash: string;
3113
+ isBatchTx?: boolean | undefined;
3013
3114
  }[];
3014
3115
  } | undefined;
3015
3116
  requestId?: string | undefined;
@@ -3020,10 +3121,12 @@ declare const cashErrorRecoveryJsonSchema: z.ZodDiscriminatedUnion<"kind", [z.Zo
3020
3121
  destination: {
3021
3122
  chainId: number;
3022
3123
  hash: string;
3124
+ isBatchTx?: boolean | undefined;
3023
3125
  }[];
3024
3126
  origin: {
3025
3127
  chainId: number;
3026
3128
  hash: string;
3129
+ isBatchTx?: boolean | undefined;
3027
3130
  }[];
3028
3131
  } | undefined;
3029
3132
  requestId?: string | undefined;
@@ -3063,40 +3166,50 @@ declare const cashErrorJsonSchema: z.ZodObject<{
3063
3166
  origin: z.ZodArray<z.ZodObject<{
3064
3167
  hash: z.ZodString;
3065
3168
  chainId: z.ZodNumber;
3169
+ isBatchTx: z.ZodOptional<z.ZodBoolean>;
3066
3170
  }, "strip", z.ZodTypeAny, {
3067
3171
  chainId: number;
3068
3172
  hash: string;
3173
+ isBatchTx?: boolean | undefined;
3069
3174
  }, {
3070
3175
  chainId: number;
3071
3176
  hash: string;
3177
+ isBatchTx?: boolean | undefined;
3072
3178
  }>, "many">;
3073
3179
  destination: z.ZodArray<z.ZodObject<{
3074
3180
  hash: z.ZodString;
3075
3181
  chainId: z.ZodNumber;
3182
+ isBatchTx: z.ZodOptional<z.ZodBoolean>;
3076
3183
  }, "strip", z.ZodTypeAny, {
3077
3184
  chainId: number;
3078
3185
  hash: string;
3186
+ isBatchTx?: boolean | undefined;
3079
3187
  }, {
3080
3188
  chainId: number;
3081
3189
  hash: string;
3190
+ isBatchTx?: boolean | undefined;
3082
3191
  }>, "many">;
3083
3192
  }, "strict", z.ZodTypeAny, {
3084
3193
  destination: {
3085
3194
  chainId: number;
3086
3195
  hash: string;
3196
+ isBatchTx?: boolean | undefined;
3087
3197
  }[];
3088
3198
  origin: {
3089
3199
  chainId: number;
3090
3200
  hash: string;
3201
+ isBatchTx?: boolean | undefined;
3091
3202
  }[];
3092
3203
  }, {
3093
3204
  destination: {
3094
3205
  chainId: number;
3095
3206
  hash: string;
3207
+ isBatchTx?: boolean | undefined;
3096
3208
  }[];
3097
3209
  origin: {
3098
3210
  chainId: number;
3099
3211
  hash: string;
3212
+ isBatchTx?: boolean | undefined;
3100
3213
  }[];
3101
3214
  }>>;
3102
3215
  }, "strict", z.ZodTypeAny, {
@@ -3107,10 +3220,12 @@ declare const cashErrorJsonSchema: z.ZodObject<{
3107
3220
  destination: {
3108
3221
  chainId: number;
3109
3222
  hash: string;
3223
+ isBatchTx?: boolean | undefined;
3110
3224
  }[];
3111
3225
  origin: {
3112
3226
  chainId: number;
3113
3227
  hash: string;
3228
+ isBatchTx?: boolean | undefined;
3114
3229
  }[];
3115
3230
  } | undefined;
3116
3231
  requestId?: string | undefined;
@@ -3122,10 +3237,12 @@ declare const cashErrorJsonSchema: z.ZodObject<{
3122
3237
  destination: {
3123
3238
  chainId: number;
3124
3239
  hash: string;
3240
+ isBatchTx?: boolean | undefined;
3125
3241
  }[];
3126
3242
  origin: {
3127
3243
  chainId: number;
3128
3244
  hash: string;
3245
+ isBatchTx?: boolean | undefined;
3129
3246
  }[];
3130
3247
  } | undefined;
3131
3248
  requestId?: string | undefined;
@@ -3139,40 +3256,50 @@ declare const cashErrorJsonSchema: z.ZodObject<{
3139
3256
  origin: z.ZodArray<z.ZodObject<{
3140
3257
  hash: z.ZodString;
3141
3258
  chainId: z.ZodNumber;
3259
+ isBatchTx: z.ZodOptional<z.ZodBoolean>;
3142
3260
  }, "strip", z.ZodTypeAny, {
3143
3261
  chainId: number;
3144
3262
  hash: string;
3263
+ isBatchTx?: boolean | undefined;
3145
3264
  }, {
3146
3265
  chainId: number;
3147
3266
  hash: string;
3267
+ isBatchTx?: boolean | undefined;
3148
3268
  }>, "many">;
3149
3269
  destination: z.ZodArray<z.ZodObject<{
3150
3270
  hash: z.ZodString;
3151
3271
  chainId: z.ZodNumber;
3272
+ isBatchTx: z.ZodOptional<z.ZodBoolean>;
3152
3273
  }, "strip", z.ZodTypeAny, {
3153
3274
  chainId: number;
3154
3275
  hash: string;
3276
+ isBatchTx?: boolean | undefined;
3155
3277
  }, {
3156
3278
  chainId: number;
3157
3279
  hash: string;
3280
+ isBatchTx?: boolean | undefined;
3158
3281
  }>, "many">;
3159
3282
  }, "strict", z.ZodTypeAny, {
3160
3283
  destination: {
3161
3284
  chainId: number;
3162
3285
  hash: string;
3286
+ isBatchTx?: boolean | undefined;
3163
3287
  }[];
3164
3288
  origin: {
3165
3289
  chainId: number;
3166
3290
  hash: string;
3291
+ isBatchTx?: boolean | undefined;
3167
3292
  }[];
3168
3293
  }, {
3169
3294
  destination: {
3170
3295
  chainId: number;
3171
3296
  hash: string;
3297
+ isBatchTx?: boolean | undefined;
3172
3298
  }[];
3173
3299
  origin: {
3174
3300
  chainId: number;
3175
3301
  hash: string;
3302
+ isBatchTx?: boolean | undefined;
3176
3303
  }[];
3177
3304
  }>>;
3178
3305
  }, "strict", z.ZodTypeAny, {
@@ -3184,10 +3311,12 @@ declare const cashErrorJsonSchema: z.ZodObject<{
3184
3311
  destination: {
3185
3312
  chainId: number;
3186
3313
  hash: string;
3314
+ isBatchTx?: boolean | undefined;
3187
3315
  }[];
3188
3316
  origin: {
3189
3317
  chainId: number;
3190
3318
  hash: string;
3319
+ isBatchTx?: boolean | undefined;
3191
3320
  }[];
3192
3321
  } | undefined;
3193
3322
  requestId?: string | undefined;
@@ -3200,10 +3329,12 @@ declare const cashErrorJsonSchema: z.ZodObject<{
3200
3329
  destination: {
3201
3330
  chainId: number;
3202
3331
  hash: string;
3332
+ isBatchTx?: boolean | undefined;
3203
3333
  }[];
3204
3334
  origin: {
3205
3335
  chainId: number;
3206
3336
  hash: string;
3337
+ isBatchTx?: boolean | undefined;
3207
3338
  }[];
3208
3339
  } | undefined;
3209
3340
  requestId?: string | undefined;
@@ -3217,40 +3348,50 @@ declare const cashErrorJsonSchema: z.ZodObject<{
3217
3348
  origin: z.ZodArray<z.ZodObject<{
3218
3349
  hash: z.ZodString;
3219
3350
  chainId: z.ZodNumber;
3351
+ isBatchTx: z.ZodOptional<z.ZodBoolean>;
3220
3352
  }, "strip", z.ZodTypeAny, {
3221
3353
  chainId: number;
3222
3354
  hash: string;
3355
+ isBatchTx?: boolean | undefined;
3223
3356
  }, {
3224
3357
  chainId: number;
3225
3358
  hash: string;
3359
+ isBatchTx?: boolean | undefined;
3226
3360
  }>, "many">;
3227
3361
  destination: z.ZodArray<z.ZodObject<{
3228
3362
  hash: z.ZodString;
3229
3363
  chainId: z.ZodNumber;
3364
+ isBatchTx: z.ZodOptional<z.ZodBoolean>;
3230
3365
  }, "strip", z.ZodTypeAny, {
3231
3366
  chainId: number;
3232
3367
  hash: string;
3368
+ isBatchTx?: boolean | undefined;
3233
3369
  }, {
3234
3370
  chainId: number;
3235
3371
  hash: string;
3372
+ isBatchTx?: boolean | undefined;
3236
3373
  }>, "many">;
3237
3374
  }, "strict", z.ZodTypeAny, {
3238
3375
  destination: {
3239
3376
  chainId: number;
3240
3377
  hash: string;
3378
+ isBatchTx?: boolean | undefined;
3241
3379
  }[];
3242
3380
  origin: {
3243
3381
  chainId: number;
3244
3382
  hash: string;
3383
+ isBatchTx?: boolean | undefined;
3245
3384
  }[];
3246
3385
  }, {
3247
3386
  destination: {
3248
3387
  chainId: number;
3249
3388
  hash: string;
3389
+ isBatchTx?: boolean | undefined;
3250
3390
  }[];
3251
3391
  origin: {
3252
3392
  chainId: number;
3253
3393
  hash: string;
3394
+ isBatchTx?: boolean | undefined;
3254
3395
  }[];
3255
3396
  }>>;
3256
3397
  }, "strict", z.ZodTypeAny, {
@@ -3262,10 +3403,12 @@ declare const cashErrorJsonSchema: z.ZodObject<{
3262
3403
  destination: {
3263
3404
  chainId: number;
3264
3405
  hash: string;
3406
+ isBatchTx?: boolean | undefined;
3265
3407
  }[];
3266
3408
  origin: {
3267
3409
  chainId: number;
3268
3410
  hash: string;
3411
+ isBatchTx?: boolean | undefined;
3269
3412
  }[];
3270
3413
  } | undefined;
3271
3414
  requestId?: string | undefined;
@@ -3278,10 +3421,12 @@ declare const cashErrorJsonSchema: z.ZodObject<{
3278
3421
  destination: {
3279
3422
  chainId: number;
3280
3423
  hash: string;
3424
+ isBatchTx?: boolean | undefined;
3281
3425
  }[];
3282
3426
  origin: {
3283
3427
  chainId: number;
3284
3428
  hash: string;
3429
+ isBatchTx?: boolean | undefined;
3285
3430
  }[];
3286
3431
  } | undefined;
3287
3432
  requestId?: string | undefined;
@@ -3293,40 +3438,50 @@ declare const cashErrorJsonSchema: z.ZodObject<{
3293
3438
  origin: z.ZodArray<z.ZodObject<{
3294
3439
  hash: z.ZodString;
3295
3440
  chainId: z.ZodNumber;
3441
+ isBatchTx: z.ZodOptional<z.ZodBoolean>;
3296
3442
  }, "strip", z.ZodTypeAny, {
3297
3443
  chainId: number;
3298
3444
  hash: string;
3445
+ isBatchTx?: boolean | undefined;
3299
3446
  }, {
3300
3447
  chainId: number;
3301
3448
  hash: string;
3449
+ isBatchTx?: boolean | undefined;
3302
3450
  }>, "many">;
3303
3451
  destination: z.ZodArray<z.ZodObject<{
3304
3452
  hash: z.ZodString;
3305
3453
  chainId: z.ZodNumber;
3454
+ isBatchTx: z.ZodOptional<z.ZodBoolean>;
3306
3455
  }, "strip", z.ZodTypeAny, {
3307
3456
  chainId: number;
3308
3457
  hash: string;
3458
+ isBatchTx?: boolean | undefined;
3309
3459
  }, {
3310
3460
  chainId: number;
3311
3461
  hash: string;
3462
+ isBatchTx?: boolean | undefined;
3312
3463
  }>, "many">;
3313
3464
  }, "strict", z.ZodTypeAny, {
3314
3465
  destination: {
3315
3466
  chainId: number;
3316
3467
  hash: string;
3468
+ isBatchTx?: boolean | undefined;
3317
3469
  }[];
3318
3470
  origin: {
3319
3471
  chainId: number;
3320
3472
  hash: string;
3473
+ isBatchTx?: boolean | undefined;
3321
3474
  }[];
3322
3475
  }, {
3323
3476
  destination: {
3324
3477
  chainId: number;
3325
3478
  hash: string;
3479
+ isBatchTx?: boolean | undefined;
3326
3480
  }[];
3327
3481
  origin: {
3328
3482
  chainId: number;
3329
3483
  hash: string;
3484
+ isBatchTx?: boolean | undefined;
3330
3485
  }[];
3331
3486
  }>>;
3332
3487
  }, "strict", z.ZodTypeAny, {
@@ -3336,10 +3491,12 @@ declare const cashErrorJsonSchema: z.ZodObject<{
3336
3491
  destination: {
3337
3492
  chainId: number;
3338
3493
  hash: string;
3494
+ isBatchTx?: boolean | undefined;
3339
3495
  }[];
3340
3496
  origin: {
3341
3497
  chainId: number;
3342
3498
  hash: string;
3499
+ isBatchTx?: boolean | undefined;
3343
3500
  }[];
3344
3501
  } | undefined;
3345
3502
  requestId?: string | undefined;
@@ -3350,10 +3507,12 @@ declare const cashErrorJsonSchema: z.ZodObject<{
3350
3507
  destination: {
3351
3508
  chainId: number;
3352
3509
  hash: string;
3510
+ isBatchTx?: boolean | undefined;
3353
3511
  }[];
3354
3512
  origin: {
3355
3513
  chainId: number;
3356
3514
  hash: string;
3515
+ isBatchTx?: boolean | undefined;
3357
3516
  }[];
3358
3517
  } | undefined;
3359
3518
  requestId?: string | undefined;
@@ -3392,10 +3551,12 @@ declare const cashErrorJsonSchema: z.ZodObject<{
3392
3551
  destination: {
3393
3552
  chainId: number;
3394
3553
  hash: string;
3554
+ isBatchTx?: boolean | undefined;
3395
3555
  }[];
3396
3556
  origin: {
3397
3557
  chainId: number;
3398
3558
  hash: string;
3559
+ isBatchTx?: boolean | undefined;
3399
3560
  }[];
3400
3561
  } | undefined;
3401
3562
  requestId?: string | undefined;
@@ -3408,10 +3569,12 @@ declare const cashErrorJsonSchema: z.ZodObject<{
3408
3569
  destination: {
3409
3570
  chainId: number;
3410
3571
  hash: string;
3572
+ isBatchTx?: boolean | undefined;
3411
3573
  }[];
3412
3574
  origin: {
3413
3575
  chainId: number;
3414
3576
  hash: string;
3577
+ isBatchTx?: boolean | undefined;
3415
3578
  }[];
3416
3579
  } | undefined;
3417
3580
  requestId?: string | undefined;
@@ -3424,10 +3587,12 @@ declare const cashErrorJsonSchema: z.ZodObject<{
3424
3587
  destination: {
3425
3588
  chainId: number;
3426
3589
  hash: string;
3590
+ isBatchTx?: boolean | undefined;
3427
3591
  }[];
3428
3592
  origin: {
3429
3593
  chainId: number;
3430
3594
  hash: string;
3595
+ isBatchTx?: boolean | undefined;
3431
3596
  }[];
3432
3597
  } | undefined;
3433
3598
  requestId?: string | undefined;
@@ -3438,10 +3603,12 @@ declare const cashErrorJsonSchema: z.ZodObject<{
3438
3603
  destination: {
3439
3604
  chainId: number;
3440
3605
  hash: string;
3606
+ isBatchTx?: boolean | undefined;
3441
3607
  }[];
3442
3608
  origin: {
3443
3609
  chainId: number;
3444
3610
  hash: string;
3611
+ isBatchTx?: boolean | undefined;
3445
3612
  }[];
3446
3613
  } | undefined;
3447
3614
  requestId?: string | undefined;
@@ -3466,10 +3633,12 @@ declare const cashErrorJsonSchema: z.ZodObject<{
3466
3633
  destination: {
3467
3634
  chainId: number;
3468
3635
  hash: string;
3636
+ isBatchTx?: boolean | undefined;
3469
3637
  }[];
3470
3638
  origin: {
3471
3639
  chainId: number;
3472
3640
  hash: string;
3641
+ isBatchTx?: boolean | undefined;
3473
3642
  }[];
3474
3643
  } | undefined;
3475
3644
  requestId?: string | undefined;
@@ -3482,10 +3651,12 @@ declare const cashErrorJsonSchema: z.ZodObject<{
3482
3651
  destination: {
3483
3652
  chainId: number;
3484
3653
  hash: string;
3654
+ isBatchTx?: boolean | undefined;
3485
3655
  }[];
3486
3656
  origin: {
3487
3657
  chainId: number;
3488
3658
  hash: string;
3659
+ isBatchTx?: boolean | undefined;
3489
3660
  }[];
3490
3661
  } | undefined;
3491
3662
  requestId?: string | undefined;
@@ -3498,10 +3669,12 @@ declare const cashErrorJsonSchema: z.ZodObject<{
3498
3669
  destination: {
3499
3670
  chainId: number;
3500
3671
  hash: string;
3672
+ isBatchTx?: boolean | undefined;
3501
3673
  }[];
3502
3674
  origin: {
3503
3675
  chainId: number;
3504
3676
  hash: string;
3677
+ isBatchTx?: boolean | undefined;
3505
3678
  }[];
3506
3679
  } | undefined;
3507
3680
  requestId?: string | undefined;
@@ -3512,10 +3685,12 @@ declare const cashErrorJsonSchema: z.ZodObject<{
3512
3685
  destination: {
3513
3686
  chainId: number;
3514
3687
  hash: string;
3688
+ isBatchTx?: boolean | undefined;
3515
3689
  }[];
3516
3690
  origin: {
3517
3691
  chainId: number;
3518
3692
  hash: string;
3693
+ isBatchTx?: boolean | undefined;
3519
3694
  }[];
3520
3695
  } | undefined;
3521
3696
  requestId?: string | undefined;