@vaultsfyi/sdk 2.1.14 → 2.1.15
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/CHANGELOG.md +6 -0
- package/dist/client.d.mts +565 -0
- package/dist/client.d.ts +565 -0
- package/package.json +1 -1
package/dist/client.d.mts
CHANGED
|
@@ -237,6 +237,19 @@ interface paths {
|
|
|
237
237
|
};
|
|
238
238
|
};
|
|
239
239
|
/** @description Default Response */
|
|
240
|
+
404: {
|
|
241
|
+
headers: {
|
|
242
|
+
[name: string]: unknown;
|
|
243
|
+
};
|
|
244
|
+
content: {
|
|
245
|
+
'application/json': {
|
|
246
|
+
/** @enum {string} */
|
|
247
|
+
error: 'Not Found';
|
|
248
|
+
message: string;
|
|
249
|
+
};
|
|
250
|
+
};
|
|
251
|
+
};
|
|
252
|
+
/** @description Default Response */
|
|
240
253
|
408: {
|
|
241
254
|
headers: {
|
|
242
255
|
[name: string]: unknown;
|
|
@@ -435,6 +448,19 @@ interface paths {
|
|
|
435
448
|
};
|
|
436
449
|
};
|
|
437
450
|
/** @description Default Response */
|
|
451
|
+
404: {
|
|
452
|
+
headers: {
|
|
453
|
+
[name: string]: unknown;
|
|
454
|
+
};
|
|
455
|
+
content: {
|
|
456
|
+
'application/json': {
|
|
457
|
+
/** @enum {string} */
|
|
458
|
+
error: 'Not Found';
|
|
459
|
+
message: string;
|
|
460
|
+
};
|
|
461
|
+
};
|
|
462
|
+
};
|
|
463
|
+
/** @description Default Response */
|
|
438
464
|
408: {
|
|
439
465
|
headers: {
|
|
440
466
|
[name: string]: unknown;
|
|
@@ -588,6 +614,19 @@ interface paths {
|
|
|
588
614
|
};
|
|
589
615
|
};
|
|
590
616
|
/** @description Default Response */
|
|
617
|
+
404: {
|
|
618
|
+
headers: {
|
|
619
|
+
[name: string]: unknown;
|
|
620
|
+
};
|
|
621
|
+
content: {
|
|
622
|
+
'application/json': {
|
|
623
|
+
/** @enum {string} */
|
|
624
|
+
error: 'Not Found';
|
|
625
|
+
message: string;
|
|
626
|
+
};
|
|
627
|
+
};
|
|
628
|
+
};
|
|
629
|
+
/** @description Default Response */
|
|
591
630
|
408: {
|
|
592
631
|
headers: {
|
|
593
632
|
[name: string]: unknown;
|
|
@@ -751,6 +790,19 @@ interface paths {
|
|
|
751
790
|
};
|
|
752
791
|
};
|
|
753
792
|
/** @description Default Response */
|
|
793
|
+
404: {
|
|
794
|
+
headers: {
|
|
795
|
+
[name: string]: unknown;
|
|
796
|
+
};
|
|
797
|
+
content: {
|
|
798
|
+
'application/json': {
|
|
799
|
+
/** @enum {string} */
|
|
800
|
+
error: 'Not Found';
|
|
801
|
+
message: string;
|
|
802
|
+
};
|
|
803
|
+
};
|
|
804
|
+
};
|
|
805
|
+
/** @description Default Response */
|
|
754
806
|
408: {
|
|
755
807
|
headers: {
|
|
756
808
|
[name: string]: unknown;
|
|
@@ -911,6 +963,19 @@ interface paths {
|
|
|
911
963
|
};
|
|
912
964
|
};
|
|
913
965
|
/** @description Default Response */
|
|
966
|
+
404: {
|
|
967
|
+
headers: {
|
|
968
|
+
[name: string]: unknown;
|
|
969
|
+
};
|
|
970
|
+
content: {
|
|
971
|
+
'application/json': {
|
|
972
|
+
/** @enum {string} */
|
|
973
|
+
error: 'Not Found';
|
|
974
|
+
message: string;
|
|
975
|
+
};
|
|
976
|
+
};
|
|
977
|
+
};
|
|
978
|
+
/** @description Default Response */
|
|
914
979
|
408: {
|
|
915
980
|
headers: {
|
|
916
981
|
[name: string]: unknown;
|
|
@@ -1111,6 +1176,19 @@ interface paths {
|
|
|
1111
1176
|
};
|
|
1112
1177
|
};
|
|
1113
1178
|
/** @description Default Response */
|
|
1179
|
+
404: {
|
|
1180
|
+
headers: {
|
|
1181
|
+
[name: string]: unknown;
|
|
1182
|
+
};
|
|
1183
|
+
content: {
|
|
1184
|
+
'application/json': {
|
|
1185
|
+
/** @enum {string} */
|
|
1186
|
+
error: 'Not Found';
|
|
1187
|
+
message: string;
|
|
1188
|
+
};
|
|
1189
|
+
};
|
|
1190
|
+
};
|
|
1191
|
+
/** @description Default Response */
|
|
1114
1192
|
408: {
|
|
1115
1193
|
headers: {
|
|
1116
1194
|
[name: string]: unknown;
|
|
@@ -1302,6 +1380,19 @@ interface paths {
|
|
|
1302
1380
|
};
|
|
1303
1381
|
};
|
|
1304
1382
|
/** @description Default Response */
|
|
1383
|
+
404: {
|
|
1384
|
+
headers: {
|
|
1385
|
+
[name: string]: unknown;
|
|
1386
|
+
};
|
|
1387
|
+
content: {
|
|
1388
|
+
'application/json': {
|
|
1389
|
+
/** @enum {string} */
|
|
1390
|
+
error: 'Not Found';
|
|
1391
|
+
message: string;
|
|
1392
|
+
};
|
|
1393
|
+
};
|
|
1394
|
+
};
|
|
1395
|
+
/** @description Default Response */
|
|
1305
1396
|
408: {
|
|
1306
1397
|
headers: {
|
|
1307
1398
|
[name: string]: unknown;
|
|
@@ -1491,6 +1582,19 @@ interface paths {
|
|
|
1491
1582
|
};
|
|
1492
1583
|
};
|
|
1493
1584
|
/** @description Default Response */
|
|
1585
|
+
404: {
|
|
1586
|
+
headers: {
|
|
1587
|
+
[name: string]: unknown;
|
|
1588
|
+
};
|
|
1589
|
+
content: {
|
|
1590
|
+
'application/json': {
|
|
1591
|
+
/** @enum {string} */
|
|
1592
|
+
error: 'Not Found';
|
|
1593
|
+
message: string;
|
|
1594
|
+
};
|
|
1595
|
+
};
|
|
1596
|
+
};
|
|
1597
|
+
/** @description Default Response */
|
|
1494
1598
|
408: {
|
|
1495
1599
|
headers: {
|
|
1496
1600
|
[name: string]: unknown;
|
|
@@ -1675,6 +1779,212 @@ interface paths {
|
|
|
1675
1779
|
};
|
|
1676
1780
|
};
|
|
1677
1781
|
/** @description Default Response */
|
|
1782
|
+
404: {
|
|
1783
|
+
headers: {
|
|
1784
|
+
[name: string]: unknown;
|
|
1785
|
+
};
|
|
1786
|
+
content: {
|
|
1787
|
+
'application/json': {
|
|
1788
|
+
/** @enum {string} */
|
|
1789
|
+
error: 'Not Found';
|
|
1790
|
+
message: string;
|
|
1791
|
+
};
|
|
1792
|
+
};
|
|
1793
|
+
};
|
|
1794
|
+
/** @description Default Response */
|
|
1795
|
+
408: {
|
|
1796
|
+
headers: {
|
|
1797
|
+
[name: string]: unknown;
|
|
1798
|
+
};
|
|
1799
|
+
content: {
|
|
1800
|
+
'application/json': {
|
|
1801
|
+
message?: string;
|
|
1802
|
+
errorId?: string;
|
|
1803
|
+
} | unknown;
|
|
1804
|
+
};
|
|
1805
|
+
};
|
|
1806
|
+
/** @description Default Response */
|
|
1807
|
+
500: {
|
|
1808
|
+
headers: {
|
|
1809
|
+
[name: string]: unknown;
|
|
1810
|
+
};
|
|
1811
|
+
content: {
|
|
1812
|
+
'application/json': {
|
|
1813
|
+
/** @enum {string} */
|
|
1814
|
+
error: 'Internal Server Error';
|
|
1815
|
+
message: string;
|
|
1816
|
+
errorId?: string;
|
|
1817
|
+
} | unknown;
|
|
1818
|
+
};
|
|
1819
|
+
};
|
|
1820
|
+
/** @description Default Response */
|
|
1821
|
+
503: {
|
|
1822
|
+
headers: {
|
|
1823
|
+
[name: string]: unknown;
|
|
1824
|
+
};
|
|
1825
|
+
content: {
|
|
1826
|
+
'application/json': {
|
|
1827
|
+
/** @enum {string} */
|
|
1828
|
+
error: 'Service Unavailable';
|
|
1829
|
+
message: string;
|
|
1830
|
+
errorId?: string;
|
|
1831
|
+
} | unknown;
|
|
1832
|
+
};
|
|
1833
|
+
};
|
|
1834
|
+
};
|
|
1835
|
+
};
|
|
1836
|
+
put?: never;
|
|
1837
|
+
post?: never;
|
|
1838
|
+
delete?: never;
|
|
1839
|
+
options?: never;
|
|
1840
|
+
head?: never;
|
|
1841
|
+
patch?: never;
|
|
1842
|
+
trace?: never;
|
|
1843
|
+
};
|
|
1844
|
+
'/v2/historical/asset-prices/{network}/{assetAddress}': {
|
|
1845
|
+
parameters: {
|
|
1846
|
+
query?: never;
|
|
1847
|
+
header?: never;
|
|
1848
|
+
path?: never;
|
|
1849
|
+
cookie?: never;
|
|
1850
|
+
};
|
|
1851
|
+
/** @description Retrieves historical USD prices for a specific asset on a given network. */
|
|
1852
|
+
get: {
|
|
1853
|
+
parameters: {
|
|
1854
|
+
query?: {
|
|
1855
|
+
/** @description Page number (starting from 0) */
|
|
1856
|
+
page?: number;
|
|
1857
|
+
/** @description Number of items per page */
|
|
1858
|
+
perPage?: number;
|
|
1859
|
+
/** @description Granularity for historical data (even intervals starting from epoch 0). Possible values: 1hour, 1day, 1week */
|
|
1860
|
+
granularity?: '1hour' | '1day' | '1week';
|
|
1861
|
+
/** @description Timestamp for the start of the time period for which data will be fetched */
|
|
1862
|
+
fromTimestamp?: number;
|
|
1863
|
+
/** @description Timestamp for the end of the time period for which data will be fetched */
|
|
1864
|
+
toTimestamp?: number;
|
|
1865
|
+
};
|
|
1866
|
+
header?: never;
|
|
1867
|
+
path: {
|
|
1868
|
+
/** @description Include only vaults with provided network(name or CAIP) */
|
|
1869
|
+
network: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | 'katana' | 'linea' | 'mega-eth' | 'monad' | 'eip155:1' | 'eip155:10' | 'eip155:42161' | 'eip155:137' | 'eip155:100' | 'eip155:8453' | 'eip155:130' | 'eip155:1923' | 'eip155:42220' | 'eip155:480' | 'eip155:80094' | 'eip155:57073' | 'eip155:56' | 'eip155:999' | 'eip155:9745' | 'eip155:43114' | 'eip155:747474' | 'eip155:59144' | 'eip155:4326' | 'eip155:143';
|
|
1870
|
+
/** @description Asset address to get the historical prices for */
|
|
1871
|
+
assetAddress: string;
|
|
1872
|
+
};
|
|
1873
|
+
cookie?: never;
|
|
1874
|
+
};
|
|
1875
|
+
requestBody?: never;
|
|
1876
|
+
responses: {
|
|
1877
|
+
/** @description Historical price data for an asset, paginated by timestamp */
|
|
1878
|
+
200: {
|
|
1879
|
+
headers: {
|
|
1880
|
+
[name: string]: unknown;
|
|
1881
|
+
};
|
|
1882
|
+
content: {
|
|
1883
|
+
'application/json': {
|
|
1884
|
+
/** @description Number of items on the current page */
|
|
1885
|
+
itemsOnPage: number;
|
|
1886
|
+
/** @description Next page number */
|
|
1887
|
+
nextPage?: number;
|
|
1888
|
+
data: {
|
|
1889
|
+
/** @description Aggregating timestamp of the price data point */
|
|
1890
|
+
timestamp: number;
|
|
1891
|
+
/** @description Asset price in USD */
|
|
1892
|
+
priceInUsd: string;
|
|
1893
|
+
}[];
|
|
1894
|
+
};
|
|
1895
|
+
};
|
|
1896
|
+
};
|
|
1897
|
+
/** @description Default Response */
|
|
1898
|
+
400: {
|
|
1899
|
+
headers: {
|
|
1900
|
+
[name: string]: unknown;
|
|
1901
|
+
};
|
|
1902
|
+
content: {
|
|
1903
|
+
'application/json': {
|
|
1904
|
+
statusCode: number;
|
|
1905
|
+
/** @enum {string} */
|
|
1906
|
+
error: 'Bad Request';
|
|
1907
|
+
message: string;
|
|
1908
|
+
errorId?: string;
|
|
1909
|
+
} | unknown;
|
|
1910
|
+
};
|
|
1911
|
+
};
|
|
1912
|
+
/** @description Default Response */
|
|
1913
|
+
401: {
|
|
1914
|
+
headers: {
|
|
1915
|
+
[name: string]: unknown;
|
|
1916
|
+
};
|
|
1917
|
+
content: {
|
|
1918
|
+
'application/json': {
|
|
1919
|
+
/** @enum {string} */
|
|
1920
|
+
error: 'Unauthorized';
|
|
1921
|
+
/** @enum {string} */
|
|
1922
|
+
message: 'API key required. Please contact vaults.fyi support at https://t.me/vaultsfyisupport or email (support@wallfacer.io) for further assistance.' | 'This endpoint is only available to vaults.fyi PRO subscribers. Please upgrade your API key to access this feature.';
|
|
1923
|
+
errorId?: string;
|
|
1924
|
+
} | unknown;
|
|
1925
|
+
};
|
|
1926
|
+
};
|
|
1927
|
+
/** @description Default Response */
|
|
1928
|
+
402: {
|
|
1929
|
+
headers: {
|
|
1930
|
+
[name: string]: unknown;
|
|
1931
|
+
};
|
|
1932
|
+
content: {
|
|
1933
|
+
'application/json': {
|
|
1934
|
+
x402Version: number | string;
|
|
1935
|
+
error: string;
|
|
1936
|
+
accepts?: {
|
|
1937
|
+
/** @enum {string} */
|
|
1938
|
+
scheme: 'exact';
|
|
1939
|
+
/** @enum {string} */
|
|
1940
|
+
network: 'base';
|
|
1941
|
+
maxAmountRequired: string;
|
|
1942
|
+
resource: string;
|
|
1943
|
+
description: string;
|
|
1944
|
+
mimeType: string;
|
|
1945
|
+
outputSchema?: {
|
|
1946
|
+
[key: string]: unknown;
|
|
1947
|
+
};
|
|
1948
|
+
payTo: string;
|
|
1949
|
+
maxTimeoutSeconds: number;
|
|
1950
|
+
asset: string;
|
|
1951
|
+
extra: {
|
|
1952
|
+
name: string;
|
|
1953
|
+
version: string;
|
|
1954
|
+
};
|
|
1955
|
+
}[] | unknown;
|
|
1956
|
+
} | unknown;
|
|
1957
|
+
};
|
|
1958
|
+
};
|
|
1959
|
+
/** @description Default Response */
|
|
1960
|
+
403: {
|
|
1961
|
+
headers: {
|
|
1962
|
+
[name: string]: unknown;
|
|
1963
|
+
};
|
|
1964
|
+
content: {
|
|
1965
|
+
'application/json': {
|
|
1966
|
+
/** @enum {string} */
|
|
1967
|
+
error: 'Forbidden';
|
|
1968
|
+
/** @enum {string} */
|
|
1969
|
+
message: 'The provided API key has exhausted its available credits. Please contact vaults.fyi support at https://t.me/vaultsfyisupport or email (support@wallfacer.io) for further assistance.';
|
|
1970
|
+
errorId?: string;
|
|
1971
|
+
} | unknown;
|
|
1972
|
+
};
|
|
1973
|
+
};
|
|
1974
|
+
/** @description Default Response */
|
|
1975
|
+
404: {
|
|
1976
|
+
headers: {
|
|
1977
|
+
[name: string]: unknown;
|
|
1978
|
+
};
|
|
1979
|
+
content: {
|
|
1980
|
+
'application/json': {
|
|
1981
|
+
/** @enum {string} */
|
|
1982
|
+
error: 'Not Found';
|
|
1983
|
+
message: string;
|
|
1984
|
+
};
|
|
1985
|
+
};
|
|
1986
|
+
};
|
|
1987
|
+
/** @description Default Response */
|
|
1678
1988
|
408: {
|
|
1679
1989
|
headers: {
|
|
1680
1990
|
[name: string]: unknown;
|
|
@@ -2099,6 +2409,17 @@ interface paths {
|
|
|
2099
2409
|
/** @description Indicates if the vault supports rewards transaction flows */
|
|
2100
2410
|
rewardsSupported: boolean;
|
|
2101
2411
|
};
|
|
2412
|
+
/** @description Fee structure of the vault */
|
|
2413
|
+
fees?: {
|
|
2414
|
+
/** @description Performance fee as decimal */
|
|
2415
|
+
performanceFee?: number;
|
|
2416
|
+
/** @description Management fee as decimal */
|
|
2417
|
+
managementFee?: number;
|
|
2418
|
+
/** @description Withdrawal fee as decimal */
|
|
2419
|
+
withdrawalFee?: number;
|
|
2420
|
+
/** @description Deposit fee as decimal */
|
|
2421
|
+
depositFee?: number;
|
|
2422
|
+
};
|
|
2102
2423
|
/** @description List of warnings related to the vault */
|
|
2103
2424
|
warnings: string[];
|
|
2104
2425
|
}[];
|
|
@@ -2188,6 +2509,19 @@ interface paths {
|
|
|
2188
2509
|
};
|
|
2189
2510
|
};
|
|
2190
2511
|
/** @description Default Response */
|
|
2512
|
+
404: {
|
|
2513
|
+
headers: {
|
|
2514
|
+
[name: string]: unknown;
|
|
2515
|
+
};
|
|
2516
|
+
content: {
|
|
2517
|
+
'application/json': {
|
|
2518
|
+
/** @enum {string} */
|
|
2519
|
+
error: 'Not Found';
|
|
2520
|
+
message: string;
|
|
2521
|
+
};
|
|
2522
|
+
};
|
|
2523
|
+
};
|
|
2524
|
+
/** @description Default Response */
|
|
2191
2525
|
408: {
|
|
2192
2526
|
headers: {
|
|
2193
2527
|
[name: string]: unknown;
|
|
@@ -2571,6 +2905,17 @@ interface paths {
|
|
|
2571
2905
|
/** @description Indicates if the vault supports rewards transaction flows */
|
|
2572
2906
|
rewardsSupported: boolean;
|
|
2573
2907
|
};
|
|
2908
|
+
/** @description Fee structure of the vault */
|
|
2909
|
+
fees?: {
|
|
2910
|
+
/** @description Performance fee as decimal */
|
|
2911
|
+
performanceFee?: number;
|
|
2912
|
+
/** @description Management fee as decimal */
|
|
2913
|
+
managementFee?: number;
|
|
2914
|
+
/** @description Withdrawal fee as decimal */
|
|
2915
|
+
withdrawalFee?: number;
|
|
2916
|
+
/** @description Deposit fee as decimal */
|
|
2917
|
+
depositFee?: number;
|
|
2918
|
+
};
|
|
2574
2919
|
/** @description List of warnings related to the vault */
|
|
2575
2920
|
warnings: string[];
|
|
2576
2921
|
};
|
|
@@ -2654,6 +2999,19 @@ interface paths {
|
|
|
2654
2999
|
};
|
|
2655
3000
|
};
|
|
2656
3001
|
/** @description Default Response */
|
|
3002
|
+
404: {
|
|
3003
|
+
headers: {
|
|
3004
|
+
[name: string]: unknown;
|
|
3005
|
+
};
|
|
3006
|
+
content: {
|
|
3007
|
+
'application/json': {
|
|
3008
|
+
/** @enum {string} */
|
|
3009
|
+
error: 'Not Found';
|
|
3010
|
+
message: string;
|
|
3011
|
+
};
|
|
3012
|
+
};
|
|
3013
|
+
};
|
|
3014
|
+
/** @description Default Response */
|
|
2657
3015
|
408: {
|
|
2658
3016
|
headers: {
|
|
2659
3017
|
[name: string]: unknown;
|
|
@@ -2840,6 +3198,19 @@ interface paths {
|
|
|
2840
3198
|
};
|
|
2841
3199
|
};
|
|
2842
3200
|
/** @description Default Response */
|
|
3201
|
+
404: {
|
|
3202
|
+
headers: {
|
|
3203
|
+
[name: string]: unknown;
|
|
3204
|
+
};
|
|
3205
|
+
content: {
|
|
3206
|
+
'application/json': {
|
|
3207
|
+
/** @enum {string} */
|
|
3208
|
+
error: 'Not Found';
|
|
3209
|
+
message: string;
|
|
3210
|
+
};
|
|
3211
|
+
};
|
|
3212
|
+
};
|
|
3213
|
+
/** @description Default Response */
|
|
2843
3214
|
408: {
|
|
2844
3215
|
headers: {
|
|
2845
3216
|
[name: string]: unknown;
|
|
@@ -3003,6 +3374,19 @@ interface paths {
|
|
|
3003
3374
|
};
|
|
3004
3375
|
};
|
|
3005
3376
|
/** @description Default Response */
|
|
3377
|
+
404: {
|
|
3378
|
+
headers: {
|
|
3379
|
+
[name: string]: unknown;
|
|
3380
|
+
};
|
|
3381
|
+
content: {
|
|
3382
|
+
'application/json': {
|
|
3383
|
+
/** @enum {string} */
|
|
3384
|
+
error: 'Not Found';
|
|
3385
|
+
message: string;
|
|
3386
|
+
};
|
|
3387
|
+
};
|
|
3388
|
+
};
|
|
3389
|
+
/** @description Default Response */
|
|
3006
3390
|
408: {
|
|
3007
3391
|
headers: {
|
|
3008
3392
|
[name: string]: unknown;
|
|
@@ -3284,6 +3668,19 @@ interface paths {
|
|
|
3284
3668
|
};
|
|
3285
3669
|
};
|
|
3286
3670
|
/** @description Default Response */
|
|
3671
|
+
404: {
|
|
3672
|
+
headers: {
|
|
3673
|
+
[name: string]: unknown;
|
|
3674
|
+
};
|
|
3675
|
+
content: {
|
|
3676
|
+
'application/json': {
|
|
3677
|
+
/** @enum {string} */
|
|
3678
|
+
error: 'Not Found';
|
|
3679
|
+
message: string;
|
|
3680
|
+
};
|
|
3681
|
+
};
|
|
3682
|
+
};
|
|
3683
|
+
/** @description Default Response */
|
|
3287
3684
|
408: {
|
|
3288
3685
|
headers: {
|
|
3289
3686
|
[name: string]: unknown;
|
|
@@ -3716,6 +4113,19 @@ interface paths {
|
|
|
3716
4113
|
};
|
|
3717
4114
|
};
|
|
3718
4115
|
/** @description Default Response */
|
|
4116
|
+
404: {
|
|
4117
|
+
headers: {
|
|
4118
|
+
[name: string]: unknown;
|
|
4119
|
+
};
|
|
4120
|
+
content: {
|
|
4121
|
+
'application/json': {
|
|
4122
|
+
/** @enum {string} */
|
|
4123
|
+
error: 'Not Found';
|
|
4124
|
+
message: string;
|
|
4125
|
+
};
|
|
4126
|
+
};
|
|
4127
|
+
};
|
|
4128
|
+
/** @description Default Response */
|
|
3719
4129
|
408: {
|
|
3720
4130
|
headers: {
|
|
3721
4131
|
[name: string]: unknown;
|
|
@@ -4107,6 +4517,19 @@ interface paths {
|
|
|
4107
4517
|
};
|
|
4108
4518
|
};
|
|
4109
4519
|
/** @description Default Response */
|
|
4520
|
+
404: {
|
|
4521
|
+
headers: {
|
|
4522
|
+
[name: string]: unknown;
|
|
4523
|
+
};
|
|
4524
|
+
content: {
|
|
4525
|
+
'application/json': {
|
|
4526
|
+
/** @enum {string} */
|
|
4527
|
+
error: 'Not Found';
|
|
4528
|
+
message: string;
|
|
4529
|
+
};
|
|
4530
|
+
};
|
|
4531
|
+
};
|
|
4532
|
+
/** @description Default Response */
|
|
4110
4533
|
408: {
|
|
4111
4534
|
headers: {
|
|
4112
4535
|
[name: string]: unknown;
|
|
@@ -4394,6 +4817,19 @@ interface paths {
|
|
|
4394
4817
|
};
|
|
4395
4818
|
};
|
|
4396
4819
|
/** @description Default Response */
|
|
4820
|
+
404: {
|
|
4821
|
+
headers: {
|
|
4822
|
+
[name: string]: unknown;
|
|
4823
|
+
};
|
|
4824
|
+
content: {
|
|
4825
|
+
'application/json': {
|
|
4826
|
+
/** @enum {string} */
|
|
4827
|
+
error: 'Not Found';
|
|
4828
|
+
message: string;
|
|
4829
|
+
};
|
|
4830
|
+
};
|
|
4831
|
+
};
|
|
4832
|
+
/** @description Default Response */
|
|
4397
4833
|
408: {
|
|
4398
4834
|
headers: {
|
|
4399
4835
|
[name: string]: unknown;
|
|
@@ -4607,6 +5043,19 @@ interface paths {
|
|
|
4607
5043
|
};
|
|
4608
5044
|
};
|
|
4609
5045
|
/** @description Default Response */
|
|
5046
|
+
404: {
|
|
5047
|
+
headers: {
|
|
5048
|
+
[name: string]: unknown;
|
|
5049
|
+
};
|
|
5050
|
+
content: {
|
|
5051
|
+
'application/json': {
|
|
5052
|
+
/** @enum {string} */
|
|
5053
|
+
error: 'Not Found';
|
|
5054
|
+
message: string;
|
|
5055
|
+
};
|
|
5056
|
+
};
|
|
5057
|
+
};
|
|
5058
|
+
/** @description Default Response */
|
|
4610
5059
|
408: {
|
|
4611
5060
|
headers: {
|
|
4612
5061
|
[name: string]: unknown;
|
|
@@ -4789,6 +5238,19 @@ interface paths {
|
|
|
4789
5238
|
};
|
|
4790
5239
|
};
|
|
4791
5240
|
/** @description Default Response */
|
|
5241
|
+
404: {
|
|
5242
|
+
headers: {
|
|
5243
|
+
[name: string]: unknown;
|
|
5244
|
+
};
|
|
5245
|
+
content: {
|
|
5246
|
+
'application/json': {
|
|
5247
|
+
/** @enum {string} */
|
|
5248
|
+
error: 'Not Found';
|
|
5249
|
+
message: string;
|
|
5250
|
+
};
|
|
5251
|
+
};
|
|
5252
|
+
};
|
|
5253
|
+
/** @description Default Response */
|
|
4792
5254
|
408: {
|
|
4793
5255
|
headers: {
|
|
4794
5256
|
[name: string]: unknown;
|
|
@@ -5009,6 +5471,19 @@ interface paths {
|
|
|
5009
5471
|
};
|
|
5010
5472
|
};
|
|
5011
5473
|
/** @description Default Response */
|
|
5474
|
+
404: {
|
|
5475
|
+
headers: {
|
|
5476
|
+
[name: string]: unknown;
|
|
5477
|
+
};
|
|
5478
|
+
content: {
|
|
5479
|
+
'application/json': {
|
|
5480
|
+
/** @enum {string} */
|
|
5481
|
+
error: 'Not Found';
|
|
5482
|
+
message: string;
|
|
5483
|
+
};
|
|
5484
|
+
};
|
|
5485
|
+
};
|
|
5486
|
+
/** @description Default Response */
|
|
5012
5487
|
408: {
|
|
5013
5488
|
headers: {
|
|
5014
5489
|
[name: string]: unknown;
|
|
@@ -5414,6 +5889,19 @@ interface paths {
|
|
|
5414
5889
|
};
|
|
5415
5890
|
};
|
|
5416
5891
|
/** @description Default Response */
|
|
5892
|
+
404: {
|
|
5893
|
+
headers: {
|
|
5894
|
+
[name: string]: unknown;
|
|
5895
|
+
};
|
|
5896
|
+
content: {
|
|
5897
|
+
'application/json': {
|
|
5898
|
+
/** @enum {string} */
|
|
5899
|
+
error: 'Not Found';
|
|
5900
|
+
message: string;
|
|
5901
|
+
};
|
|
5902
|
+
};
|
|
5903
|
+
};
|
|
5904
|
+
/** @description Default Response */
|
|
5417
5905
|
408: {
|
|
5418
5906
|
headers: {
|
|
5419
5907
|
[name: string]: unknown;
|
|
@@ -5618,6 +6106,19 @@ interface paths {
|
|
|
5618
6106
|
};
|
|
5619
6107
|
};
|
|
5620
6108
|
/** @description Default Response */
|
|
6109
|
+
404: {
|
|
6110
|
+
headers: {
|
|
6111
|
+
[name: string]: unknown;
|
|
6112
|
+
};
|
|
6113
|
+
content: {
|
|
6114
|
+
'application/json': {
|
|
6115
|
+
/** @enum {string} */
|
|
6116
|
+
error: 'Not Found';
|
|
6117
|
+
message: string;
|
|
6118
|
+
};
|
|
6119
|
+
};
|
|
6120
|
+
};
|
|
6121
|
+
/** @description Default Response */
|
|
5621
6122
|
408: {
|
|
5622
6123
|
headers: {
|
|
5623
6124
|
[name: string]: unknown;
|
|
@@ -6760,6 +7261,19 @@ interface paths {
|
|
|
6760
7261
|
};
|
|
6761
7262
|
};
|
|
6762
7263
|
/** @description Default Response */
|
|
7264
|
+
404: {
|
|
7265
|
+
headers: {
|
|
7266
|
+
[name: string]: unknown;
|
|
7267
|
+
};
|
|
7268
|
+
content: {
|
|
7269
|
+
'application/json': {
|
|
7270
|
+
/** @enum {string} */
|
|
7271
|
+
error: 'Not Found';
|
|
7272
|
+
message: string;
|
|
7273
|
+
};
|
|
7274
|
+
};
|
|
7275
|
+
};
|
|
7276
|
+
/** @description Default Response */
|
|
6763
7277
|
408: {
|
|
6764
7278
|
headers: {
|
|
6765
7279
|
[name: string]: unknown;
|
|
@@ -7602,6 +8116,19 @@ interface paths {
|
|
|
7602
8116
|
};
|
|
7603
8117
|
};
|
|
7604
8118
|
/** @description Default Response */
|
|
8119
|
+
404: {
|
|
8120
|
+
headers: {
|
|
8121
|
+
[name: string]: unknown;
|
|
8122
|
+
};
|
|
8123
|
+
content: {
|
|
8124
|
+
'application/json': {
|
|
8125
|
+
/** @enum {string} */
|
|
8126
|
+
error: 'Not Found';
|
|
8127
|
+
message: string;
|
|
8128
|
+
};
|
|
8129
|
+
};
|
|
8130
|
+
};
|
|
8131
|
+
/** @description Default Response */
|
|
7605
8132
|
408: {
|
|
7606
8133
|
headers: {
|
|
7607
8134
|
[name: string]: unknown;
|
|
@@ -7794,6 +8321,19 @@ interface paths {
|
|
|
7794
8321
|
};
|
|
7795
8322
|
};
|
|
7796
8323
|
/** @description Default Response */
|
|
8324
|
+
404: {
|
|
8325
|
+
headers: {
|
|
8326
|
+
[name: string]: unknown;
|
|
8327
|
+
};
|
|
8328
|
+
content: {
|
|
8329
|
+
'application/json': {
|
|
8330
|
+
/** @enum {string} */
|
|
8331
|
+
error: 'Not Found';
|
|
8332
|
+
message: string;
|
|
8333
|
+
};
|
|
8334
|
+
};
|
|
8335
|
+
};
|
|
8336
|
+
/** @description Default Response */
|
|
7797
8337
|
408: {
|
|
7798
8338
|
headers: {
|
|
7799
8339
|
[name: string]: unknown;
|
|
@@ -8000,6 +8540,19 @@ interface paths {
|
|
|
8000
8540
|
};
|
|
8001
8541
|
};
|
|
8002
8542
|
/** @description Default Response */
|
|
8543
|
+
404: {
|
|
8544
|
+
headers: {
|
|
8545
|
+
[name: string]: unknown;
|
|
8546
|
+
};
|
|
8547
|
+
content: {
|
|
8548
|
+
'application/json': {
|
|
8549
|
+
/** @enum {string} */
|
|
8550
|
+
error: 'Not Found';
|
|
8551
|
+
message: string;
|
|
8552
|
+
};
|
|
8553
|
+
};
|
|
8554
|
+
};
|
|
8555
|
+
/** @description Default Response */
|
|
8003
8556
|
408: {
|
|
8004
8557
|
headers: {
|
|
8005
8558
|
[name: string]: unknown;
|
|
@@ -8651,6 +9204,12 @@ declare class VaultsSdk {
|
|
|
8651
9204
|
redeemStepsType: "instant" | "complex";
|
|
8652
9205
|
rewardsSupported: boolean;
|
|
8653
9206
|
};
|
|
9207
|
+
fees?: {
|
|
9208
|
+
performanceFee?: number;
|
|
9209
|
+
managementFee?: number;
|
|
9210
|
+
withdrawalFee?: number;
|
|
9211
|
+
depositFee?: number;
|
|
9212
|
+
};
|
|
8654
9213
|
warnings: string[];
|
|
8655
9214
|
}[];
|
|
8656
9215
|
errors: {
|
|
@@ -8813,6 +9372,12 @@ declare class VaultsSdk {
|
|
|
8813
9372
|
redeemStepsType: "instant" | "complex";
|
|
8814
9373
|
rewardsSupported: boolean;
|
|
8815
9374
|
};
|
|
9375
|
+
fees?: {
|
|
9376
|
+
performanceFee?: number;
|
|
9377
|
+
managementFee?: number;
|
|
9378
|
+
withdrawalFee?: number;
|
|
9379
|
+
depositFee?: number;
|
|
9380
|
+
};
|
|
8816
9381
|
warnings: string[];
|
|
8817
9382
|
}>;
|
|
8818
9383
|
getIdleAssets(params: Params<'/v2/portfolio/idle-assets/{userAddress}'>): Promise<{
|