@swapkit/api-sdk-typescript 2.1.0-nightly.20260806022614 → 3.0.0
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 +50 -275
- package/dist/index.d.ts +50 -275
- package/package.json +1 -1
- package/src/types.ts +50 -275
package/dist/index.d.cts
CHANGED
|
@@ -608,74 +608,29 @@ type TrackTransactionResponse = {
|
|
|
608
608
|
affiliate?: string;
|
|
609
609
|
fees?: {
|
|
610
610
|
network?: {
|
|
611
|
-
|
|
612
|
-
symbol: string;
|
|
613
|
-
ticker: string;
|
|
614
|
-
decimal?: number;
|
|
615
|
-
address?: string;
|
|
616
|
-
isGasAsset: boolean;
|
|
617
|
-
isSynthetic: boolean;
|
|
618
|
-
tax?: {
|
|
619
|
-
buy: number;
|
|
620
|
-
sell: number;
|
|
621
|
-
};
|
|
611
|
+
identifier: string;
|
|
622
612
|
amount: string;
|
|
613
|
+
decimal?: number;
|
|
623
614
|
};
|
|
624
615
|
affiliate?: {
|
|
625
|
-
|
|
626
|
-
symbol: string;
|
|
627
|
-
ticker: string;
|
|
628
|
-
decimal?: number;
|
|
629
|
-
address?: string;
|
|
630
|
-
isGasAsset: boolean;
|
|
631
|
-
isSynthetic: boolean;
|
|
632
|
-
tax?: {
|
|
633
|
-
buy: number;
|
|
634
|
-
sell: number;
|
|
635
|
-
};
|
|
616
|
+
identifier: string;
|
|
636
617
|
amount: string;
|
|
618
|
+
decimal?: number;
|
|
637
619
|
};
|
|
638
620
|
liquidity?: {
|
|
639
|
-
|
|
640
|
-
symbol: string;
|
|
641
|
-
ticker: string;
|
|
642
|
-
decimal?: number;
|
|
643
|
-
address?: string;
|
|
644
|
-
isGasAsset: boolean;
|
|
645
|
-
isSynthetic: boolean;
|
|
646
|
-
tax?: {
|
|
647
|
-
buy: number;
|
|
648
|
-
sell: number;
|
|
649
|
-
};
|
|
621
|
+
identifier: string;
|
|
650
622
|
amount: string;
|
|
623
|
+
decimal?: number;
|
|
651
624
|
};
|
|
652
625
|
protocol?: {
|
|
653
|
-
|
|
654
|
-
symbol: string;
|
|
655
|
-
ticker: string;
|
|
656
|
-
decimal?: number;
|
|
657
|
-
address?: string;
|
|
658
|
-
isGasAsset: boolean;
|
|
659
|
-
isSynthetic: boolean;
|
|
660
|
-
tax?: {
|
|
661
|
-
buy: number;
|
|
662
|
-
sell: number;
|
|
663
|
-
};
|
|
626
|
+
identifier: string;
|
|
664
627
|
amount: string;
|
|
628
|
+
decimal?: number;
|
|
665
629
|
};
|
|
666
630
|
tax?: {
|
|
667
|
-
|
|
668
|
-
symbol: string;
|
|
669
|
-
ticker: string;
|
|
670
|
-
decimal?: number;
|
|
671
|
-
address?: string;
|
|
672
|
-
isGasAsset: boolean;
|
|
673
|
-
isSynthetic: boolean;
|
|
674
|
-
tax?: {
|
|
675
|
-
buy: number;
|
|
676
|
-
sell: number;
|
|
677
|
-
};
|
|
631
|
+
identifier: string;
|
|
678
632
|
amount: string;
|
|
633
|
+
decimal?: number;
|
|
679
634
|
};
|
|
680
635
|
};
|
|
681
636
|
provider?: 'CHAINFLIP' | 'CHAINFLIP_STREAMING' | 'MAYACHAIN' | 'MAYACHAIN_STREAMING' | 'ONEINCH' | 'PANCAKESWAP' | 'SUSHISWAP_V2' | 'THORCHAIN' | 'THORCHAIN_STREAMING' | 'TRADERJOE_V2' | 'UNISWAP_V2' | 'UNISWAP_V3' | 'JUPITER' | 'OKX' | 'NEAR' | 'GARDEN' | 'HARBOR' | 'FLASHNET' | 'MAYAN' | 'PANGOLIN_V1' | 'CAVIAR_V1' | 'OPENOCEAN_V2' | 'OCISWAP_V1' | 'CAMELOT_V3';
|
|
@@ -765,74 +720,29 @@ type TrackTransactionResponse = {
|
|
|
765
720
|
affiliate?: string;
|
|
766
721
|
fees?: {
|
|
767
722
|
network?: {
|
|
768
|
-
|
|
769
|
-
symbol: string;
|
|
770
|
-
ticker: string;
|
|
771
|
-
decimal?: number;
|
|
772
|
-
address?: string;
|
|
773
|
-
isGasAsset: boolean;
|
|
774
|
-
isSynthetic: boolean;
|
|
775
|
-
tax?: {
|
|
776
|
-
buy: number;
|
|
777
|
-
sell: number;
|
|
778
|
-
};
|
|
723
|
+
identifier: string;
|
|
779
724
|
amount: string;
|
|
725
|
+
decimal?: number;
|
|
780
726
|
};
|
|
781
727
|
affiliate?: {
|
|
782
|
-
|
|
783
|
-
symbol: string;
|
|
784
|
-
ticker: string;
|
|
785
|
-
decimal?: number;
|
|
786
|
-
address?: string;
|
|
787
|
-
isGasAsset: boolean;
|
|
788
|
-
isSynthetic: boolean;
|
|
789
|
-
tax?: {
|
|
790
|
-
buy: number;
|
|
791
|
-
sell: number;
|
|
792
|
-
};
|
|
728
|
+
identifier: string;
|
|
793
729
|
amount: string;
|
|
730
|
+
decimal?: number;
|
|
794
731
|
};
|
|
795
732
|
liquidity?: {
|
|
796
|
-
|
|
797
|
-
symbol: string;
|
|
798
|
-
ticker: string;
|
|
799
|
-
decimal?: number;
|
|
800
|
-
address?: string;
|
|
801
|
-
isGasAsset: boolean;
|
|
802
|
-
isSynthetic: boolean;
|
|
803
|
-
tax?: {
|
|
804
|
-
buy: number;
|
|
805
|
-
sell: number;
|
|
806
|
-
};
|
|
733
|
+
identifier: string;
|
|
807
734
|
amount: string;
|
|
735
|
+
decimal?: number;
|
|
808
736
|
};
|
|
809
737
|
protocol?: {
|
|
810
|
-
|
|
811
|
-
symbol: string;
|
|
812
|
-
ticker: string;
|
|
813
|
-
decimal?: number;
|
|
814
|
-
address?: string;
|
|
815
|
-
isGasAsset: boolean;
|
|
816
|
-
isSynthetic: boolean;
|
|
817
|
-
tax?: {
|
|
818
|
-
buy: number;
|
|
819
|
-
sell: number;
|
|
820
|
-
};
|
|
738
|
+
identifier: string;
|
|
821
739
|
amount: string;
|
|
740
|
+
decimal?: number;
|
|
822
741
|
};
|
|
823
742
|
tax?: {
|
|
824
|
-
|
|
825
|
-
symbol: string;
|
|
826
|
-
ticker: string;
|
|
827
|
-
decimal?: number;
|
|
828
|
-
address?: string;
|
|
829
|
-
isGasAsset: boolean;
|
|
830
|
-
isSynthetic: boolean;
|
|
831
|
-
tax?: {
|
|
832
|
-
buy: number;
|
|
833
|
-
sell: number;
|
|
834
|
-
};
|
|
743
|
+
identifier: string;
|
|
835
744
|
amount: string;
|
|
745
|
+
decimal?: number;
|
|
836
746
|
};
|
|
837
747
|
};
|
|
838
748
|
provider?: 'CHAINFLIP' | 'CHAINFLIP_STREAMING' | 'MAYACHAIN' | 'MAYACHAIN_STREAMING' | 'ONEINCH' | 'PANCAKESWAP' | 'SUSHISWAP_V2' | 'THORCHAIN' | 'THORCHAIN_STREAMING' | 'TRADERJOE_V2' | 'UNISWAP_V2' | 'UNISWAP_V3' | 'JUPITER' | 'OKX' | 'NEAR' | 'GARDEN' | 'HARBOR' | 'FLASHNET' | 'MAYAN' | 'PANGOLIN_V1' | 'CAVIAR_V1' | 'OPENOCEAN_V2' | 'OCISWAP_V1' | 'CAMELOT_V3';
|
|
@@ -925,74 +835,29 @@ type InsertTrackedTransactionRequest = {
|
|
|
925
835
|
affiliate?: string;
|
|
926
836
|
fees?: {
|
|
927
837
|
network?: {
|
|
928
|
-
|
|
929
|
-
symbol: string;
|
|
930
|
-
ticker: string;
|
|
931
|
-
decimal?: number;
|
|
932
|
-
address?: string;
|
|
933
|
-
isGasAsset: boolean;
|
|
934
|
-
isSynthetic: boolean;
|
|
935
|
-
tax?: {
|
|
936
|
-
buy: number;
|
|
937
|
-
sell: number;
|
|
938
|
-
};
|
|
838
|
+
identifier: string;
|
|
939
839
|
amount: string;
|
|
840
|
+
decimal?: number;
|
|
940
841
|
};
|
|
941
842
|
affiliate?: {
|
|
942
|
-
|
|
943
|
-
symbol: string;
|
|
944
|
-
ticker: string;
|
|
945
|
-
decimal?: number;
|
|
946
|
-
address?: string;
|
|
947
|
-
isGasAsset: boolean;
|
|
948
|
-
isSynthetic: boolean;
|
|
949
|
-
tax?: {
|
|
950
|
-
buy: number;
|
|
951
|
-
sell: number;
|
|
952
|
-
};
|
|
843
|
+
identifier: string;
|
|
953
844
|
amount: string;
|
|
845
|
+
decimal?: number;
|
|
954
846
|
};
|
|
955
847
|
liquidity?: {
|
|
956
|
-
|
|
957
|
-
symbol: string;
|
|
958
|
-
ticker: string;
|
|
959
|
-
decimal?: number;
|
|
960
|
-
address?: string;
|
|
961
|
-
isGasAsset: boolean;
|
|
962
|
-
isSynthetic: boolean;
|
|
963
|
-
tax?: {
|
|
964
|
-
buy: number;
|
|
965
|
-
sell: number;
|
|
966
|
-
};
|
|
848
|
+
identifier: string;
|
|
967
849
|
amount: string;
|
|
850
|
+
decimal?: number;
|
|
968
851
|
};
|
|
969
852
|
protocol?: {
|
|
970
|
-
|
|
971
|
-
symbol: string;
|
|
972
|
-
ticker: string;
|
|
973
|
-
decimal?: number;
|
|
974
|
-
address?: string;
|
|
975
|
-
isGasAsset: boolean;
|
|
976
|
-
isSynthetic: boolean;
|
|
977
|
-
tax?: {
|
|
978
|
-
buy: number;
|
|
979
|
-
sell: number;
|
|
980
|
-
};
|
|
853
|
+
identifier: string;
|
|
981
854
|
amount: string;
|
|
855
|
+
decimal?: number;
|
|
982
856
|
};
|
|
983
857
|
tax?: {
|
|
984
|
-
|
|
985
|
-
symbol: string;
|
|
986
|
-
ticker: string;
|
|
987
|
-
decimal?: number;
|
|
988
|
-
address?: string;
|
|
989
|
-
isGasAsset: boolean;
|
|
990
|
-
isSynthetic: boolean;
|
|
991
|
-
tax?: {
|
|
992
|
-
buy: number;
|
|
993
|
-
sell: number;
|
|
994
|
-
};
|
|
858
|
+
identifier: string;
|
|
995
859
|
amount: string;
|
|
860
|
+
decimal?: number;
|
|
996
861
|
};
|
|
997
862
|
};
|
|
998
863
|
provider?: 'CHAINFLIP' | 'CHAINFLIP_STREAMING' | 'MAYACHAIN' | 'MAYACHAIN_STREAMING' | 'ONEINCH' | 'PANCAKESWAP' | 'SUSHISWAP_V2' | 'THORCHAIN' | 'THORCHAIN_STREAMING' | 'TRADERJOE_V2' | 'UNISWAP_V2' | 'UNISWAP_V3' | 'JUPITER' | 'OKX' | 'NEAR' | 'GARDEN' | 'HARBOR' | 'FLASHNET' | 'MAYAN' | 'PANGOLIN_V1' | 'CAVIAR_V1' | 'OPENOCEAN_V2' | 'OCISWAP_V1' | 'CAMELOT_V3';
|
|
@@ -2230,74 +2095,29 @@ type TrackTransactionResponses = {
|
|
|
2230
2095
|
affiliate?: string;
|
|
2231
2096
|
fees?: {
|
|
2232
2097
|
network?: {
|
|
2233
|
-
|
|
2234
|
-
symbol: string;
|
|
2235
|
-
ticker: string;
|
|
2236
|
-
decimal?: number;
|
|
2237
|
-
address?: string;
|
|
2238
|
-
isGasAsset: boolean;
|
|
2239
|
-
isSynthetic: boolean;
|
|
2240
|
-
tax?: {
|
|
2241
|
-
buy: number;
|
|
2242
|
-
sell: number;
|
|
2243
|
-
};
|
|
2098
|
+
identifier: string;
|
|
2244
2099
|
amount: string;
|
|
2100
|
+
decimal?: number;
|
|
2245
2101
|
};
|
|
2246
2102
|
affiliate?: {
|
|
2247
|
-
|
|
2248
|
-
symbol: string;
|
|
2249
|
-
ticker: string;
|
|
2250
|
-
decimal?: number;
|
|
2251
|
-
address?: string;
|
|
2252
|
-
isGasAsset: boolean;
|
|
2253
|
-
isSynthetic: boolean;
|
|
2254
|
-
tax?: {
|
|
2255
|
-
buy: number;
|
|
2256
|
-
sell: number;
|
|
2257
|
-
};
|
|
2103
|
+
identifier: string;
|
|
2258
2104
|
amount: string;
|
|
2105
|
+
decimal?: number;
|
|
2259
2106
|
};
|
|
2260
2107
|
liquidity?: {
|
|
2261
|
-
|
|
2262
|
-
symbol: string;
|
|
2263
|
-
ticker: string;
|
|
2264
|
-
decimal?: number;
|
|
2265
|
-
address?: string;
|
|
2266
|
-
isGasAsset: boolean;
|
|
2267
|
-
isSynthetic: boolean;
|
|
2268
|
-
tax?: {
|
|
2269
|
-
buy: number;
|
|
2270
|
-
sell: number;
|
|
2271
|
-
};
|
|
2108
|
+
identifier: string;
|
|
2272
2109
|
amount: string;
|
|
2110
|
+
decimal?: number;
|
|
2273
2111
|
};
|
|
2274
2112
|
protocol?: {
|
|
2275
|
-
|
|
2276
|
-
symbol: string;
|
|
2277
|
-
ticker: string;
|
|
2278
|
-
decimal?: number;
|
|
2279
|
-
address?: string;
|
|
2280
|
-
isGasAsset: boolean;
|
|
2281
|
-
isSynthetic: boolean;
|
|
2282
|
-
tax?: {
|
|
2283
|
-
buy: number;
|
|
2284
|
-
sell: number;
|
|
2285
|
-
};
|
|
2113
|
+
identifier: string;
|
|
2286
2114
|
amount: string;
|
|
2115
|
+
decimal?: number;
|
|
2287
2116
|
};
|
|
2288
2117
|
tax?: {
|
|
2289
|
-
|
|
2290
|
-
symbol: string;
|
|
2291
|
-
ticker: string;
|
|
2292
|
-
decimal?: number;
|
|
2293
|
-
address?: string;
|
|
2294
|
-
isGasAsset: boolean;
|
|
2295
|
-
isSynthetic: boolean;
|
|
2296
|
-
tax?: {
|
|
2297
|
-
buy: number;
|
|
2298
|
-
sell: number;
|
|
2299
|
-
};
|
|
2118
|
+
identifier: string;
|
|
2300
2119
|
amount: string;
|
|
2120
|
+
decimal?: number;
|
|
2301
2121
|
};
|
|
2302
2122
|
};
|
|
2303
2123
|
provider?: 'CHAINFLIP' | 'CHAINFLIP_STREAMING' | 'MAYACHAIN' | 'MAYACHAIN_STREAMING' | 'ONEINCH' | 'PANCAKESWAP' | 'SUSHISWAP_V2' | 'THORCHAIN' | 'THORCHAIN_STREAMING' | 'TRADERJOE_V2' | 'UNISWAP_V2' | 'UNISWAP_V3' | 'JUPITER' | 'OKX' | 'NEAR' | 'GARDEN' | 'HARBOR' | 'FLASHNET' | 'MAYAN' | 'PANGOLIN_V1' | 'CAVIAR_V1' | 'OPENOCEAN_V2' | 'OCISWAP_V1' | 'CAMELOT_V3';
|
|
@@ -2387,74 +2207,29 @@ type TrackTransactionResponses = {
|
|
|
2387
2207
|
affiliate?: string;
|
|
2388
2208
|
fees?: {
|
|
2389
2209
|
network?: {
|
|
2390
|
-
|
|
2391
|
-
symbol: string;
|
|
2392
|
-
ticker: string;
|
|
2393
|
-
decimal?: number;
|
|
2394
|
-
address?: string;
|
|
2395
|
-
isGasAsset: boolean;
|
|
2396
|
-
isSynthetic: boolean;
|
|
2397
|
-
tax?: {
|
|
2398
|
-
buy: number;
|
|
2399
|
-
sell: number;
|
|
2400
|
-
};
|
|
2210
|
+
identifier: string;
|
|
2401
2211
|
amount: string;
|
|
2212
|
+
decimal?: number;
|
|
2402
2213
|
};
|
|
2403
2214
|
affiliate?: {
|
|
2404
|
-
|
|
2405
|
-
symbol: string;
|
|
2406
|
-
ticker: string;
|
|
2407
|
-
decimal?: number;
|
|
2408
|
-
address?: string;
|
|
2409
|
-
isGasAsset: boolean;
|
|
2410
|
-
isSynthetic: boolean;
|
|
2411
|
-
tax?: {
|
|
2412
|
-
buy: number;
|
|
2413
|
-
sell: number;
|
|
2414
|
-
};
|
|
2215
|
+
identifier: string;
|
|
2415
2216
|
amount: string;
|
|
2217
|
+
decimal?: number;
|
|
2416
2218
|
};
|
|
2417
2219
|
liquidity?: {
|
|
2418
|
-
|
|
2419
|
-
symbol: string;
|
|
2420
|
-
ticker: string;
|
|
2421
|
-
decimal?: number;
|
|
2422
|
-
address?: string;
|
|
2423
|
-
isGasAsset: boolean;
|
|
2424
|
-
isSynthetic: boolean;
|
|
2425
|
-
tax?: {
|
|
2426
|
-
buy: number;
|
|
2427
|
-
sell: number;
|
|
2428
|
-
};
|
|
2220
|
+
identifier: string;
|
|
2429
2221
|
amount: string;
|
|
2222
|
+
decimal?: number;
|
|
2430
2223
|
};
|
|
2431
2224
|
protocol?: {
|
|
2432
|
-
|
|
2433
|
-
symbol: string;
|
|
2434
|
-
ticker: string;
|
|
2435
|
-
decimal?: number;
|
|
2436
|
-
address?: string;
|
|
2437
|
-
isGasAsset: boolean;
|
|
2438
|
-
isSynthetic: boolean;
|
|
2439
|
-
tax?: {
|
|
2440
|
-
buy: number;
|
|
2441
|
-
sell: number;
|
|
2442
|
-
};
|
|
2225
|
+
identifier: string;
|
|
2443
2226
|
amount: string;
|
|
2227
|
+
decimal?: number;
|
|
2444
2228
|
};
|
|
2445
2229
|
tax?: {
|
|
2446
|
-
|
|
2447
|
-
symbol: string;
|
|
2448
|
-
ticker: string;
|
|
2449
|
-
decimal?: number;
|
|
2450
|
-
address?: string;
|
|
2451
|
-
isGasAsset: boolean;
|
|
2452
|
-
isSynthetic: boolean;
|
|
2453
|
-
tax?: {
|
|
2454
|
-
buy: number;
|
|
2455
|
-
sell: number;
|
|
2456
|
-
};
|
|
2230
|
+
identifier: string;
|
|
2457
2231
|
amount: string;
|
|
2232
|
+
decimal?: number;
|
|
2458
2233
|
};
|
|
2459
2234
|
};
|
|
2460
2235
|
provider?: 'CHAINFLIP' | 'CHAINFLIP_STREAMING' | 'MAYACHAIN' | 'MAYACHAIN_STREAMING' | 'ONEINCH' | 'PANCAKESWAP' | 'SUSHISWAP_V2' | 'THORCHAIN' | 'THORCHAIN_STREAMING' | 'TRADERJOE_V2' | 'UNISWAP_V2' | 'UNISWAP_V3' | 'JUPITER' | 'OKX' | 'NEAR' | 'GARDEN' | 'HARBOR' | 'FLASHNET' | 'MAYAN' | 'PANGOLIN_V1' | 'CAVIAR_V1' | 'OPENOCEAN_V2' | 'OCISWAP_V1' | 'CAMELOT_V3';
|