@swapkit/api-sdk-typescript 2.0.2 → 3.0.0-nightly.20260806033321
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 -250
- package/dist/index.d.ts +50 -250
- package/package.json +1 -1
- package/src/types.ts +50 -250
package/src/types.ts
CHANGED
|
@@ -298,69 +298,29 @@ export type TrackTransactionResponse = {
|
|
|
298
298
|
affiliate?: string;
|
|
299
299
|
fees?: {
|
|
300
300
|
network?: {
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
ticker: string;
|
|
301
|
+
identifier: string;
|
|
302
|
+
amount: string;
|
|
304
303
|
decimal?: number;
|
|
305
|
-
address?: string;
|
|
306
|
-
isGasAsset: boolean;
|
|
307
|
-
isSynthetic: boolean;
|
|
308
|
-
tax?: {
|
|
309
|
-
buy: number;
|
|
310
|
-
sell: number;
|
|
311
|
-
};
|
|
312
304
|
};
|
|
313
305
|
affiliate?: {
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
ticker: string;
|
|
306
|
+
identifier: string;
|
|
307
|
+
amount: string;
|
|
317
308
|
decimal?: number;
|
|
318
|
-
address?: string;
|
|
319
|
-
isGasAsset: boolean;
|
|
320
|
-
isSynthetic: boolean;
|
|
321
|
-
tax?: {
|
|
322
|
-
buy: number;
|
|
323
|
-
sell: number;
|
|
324
|
-
};
|
|
325
309
|
};
|
|
326
310
|
liquidity?: {
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
ticker: string;
|
|
311
|
+
identifier: string;
|
|
312
|
+
amount: string;
|
|
330
313
|
decimal?: number;
|
|
331
|
-
address?: string;
|
|
332
|
-
isGasAsset: boolean;
|
|
333
|
-
isSynthetic: boolean;
|
|
334
|
-
tax?: {
|
|
335
|
-
buy: number;
|
|
336
|
-
sell: number;
|
|
337
|
-
};
|
|
338
314
|
};
|
|
339
315
|
protocol?: {
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
ticker: string;
|
|
316
|
+
identifier: string;
|
|
317
|
+
amount: string;
|
|
343
318
|
decimal?: number;
|
|
344
|
-
address?: string;
|
|
345
|
-
isGasAsset: boolean;
|
|
346
|
-
isSynthetic: boolean;
|
|
347
|
-
tax?: {
|
|
348
|
-
buy: number;
|
|
349
|
-
sell: number;
|
|
350
|
-
};
|
|
351
319
|
};
|
|
352
320
|
tax?: {
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
ticker: string;
|
|
321
|
+
identifier: string;
|
|
322
|
+
amount: string;
|
|
356
323
|
decimal?: number;
|
|
357
|
-
address?: string;
|
|
358
|
-
isGasAsset: boolean;
|
|
359
|
-
isSynthetic: boolean;
|
|
360
|
-
tax?: {
|
|
361
|
-
buy: number;
|
|
362
|
-
sell: number;
|
|
363
|
-
};
|
|
364
324
|
};
|
|
365
325
|
};
|
|
366
326
|
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';
|
|
@@ -450,69 +410,29 @@ export type TrackTransactionResponse = {
|
|
|
450
410
|
affiliate?: string;
|
|
451
411
|
fees?: {
|
|
452
412
|
network?: {
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
ticker: string;
|
|
413
|
+
identifier: string;
|
|
414
|
+
amount: string;
|
|
456
415
|
decimal?: number;
|
|
457
|
-
address?: string;
|
|
458
|
-
isGasAsset: boolean;
|
|
459
|
-
isSynthetic: boolean;
|
|
460
|
-
tax?: {
|
|
461
|
-
buy: number;
|
|
462
|
-
sell: number;
|
|
463
|
-
};
|
|
464
416
|
};
|
|
465
417
|
affiliate?: {
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
ticker: string;
|
|
418
|
+
identifier: string;
|
|
419
|
+
amount: string;
|
|
469
420
|
decimal?: number;
|
|
470
|
-
address?: string;
|
|
471
|
-
isGasAsset: boolean;
|
|
472
|
-
isSynthetic: boolean;
|
|
473
|
-
tax?: {
|
|
474
|
-
buy: number;
|
|
475
|
-
sell: number;
|
|
476
|
-
};
|
|
477
421
|
};
|
|
478
422
|
liquidity?: {
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
ticker: string;
|
|
423
|
+
identifier: string;
|
|
424
|
+
amount: string;
|
|
482
425
|
decimal?: number;
|
|
483
|
-
address?: string;
|
|
484
|
-
isGasAsset: boolean;
|
|
485
|
-
isSynthetic: boolean;
|
|
486
|
-
tax?: {
|
|
487
|
-
buy: number;
|
|
488
|
-
sell: number;
|
|
489
|
-
};
|
|
490
426
|
};
|
|
491
427
|
protocol?: {
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
ticker: string;
|
|
428
|
+
identifier: string;
|
|
429
|
+
amount: string;
|
|
495
430
|
decimal?: number;
|
|
496
|
-
address?: string;
|
|
497
|
-
isGasAsset: boolean;
|
|
498
|
-
isSynthetic: boolean;
|
|
499
|
-
tax?: {
|
|
500
|
-
buy: number;
|
|
501
|
-
sell: number;
|
|
502
|
-
};
|
|
503
431
|
};
|
|
504
432
|
tax?: {
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
ticker: string;
|
|
433
|
+
identifier: string;
|
|
434
|
+
amount: string;
|
|
508
435
|
decimal?: number;
|
|
509
|
-
address?: string;
|
|
510
|
-
isGasAsset: boolean;
|
|
511
|
-
isSynthetic: boolean;
|
|
512
|
-
tax?: {
|
|
513
|
-
buy: number;
|
|
514
|
-
sell: number;
|
|
515
|
-
};
|
|
516
436
|
};
|
|
517
437
|
};
|
|
518
438
|
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';
|
|
@@ -606,69 +526,29 @@ export type InsertTrackedTransactionRequest = {
|
|
|
606
526
|
affiliate?: string;
|
|
607
527
|
fees?: {
|
|
608
528
|
network?: {
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
ticker: string;
|
|
529
|
+
identifier: string;
|
|
530
|
+
amount: string;
|
|
612
531
|
decimal?: number;
|
|
613
|
-
address?: string;
|
|
614
|
-
isGasAsset: boolean;
|
|
615
|
-
isSynthetic: boolean;
|
|
616
|
-
tax?: {
|
|
617
|
-
buy: number;
|
|
618
|
-
sell: number;
|
|
619
|
-
};
|
|
620
532
|
};
|
|
621
533
|
affiliate?: {
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
ticker: string;
|
|
534
|
+
identifier: string;
|
|
535
|
+
amount: string;
|
|
625
536
|
decimal?: number;
|
|
626
|
-
address?: string;
|
|
627
|
-
isGasAsset: boolean;
|
|
628
|
-
isSynthetic: boolean;
|
|
629
|
-
tax?: {
|
|
630
|
-
buy: number;
|
|
631
|
-
sell: number;
|
|
632
|
-
};
|
|
633
537
|
};
|
|
634
538
|
liquidity?: {
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
ticker: string;
|
|
539
|
+
identifier: string;
|
|
540
|
+
amount: string;
|
|
638
541
|
decimal?: number;
|
|
639
|
-
address?: string;
|
|
640
|
-
isGasAsset: boolean;
|
|
641
|
-
isSynthetic: boolean;
|
|
642
|
-
tax?: {
|
|
643
|
-
buy: number;
|
|
644
|
-
sell: number;
|
|
645
|
-
};
|
|
646
542
|
};
|
|
647
543
|
protocol?: {
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
ticker: string;
|
|
544
|
+
identifier: string;
|
|
545
|
+
amount: string;
|
|
651
546
|
decimal?: number;
|
|
652
|
-
address?: string;
|
|
653
|
-
isGasAsset: boolean;
|
|
654
|
-
isSynthetic: boolean;
|
|
655
|
-
tax?: {
|
|
656
|
-
buy: number;
|
|
657
|
-
sell: number;
|
|
658
|
-
};
|
|
659
547
|
};
|
|
660
548
|
tax?: {
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
ticker: string;
|
|
549
|
+
identifier: string;
|
|
550
|
+
amount: string;
|
|
664
551
|
decimal?: number;
|
|
665
|
-
address?: string;
|
|
666
|
-
isGasAsset: boolean;
|
|
667
|
-
isSynthetic: boolean;
|
|
668
|
-
tax?: {
|
|
669
|
-
buy: number;
|
|
670
|
-
sell: number;
|
|
671
|
-
};
|
|
672
552
|
};
|
|
673
553
|
};
|
|
674
554
|
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';
|
|
@@ -1953,69 +1833,29 @@ export type TrackTransactionResponses = {
|
|
|
1953
1833
|
affiliate?: string;
|
|
1954
1834
|
fees?: {
|
|
1955
1835
|
network?: {
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
ticker: string;
|
|
1836
|
+
identifier: string;
|
|
1837
|
+
amount: string;
|
|
1959
1838
|
decimal?: number;
|
|
1960
|
-
address?: string;
|
|
1961
|
-
isGasAsset: boolean;
|
|
1962
|
-
isSynthetic: boolean;
|
|
1963
|
-
tax?: {
|
|
1964
|
-
buy: number;
|
|
1965
|
-
sell: number;
|
|
1966
|
-
};
|
|
1967
1839
|
};
|
|
1968
1840
|
affiliate?: {
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
ticker: string;
|
|
1841
|
+
identifier: string;
|
|
1842
|
+
amount: string;
|
|
1972
1843
|
decimal?: number;
|
|
1973
|
-
address?: string;
|
|
1974
|
-
isGasAsset: boolean;
|
|
1975
|
-
isSynthetic: boolean;
|
|
1976
|
-
tax?: {
|
|
1977
|
-
buy: number;
|
|
1978
|
-
sell: number;
|
|
1979
|
-
};
|
|
1980
1844
|
};
|
|
1981
1845
|
liquidity?: {
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
ticker: string;
|
|
1846
|
+
identifier: string;
|
|
1847
|
+
amount: string;
|
|
1985
1848
|
decimal?: number;
|
|
1986
|
-
address?: string;
|
|
1987
|
-
isGasAsset: boolean;
|
|
1988
|
-
isSynthetic: boolean;
|
|
1989
|
-
tax?: {
|
|
1990
|
-
buy: number;
|
|
1991
|
-
sell: number;
|
|
1992
|
-
};
|
|
1993
1849
|
};
|
|
1994
1850
|
protocol?: {
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
ticker: string;
|
|
1851
|
+
identifier: string;
|
|
1852
|
+
amount: string;
|
|
1998
1853
|
decimal?: number;
|
|
1999
|
-
address?: string;
|
|
2000
|
-
isGasAsset: boolean;
|
|
2001
|
-
isSynthetic: boolean;
|
|
2002
|
-
tax?: {
|
|
2003
|
-
buy: number;
|
|
2004
|
-
sell: number;
|
|
2005
|
-
};
|
|
2006
1854
|
};
|
|
2007
1855
|
tax?: {
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
ticker: string;
|
|
1856
|
+
identifier: string;
|
|
1857
|
+
amount: string;
|
|
2011
1858
|
decimal?: number;
|
|
2012
|
-
address?: string;
|
|
2013
|
-
isGasAsset: boolean;
|
|
2014
|
-
isSynthetic: boolean;
|
|
2015
|
-
tax?: {
|
|
2016
|
-
buy: number;
|
|
2017
|
-
sell: number;
|
|
2018
|
-
};
|
|
2019
1859
|
};
|
|
2020
1860
|
};
|
|
2021
1861
|
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';
|
|
@@ -2105,69 +1945,29 @@ export type TrackTransactionResponses = {
|
|
|
2105
1945
|
affiliate?: string;
|
|
2106
1946
|
fees?: {
|
|
2107
1947
|
network?: {
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
ticker: string;
|
|
1948
|
+
identifier: string;
|
|
1949
|
+
amount: string;
|
|
2111
1950
|
decimal?: number;
|
|
2112
|
-
address?: string;
|
|
2113
|
-
isGasAsset: boolean;
|
|
2114
|
-
isSynthetic: boolean;
|
|
2115
|
-
tax?: {
|
|
2116
|
-
buy: number;
|
|
2117
|
-
sell: number;
|
|
2118
|
-
};
|
|
2119
1951
|
};
|
|
2120
1952
|
affiliate?: {
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
ticker: string;
|
|
1953
|
+
identifier: string;
|
|
1954
|
+
amount: string;
|
|
2124
1955
|
decimal?: number;
|
|
2125
|
-
address?: string;
|
|
2126
|
-
isGasAsset: boolean;
|
|
2127
|
-
isSynthetic: boolean;
|
|
2128
|
-
tax?: {
|
|
2129
|
-
buy: number;
|
|
2130
|
-
sell: number;
|
|
2131
|
-
};
|
|
2132
1956
|
};
|
|
2133
1957
|
liquidity?: {
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
ticker: string;
|
|
1958
|
+
identifier: string;
|
|
1959
|
+
amount: string;
|
|
2137
1960
|
decimal?: number;
|
|
2138
|
-
address?: string;
|
|
2139
|
-
isGasAsset: boolean;
|
|
2140
|
-
isSynthetic: boolean;
|
|
2141
|
-
tax?: {
|
|
2142
|
-
buy: number;
|
|
2143
|
-
sell: number;
|
|
2144
|
-
};
|
|
2145
1961
|
};
|
|
2146
1962
|
protocol?: {
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
ticker: string;
|
|
1963
|
+
identifier: string;
|
|
1964
|
+
amount: string;
|
|
2150
1965
|
decimal?: number;
|
|
2151
|
-
address?: string;
|
|
2152
|
-
isGasAsset: boolean;
|
|
2153
|
-
isSynthetic: boolean;
|
|
2154
|
-
tax?: {
|
|
2155
|
-
buy: number;
|
|
2156
|
-
sell: number;
|
|
2157
|
-
};
|
|
2158
1966
|
};
|
|
2159
1967
|
tax?: {
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
ticker: string;
|
|
1968
|
+
identifier: string;
|
|
1969
|
+
amount: string;
|
|
2163
1970
|
decimal?: number;
|
|
2164
|
-
address?: string;
|
|
2165
|
-
isGasAsset: boolean;
|
|
2166
|
-
isSynthetic: boolean;
|
|
2167
|
-
tax?: {
|
|
2168
|
-
buy: number;
|
|
2169
|
-
sell: number;
|
|
2170
|
-
};
|
|
2171
1971
|
};
|
|
2172
1972
|
};
|
|
2173
1973
|
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';
|