@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/parsers.d.ts CHANGED
@@ -649,6 +649,669 @@ declare const cfSwapRateV2: z.ZodObject<{
649
649
  amount: string | number;
650
650
  };
651
651
  }>;
652
+ declare const cfSwapRateV3: z.ZodObject<z.objectUtil.extendShape<{
653
+ egress_fee: z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
654
+ chain: z.ZodLiteral<"Bitcoin">;
655
+ asset: z.ZodLiteral<"BTC">;
656
+ }, "strip", z.ZodTypeAny, {
657
+ chain: "Bitcoin";
658
+ asset: "BTC";
659
+ }, {
660
+ chain: "Bitcoin";
661
+ asset: "BTC";
662
+ }>, z.ZodObject<{
663
+ chain: z.ZodLiteral<"Polkadot">;
664
+ asset: z.ZodLiteral<"DOT">;
665
+ }, "strip", z.ZodTypeAny, {
666
+ chain: "Polkadot";
667
+ asset: "DOT";
668
+ }, {
669
+ chain: "Polkadot";
670
+ asset: "DOT";
671
+ }>, z.ZodObject<{
672
+ chain: z.ZodLiteral<"Ethereum">;
673
+ asset: z.ZodLiteral<"FLIP">;
674
+ }, "strip", z.ZodTypeAny, {
675
+ chain: "Ethereum";
676
+ asset: "FLIP";
677
+ }, {
678
+ chain: "Ethereum";
679
+ asset: "FLIP";
680
+ }>, z.ZodObject<{
681
+ chain: z.ZodLiteral<"Ethereum">;
682
+ asset: z.ZodLiteral<"ETH">;
683
+ }, "strip", z.ZodTypeAny, {
684
+ chain: "Ethereum";
685
+ asset: "ETH";
686
+ }, {
687
+ chain: "Ethereum";
688
+ asset: "ETH";
689
+ }>, z.ZodObject<{
690
+ chain: z.ZodLiteral<"Ethereum">;
691
+ asset: z.ZodLiteral<"USDC">;
692
+ }, "strip", z.ZodTypeAny, {
693
+ chain: "Ethereum";
694
+ asset: "USDC";
695
+ }, {
696
+ chain: "Ethereum";
697
+ asset: "USDC";
698
+ }>, z.ZodObject<{
699
+ chain: z.ZodLiteral<"Ethereum">;
700
+ asset: z.ZodLiteral<"USDT">;
701
+ }, "strip", z.ZodTypeAny, {
702
+ chain: "Ethereum";
703
+ asset: "USDT";
704
+ }, {
705
+ chain: "Ethereum";
706
+ asset: "USDT";
707
+ }>, z.ZodObject<{
708
+ chain: z.ZodLiteral<"Arbitrum">;
709
+ asset: z.ZodLiteral<"ETH">;
710
+ }, "strip", z.ZodTypeAny, {
711
+ chain: "Arbitrum";
712
+ asset: "ETH";
713
+ }, {
714
+ chain: "Arbitrum";
715
+ asset: "ETH";
716
+ }>, z.ZodObject<{
717
+ chain: z.ZodLiteral<"Arbitrum">;
718
+ asset: z.ZodLiteral<"USDC">;
719
+ }, "strip", z.ZodTypeAny, {
720
+ chain: "Arbitrum";
721
+ asset: "USDC";
722
+ }, {
723
+ chain: "Arbitrum";
724
+ asset: "USDC";
725
+ }>, z.ZodObject<{
726
+ chain: z.ZodLiteral<"Solana">;
727
+ asset: z.ZodLiteral<"SOL">;
728
+ }, "strip", z.ZodTypeAny, {
729
+ chain: "Solana";
730
+ asset: "SOL";
731
+ }, {
732
+ chain: "Solana";
733
+ asset: "SOL";
734
+ }>, z.ZodObject<{
735
+ chain: z.ZodLiteral<"Solana">;
736
+ asset: z.ZodLiteral<"USDC">;
737
+ }, "strip", z.ZodTypeAny, {
738
+ chain: "Solana";
739
+ asset: "USDC";
740
+ }, {
741
+ chain: "Solana";
742
+ asset: "USDC";
743
+ }>]>, z.ZodObject<{
744
+ amount: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
745
+ }, "strip", z.ZodTypeAny, {
746
+ amount: bigint;
747
+ }, {
748
+ amount: string | number;
749
+ }>>;
750
+ ingress_fee: z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
751
+ chain: z.ZodLiteral<"Bitcoin">;
752
+ asset: z.ZodLiteral<"BTC">;
753
+ }, "strip", z.ZodTypeAny, {
754
+ chain: "Bitcoin";
755
+ asset: "BTC";
756
+ }, {
757
+ chain: "Bitcoin";
758
+ asset: "BTC";
759
+ }>, z.ZodObject<{
760
+ chain: z.ZodLiteral<"Polkadot">;
761
+ asset: z.ZodLiteral<"DOT">;
762
+ }, "strip", z.ZodTypeAny, {
763
+ chain: "Polkadot";
764
+ asset: "DOT";
765
+ }, {
766
+ chain: "Polkadot";
767
+ asset: "DOT";
768
+ }>, z.ZodObject<{
769
+ chain: z.ZodLiteral<"Ethereum">;
770
+ asset: z.ZodLiteral<"FLIP">;
771
+ }, "strip", z.ZodTypeAny, {
772
+ chain: "Ethereum";
773
+ asset: "FLIP";
774
+ }, {
775
+ chain: "Ethereum";
776
+ asset: "FLIP";
777
+ }>, z.ZodObject<{
778
+ chain: z.ZodLiteral<"Ethereum">;
779
+ asset: z.ZodLiteral<"ETH">;
780
+ }, "strip", z.ZodTypeAny, {
781
+ chain: "Ethereum";
782
+ asset: "ETH";
783
+ }, {
784
+ chain: "Ethereum";
785
+ asset: "ETH";
786
+ }>, z.ZodObject<{
787
+ chain: z.ZodLiteral<"Ethereum">;
788
+ asset: z.ZodLiteral<"USDC">;
789
+ }, "strip", z.ZodTypeAny, {
790
+ chain: "Ethereum";
791
+ asset: "USDC";
792
+ }, {
793
+ chain: "Ethereum";
794
+ asset: "USDC";
795
+ }>, z.ZodObject<{
796
+ chain: z.ZodLiteral<"Ethereum">;
797
+ asset: z.ZodLiteral<"USDT">;
798
+ }, "strip", z.ZodTypeAny, {
799
+ chain: "Ethereum";
800
+ asset: "USDT";
801
+ }, {
802
+ chain: "Ethereum";
803
+ asset: "USDT";
804
+ }>, z.ZodObject<{
805
+ chain: z.ZodLiteral<"Arbitrum">;
806
+ asset: z.ZodLiteral<"ETH">;
807
+ }, "strip", z.ZodTypeAny, {
808
+ chain: "Arbitrum";
809
+ asset: "ETH";
810
+ }, {
811
+ chain: "Arbitrum";
812
+ asset: "ETH";
813
+ }>, z.ZodObject<{
814
+ chain: z.ZodLiteral<"Arbitrum">;
815
+ asset: z.ZodLiteral<"USDC">;
816
+ }, "strip", z.ZodTypeAny, {
817
+ chain: "Arbitrum";
818
+ asset: "USDC";
819
+ }, {
820
+ chain: "Arbitrum";
821
+ asset: "USDC";
822
+ }>, z.ZodObject<{
823
+ chain: z.ZodLiteral<"Solana">;
824
+ asset: z.ZodLiteral<"SOL">;
825
+ }, "strip", z.ZodTypeAny, {
826
+ chain: "Solana";
827
+ asset: "SOL";
828
+ }, {
829
+ chain: "Solana";
830
+ asset: "SOL";
831
+ }>, z.ZodObject<{
832
+ chain: z.ZodLiteral<"Solana">;
833
+ asset: z.ZodLiteral<"USDC">;
834
+ }, "strip", z.ZodTypeAny, {
835
+ chain: "Solana";
836
+ asset: "USDC";
837
+ }, {
838
+ chain: "Solana";
839
+ asset: "USDC";
840
+ }>]>, z.ZodObject<{
841
+ amount: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
842
+ }, "strip", z.ZodTypeAny, {
843
+ amount: bigint;
844
+ }, {
845
+ amount: string | number;
846
+ }>>;
847
+ intermediary: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>>;
848
+ network_fee: z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
849
+ chain: z.ZodLiteral<"Bitcoin">;
850
+ asset: z.ZodLiteral<"BTC">;
851
+ }, "strip", z.ZodTypeAny, {
852
+ chain: "Bitcoin";
853
+ asset: "BTC";
854
+ }, {
855
+ chain: "Bitcoin";
856
+ asset: "BTC";
857
+ }>, z.ZodObject<{
858
+ chain: z.ZodLiteral<"Polkadot">;
859
+ asset: z.ZodLiteral<"DOT">;
860
+ }, "strip", z.ZodTypeAny, {
861
+ chain: "Polkadot";
862
+ asset: "DOT";
863
+ }, {
864
+ chain: "Polkadot";
865
+ asset: "DOT";
866
+ }>, z.ZodObject<{
867
+ chain: z.ZodLiteral<"Ethereum">;
868
+ asset: z.ZodLiteral<"FLIP">;
869
+ }, "strip", z.ZodTypeAny, {
870
+ chain: "Ethereum";
871
+ asset: "FLIP";
872
+ }, {
873
+ chain: "Ethereum";
874
+ asset: "FLIP";
875
+ }>, z.ZodObject<{
876
+ chain: z.ZodLiteral<"Ethereum">;
877
+ asset: z.ZodLiteral<"ETH">;
878
+ }, "strip", z.ZodTypeAny, {
879
+ chain: "Ethereum";
880
+ asset: "ETH";
881
+ }, {
882
+ chain: "Ethereum";
883
+ asset: "ETH";
884
+ }>, z.ZodObject<{
885
+ chain: z.ZodLiteral<"Ethereum">;
886
+ asset: z.ZodLiteral<"USDC">;
887
+ }, "strip", z.ZodTypeAny, {
888
+ chain: "Ethereum";
889
+ asset: "USDC";
890
+ }, {
891
+ chain: "Ethereum";
892
+ asset: "USDC";
893
+ }>, z.ZodObject<{
894
+ chain: z.ZodLiteral<"Ethereum">;
895
+ asset: z.ZodLiteral<"USDT">;
896
+ }, "strip", z.ZodTypeAny, {
897
+ chain: "Ethereum";
898
+ asset: "USDT";
899
+ }, {
900
+ chain: "Ethereum";
901
+ asset: "USDT";
902
+ }>, z.ZodObject<{
903
+ chain: z.ZodLiteral<"Arbitrum">;
904
+ asset: z.ZodLiteral<"ETH">;
905
+ }, "strip", z.ZodTypeAny, {
906
+ chain: "Arbitrum";
907
+ asset: "ETH";
908
+ }, {
909
+ chain: "Arbitrum";
910
+ asset: "ETH";
911
+ }>, z.ZodObject<{
912
+ chain: z.ZodLiteral<"Arbitrum">;
913
+ asset: z.ZodLiteral<"USDC">;
914
+ }, "strip", z.ZodTypeAny, {
915
+ chain: "Arbitrum";
916
+ asset: "USDC";
917
+ }, {
918
+ chain: "Arbitrum";
919
+ asset: "USDC";
920
+ }>, z.ZodObject<{
921
+ chain: z.ZodLiteral<"Solana">;
922
+ asset: z.ZodLiteral<"SOL">;
923
+ }, "strip", z.ZodTypeAny, {
924
+ chain: "Solana";
925
+ asset: "SOL";
926
+ }, {
927
+ chain: "Solana";
928
+ asset: "SOL";
929
+ }>, z.ZodObject<{
930
+ chain: z.ZodLiteral<"Solana">;
931
+ asset: z.ZodLiteral<"USDC">;
932
+ }, "strip", z.ZodTypeAny, {
933
+ chain: "Solana";
934
+ asset: "USDC";
935
+ }, {
936
+ chain: "Solana";
937
+ asset: "USDC";
938
+ }>]>, z.ZodObject<{
939
+ amount: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
940
+ }, "strip", z.ZodTypeAny, {
941
+ amount: bigint;
942
+ }, {
943
+ amount: string | number;
944
+ }>>;
945
+ output: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>;
946
+ }, {
947
+ broker_commission: z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
948
+ chain: z.ZodLiteral<"Bitcoin">;
949
+ asset: z.ZodLiteral<"BTC">;
950
+ }, "strip", z.ZodTypeAny, {
951
+ chain: "Bitcoin";
952
+ asset: "BTC";
953
+ }, {
954
+ chain: "Bitcoin";
955
+ asset: "BTC";
956
+ }>, z.ZodObject<{
957
+ chain: z.ZodLiteral<"Polkadot">;
958
+ asset: z.ZodLiteral<"DOT">;
959
+ }, "strip", z.ZodTypeAny, {
960
+ chain: "Polkadot";
961
+ asset: "DOT";
962
+ }, {
963
+ chain: "Polkadot";
964
+ asset: "DOT";
965
+ }>, z.ZodObject<{
966
+ chain: z.ZodLiteral<"Ethereum">;
967
+ asset: z.ZodLiteral<"FLIP">;
968
+ }, "strip", z.ZodTypeAny, {
969
+ chain: "Ethereum";
970
+ asset: "FLIP";
971
+ }, {
972
+ chain: "Ethereum";
973
+ asset: "FLIP";
974
+ }>, z.ZodObject<{
975
+ chain: z.ZodLiteral<"Ethereum">;
976
+ asset: z.ZodLiteral<"ETH">;
977
+ }, "strip", z.ZodTypeAny, {
978
+ chain: "Ethereum";
979
+ asset: "ETH";
980
+ }, {
981
+ chain: "Ethereum";
982
+ asset: "ETH";
983
+ }>, z.ZodObject<{
984
+ chain: z.ZodLiteral<"Ethereum">;
985
+ asset: z.ZodLiteral<"USDC">;
986
+ }, "strip", z.ZodTypeAny, {
987
+ chain: "Ethereum";
988
+ asset: "USDC";
989
+ }, {
990
+ chain: "Ethereum";
991
+ asset: "USDC";
992
+ }>, z.ZodObject<{
993
+ chain: z.ZodLiteral<"Ethereum">;
994
+ asset: z.ZodLiteral<"USDT">;
995
+ }, "strip", z.ZodTypeAny, {
996
+ chain: "Ethereum";
997
+ asset: "USDT";
998
+ }, {
999
+ chain: "Ethereum";
1000
+ asset: "USDT";
1001
+ }>, z.ZodObject<{
1002
+ chain: z.ZodLiteral<"Arbitrum">;
1003
+ asset: z.ZodLiteral<"ETH">;
1004
+ }, "strip", z.ZodTypeAny, {
1005
+ chain: "Arbitrum";
1006
+ asset: "ETH";
1007
+ }, {
1008
+ chain: "Arbitrum";
1009
+ asset: "ETH";
1010
+ }>, z.ZodObject<{
1011
+ chain: z.ZodLiteral<"Arbitrum">;
1012
+ asset: z.ZodLiteral<"USDC">;
1013
+ }, "strip", z.ZodTypeAny, {
1014
+ chain: "Arbitrum";
1015
+ asset: "USDC";
1016
+ }, {
1017
+ chain: "Arbitrum";
1018
+ asset: "USDC";
1019
+ }>, z.ZodObject<{
1020
+ chain: z.ZodLiteral<"Solana">;
1021
+ asset: z.ZodLiteral<"SOL">;
1022
+ }, "strip", z.ZodTypeAny, {
1023
+ chain: "Solana";
1024
+ asset: "SOL";
1025
+ }, {
1026
+ chain: "Solana";
1027
+ asset: "SOL";
1028
+ }>, z.ZodObject<{
1029
+ chain: z.ZodLiteral<"Solana">;
1030
+ asset: z.ZodLiteral<"USDC">;
1031
+ }, "strip", z.ZodTypeAny, {
1032
+ chain: "Solana";
1033
+ asset: "USDC";
1034
+ }, {
1035
+ chain: "Solana";
1036
+ asset: "USDC";
1037
+ }>]>, z.ZodObject<{
1038
+ amount: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
1039
+ }, "strip", z.ZodTypeAny, {
1040
+ amount: bigint;
1041
+ }, {
1042
+ amount: string | number;
1043
+ }>>;
1044
+ }>, "strip", z.ZodTypeAny, {
1045
+ intermediary: bigint | null;
1046
+ output: bigint;
1047
+ egress_fee: ({
1048
+ chain: "Bitcoin";
1049
+ asset: "BTC";
1050
+ } | {
1051
+ chain: "Polkadot";
1052
+ asset: "DOT";
1053
+ } | {
1054
+ chain: "Ethereum";
1055
+ asset: "FLIP";
1056
+ } | {
1057
+ chain: "Ethereum";
1058
+ asset: "ETH";
1059
+ } | {
1060
+ chain: "Ethereum";
1061
+ asset: "USDC";
1062
+ } | {
1063
+ chain: "Ethereum";
1064
+ asset: "USDT";
1065
+ } | {
1066
+ chain: "Arbitrum";
1067
+ asset: "ETH";
1068
+ } | {
1069
+ chain: "Arbitrum";
1070
+ asset: "USDC";
1071
+ } | {
1072
+ chain: "Solana";
1073
+ asset: "SOL";
1074
+ } | {
1075
+ chain: "Solana";
1076
+ asset: "USDC";
1077
+ }) & {
1078
+ amount: bigint;
1079
+ };
1080
+ ingress_fee: ({
1081
+ chain: "Bitcoin";
1082
+ asset: "BTC";
1083
+ } | {
1084
+ chain: "Polkadot";
1085
+ asset: "DOT";
1086
+ } | {
1087
+ chain: "Ethereum";
1088
+ asset: "FLIP";
1089
+ } | {
1090
+ chain: "Ethereum";
1091
+ asset: "ETH";
1092
+ } | {
1093
+ chain: "Ethereum";
1094
+ asset: "USDC";
1095
+ } | {
1096
+ chain: "Ethereum";
1097
+ asset: "USDT";
1098
+ } | {
1099
+ chain: "Arbitrum";
1100
+ asset: "ETH";
1101
+ } | {
1102
+ chain: "Arbitrum";
1103
+ asset: "USDC";
1104
+ } | {
1105
+ chain: "Solana";
1106
+ asset: "SOL";
1107
+ } | {
1108
+ chain: "Solana";
1109
+ asset: "USDC";
1110
+ }) & {
1111
+ amount: bigint;
1112
+ };
1113
+ network_fee: ({
1114
+ chain: "Bitcoin";
1115
+ asset: "BTC";
1116
+ } | {
1117
+ chain: "Polkadot";
1118
+ asset: "DOT";
1119
+ } | {
1120
+ chain: "Ethereum";
1121
+ asset: "FLIP";
1122
+ } | {
1123
+ chain: "Ethereum";
1124
+ asset: "ETH";
1125
+ } | {
1126
+ chain: "Ethereum";
1127
+ asset: "USDC";
1128
+ } | {
1129
+ chain: "Ethereum";
1130
+ asset: "USDT";
1131
+ } | {
1132
+ chain: "Arbitrum";
1133
+ asset: "ETH";
1134
+ } | {
1135
+ chain: "Arbitrum";
1136
+ asset: "USDC";
1137
+ } | {
1138
+ chain: "Solana";
1139
+ asset: "SOL";
1140
+ } | {
1141
+ chain: "Solana";
1142
+ asset: "USDC";
1143
+ }) & {
1144
+ amount: bigint;
1145
+ };
1146
+ broker_commission: ({
1147
+ chain: "Bitcoin";
1148
+ asset: "BTC";
1149
+ } | {
1150
+ chain: "Polkadot";
1151
+ asset: "DOT";
1152
+ } | {
1153
+ chain: "Ethereum";
1154
+ asset: "FLIP";
1155
+ } | {
1156
+ chain: "Ethereum";
1157
+ asset: "ETH";
1158
+ } | {
1159
+ chain: "Ethereum";
1160
+ asset: "USDC";
1161
+ } | {
1162
+ chain: "Ethereum";
1163
+ asset: "USDT";
1164
+ } | {
1165
+ chain: "Arbitrum";
1166
+ asset: "ETH";
1167
+ } | {
1168
+ chain: "Arbitrum";
1169
+ asset: "USDC";
1170
+ } | {
1171
+ chain: "Solana";
1172
+ asset: "SOL";
1173
+ } | {
1174
+ chain: "Solana";
1175
+ asset: "USDC";
1176
+ }) & {
1177
+ amount: bigint;
1178
+ };
1179
+ }, {
1180
+ intermediary: string | null;
1181
+ output: string;
1182
+ egress_fee: ({
1183
+ chain: "Bitcoin";
1184
+ asset: "BTC";
1185
+ } | {
1186
+ chain: "Polkadot";
1187
+ asset: "DOT";
1188
+ } | {
1189
+ chain: "Ethereum";
1190
+ asset: "FLIP";
1191
+ } | {
1192
+ chain: "Ethereum";
1193
+ asset: "ETH";
1194
+ } | {
1195
+ chain: "Ethereum";
1196
+ asset: "USDC";
1197
+ } | {
1198
+ chain: "Ethereum";
1199
+ asset: "USDT";
1200
+ } | {
1201
+ chain: "Arbitrum";
1202
+ asset: "ETH";
1203
+ } | {
1204
+ chain: "Arbitrum";
1205
+ asset: "USDC";
1206
+ } | {
1207
+ chain: "Solana";
1208
+ asset: "SOL";
1209
+ } | {
1210
+ chain: "Solana";
1211
+ asset: "USDC";
1212
+ }) & {
1213
+ amount: string | number;
1214
+ };
1215
+ ingress_fee: ({
1216
+ chain: "Bitcoin";
1217
+ asset: "BTC";
1218
+ } | {
1219
+ chain: "Polkadot";
1220
+ asset: "DOT";
1221
+ } | {
1222
+ chain: "Ethereum";
1223
+ asset: "FLIP";
1224
+ } | {
1225
+ chain: "Ethereum";
1226
+ asset: "ETH";
1227
+ } | {
1228
+ chain: "Ethereum";
1229
+ asset: "USDC";
1230
+ } | {
1231
+ chain: "Ethereum";
1232
+ asset: "USDT";
1233
+ } | {
1234
+ chain: "Arbitrum";
1235
+ asset: "ETH";
1236
+ } | {
1237
+ chain: "Arbitrum";
1238
+ asset: "USDC";
1239
+ } | {
1240
+ chain: "Solana";
1241
+ asset: "SOL";
1242
+ } | {
1243
+ chain: "Solana";
1244
+ asset: "USDC";
1245
+ }) & {
1246
+ amount: string | number;
1247
+ };
1248
+ network_fee: ({
1249
+ chain: "Bitcoin";
1250
+ asset: "BTC";
1251
+ } | {
1252
+ chain: "Polkadot";
1253
+ asset: "DOT";
1254
+ } | {
1255
+ chain: "Ethereum";
1256
+ asset: "FLIP";
1257
+ } | {
1258
+ chain: "Ethereum";
1259
+ asset: "ETH";
1260
+ } | {
1261
+ chain: "Ethereum";
1262
+ asset: "USDC";
1263
+ } | {
1264
+ chain: "Ethereum";
1265
+ asset: "USDT";
1266
+ } | {
1267
+ chain: "Arbitrum";
1268
+ asset: "ETH";
1269
+ } | {
1270
+ chain: "Arbitrum";
1271
+ asset: "USDC";
1272
+ } | {
1273
+ chain: "Solana";
1274
+ asset: "SOL";
1275
+ } | {
1276
+ chain: "Solana";
1277
+ asset: "USDC";
1278
+ }) & {
1279
+ amount: string | number;
1280
+ };
1281
+ broker_commission: ({
1282
+ chain: "Bitcoin";
1283
+ asset: "BTC";
1284
+ } | {
1285
+ chain: "Polkadot";
1286
+ asset: "DOT";
1287
+ } | {
1288
+ chain: "Ethereum";
1289
+ asset: "FLIP";
1290
+ } | {
1291
+ chain: "Ethereum";
1292
+ asset: "ETH";
1293
+ } | {
1294
+ chain: "Ethereum";
1295
+ asset: "USDC";
1296
+ } | {
1297
+ chain: "Ethereum";
1298
+ asset: "USDT";
1299
+ } | {
1300
+ chain: "Arbitrum";
1301
+ asset: "ETH";
1302
+ } | {
1303
+ chain: "Arbitrum";
1304
+ asset: "USDC";
1305
+ } | {
1306
+ chain: "Solana";
1307
+ asset: "SOL";
1308
+ } | {
1309
+ chain: "Solana";
1310
+ asset: "USDC";
1311
+ }) & {
1312
+ amount: string | number;
1313
+ };
1314
+ }>;
652
1315
  declare const chainGetBlockHash: z.ZodEffects<z.ZodString, `0x${string}`, string>;
