@chainflip/rpc 1.6.10 → 1.6.11

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/common.d.ts CHANGED
@@ -72,6 +72,17 @@ type RpcRequest = WithHash<{
72
72
  amount: `0x${string}`,
73
73
  additionalOrders?: Nullish<AdditionalOrder[]>
74
74
  ];
75
+ cf_swap_rate_v3: [
76
+ fromAsset: UncheckedAssetAndChain,
77
+ toAsset: UncheckedAssetAndChain,
78
+ amount: `0x${string}`,
79
+ brokerComission?: Nullish<number>,
80
+ dcaParams?: Nullish<{
81
+ number_of_chunks: number;
82
+ chunk_interval: number;
83
+ }>,
84
+ additionalOrders?: Nullish<AdditionalOrder[]>
85
+ ];
75
86
  cf_boost_pools_depth: [];
76
87
  cf_boost_pool_details: [asset?: UncheckedAssetAndChain | null];
77
88
  cf_boost_pool_pending_fees: [asset?: UncheckedAssetAndChain | null];
@@ -12612,6 +12623,669 @@ declare const rpcResult: {
12612
12623
  amount: string | number;
12613
12624
  };
12614
12625
  }>;
12626
+ readonly cf_swap_rate_v3: z.ZodObject<z.objectUtil.extendShape<{
12627
+ egress_fee: z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
12628
+ chain: z.ZodLiteral<"Bitcoin">;
12629
+ asset: z.ZodLiteral<"BTC">;
12630
+ }, "strip", z.ZodTypeAny, {
12631
+ chain: "Bitcoin";
12632
+ asset: "BTC";
12633
+ }, {
12634
+ chain: "Bitcoin";
12635
+ asset: "BTC";
12636
+ }>, z.ZodObject<{
12637
+ chain: z.ZodLiteral<"Polkadot">;
12638
+ asset: z.ZodLiteral<"DOT">;
12639
+ }, "strip", z.ZodTypeAny, {
12640
+ chain: "Polkadot";
12641
+ asset: "DOT";
12642
+ }, {
12643
+ chain: "Polkadot";
12644
+ asset: "DOT";
12645
+ }>, z.ZodObject<{
12646
+ chain: z.ZodLiteral<"Ethereum">;
12647
+ asset: z.ZodLiteral<"FLIP">;
12648
+ }, "strip", z.ZodTypeAny, {
12649
+ chain: "Ethereum";
12650
+ asset: "FLIP";
12651
+ }, {
12652
+ chain: "Ethereum";
12653
+ asset: "FLIP";
12654
+ }>, z.ZodObject<{
12655
+ chain: z.ZodLiteral<"Ethereum">;
12656
+ asset: z.ZodLiteral<"ETH">;
12657
+ }, "strip", z.ZodTypeAny, {
12658
+ chain: "Ethereum";
12659
+ asset: "ETH";
12660
+ }, {
12661
+ chain: "Ethereum";
12662
+ asset: "ETH";
12663
+ }>, z.ZodObject<{
12664
+ chain: z.ZodLiteral<"Ethereum">;
12665
+ asset: z.ZodLiteral<"USDC">;
12666
+ }, "strip", z.ZodTypeAny, {
12667
+ chain: "Ethereum";
12668
+ asset: "USDC";
12669
+ }, {
12670
+ chain: "Ethereum";
12671
+ asset: "USDC";
12672
+ }>, z.ZodObject<{
12673
+ chain: z.ZodLiteral<"Ethereum">;
12674
+ asset: z.ZodLiteral<"USDT">;
12675
+ }, "strip", z.ZodTypeAny, {
12676
+ chain: "Ethereum";
12677
+ asset: "USDT";
12678
+ }, {
12679
+ chain: "Ethereum";
12680
+ asset: "USDT";
12681
+ }>, z.ZodObject<{
12682
+ chain: z.ZodLiteral<"Arbitrum">;
12683
+ asset: z.ZodLiteral<"ETH">;
12684
+ }, "strip", z.ZodTypeAny, {
12685
+ chain: "Arbitrum";
12686
+ asset: "ETH";
12687
+ }, {
12688
+ chain: "Arbitrum";
12689
+ asset: "ETH";
12690
+ }>, z.ZodObject<{
12691
+ chain: z.ZodLiteral<"Arbitrum">;
12692
+ asset: z.ZodLiteral<"USDC">;
12693
+ }, "strip", z.ZodTypeAny, {
12694
+ chain: "Arbitrum";
12695
+ asset: "USDC";
12696
+ }, {
12697
+ chain: "Arbitrum";
12698
+ asset: "USDC";
12699
+ }>, z.ZodObject<{
12700
+ chain: z.ZodLiteral<"Solana">;
12701
+ asset: z.ZodLiteral<"SOL">;
12702
+ }, "strip", z.ZodTypeAny, {
12703
+ chain: "Solana";
12704
+ asset: "SOL";
12705
+ }, {
12706
+ chain: "Solana";
12707
+ asset: "SOL";
12708
+ }>, z.ZodObject<{
12709
+ chain: z.ZodLiteral<"Solana">;
12710
+ asset: z.ZodLiteral<"USDC">;
12711
+ }, "strip", z.ZodTypeAny, {
12712
+ chain: "Solana";
12713
+ asset: "USDC";
12714
+ }, {
12715
+ chain: "Solana";
12716
+ asset: "USDC";
12717
+ }>]>, z.ZodObject<{
12718
+ amount: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
12719
+ }, "strip", z.ZodTypeAny, {
12720
+ amount: bigint;
12721
+ }, {
12722
+ amount: string | number;
12723
+ }>>;
12724
+ ingress_fee: z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
12725
+ chain: z.ZodLiteral<"Bitcoin">;
12726
+ asset: z.ZodLiteral<"BTC">;
12727
+ }, "strip", z.ZodTypeAny, {
12728
+ chain: "Bitcoin";
12729
+ asset: "BTC";
12730
+ }, {
12731
+ chain: "Bitcoin";
12732
+ asset: "BTC";
12733
+ }>, z.ZodObject<{
12734
+ chain: z.ZodLiteral<"Polkadot">;
12735
+ asset: z.ZodLiteral<"DOT">;
12736
+ }, "strip", z.ZodTypeAny, {
12737
+ chain: "Polkadot";
12738
+ asset: "DOT";
12739
+ }, {
12740
+ chain: "Polkadot";
12741
+ asset: "DOT";
12742
+ }>, z.ZodObject<{
12743
+ chain: z.ZodLiteral<"Ethereum">;
12744
+ asset: z.ZodLiteral<"FLIP">;
12745
+ }, "strip", z.ZodTypeAny, {
12746
+ chain: "Ethereum";
12747
+ asset: "FLIP";
12748
+ }, {
12749
+ chain: "Ethereum";
12750
+ asset: "FLIP";
12751
+ }>, z.ZodObject<{
12752
+ chain: z.ZodLiteral<"Ethereum">;
12753
+ asset: z.ZodLiteral<"ETH">;
12754
+ }, "strip", z.ZodTypeAny, {
12755
+ chain: "Ethereum";
12756
+ asset: "ETH";
12757
+ }, {
12758
+ chain: "Ethereum";
12759
+ asset: "ETH";
12760
+ }>, z.ZodObject<{
12761
+ chain: z.ZodLiteral<"Ethereum">;
12762
+ asset: z.ZodLiteral<"USDC">;
12763
+ }, "strip", z.ZodTypeAny, {
12764
+ chain: "Ethereum";
12765
+ asset: "USDC";
12766
+ }, {
12767
+ chain: "Ethereum";
12768
+ asset: "USDC";
12769
+ }>, z.ZodObject<{
12770
+ chain: z.ZodLiteral<"Ethereum">;
12771
+ asset: z.ZodLiteral<"USDT">;
12772
+ }, "strip", z.ZodTypeAny, {
12773
+ chain: "Ethereum";
12774
+ asset: "USDT";
12775
+ }, {
12776
+ chain: "Ethereum";
12777
+ asset: "USDT";
12778
+ }>, z.ZodObject<{
12779
+ chain: z.ZodLiteral<"Arbitrum">;
12780
+ asset: z.ZodLiteral<"ETH">;
12781
+ }, "strip", z.ZodTypeAny, {
12782
+ chain: "Arbitrum";
12783
+ asset: "ETH";
12784
+ }, {
12785
+ chain: "Arbitrum";
12786
+ asset: "ETH";
12787
+ }>, z.ZodObject<{
12788
+ chain: z.ZodLiteral<"Arbitrum">;
12789
+ asset: z.ZodLiteral<"USDC">;
12790
+ }, "strip", z.ZodTypeAny, {
12791
+ chain: "Arbitrum";
12792
+ asset: "USDC";
12793
+ }, {
12794
+ chain: "Arbitrum";
12795
+ asset: "USDC";
12796
+ }>, z.ZodObject<{
12797
+ chain: z.ZodLiteral<"Solana">;
12798
+ asset: z.ZodLiteral<"SOL">;
12799
+ }, "strip", z.ZodTypeAny, {
12800
+ chain: "Solana";
12801
+ asset: "SOL";
12802
+ }, {
12803
+ chain: "Solana";
12804
+ asset: "SOL";
12805
+ }>, z.ZodObject<{
12806
+ chain: z.ZodLiteral<"Solana">;
12807
+ asset: z.ZodLiteral<"USDC">;
12808
+ }, "strip", z.ZodTypeAny, {
12809
+ chain: "Solana";
12810
+ asset: "USDC";
12811
+ }, {
12812
+ chain: "Solana";
12813
+ asset: "USDC";
12814
+ }>]>, z.ZodObject<{
12815
+ amount: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
12816
+ }, "strip", z.ZodTypeAny, {
12817
+ amount: bigint;
12818
+ }, {
12819
+ amount: string | number;
12820
+ }>>;
12821
+ intermediary: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>>;
12822
+ network_fee: z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
12823
+ chain: z.ZodLiteral<"Bitcoin">;
12824
+ asset: z.ZodLiteral<"BTC">;
12825
+ }, "strip", z.ZodTypeAny, {
12826
+ chain: "Bitcoin";
12827
+ asset: "BTC";
12828
+ }, {
12829
+ chain: "Bitcoin";
12830
+ asset: "BTC";
12831
+ }>, z.ZodObject<{
12832
+ chain: z.ZodLiteral<"Polkadot">;
12833
+ asset: z.ZodLiteral<"DOT">;
12834
+ }, "strip", z.ZodTypeAny, {
12835
+ chain: "Polkadot";
12836
+ asset: "DOT";
12837
+ }, {
12838
+ chain: "Polkadot";
12839
+ asset: "DOT";
12840
+ }>, z.ZodObject<{
12841
+ chain: z.ZodLiteral<"Ethereum">;
12842
+ asset: z.ZodLiteral<"FLIP">;
12843
+ }, "strip", z.ZodTypeAny, {
12844
+ chain: "Ethereum";
12845
+ asset: "FLIP";
12846
+ }, {
12847
+ chain: "Ethereum";
12848
+ asset: "FLIP";
12849
+ }>, z.ZodObject<{
12850
+ chain: z.ZodLiteral<"Ethereum">;
12851
+ asset: z.ZodLiteral<"ETH">;
12852
+ }, "strip", z.ZodTypeAny, {
12853
+ chain: "Ethereum";
12854
+ asset: "ETH";
12855
+ }, {
12856
+ chain: "Ethereum";
12857
+ asset: "ETH";
12858
+ }>, z.ZodObject<{
12859
+ chain: z.ZodLiteral<"Ethereum">;
12860
+ asset: z.ZodLiteral<"USDC">;
12861
+ }, "strip", z.ZodTypeAny, {
12862
+ chain: "Ethereum";
12863
+ asset: "USDC";
12864
+ }, {
12865
+ chain: "Ethereum";
12866
+ asset: "USDC";
12867
+ }>, z.ZodObject<{
12868
+ chain: z.ZodLiteral<"Ethereum">;
12869
+ asset: z.ZodLiteral<"USDT">;
12870
+ }, "strip", z.ZodTypeAny, {
12871
+ chain: "Ethereum";
12872
+ asset: "USDT";
12873
+ }, {
12874
+ chain: "Ethereum";
12875
+ asset: "USDT";
12876
+ }>, z.ZodObject<{
12877
+ chain: z.ZodLiteral<"Arbitrum">;
12878
+ asset: z.ZodLiteral<"ETH">;
12879
+ }, "strip", z.ZodTypeAny, {
12880
+ chain: "Arbitrum";
12881
+ asset: "ETH";
12882
+ }, {
12883
+ chain: "Arbitrum";
12884
+ asset: "ETH";
12885
+ }>, z.ZodObject<{
12886
+ chain: z.ZodLiteral<"Arbitrum">;
12887
+ asset: z.ZodLiteral<"USDC">;
12888
+ }, "strip", z.ZodTypeAny, {
12889
+ chain: "Arbitrum";
12890
+ asset: "USDC";
12891
+ }, {
12892
+ chain: "Arbitrum";
12893
+ asset: "USDC";
12894
+ }>, z.ZodObject<{
12895
+ chain: z.ZodLiteral<"Solana">;
12896
+ asset: z.ZodLiteral<"SOL">;
12897
+ }, "strip", z.ZodTypeAny, {
12898
+ chain: "Solana";
12899
+ asset: "SOL";
12900
+ }, {
12901
+ chain: "Solana";
12902
+ asset: "SOL";
12903
+ }>, z.ZodObject<{
12904
+ chain: z.ZodLiteral<"Solana">;
12905
+ asset: z.ZodLiteral<"USDC">;
12906
+ }, "strip", z.ZodTypeAny, {
12907
+ chain: "Solana";
12908
+ asset: "USDC";
12909
+ }, {
12910
+ chain: "Solana";
12911
+ asset: "USDC";
12912
+ }>]>, z.ZodObject<{
12913
+ amount: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
12914
+ }, "strip", z.ZodTypeAny, {
12915
+ amount: bigint;
12916
+ }, {
12917
+ amount: string | number;
12918
+ }>>;
12919
+ output: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>;
12920
+ }, {
12921
+ broker_commission: z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
12922
+ chain: z.ZodLiteral<"Bitcoin">;
12923
+ asset: z.ZodLiteral<"BTC">;
12924
+ }, "strip", z.ZodTypeAny, {
12925
+ chain: "Bitcoin";
12926
+ asset: "BTC";
12927
+ }, {
12928
+ chain: "Bitcoin";
12929
+ asset: "BTC";
12930
+ }>, z.ZodObject<{
12931
+ chain: z.ZodLiteral<"Polkadot">;
12932
+ asset: z.ZodLiteral<"DOT">;
12933
+ }, "strip", z.ZodTypeAny, {
12934
+ chain: "Polkadot";
12935
+ asset: "DOT";
12936
+ }, {
12937
+ chain: "Polkadot";
12938
+ asset: "DOT";
12939
+ }>, z.ZodObject<{
12940
+ chain: z.ZodLiteral<"Ethereum">;
12941
+ asset: z.ZodLiteral<"FLIP">;
12942
+ }, "strip", z.ZodTypeAny, {
12943
+ chain: "Ethereum";
12944
+ asset: "FLIP";
12945
+ }, {
12946
+ chain: "Ethereum";
12947
+ asset: "FLIP";
12948
+ }>, z.ZodObject<{
12949
+ chain: z.ZodLiteral<"Ethereum">;
12950
+ asset: z.ZodLiteral<"ETH">;
12951
+ }, "strip", z.ZodTypeAny, {
12952
+ chain: "Ethereum";
12953
+ asset: "ETH";
12954
+ }, {
12955
+ chain: "Ethereum";
12956
+ asset: "ETH";
12957
+ }>, z.ZodObject<{
12958
+ chain: z.ZodLiteral<"Ethereum">;
12959
+ asset: z.ZodLiteral<"USDC">;
12960
+ }, "strip", z.ZodTypeAny, {
12961
+ chain: "Ethereum";
12962
+ asset: "USDC";
12963
+ }, {
12964
+ chain: "Ethereum";
12965
+ asset: "USDC";
12966
+ }>, z.ZodObject<{
12967
+ chain: z.ZodLiteral<"Ethereum">;
12968
+ asset: z.ZodLiteral<"USDT">;
12969
+ }, "strip", z.ZodTypeAny, {
12970
+ chain: "Ethereum";
12971
+ asset: "USDT";
12972
+ }, {
12973
+ chain: "Ethereum";
12974
+ asset: "USDT";
12975
+ }>, z.ZodObject<{
12976
+ chain: z.ZodLiteral<"Arbitrum">;
12977
+ asset: z.ZodLiteral<"ETH">;
12978
+ }, "strip", z.ZodTypeAny, {
12979
+ chain: "Arbitrum";
12980
+ asset: "ETH";
12981
+ }, {
12982
+ chain: "Arbitrum";
12983
+ asset: "ETH";
12984
+ }>, z.ZodObject<{
12985
+ chain: z.ZodLiteral<"Arbitrum">;
12986
+ asset: z.ZodLiteral<"USDC">;
12987
+ }, "strip", z.ZodTypeAny, {
12988
+ chain: "Arbitrum";
12989
+ asset: "USDC";
12990
+ }, {
12991
+ chain: "Arbitrum";
12992
+ asset: "USDC";
12993
+ }>, z.ZodObject<{
12994
+ chain: z.ZodLiteral<"Solana">;
12995
+ asset: z.ZodLiteral<"SOL">;
12996
+ }, "strip", z.ZodTypeAny, {
12997
+ chain: "Solana";
12998
+ asset: "SOL";
12999
+ }, {
13000
+ chain: "Solana";
13001
+ asset: "SOL";
13002
+ }>, z.ZodObject<{
13003
+ chain: z.ZodLiteral<"Solana">;
13004
+ asset: z.ZodLiteral<"USDC">;
13005
+ }, "strip", z.ZodTypeAny, {
13006
+ chain: "Solana";
13007
+ asset: "USDC";
13008
+ }, {
13009
+ chain: "Solana";
13010
+ asset: "USDC";
13011
+ }>]>, z.ZodObject<{
13012
+ amount: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
13013
+ }, "strip", z.ZodTypeAny, {
13014
+ amount: bigint;
13015
+ }, {
13016
+ amount: string | number;
13017
+ }>>;
13018
+ }>, "strip", z.ZodTypeAny, {
13019
+ intermediary: bigint | null;
13020
+ output: bigint;
13021
+ egress_fee: ({
13022
+ chain: "Bitcoin";
13023
+ asset: "BTC";
13024
+ } | {
13025
+ chain: "Polkadot";
13026
+ asset: "DOT";
13027
+ } | {
13028
+ chain: "Ethereum";
13029
+ asset: "FLIP";
13030
+ } | {
13031
+ chain: "Ethereum";
13032
+ asset: "ETH";
13033
+ } | {
13034
+ chain: "Ethereum";
13035
+ asset: "USDC";
13036
+ } | {
13037
+ chain: "Ethereum";
13038
+ asset: "USDT";
13039
+ } | {
13040
+ chain: "Arbitrum";
13041
+ asset: "ETH";
13042
+ } | {
13043
+ chain: "Arbitrum";
13044
+ asset: "USDC";
13045
+ } | {
13046
+ chain: "Solana";
13047
+ asset: "SOL";
13048
+ } | {
13049
+ chain: "Solana";
13050
+ asset: "USDC";
13051
+ }) & {
13052
+ amount: bigint;
13053
+ };
13054
+ ingress_fee: ({
13055
+ chain: "Bitcoin";
13056
+ asset: "BTC";
13057
+ } | {
13058
+ chain: "Polkadot";
13059
+ asset: "DOT";
13060
+ } | {
13061
+ chain: "Ethereum";
13062
+ asset: "FLIP";
13063
+ } | {
13064
+ chain: "Ethereum";
13065
+ asset: "ETH";
13066
+ } | {
13067
+ chain: "Ethereum";
13068
+ asset: "USDC";
13069
+ } | {
13070
+ chain: "Ethereum";
13071
+ asset: "USDT";
13072
+ } | {
13073
+ chain: "Arbitrum";
13074
+ asset: "ETH";
13075
+ } | {
13076
+ chain: "Arbitrum";
13077
+ asset: "USDC";
13078
+ } | {
13079
+ chain: "Solana";
13080
+ asset: "SOL";
13081
+ } | {
13082
+ chain: "Solana";
13083
+ asset: "USDC";
13084
+ }) & {
13085
+ amount: bigint;
13086
+ };
13087
+ network_fee: ({
13088
+ chain: "Bitcoin";
13089
+ asset: "BTC";
13090
+ } | {
13091
+ chain: "Polkadot";
13092
+ asset: "DOT";
13093
+ } | {
13094
+ chain: "Ethereum";
13095
+ asset: "FLIP";
13096
+ } | {
13097
+ chain: "Ethereum";
13098
+ asset: "ETH";
13099
+ } | {
13100
+ chain: "Ethereum";
13101
+ asset: "USDC";
13102
+ } | {
13103
+ chain: "Ethereum";
13104
+ asset: "USDT";
13105
+ } | {
13106
+ chain: "Arbitrum";
13107
+ asset: "ETH";
13108
+ } | {
13109
+ chain: "Arbitrum";
13110
+ asset: "USDC";
13111
+ } | {
13112
+ chain: "Solana";
13113
+ asset: "SOL";
13114
+ } | {
13115
+ chain: "Solana";
13116
+ asset: "USDC";
13117
+ }) & {
13118
+ amount: bigint;
13119
+ };
13120
+ broker_commission: ({
13121
+ chain: "Bitcoin";
13122
+ asset: "BTC";
13123
+ } | {
13124
+ chain: "Polkadot";
13125
+ asset: "DOT";
13126
+ } | {
13127
+ chain: "Ethereum";
13128
+ asset: "FLIP";
13129
+ } | {
13130
+ chain: "Ethereum";
13131
+ asset: "ETH";
13132
+ } | {
13133
+ chain: "Ethereum";
13134
+ asset: "USDC";
13135
+ } | {
13136
+ chain: "Ethereum";
13137
+ asset: "USDT";
13138
+ } | {
13139
+ chain: "Arbitrum";
13140
+ asset: "ETH";
13141
+ } | {
13142
+ chain: "Arbitrum";
13143
+ asset: "USDC";
13144
+ } | {
13145
+ chain: "Solana";
13146
+ asset: "SOL";
13147
+ } | {
13148
+ chain: "Solana";
13149
+ asset: "USDC";
13150
+ }) & {
13151
+ amount: bigint;
13152
+ };
13153
+ }, {
13154
+ intermediary: string | null;
13155
+ output: string;
13156
+ egress_fee: ({
13157
+ chain: "Bitcoin";
13158
+ asset: "BTC";
13159
+ } | {
13160
+ chain: "Polkadot";
13161
+ asset: "DOT";
13162
+ } | {
13163
+ chain: "Ethereum";
13164
+ asset: "FLIP";
13165
+ } | {
13166
+ chain: "Ethereum";
13167
+ asset: "ETH";
13168
+ } | {
13169
+ chain: "Ethereum";
13170
+ asset: "USDC";
13171
+ } | {
13172
+ chain: "Ethereum";
13173
+ asset: "USDT";
13174
+ } | {
13175
+ chain: "Arbitrum";
13176
+ asset: "ETH";
13177
+ } | {
13178
+ chain: "Arbitrum";
13179
+ asset: "USDC";
13180
+ } | {
13181
+ chain: "Solana";
13182
+ asset: "SOL";
13183
+ } | {
13184
+ chain: "Solana";
13185
+ asset: "USDC";
13186
+ }) & {
13187
+ amount: string | number;
13188
+ };
13189
+ ingress_fee: ({
13190
+ chain: "Bitcoin";
13191
+ asset: "BTC";
13192
+ } | {
13193
+ chain: "Polkadot";
13194
+ asset: "DOT";
13195
+ } | {
13196
+ chain: "Ethereum";
13197
+ asset: "FLIP";
13198
+ } | {
13199
+ chain: "Ethereum";
13200
+ asset: "ETH";
13201
+ } | {
13202
+ chain: "Ethereum";
13203
+ asset: "USDC";
13204
+ } | {
13205
+ chain: "Ethereum";
13206
+ asset: "USDT";
13207
+ } | {
13208
+ chain: "Arbitrum";
13209
+ asset: "ETH";
13210
+ } | {
13211
+ chain: "Arbitrum";
13212
+ asset: "USDC";
13213
+ } | {
13214
+ chain: "Solana";
13215
+ asset: "SOL";
13216
+ } | {
13217
+ chain: "Solana";
13218
+ asset: "USDC";
13219
+ }) & {
13220
+ amount: string | number;
13221
+ };
13222
+ network_fee: ({
13223
+ chain: "Bitcoin";
13224
+ asset: "BTC";
13225
+ } | {
13226
+ chain: "Polkadot";
13227
+ asset: "DOT";
13228
+ } | {
13229
+ chain: "Ethereum";
13230
+ asset: "FLIP";
13231
+ } | {
13232
+ chain: "Ethereum";
13233
+ asset: "ETH";
13234
+ } | {
13235
+ chain: "Ethereum";
13236
+ asset: "USDC";
13237
+ } | {
13238
+ chain: "Ethereum";
13239
+ asset: "USDT";
13240
+ } | {
13241
+ chain: "Arbitrum";
13242
+ asset: "ETH";
13243
+ } | {
13244
+ chain: "Arbitrum";
13245
+ asset: "USDC";
13246
+ } | {
13247
+ chain: "Solana";
13248
+ asset: "SOL";
13249
+ } | {
13250
+ chain: "Solana";
13251
+ asset: "USDC";
13252
+ }) & {
13253
+ amount: string | number;
13254
+ };
13255
+ broker_commission: ({
13256
+ chain: "Bitcoin";
13257
+ asset: "BTC";
13258
+ } | {
13259
+ chain: "Polkadot";
13260
+ asset: "DOT";
13261
+ } | {
13262
+ chain: "Ethereum";
13263
+ asset: "FLIP";
13264
+ } | {
13265
+ chain: "Ethereum";
13266
+ asset: "ETH";
13267
+ } | {
13268
+ chain: "Ethereum";
13269
+ asset: "USDC";
13270
+ } | {
13271
+ chain: "Ethereum";
13272
+ asset: "USDT";
13273
+ } | {
13274
+ chain: "Arbitrum";
13275
+ asset: "ETH";
13276
+ } | {
13277
+ chain: "Arbitrum";
13278
+ asset: "USDC";
13279
+ } | {
13280
+ chain: "Solana";
13281
+ asset: "SOL";
13282
+ } | {
13283
+ chain: "Solana";
13284
+ asset: "USDC";
13285
+ }) & {
13286
+ amount: string | number;
13287
+ };
13288
+ }>;
12615
13289
  readonly cf_swapping_environment: z.ZodObject<{
12616
13290
  maximum_swap_amounts: z.ZodObject<{
12617
13291
  Bitcoin: z.ZodObject<{