@vaultsfyi/sdk 2.1.3 → 2.1.5

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/client.d.ts CHANGED
@@ -85,7 +85,7 @@ interface paths {
85
85
  /** @description Number of items per page */
86
86
  perPage?: number;
87
87
  /** @description Include only vaults with provided network(name or CAIP) */
88
- network?: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | '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';
88
+ network?: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | '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';
89
89
  /** @description Include only vaults with an asset of provided symbol(ticker) */
90
90
  assetSymbol?: string;
91
91
  /** @description Include only vaults that are supported in the transactional interface. */
@@ -119,7 +119,7 @@ interface paths {
119
119
  * @description Name of the network
120
120
  * @enum {string}
121
121
  */
122
- name: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma';
122
+ name: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche';
123
123
  /** @description Chain ID of the network */
124
124
  chainId: number;
125
125
  /** @description CAIP-2 of the network */
@@ -186,6 +186,38 @@ interface paths {
186
186
  };
187
187
  };
188
188
  /** @description Default Response */
189
+ 402: {
190
+ headers: {
191
+ [name: string]: unknown;
192
+ };
193
+ content: {
194
+ 'application/json': {
195
+ x402Version: number | string;
196
+ error: string;
197
+ accepts?: {
198
+ /** @enum {string} */
199
+ scheme: 'exact';
200
+ /** @enum {string} */
201
+ network: 'base';
202
+ maxAmountRequired: string;
203
+ resource: string;
204
+ description: string;
205
+ mimeType: string;
206
+ outputSchema?: {
207
+ [key: string]: unknown;
208
+ };
209
+ payTo: string;
210
+ maxTimeoutSeconds: number;
211
+ asset: string;
212
+ extra: {
213
+ name: string;
214
+ version: string;
215
+ };
216
+ }[] | unknown;
217
+ } | unknown;
218
+ };
219
+ };
220
+ /** @description Default Response */
189
221
  403: {
190
222
  headers: {
191
223
  [name: string]: unknown;
@@ -266,7 +298,7 @@ interface paths {
266
298
  /** @description Number of items per page */
267
299
  perPage?: number;
268
300
  /** @description Include only vaults with provided network(name or CAIP) */
269
- network?: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | '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';
301
+ network?: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | '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';
270
302
  };
271
303
  header?: never;
272
304
  path?: never;
@@ -311,7 +343,7 @@ interface paths {
311
343
  * @description Name of the network
312
344
  * @enum {string}
313
345
  */
314
- name: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma';
346
+ name: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche';
315
347
  /** @description Chain ID of the network */
316
348
  chainId: number;
317
349
  /** @description CAIP-2 of the network */
@@ -352,6 +384,38 @@ interface paths {
352
384
  };
353
385
  };
354
386
  /** @description Default Response */
387
+ 402: {
388
+ headers: {
389
+ [name: string]: unknown;
390
+ };
391
+ content: {
392
+ 'application/json': {
393
+ x402Version: number | string;
394
+ error: string;
395
+ accepts?: {
396
+ /** @enum {string} */
397
+ scheme: 'exact';
398
+ /** @enum {string} */
399
+ network: 'base';
400
+ maxAmountRequired: string;
401
+ resource: string;
402
+ description: string;
403
+ mimeType: string;
404
+ outputSchema?: {
405
+ [key: string]: unknown;
406
+ };
407
+ payTo: string;
408
+ maxTimeoutSeconds: number;
409
+ asset: string;
410
+ extra: {
411
+ name: string;
412
+ version: string;
413
+ };
414
+ }[] | unknown;
415
+ } | unknown;
416
+ };
417
+ };
418
+ /** @description Default Response */
355
419
  403: {
356
420
  headers: {
357
421
  [name: string]: unknown;
@@ -473,6 +537,38 @@ interface paths {
473
537
  };
474
538
  };
475
539
  /** @description Default Response */
540
+ 402: {
541
+ headers: {
542
+ [name: string]: unknown;
543
+ };
544
+ content: {
545
+ 'application/json': {
546
+ x402Version: number | string;
547
+ error: string;
548
+ accepts?: {
549
+ /** @enum {string} */
550
+ scheme: 'exact';
551
+ /** @enum {string} */
552
+ network: 'base';
553
+ maxAmountRequired: string;
554
+ resource: string;
555
+ description: string;
556
+ mimeType: string;
557
+ outputSchema?: {
558
+ [key: string]: unknown;
559
+ };
560
+ payTo: string;
561
+ maxTimeoutSeconds: number;
562
+ asset: string;
563
+ extra: {
564
+ name: string;
565
+ version: string;
566
+ };
567
+ }[] | unknown;
568
+ } | unknown;
569
+ };
570
+ };
571
+ /** @description Default Response */
476
572
  403: {
477
573
  headers: {
478
574
  [name: string]: unknown;
@@ -565,7 +661,7 @@ interface paths {
565
661
  * @description Name of the network
566
662
  * @enum {string}
567
663
  */
568
- name: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma';
664
+ name: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche';
569
665
  /** @description Chain ID of the network */
570
666
  chainId: number;
571
667
  /** @description CAIP-2 of the network */
@@ -604,6 +700,38 @@ interface paths {
604
700
  };
605
701
  };
606
702
  /** @description Default Response */
703
+ 402: {
704
+ headers: {
705
+ [name: string]: unknown;
706
+ };
707
+ content: {
708
+ 'application/json': {
709
+ x402Version: number | string;
710
+ error: string;
711
+ accepts?: {
712
+ /** @enum {string} */
713
+ scheme: 'exact';
714
+ /** @enum {string} */
715
+ network: 'base';
716
+ maxAmountRequired: string;
717
+ resource: string;
718
+ description: string;
719
+ mimeType: string;
720
+ outputSchema?: {
721
+ [key: string]: unknown;
722
+ };
723
+ payTo: string;
724
+ maxTimeoutSeconds: number;
725
+ asset: string;
726
+ extra: {
727
+ name: string;
728
+ version: string;
729
+ };
730
+ }[] | unknown;
731
+ } | unknown;
732
+ };
733
+ };
734
+ /** @description Default Response */
607
735
  403: {
608
736
  headers: {
609
737
  [name: string]: unknown;
@@ -695,7 +823,7 @@ interface paths {
695
823
  header?: never;
696
824
  path: {
697
825
  /** @description Include only vaults with provided network(name or CAIP) */
698
- network: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | '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';
826
+ network: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | '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';
699
827
  /** @description Address of the vault for which the data will be returned */
700
828
  vaultAddress: string;
701
829
  };
@@ -772,6 +900,38 @@ interface paths {
772
900
  };
773
901
  };
774
902
  /** @description Default Response */
903
+ 402: {
904
+ headers: {
905
+ [name: string]: unknown;
906
+ };
907
+ content: {
908
+ 'application/json': {
909
+ x402Version: number | string;
910
+ error: string;
911
+ accepts?: {
912
+ /** @enum {string} */
913
+ scheme: 'exact';
914
+ /** @enum {string} */
915
+ network: 'base';
916
+ maxAmountRequired: string;
917
+ resource: string;
918
+ description: string;
919
+ mimeType: string;
920
+ outputSchema?: {
921
+ [key: string]: unknown;
922
+ };
923
+ payTo: string;
924
+ maxTimeoutSeconds: number;
925
+ asset: string;
926
+ extra: {
927
+ name: string;
928
+ version: string;
929
+ };
930
+ }[] | unknown;
931
+ } | unknown;
932
+ };
933
+ };
934
+ /** @description Default Response */
775
935
  403: {
776
936
  headers: {
777
937
  [name: string]: unknown;
@@ -863,7 +1023,7 @@ interface paths {
863
1023
  header?: never;
864
1024
  path: {
865
1025
  /** @description Include only vaults with provided network(name or CAIP) */
866
- network: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | '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';
1026
+ network: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | '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';
867
1027
  /** @description Address of the vault for which the data will be returned */
868
1028
  vaultAddress: string;
869
1029
  };
@@ -931,6 +1091,38 @@ interface paths {
931
1091
  };
932
1092
  };
933
1093
  /** @description Default Response */
1094
+ 402: {
1095
+ headers: {
1096
+ [name: string]: unknown;
1097
+ };
1098
+ content: {
1099
+ 'application/json': {
1100
+ x402Version: number | string;
1101
+ error: string;
1102
+ accepts?: {
1103
+ /** @enum {string} */
1104
+ scheme: 'exact';
1105
+ /** @enum {string} */
1106
+ network: 'base';
1107
+ maxAmountRequired: string;
1108
+ resource: string;
1109
+ description: string;
1110
+ mimeType: string;
1111
+ outputSchema?: {
1112
+ [key: string]: unknown;
1113
+ };
1114
+ payTo: string;
1115
+ maxTimeoutSeconds: number;
1116
+ asset: string;
1117
+ extra: {
1118
+ name: string;
1119
+ version: string;
1120
+ };
1121
+ }[] | unknown;
1122
+ } | unknown;
1123
+ };
1124
+ };
1125
+ /** @description Default Response */
934
1126
  403: {
935
1127
  headers: {
936
1128
  [name: string]: unknown;
@@ -1022,7 +1214,7 @@ interface paths {
1022
1214
  header?: never;
1023
1215
  path: {
1024
1216
  /** @description Include only vaults with provided network(name or CAIP) */
1025
- network: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | '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';
1217
+ network: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | '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';
1026
1218
  /** @description Address of the vault for which the data will be returned */
1027
1219
  vaultAddress: string;
1028
1220
  };
@@ -1088,6 +1280,38 @@ interface paths {
1088
1280
  };
1089
1281
  };
1090
1282
  /** @description Default Response */
1283
+ 402: {
1284
+ headers: {
1285
+ [name: string]: unknown;
1286
+ };
1287
+ content: {
1288
+ 'application/json': {
1289
+ x402Version: number | string;
1290
+ error: string;
1291
+ accepts?: {
1292
+ /** @enum {string} */
1293
+ scheme: 'exact';
1294
+ /** @enum {string} */
1295
+ network: 'base';
1296
+ maxAmountRequired: string;
1297
+ resource: string;
1298
+ description: string;
1299
+ mimeType: string;
1300
+ outputSchema?: {
1301
+ [key: string]: unknown;
1302
+ };
1303
+ payTo: string;
1304
+ maxTimeoutSeconds: number;
1305
+ asset: string;
1306
+ extra: {
1307
+ name: string;
1308
+ version: string;
1309
+ };
1310
+ }[] | unknown;
1311
+ } | unknown;
1312
+ };
1313
+ };
1314
+ /** @description Default Response */
1091
1315
  403: {
1092
1316
  headers: {
1093
1317
  [name: string]: unknown;
@@ -1179,7 +1403,7 @@ interface paths {
1179
1403
  header?: never;
1180
1404
  path: {
1181
1405
  /** @description Include only vaults with provided network(name or CAIP) */
1182
- network: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | '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';
1406
+ network: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | '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';
1183
1407
  /** @description Address of the vault for which the data will be returned */
1184
1408
  vaultAddress: string;
1185
1409
  };
@@ -1240,6 +1464,38 @@ interface paths {
1240
1464
  };
1241
1465
  };
1242
1466
  /** @description Default Response */
1467
+ 402: {
1468
+ headers: {
1469
+ [name: string]: unknown;
1470
+ };
1471
+ content: {
1472
+ 'application/json': {
1473
+ x402Version: number | string;
1474
+ error: string;
1475
+ accepts?: {
1476
+ /** @enum {string} */
1477
+ scheme: 'exact';
1478
+ /** @enum {string} */
1479
+ network: 'base';
1480
+ maxAmountRequired: string;
1481
+ resource: string;
1482
+ description: string;
1483
+ mimeType: string;
1484
+ outputSchema?: {
1485
+ [key: string]: unknown;
1486
+ };
1487
+ payTo: string;
1488
+ maxTimeoutSeconds: number;
1489
+ asset: string;
1490
+ extra: {
1491
+ name: string;
1492
+ version: string;
1493
+ };
1494
+ }[] | unknown;
1495
+ } | unknown;
1496
+ };
1497
+ };
1498
+ /** @description Default Response */
1243
1499
  403: {
1244
1500
  headers: {
1245
1501
  [name: string]: unknown;
@@ -1334,9 +1590,9 @@ interface paths {
1334
1590
  /** @description Include only vaults that are featured in app.vaults.fyi */
1335
1591
  onlyAppFeatured?: boolean;
1336
1592
  /** @description Networks to be included (name or CAIP). */
1337
- allowedNetworks?: ('mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | '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')[];
1593
+ allowedNetworks?: ('mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | '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')[];
1338
1594
  /** @description Networks to be excluded (name or CAIP). The parameter is ignored if "allowedNetworks" is specified. */
1339
- disallowedNetworks?: ('mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | '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')[];
1595
+ disallowedNetworks?: ('mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | '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')[];
1340
1596
  /** @description Maximum TVL in USD of the vaults to be included */
1341
1597
  maxTvl?: number;
1342
1598
  /** @description Maximum APY (in decimal) of the vaults to be included */
@@ -1372,7 +1628,7 @@ interface paths {
1372
1628
  * @description Name of the network
1373
1629
  * @enum {string}
1374
1630
  */
1375
- name: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma';
1631
+ name: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche';
1376
1632
  /** @description Chain ID of the network */
1377
1633
  chainId: number;
1378
1634
  /** @description CAIP-2 of the network */
@@ -1650,6 +1906,8 @@ interface paths {
1650
1906
  /** @description Indicates if the vault supports rewards transaction flows */
1651
1907
  rewardsSupported: boolean;
1652
1908
  };
1909
+ /** @description List of warnings related to the vault */
1910
+ warnings: string[];
1653
1911
  }[];
1654
1912
  errors: {
1655
1913
  unsupportedNetworks: string[];
@@ -1690,6 +1948,38 @@ interface paths {
1690
1948
  };
1691
1949
  };
1692
1950
  /** @description Default Response */
1951
+ 402: {
1952
+ headers: {
1953
+ [name: string]: unknown;
1954
+ };
1955
+ content: {
1956
+ 'application/json': {
1957
+ x402Version: number | string;
1958
+ error: string;
1959
+ accepts?: {
1960
+ /** @enum {string} */
1961
+ scheme: 'exact';
1962
+ /** @enum {string} */
1963
+ network: 'base';
1964
+ maxAmountRequired: string;
1965
+ resource: string;
1966
+ description: string;
1967
+ mimeType: string;
1968
+ outputSchema?: {
1969
+ [key: string]: unknown;
1970
+ };
1971
+ payTo: string;
1972
+ maxTimeoutSeconds: number;
1973
+ asset: string;
1974
+ extra: {
1975
+ name: string;
1976
+ version: string;
1977
+ };
1978
+ }[] | unknown;
1979
+ } | unknown;
1980
+ };
1981
+ };
1982
+ /** @description Default Response */
1693
1983
  403: {
1694
1984
  headers: {
1695
1985
  [name: string]: unknown;
@@ -1768,7 +2058,7 @@ interface paths {
1768
2058
  header?: never;
1769
2059
  path: {
1770
2060
  /** @description Include only vaults with provided network(name or CAIP) */
1771
- network: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | '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';
2061
+ network: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | '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';
1772
2062
  /** @description Address of the vault for which the data will be returned */
1773
2063
  vaultAddress: string;
1774
2064
  };
@@ -1791,7 +2081,7 @@ interface paths {
1791
2081
  * @description Name of the network
1792
2082
  * @enum {string}
1793
2083
  */
1794
- name: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma';
2084
+ name: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche';
1795
2085
  /** @description Chain ID of the network */
1796
2086
  chainId: number;
1797
2087
  /** @description CAIP-2 of the network */
@@ -2069,6 +2359,8 @@ interface paths {
2069
2359
  /** @description Indicates if the vault supports rewards transaction flows */
2070
2360
  rewardsSupported: boolean;
2071
2361
  };
2362
+ /** @description List of warnings related to the vault */
2363
+ warnings: string[];
2072
2364
  };
2073
2365
  };
2074
2366
  };
@@ -2103,6 +2395,38 @@ interface paths {
2103
2395
  };
2104
2396
  };
2105
2397
  /** @description Default Response */
2398
+ 402: {
2399
+ headers: {
2400
+ [name: string]: unknown;
2401
+ };
2402
+ content: {
2403
+ 'application/json': {
2404
+ x402Version: number | string;
2405
+ error: string;
2406
+ accepts?: {
2407
+ /** @enum {string} */
2408
+ scheme: 'exact';
2409
+ /** @enum {string} */
2410
+ network: 'base';
2411
+ maxAmountRequired: string;
2412
+ resource: string;
2413
+ description: string;
2414
+ mimeType: string;
2415
+ outputSchema?: {
2416
+ [key: string]: unknown;
2417
+ };
2418
+ payTo: string;
2419
+ maxTimeoutSeconds: number;
2420
+ asset: string;
2421
+ extra: {
2422
+ name: string;
2423
+ version: string;
2424
+ };
2425
+ }[] | unknown;
2426
+ } | unknown;
2427
+ };
2428
+ };
2429
+ /** @description Default Response */
2106
2430
  403: {
2107
2431
  headers: {
2108
2432
  [name: string]: unknown;
@@ -2181,7 +2505,7 @@ interface paths {
2181
2505
  header?: never;
2182
2506
  path: {
2183
2507
  /** @description Include only vaults with provided network(name or CAIP) */
2184
- network: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | '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';
2508
+ network: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | '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';
2185
2509
  /** @description Address of the vault for which the data will be returned */
2186
2510
  vaultAddress: string;
2187
2511
  };
@@ -2257,6 +2581,38 @@ interface paths {
2257
2581
  };
2258
2582
  };
2259
2583
  /** @description Default Response */
2584
+ 402: {
2585
+ headers: {
2586
+ [name: string]: unknown;
2587
+ };
2588
+ content: {
2589
+ 'application/json': {
2590
+ x402Version: number | string;
2591
+ error: string;
2592
+ accepts?: {
2593
+ /** @enum {string} */
2594
+ scheme: 'exact';
2595
+ /** @enum {string} */
2596
+ network: 'base';
2597
+ maxAmountRequired: string;
2598
+ resource: string;
2599
+ description: string;
2600
+ mimeType: string;
2601
+ outputSchema?: {
2602
+ [key: string]: unknown;
2603
+ };
2604
+ payTo: string;
2605
+ maxTimeoutSeconds: number;
2606
+ asset: string;
2607
+ extra: {
2608
+ name: string;
2609
+ version: string;
2610
+ };
2611
+ }[] | unknown;
2612
+ } | unknown;
2613
+ };
2614
+ };
2615
+ /** @description Default Response */
2260
2616
  403: {
2261
2617
  headers: {
2262
2618
  [name: string]: unknown;
@@ -2335,7 +2691,7 @@ interface paths {
2335
2691
  header?: never;
2336
2692
  path: {
2337
2693
  /** @description Include only vaults with provided network(name or CAIP) */
2338
- network: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | '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';
2694
+ network: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | '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';
2339
2695
  /** @description Address of the vault for which the data will be returned */
2340
2696
  vaultAddress: string;
2341
2697
  };
@@ -2388,6 +2744,38 @@ interface paths {
2388
2744
  };
2389
2745
  };
2390
2746
  /** @description Default Response */
2747
+ 402: {
2748
+ headers: {
2749
+ [name: string]: unknown;
2750
+ };
2751
+ content: {
2752
+ 'application/json': {
2753
+ x402Version: number | string;
2754
+ error: string;
2755
+ accepts?: {
2756
+ /** @enum {string} */
2757
+ scheme: 'exact';
2758
+ /** @enum {string} */
2759
+ network: 'base';
2760
+ maxAmountRequired: string;
2761
+ resource: string;
2762
+ description: string;
2763
+ mimeType: string;
2764
+ outputSchema?: {
2765
+ [key: string]: unknown;
2766
+ };
2767
+ payTo: string;
2768
+ maxTimeoutSeconds: number;
2769
+ asset: string;
2770
+ extra: {
2771
+ name: string;
2772
+ version: string;
2773
+ };
2774
+ }[] | unknown;
2775
+ } | unknown;
2776
+ };
2777
+ };
2778
+ /** @description Default Response */
2391
2779
  403: {
2392
2780
  headers: {
2393
2781
  [name: string]: unknown;
@@ -2478,9 +2866,9 @@ interface paths {
2478
2866
  /** @description Include only vaults that are featured in app.vaults.fyi */
2479
2867
  onlyAppFeatured?: boolean;
2480
2868
  /** @description Networks to be included (name or CAIP). */
2481
- allowedNetworks?: ('mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | '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')[];
2869
+ allowedNetworks?: ('mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | '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')[];
2482
2870
  /** @description Networks to be excluded (name or CAIP). The parameter is ignored if "allowedNetworks" is specified. */
2483
- disallowedNetworks?: ('mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | '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')[];
2871
+ disallowedNetworks?: ('mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | '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')[];
2484
2872
  /** @description Interval for APY data. Possible values: 1day, 7day, 30day */
2485
2873
  apyInterval?: '1day' | '7day' | '30day';
2486
2874
  /** @description Minimum APY of the vault to be included */
@@ -2544,7 +2932,7 @@ interface paths {
2544
2932
  * @description Name of the network
2545
2933
  * @enum {string}
2546
2934
  */
2547
- name: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma';
2935
+ name: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche';
2548
2936
  /** @description Chain ID of the network */
2549
2937
  chainId: number;
2550
2938
  /** @description CAIP-2 of the network */
@@ -2633,6 +3021,38 @@ interface paths {
2633
3021
  };
2634
3022
  };
2635
3023
  /** @description Default Response */
3024
+ 402: {
3025
+ headers: {
3026
+ [name: string]: unknown;
3027
+ };
3028
+ content: {
3029
+ 'application/json': {
3030
+ x402Version: number | string;
3031
+ error: string;
3032
+ accepts?: {
3033
+ /** @enum {string} */
3034
+ scheme: 'exact';
3035
+ /** @enum {string} */
3036
+ network: 'base';
3037
+ maxAmountRequired: string;
3038
+ resource: string;
3039
+ description: string;
3040
+ mimeType: string;
3041
+ outputSchema?: {
3042
+ [key: string]: unknown;
3043
+ };
3044
+ payTo: string;
3045
+ maxTimeoutSeconds: number;
3046
+ asset: string;
3047
+ extra: {
3048
+ name: string;
3049
+ version: string;
3050
+ };
3051
+ }[] | unknown;
3052
+ } | unknown;
3053
+ };
3054
+ };
3055
+ /** @description Default Response */
2636
3056
  403: {
2637
3057
  headers: {
2638
3058
  [name: string]: unknown;
@@ -2723,9 +3143,9 @@ interface paths {
2723
3143
  /** @description Include only vaults that are featured in app.vaults.fyi */
2724
3144
  onlyAppFeatured?: boolean;
2725
3145
  /** @description Networks to be included (name or CAIP). */
2726
- allowedNetworks?: ('mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | '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')[];
3146
+ allowedNetworks?: ('mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | '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')[];
2727
3147
  /** @description Networks to be excluded (name or CAIP). The parameter is ignored if "allowedNetworks" is specified. */
2728
- disallowedNetworks?: ('mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | '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')[];
3148
+ disallowedNetworks?: ('mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | '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')[];
2729
3149
  /** @description Maximum TVL in USD of the vaults to be included */
2730
3150
  maxTvl?: number;
2731
3151
  /** @description Maximum APY (in decimal) of the vaults to be included */
@@ -2764,7 +3184,7 @@ interface paths {
2764
3184
  * @description Name of the network
2765
3185
  * @enum {string}
2766
3186
  */
2767
- name: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma';
3187
+ name: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche';
2768
3188
  /** @description Chain ID of the network */
2769
3189
  chainId: number;
2770
3190
  /** @description CAIP-2 of the network */
@@ -3023,6 +3443,38 @@ interface paths {
3023
3443
  };
3024
3444
  };
3025
3445
  /** @description Default Response */
3446
+ 402: {
3447
+ headers: {
3448
+ [name: string]: unknown;
3449
+ };
3450
+ content: {
3451
+ 'application/json': {
3452
+ x402Version: number | string;
3453
+ error: string;
3454
+ accepts?: {
3455
+ /** @enum {string} */
3456
+ scheme: 'exact';
3457
+ /** @enum {string} */
3458
+ network: 'base';
3459
+ maxAmountRequired: string;
3460
+ resource: string;
3461
+ description: string;
3462
+ mimeType: string;
3463
+ outputSchema?: {
3464
+ [key: string]: unknown;
3465
+ };
3466
+ payTo: string;
3467
+ maxTimeoutSeconds: number;
3468
+ asset: string;
3469
+ extra: {
3470
+ name: string;
3471
+ version: string;
3472
+ };
3473
+ }[] | unknown;
3474
+ } | unknown;
3475
+ };
3476
+ };
3477
+ /** @description Default Response */
3026
3478
  403: {
3027
3479
  headers: {
3028
3480
  [name: string]: unknown;
@@ -3106,7 +3558,7 @@ interface paths {
3106
3558
  /** @description User address to be used for best vault calculation */
3107
3559
  userAddress: string;
3108
3560
  /** @description Include only vaults with provided network(name or CAIP) */
3109
- network: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | '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';
3561
+ network: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | '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';
3110
3562
  /** @description Address of the vault for which the data will be returned */
3111
3563
  vaultAddress: string;
3112
3564
  };
@@ -3129,7 +3581,7 @@ interface paths {
3129
3581
  * @description Name of the network
3130
3582
  * @enum {string}
3131
3583
  */
3132
- name: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma';
3584
+ name: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche';
3133
3585
  /** @description Chain ID of the network */
3134
3586
  chainId: number;
3135
3587
  /** @description CAIP-2 of the network */
@@ -3382,6 +3834,38 @@ interface paths {
3382
3834
  };
3383
3835
  };
3384
3836
  /** @description Default Response */
3837
+ 402: {
3838
+ headers: {
3839
+ [name: string]: unknown;
3840
+ };
3841
+ content: {
3842
+ 'application/json': {
3843
+ x402Version: number | string;
3844
+ error: string;
3845
+ accepts?: {
3846
+ /** @enum {string} */
3847
+ scheme: 'exact';
3848
+ /** @enum {string} */
3849
+ network: 'base';
3850
+ maxAmountRequired: string;
3851
+ resource: string;
3852
+ description: string;
3853
+ mimeType: string;
3854
+ outputSchema?: {
3855
+ [key: string]: unknown;
3856
+ };
3857
+ payTo: string;
3858
+ maxTimeoutSeconds: number;
3859
+ asset: string;
3860
+ extra: {
3861
+ name: string;
3862
+ version: string;
3863
+ };
3864
+ }[] | unknown;
3865
+ } | unknown;
3866
+ };
3867
+ };
3868
+ /** @description Default Response */
3385
3869
  403: {
3386
3870
  headers: {
3387
3871
  [name: string]: unknown;
@@ -3472,9 +3956,9 @@ interface paths {
3472
3956
  /** @description Include only vaults that are featured in app.vaults.fyi */
3473
3957
  onlyAppFeatured?: boolean;
3474
3958
  /** @description Networks to be included (name or CAIP). */
3475
- allowedNetworks?: ('mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | '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')[];
3959
+ allowedNetworks?: ('mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | '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')[];
3476
3960
  /** @description Networks to be excluded (name or CAIP). The parameter is ignored if "allowedNetworks" is specified. */
3477
- disallowedNetworks?: ('mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | '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')[];
3961
+ disallowedNetworks?: ('mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | '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')[];
3478
3962
  /** @description Interval for APY data. Possible values: 1day, 7day, 30day */
3479
3963
  apyInterval?: '1day' | '7day' | '30day';
3480
3964
  /** @description Minimum APY of the vault to be included */
@@ -3543,7 +4027,7 @@ interface paths {
3543
4027
  * @description Name of the network
3544
4028
  * @enum {string}
3545
4029
  */
3546
- name: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma';
4030
+ name: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche';
3547
4031
  /** @description Chain ID of the network */
3548
4032
  chainId: number;
3549
4033
  /** @description CAIP-2 of the network */
@@ -3633,6 +4117,38 @@ interface paths {
3633
4117
  };
3634
4118
  };
3635
4119
  /** @description Default Response */
4120
+ 402: {
4121
+ headers: {
4122
+ [name: string]: unknown;
4123
+ };
4124
+ content: {
4125
+ 'application/json': {
4126
+ x402Version: number | string;
4127
+ error: string;
4128
+ accepts?: {
4129
+ /** @enum {string} */
4130
+ scheme: 'exact';
4131
+ /** @enum {string} */
4132
+ network: 'base';
4133
+ maxAmountRequired: string;
4134
+ resource: string;
4135
+ description: string;
4136
+ mimeType: string;
4137
+ outputSchema?: {
4138
+ [key: string]: unknown;
4139
+ };
4140
+ payTo: string;
4141
+ maxTimeoutSeconds: number;
4142
+ asset: string;
4143
+ extra: {
4144
+ name: string;
4145
+ version: string;
4146
+ };
4147
+ }[] | unknown;
4148
+ } | unknown;
4149
+ };
4150
+ };
4151
+ /** @description Default Response */
3636
4152
  403: {
3637
4153
  headers: {
3638
4154
  [name: string]: unknown;
@@ -3715,9 +4231,9 @@ interface paths {
3715
4231
  /** @description Minimum USD value of the asset to be included */
3716
4232
  minUsdAssetValueThreshold?: number;
3717
4233
  /** @description Networks to be included (name or CAIP). */
3718
- allowedNetworks?: ('mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | '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')[];
4234
+ allowedNetworks?: ('mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | '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')[];
3719
4235
  /** @description Networks to be excluded (name or CAIP). The parameter is ignored if "allowedNetworks" is specified. */
3720
- disallowedNetworks?: ('mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | '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')[];
4236
+ disallowedNetworks?: ('mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | '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')[];
3721
4237
  };
3722
4238
  header?: never;
3723
4239
  path: {
@@ -3765,7 +4281,7 @@ interface paths {
3765
4281
  * @description Name of the network
3766
4282
  * @enum {string}
3767
4283
  */
3768
- name: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma';
4284
+ name: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche';
3769
4285
  /** @description Chain ID of the network */
3770
4286
  chainId: number;
3771
4287
  /** @description CAIP-2 of the network */
@@ -3810,6 +4326,38 @@ interface paths {
3810
4326
  };
3811
4327
  };
3812
4328
  /** @description Default Response */
4329
+ 402: {
4330
+ headers: {
4331
+ [name: string]: unknown;
4332
+ };
4333
+ content: {
4334
+ 'application/json': {
4335
+ x402Version: number | string;
4336
+ error: string;
4337
+ accepts?: {
4338
+ /** @enum {string} */
4339
+ scheme: 'exact';
4340
+ /** @enum {string} */
4341
+ network: 'base';
4342
+ maxAmountRequired: string;
4343
+ resource: string;
4344
+ description: string;
4345
+ mimeType: string;
4346
+ outputSchema?: {
4347
+ [key: string]: unknown;
4348
+ };
4349
+ payTo: string;
4350
+ maxTimeoutSeconds: number;
4351
+ asset: string;
4352
+ extra: {
4353
+ name: string;
4354
+ version: string;
4355
+ };
4356
+ }[] | unknown;
4357
+ } | unknown;
4358
+ };
4359
+ };
4360
+ /** @description Default Response */
3813
4361
  403: {
3814
4362
  headers: {
3815
4363
  [name: string]: unknown;
@@ -3890,7 +4438,7 @@ interface paths {
3890
4438
  /** @description User address to get returns for */
3891
4439
  userAddress: string;
3892
4440
  /** @description Network to get returns for */
3893
- network: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | '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';
4441
+ network: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | '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';
3894
4442
  /** @description Vault address to get returns for */
3895
4443
  vaultAddress: string;
3896
4444
  };
@@ -3960,6 +4508,38 @@ interface paths {
3960
4508
  };
3961
4509
  };
3962
4510
  /** @description Default Response */
4511
+ 402: {
4512
+ headers: {
4513
+ [name: string]: unknown;
4514
+ };
4515
+ content: {
4516
+ 'application/json': {
4517
+ x402Version: number | string;
4518
+ error: string;
4519
+ accepts?: {
4520
+ /** @enum {string} */
4521
+ scheme: 'exact';
4522
+ /** @enum {string} */
4523
+ network: 'base';
4524
+ maxAmountRequired: string;
4525
+ resource: string;
4526
+ description: string;
4527
+ mimeType: string;
4528
+ outputSchema?: {
4529
+ [key: string]: unknown;
4530
+ };
4531
+ payTo: string;
4532
+ maxTimeoutSeconds: number;
4533
+ asset: string;
4534
+ extra: {
4535
+ name: string;
4536
+ version: string;
4537
+ };
4538
+ }[] | unknown;
4539
+ } | unknown;
4540
+ };
4541
+ };
4542
+ /** @description Default Response */
3963
4543
  403: {
3964
4544
  headers: {
3965
4545
  [name: string]: unknown;
@@ -4040,7 +4620,7 @@ interface paths {
4040
4620
  /** @description User address to get returns for */
4041
4621
  userAddress: string;
4042
4622
  /** @description Network to get returns for */
4043
- network: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | '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';
4623
+ network: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | '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';
4044
4624
  /** @description Vault address to get returns for */
4045
4625
  vaultAddress: string;
4046
4626
  };
@@ -4148,6 +4728,38 @@ interface paths {
4148
4728
  };
4149
4729
  };
4150
4730
  /** @description Default Response */
4731
+ 402: {
4732
+ headers: {
4733
+ [name: string]: unknown;
4734
+ };
4735
+ content: {
4736
+ 'application/json': {
4737
+ x402Version: number | string;
4738
+ error: string;
4739
+ accepts?: {
4740
+ /** @enum {string} */
4741
+ scheme: 'exact';
4742
+ /** @enum {string} */
4743
+ network: 'base';
4744
+ maxAmountRequired: string;
4745
+ resource: string;
4746
+ description: string;
4747
+ mimeType: string;
4748
+ outputSchema?: {
4749
+ [key: string]: unknown;
4750
+ };
4751
+ payTo: string;
4752
+ maxTimeoutSeconds: number;
4753
+ asset: string;
4754
+ extra: {
4755
+ name: string;
4756
+ version: string;
4757
+ };
4758
+ }[] | unknown;
4759
+ } | unknown;
4760
+ };
4761
+ };
4762
+ /** @description Default Response */
4151
4763
  403: {
4152
4764
  headers: {
4153
4765
  [name: string]: unknown;
@@ -4228,7 +4840,7 @@ interface paths {
4228
4840
  /** @description User address */
4229
4841
  userAddress: string;
4230
4842
  /** @description Network name or CAIP-2 identifier */
4231
- network: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | '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';
4843
+ network: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | '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';
4232
4844
  /** @description Vault address */
4233
4845
  vaultAddress: string;
4234
4846
  };
@@ -4463,7 +5075,7 @@ interface paths {
4463
5075
  * @description Network of the reward
4464
5076
  * @enum {string}
4465
5077
  */
4466
- network: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma';
5078
+ network: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche';
4467
5079
  };
4468
5080
  }[];
4469
5081
  /**
@@ -4513,6 +5125,38 @@ interface paths {
4513
5125
  };
4514
5126
  };
4515
5127
  /** @description Default Response */
5128
+ 402: {
5129
+ headers: {
5130
+ [name: string]: unknown;
5131
+ };
5132
+ content: {
5133
+ 'application/json': {
5134
+ x402Version: number | string;
5135
+ error: string;
5136
+ accepts?: {
5137
+ /** @enum {string} */
5138
+ scheme: 'exact';
5139
+ /** @enum {string} */
5140
+ network: 'base';
5141
+ maxAmountRequired: string;
5142
+ resource: string;
5143
+ description: string;
5144
+ mimeType: string;
5145
+ outputSchema?: {
5146
+ [key: string]: unknown;
5147
+ };
5148
+ payTo: string;
5149
+ maxTimeoutSeconds: number;
5150
+ asset: string;
5151
+ extra: {
5152
+ name: string;
5153
+ version: string;
5154
+ };
5155
+ }[] | unknown;
5156
+ } | unknown;
5157
+ };
5158
+ };
5159
+ /** @description Default Response */
4516
5160
  403: {
4517
5161
  headers: {
4518
5162
  [name: string]: unknown;
@@ -4604,7 +5248,7 @@ interface paths {
4604
5248
  /** @description User address to get returns for */
4605
5249
  userAddress: string;
4606
5250
  /** @description Network to get returns for */
4607
- network: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | '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';
5251
+ network: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | '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';
4608
5252
  /** @description Vault address to get returns for */
4609
5253
  vaultAddress: string;
4610
5254
  };
@@ -4685,6 +5329,38 @@ interface paths {
4685
5329
  };
4686
5330
  };
4687
5331
  /** @description Default Response */
5332
+ 402: {
5333
+ headers: {
5334
+ [name: string]: unknown;
5335
+ };
5336
+ content: {
5337
+ 'application/json': {
5338
+ x402Version: number | string;
5339
+ error: string;
5340
+ accepts?: {
5341
+ /** @enum {string} */
5342
+ scheme: 'exact';
5343
+ /** @enum {string} */
5344
+ network: 'base';
5345
+ maxAmountRequired: string;
5346
+ resource: string;
5347
+ description: string;
5348
+ mimeType: string;
5349
+ outputSchema?: {
5350
+ [key: string]: unknown;
5351
+ };
5352
+ payTo: string;
5353
+ maxTimeoutSeconds: number;
5354
+ asset: string;
5355
+ extra: {
5356
+ name: string;
5357
+ version: string;
5358
+ };
5359
+ }[] | unknown;
5360
+ } | unknown;
5361
+ };
5362
+ };
5363
+ /** @description Default Response */
4688
5364
  403: {
4689
5365
  headers: {
4690
5366
  [name: string]: unknown;
@@ -5513,6 +6189,55 @@ interface paths {
5513
6189
  /** @description URL to claim this specific reward */
5514
6190
  actionUrl: string;
5515
6191
  }[];
6192
+ avalanche: {
6193
+ /** @description Unique identifier for the reward */
6194
+ claimId: string;
6195
+ /** @description Reward asset details */
6196
+ asset: {
6197
+ /** @description Address of the asset */
6198
+ address: string;
6199
+ /** @description CAIP-2 of the asset */
6200
+ assetCaip: string;
6201
+ /** @description Name of the asset */
6202
+ name: string;
6203
+ /** @description Symbol of the asset */
6204
+ symbol: string;
6205
+ /** @description Number of decimals of the asset */
6206
+ decimals: number;
6207
+ /**
6208
+ * Format: uri
6209
+ * @description URL of the asset logo
6210
+ */
6211
+ assetLogo?: string;
6212
+ /** @description Price of the asset in USD */
6213
+ assetPriceInUsd?: string;
6214
+ /** @description Group of the asset, e.g., ETH, USD, EURO, BTC, OTHER */
6215
+ assetGroup: string;
6216
+ /** @description Amount of the asset that can be claimed */
6217
+ claimableAmount: string;
6218
+ /** @description Amount of the asset that can be claimed in USD */
6219
+ claimableAmountInUsd?: string;
6220
+ };
6221
+ /** @description Sources of the reward */
6222
+ sources: {
6223
+ protocol: {
6224
+ /** @description Name of the protocol */
6225
+ name: string;
6226
+ /** @description Product of the protocol */
6227
+ product?: string;
6228
+ /** @description Version of the protocol */
6229
+ version?: string;
6230
+ /** @description URL of the protocol */
6231
+ protocolUrl?: string;
6232
+ /** @description URL of the protocol logo */
6233
+ protocolLogo?: string;
6234
+ /** @description Description of the protocol */
6235
+ description?: string;
6236
+ };
6237
+ }[];
6238
+ /** @description URL to claim this specific reward */
6239
+ actionUrl: string;
6240
+ }[];
5516
6241
  };
5517
6242
  /** @description URL for claiming all rewards */
5518
6243
  actionUrl: string;
@@ -5550,6 +6275,38 @@ interface paths {
5550
6275
  };
5551
6276
  };
5552
6277
  /** @description Default Response */
6278
+ 402: {
6279
+ headers: {
6280
+ [name: string]: unknown;
6281
+ };
6282
+ content: {
6283
+ 'application/json': {
6284
+ x402Version: number | string;
6285
+ error: string;
6286
+ accepts?: {
6287
+ /** @enum {string} */
6288
+ scheme: 'exact';
6289
+ /** @enum {string} */
6290
+ network: 'base';
6291
+ maxAmountRequired: string;
6292
+ resource: string;
6293
+ description: string;
6294
+ mimeType: string;
6295
+ outputSchema?: {
6296
+ [key: string]: unknown;
6297
+ };
6298
+ payTo: string;
6299
+ maxTimeoutSeconds: number;
6300
+ asset: string;
6301
+ extra: {
6302
+ name: string;
6303
+ version: string;
6304
+ };
6305
+ }[] | unknown;
6306
+ } | unknown;
6307
+ };
6308
+ };
6309
+ /** @description Default Response */
5553
6310
  403: {
5554
6311
  headers: {
5555
6312
  [name: string]: unknown;
@@ -6156,6 +6913,40 @@ interface paths {
6156
6913
  };
6157
6914
  }[];
6158
6915
  };
6916
+ avalanche: {
6917
+ currentActionIndex: number;
6918
+ actions: {
6919
+ /** @description Name of the action */
6920
+ name: string;
6921
+ tx: {
6922
+ /** @description Address of the transaction recipient */
6923
+ to: string;
6924
+ /** @description Chain ID of the transaction */
6925
+ chainId: number;
6926
+ /** @description Data to be sent with the transaction */
6927
+ data?: string;
6928
+ /** @description Value to be sent with the transaction */
6929
+ value?: string;
6930
+ };
6931
+ simulation?: {
6932
+ /** @description URL to simulated transaction */
6933
+ url: string;
6934
+ /**
6935
+ * @description Status of the simulation
6936
+ * @enum {string}
6937
+ */
6938
+ status: 'success' | 'failure' | 'internal server error';
6939
+ /** @description Tokens received from the transaction */
6940
+ tokensReceived?: {
6941
+ [key: string]: string;
6942
+ };
6943
+ /** @description Tokens spent in the transaction */
6944
+ tokensSpent?: {
6945
+ [key: string]: string;
6946
+ };
6947
+ };
6948
+ }[];
6949
+ };
6159
6950
  };
6160
6951
  };
6161
6952
  };
@@ -6190,6 +6981,38 @@ interface paths {
6190
6981
  };
6191
6982
  };
6192
6983
  /** @description Default Response */
6984
+ 402: {
6985
+ headers: {
6986
+ [name: string]: unknown;
6987
+ };
6988
+ content: {
6989
+ 'application/json': {
6990
+ x402Version: number | string;
6991
+ error: string;
6992
+ accepts?: {
6993
+ /** @enum {string} */
6994
+ scheme: 'exact';
6995
+ /** @enum {string} */
6996
+ network: 'base';
6997
+ maxAmountRequired: string;
6998
+ resource: string;
6999
+ description: string;
7000
+ mimeType: string;
7001
+ outputSchema?: {
7002
+ [key: string]: unknown;
7003
+ };
7004
+ payTo: string;
7005
+ maxTimeoutSeconds: number;
7006
+ asset: string;
7007
+ extra: {
7008
+ name: string;
7009
+ version: string;
7010
+ };
7011
+ }[] | unknown;
7012
+ } | unknown;
7013
+ };
7014
+ };
7015
+ /** @description Default Response */
6193
7016
  403: {
6194
7017
  headers: {
6195
7018
  [name: string]: unknown;
@@ -6271,7 +7094,7 @@ interface paths {
6271
7094
  header?: never;
6272
7095
  path: {
6273
7096
  /** @description Network name or CAIP-2 identifier */
6274
- network: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | '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';
7097
+ network: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | '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';
6275
7098
  };
6276
7099
  cookie?: never;
6277
7100
  };
@@ -6350,6 +7173,38 @@ interface paths {
6350
7173
  };
6351
7174
  };
6352
7175
  /** @description Default Response */
7176
+ 402: {
7177
+ headers: {
7178
+ [name: string]: unknown;
7179
+ };
7180
+ content: {
7181
+ 'application/json': {
7182
+ x402Version: number | string;
7183
+ error: string;
7184
+ accepts?: {
7185
+ /** @enum {string} */
7186
+ scheme: 'exact';
7187
+ /** @enum {string} */
7188
+ network: 'base';
7189
+ maxAmountRequired: string;
7190
+ resource: string;
7191
+ description: string;
7192
+ mimeType: string;
7193
+ outputSchema?: {
7194
+ [key: string]: unknown;
7195
+ };
7196
+ payTo: string;
7197
+ maxTimeoutSeconds: number;
7198
+ asset: string;
7199
+ extra: {
7200
+ name: string;
7201
+ version: string;
7202
+ };
7203
+ }[] | unknown;
7204
+ } | unknown;
7205
+ };
7206
+ };
7207
+ /** @description Default Response */
6353
7208
  403: {
6354
7209
  headers: {
6355
7210
  [name: string]: unknown;
@@ -6439,7 +7294,7 @@ interface paths {
6439
7294
  header?: never;
6440
7295
  path: {
6441
7296
  /** @description Network name or CAIP-2 identifier */
6442
- network: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | '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';
7297
+ network: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche' | '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';
6443
7298
  };
6444
7299
  cookie?: never;
6445
7300
  };
@@ -6524,6 +7379,38 @@ interface paths {
6524
7379
  };
6525
7380
  };
6526
7381
  /** @description Default Response */
7382
+ 402: {
7383
+ headers: {
7384
+ [name: string]: unknown;
7385
+ };
7386
+ content: {
7387
+ 'application/json': {
7388
+ x402Version: number | string;
7389
+ error: string;
7390
+ accepts?: {
7391
+ /** @enum {string} */
7392
+ scheme: 'exact';
7393
+ /** @enum {string} */
7394
+ network: 'base';
7395
+ maxAmountRequired: string;
7396
+ resource: string;
7397
+ description: string;
7398
+ mimeType: string;
7399
+ outputSchema?: {
7400
+ [key: string]: unknown;
7401
+ };
7402
+ payTo: string;
7403
+ maxTimeoutSeconds: number;
7404
+ asset: string;
7405
+ extra: {
7406
+ name: string;
7407
+ version: string;
7408
+ };
7409
+ }[] | unknown;
7410
+ } | unknown;
7411
+ };
7412
+ };
7413
+ /** @description Default Response */
6527
7414
  403: {
6528
7415
  headers: {
6529
7416
  [name: string]: unknown;
@@ -6640,7 +7527,7 @@ declare class VaultsSdk {
6640
7527
  assetPriceInUsd?: string;
6641
7528
  assetGroup: string;
6642
7529
  network: {
6643
- name: "mainnet" | "optimism" | "arbitrum" | "polygon" | "gnosis" | "base" | "unichain" | "swellchain" | "celo" | "worldchain" | "berachain" | "ink" | "bsc" | "hyperliquid" | "plasma";
7530
+ name: "mainnet" | "optimism" | "arbitrum" | "polygon" | "gnosis" | "base" | "unichain" | "swellchain" | "celo" | "worldchain" | "berachain" | "ink" | "bsc" | "hyperliquid" | "plasma" | "avalanche";
6644
7531
  chainId: number;
6645
7532
  networkCaip: string;
6646
7533
  };
@@ -6746,7 +7633,7 @@ declare class VaultsSdk {
6746
7633
  data: {
6747
7634
  address: string;
6748
7635
  network: {
6749
- name: "mainnet" | "optimism" | "arbitrum" | "polygon" | "gnosis" | "base" | "unichain" | "swellchain" | "celo" | "worldchain" | "berachain" | "ink" | "bsc" | "hyperliquid" | "plasma";
7636
+ name: "mainnet" | "optimism" | "arbitrum" | "polygon" | "gnosis" | "base" | "unichain" | "swellchain" | "celo" | "worldchain" | "berachain" | "ink" | "bsc" | "hyperliquid" | "plasma" | "avalanche";
6750
7637
  chainId: number;
6751
7638
  networkCaip: string;
6752
7639
  };
@@ -6865,7 +7752,7 @@ declare class VaultsSdk {
6865
7752
  getPosition(params: Params<'/v2/portfolio/positions/{userAddress}/{network}/{vaultAddress}'>): Promise<{
6866
7753
  address: string;
6867
7754
  network: {
6868
- name: "mainnet" | "optimism" | "arbitrum" | "polygon" | "gnosis" | "base" | "unichain" | "swellchain" | "celo" | "worldchain" | "berachain" | "ink" | "bsc" | "hyperliquid" | "plasma";
7755
+ name: "mainnet" | "optimism" | "arbitrum" | "polygon" | "gnosis" | "base" | "unichain" | "swellchain" | "celo" | "worldchain" | "berachain" | "ink" | "bsc" | "hyperliquid" | "plasma" | "avalanche";
6869
7756
  chainId: number;
6870
7757
  networkCaip: string;
6871
7758
  };
@@ -6994,7 +7881,7 @@ declare class VaultsSdk {
6994
7881
  name: string;
6995
7882
  address: string;
6996
7883
  network: {
6997
- name: "mainnet" | "optimism" | "arbitrum" | "polygon" | "gnosis" | "base" | "unichain" | "swellchain" | "celo" | "worldchain" | "berachain" | "ink" | "bsc" | "hyperliquid" | "plasma";
7884
+ name: "mainnet" | "optimism" | "arbitrum" | "polygon" | "gnosis" | "base" | "unichain" | "swellchain" | "celo" | "worldchain" | "berachain" | "ink" | "bsc" | "hyperliquid" | "plasma" | "avalanche";
6998
7885
  chainId: number;
6999
7886
  networkCaip: string;
7000
7887
  };
@@ -7035,7 +7922,7 @@ declare class VaultsSdk {
7035
7922
  data: {
7036
7923
  address: string;
7037
7924
  network: {
7038
- name: "mainnet" | "optimism" | "arbitrum" | "polygon" | "gnosis" | "base" | "unichain" | "swellchain" | "celo" | "worldchain" | "berachain" | "ink" | "bsc" | "hyperliquid" | "plasma";
7925
+ name: "mainnet" | "optimism" | "arbitrum" | "polygon" | "gnosis" | "base" | "unichain" | "swellchain" | "celo" | "worldchain" | "berachain" | "ink" | "bsc" | "hyperliquid" | "plasma" | "avalanche";
7039
7926
  chainId: number;
7040
7927
  networkCaip: string;
7041
7928
  };
@@ -7176,6 +8063,7 @@ declare class VaultsSdk {
7176
8063
  redeemStepsType: "instant" | "complex";
7177
8064
  rewardsSupported: boolean;
7178
8065
  };
8066
+ warnings: string[];
7179
8067
  }[];
7180
8068
  errors: {
7181
8069
  unsupportedNetworks: string[];
@@ -7186,7 +8074,7 @@ declare class VaultsSdk {
7186
8074
  getVault(params: Params<'/v2/detailed-vaults/{network}/{vaultAddress}'>): Promise<{
7187
8075
  address: string;
7188
8076
  network: {
7189
- name: "mainnet" | "optimism" | "arbitrum" | "polygon" | "gnosis" | "base" | "unichain" | "swellchain" | "celo" | "worldchain" | "berachain" | "ink" | "bsc" | "hyperliquid" | "plasma";
8077
+ name: "mainnet" | "optimism" | "arbitrum" | "polygon" | "gnosis" | "base" | "unichain" | "swellchain" | "celo" | "worldchain" | "berachain" | "ink" | "bsc" | "hyperliquid" | "plasma" | "avalanche";
7190
8078
  chainId: number;
7191
8079
  networkCaip: string;
7192
8080
  };
@@ -7327,6 +8215,7 @@ declare class VaultsSdk {
7327
8215
  redeemStepsType: "instant" | "complex";
7328
8216
  rewardsSupported: boolean;
7329
8217
  };
8218
+ warnings: string[];
7330
8219
  }>;
7331
8220
  getIdleAssets(params: Params<'/v2/portfolio/idle-assets/{userAddress}'>): Promise<{
7332
8221
  data: {
@@ -7341,7 +8230,7 @@ declare class VaultsSdk {
7341
8230
  balanceNative: string;
7342
8231
  balanceUsd: string;
7343
8232
  network: {
7344
- name: "mainnet" | "optimism" | "arbitrum" | "polygon" | "gnosis" | "base" | "unichain" | "swellchain" | "celo" | "worldchain" | "berachain" | "ink" | "bsc" | "hyperliquid" | "plasma";
8233
+ name: "mainnet" | "optimism" | "arbitrum" | "polygon" | "gnosis" | "base" | "unichain" | "swellchain" | "celo" | "worldchain" | "berachain" | "ink" | "bsc" | "hyperliquid" | "plasma" | "avalanche";
7345
8234
  chainId: number;
7346
8235
  networkCaip: string;
7347
8236
  };
@@ -7458,7 +8347,7 @@ declare class VaultsSdk {
7458
8347
  assetLogo?: string;
7459
8348
  assetPriceInUsd?: string;
7460
8349
  assetGroup: string;
7461
- network: "mainnet" | "optimism" | "arbitrum" | "polygon" | "gnosis" | "base" | "unichain" | "swellchain" | "celo" | "worldchain" | "berachain" | "ink" | "bsc" | "hyperliquid" | "plasma";
8350
+ network: "mainnet" | "optimism" | "arbitrum" | "polygon" | "gnosis" | "base" | "unichain" | "swellchain" | "celo" | "worldchain" | "berachain" | "ink" | "bsc" | "hyperliquid" | "plasma" | "avalanche";
7462
8351
  };
7463
8352
  }[];
7464
8353
  currentStep: "deposit" | "redeem" | "request-redeem" | "claim-redeem" | "claim-rewards" | "start-redeem-cooldown";
@@ -7883,6 +8772,32 @@ declare class VaultsSdk {
7883
8772
  }[];
7884
8773
  actionUrl: string;
7885
8774
  }[];
8775
+ avalanche: {
8776
+ claimId: string;
8777
+ asset: {
8778
+ address: string;
8779
+ assetCaip: string;
8780
+ name: string;
8781
+ symbol: string;
8782
+ decimals: number;
8783
+ assetLogo?: string;
8784
+ assetPriceInUsd?: string;
8785
+ assetGroup: string;
8786
+ claimableAmount: string;
8787
+ claimableAmountInUsd?: string;
8788
+ };
8789
+ sources: {
8790
+ protocol: {
8791
+ name: string;
8792
+ product?: string;
8793
+ version?: string;
8794
+ protocolUrl?: string;
8795
+ protocolLogo?: string;
8796
+ description?: string;
8797
+ };
8798
+ }[];
8799
+ actionUrl: string;
8800
+ }[];
7886
8801
  };
7887
8802
  actionUrl: string;
7888
8803
  }>;
@@ -8217,6 +9132,28 @@ declare class VaultsSdk {
8217
9132
  };
8218
9133
  }[];
8219
9134
  };
9135
+ avalanche: {
9136
+ currentActionIndex: number;
9137
+ actions: {
9138
+ name: string;
9139
+ tx: {
9140
+ to: string;
9141
+ chainId: number;
9142
+ data?: string;
9143
+ value?: string;
9144
+ };
9145
+ simulation?: {
9146
+ url: string;
9147
+ status: "success" | "failure" | "internal server error";
9148
+ tokensReceived?: {
9149
+ [key: string]: string;
9150
+ };
9151
+ tokensSpent?: {
9152
+ [key: string]: string;
9153
+ };
9154
+ };
9155
+ }[];
9156
+ };
8220
9157
  }>;
8221
9158
  getUserVaultEvents(params: Params<'/v2/portfolio/events/{userAddress}/{network}/{vaultAddress}'>): Promise<{
8222
9159
  asset: {