653
1316
  declare const stateGetMetadata: z.ZodEffects<z.ZodString, `0x${string}`, string>;
654
1317
  declare const stateGetRuntimeVersion: z.ZodObject<{
@@ -14456,4 +15119,4 @@ declare const cfBoostPoolPendingFees: z.ZodArray<z.ZodIntersection<z.ZodUnion<[z
14456
15119
  }[];
14457
15120
  }>>, "many">;
14458
15121
 
14459
- export { type AssetAndChain, type RpcLimitOrder, type RpcRangeOrder, broker, brokerRequestSwapDepositAddress, cfAccountInfo, cfAccounts, cfBoostPoolDetails, cfBoostPoolPendingFees, cfBoostPoolsDepth, cfEnvironment, cfFundingEnvironment, cfIngressEgressEnvironment, cfPoolDepth, cfPoolOrders, cfPoolPriceV2, cfPoolsEnvironment, cfSupportedAssets, cfSwapRate, cfSwapRateV2, cfSwappingEnvironment, chainGetBlockHash, hexString, liquidityProvider, numberOrHex, rpcResponse, stateGetMetadata, stateGetRuntimeVersion, u256, unregistered, validator };
15122
+ export { type AssetAndChain, type RpcLimitOrder, type RpcRangeOrder, broker, brokerRequestSwapDepositAddress, cfAccountInfo, cfAccounts, cfBoostPoolDetails, cfBoostPoolPendingFees, cfBoostPoolsDepth, cfEnvironment, cfFundingEnvironment, cfIngressEgressEnvironment, cfPoolDepth, cfPoolOrders, cfPoolPriceV2, cfPoolsEnvironment, cfSupportedAssets, cfSwapRate, cfSwapRateV2, cfSwapRateV3, cfSwappingEnvironment, chainGetBlockHash, hexString, liquidityProvider, numberOrHex, rpcResponse, stateGetMetadata, stateGetRuntimeVersion, u256, unregistered, validator };
package/dist/parsers.mjs CHANGED
@@ -66,6 +66,9 @@ var cfSwapRateV2 = z.object({
66
66
  network_fee: fee,
67
67
  output: u256
68
68
  });
69
+ var cfSwapRateV3 = cfSwapRateV2.extend({
70
+ broker_commission: fee
71
+ });
69
72
  var chainGetBlockHash = hexString;
70
73
  var stateGetMetadata = hexString;
71
74
  var stateGetRuntimeVersion = z.object({
@@ -289,6 +292,7 @@ export {
289
292
  cfSupportedAssets,
290
293
  cfSwapRate,
291
294
  cfSwapRateV2,
295
+ cfSwapRateV3,
292
296
  cfSwappingEnvironment,
293
297
  chainGetBlockHash,
294
298
  hexString,