@chainflip/rpc 1.6.10 → 1.6.12

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