@vaultsfyi/sdk 2.1.3 → 2.1.4

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.mts 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 */
@@ -1690,6 +1946,38 @@ interface paths {
1690
1946
  };
1691
1947
  };
1692
1948
  /** @description Default Response */
1949
+ 402: {
1950
+ headers: {
1951
+ [name: string]: unknown;
1952
+ };
1953
+ content: {
1954
+ 'application/json': {
1955
+ x402Version: number | string;
1956
+ error: string;
1957
+ accepts?: {
1958
+ /** @enum {string} */
1959
+ scheme: 'exact';
1960
+ /** @enum {string} */
1961
+ network: 'base';
1962
+ maxAmountRequired: string;
1963
+ resource: string;
1964
+ description: string;
1965
+ mimeType: string;
1966
+ outputSchema?: {
1967
+ [key: string]: unknown;
1968
+ };
1969
+ payTo: string;
1970
+ maxTimeoutSeconds: number;
1971
+ asset: string;
1972
+ extra: {
1973
+ name: string;
1974
+ version: string;
1975
+ };
1976
+ }[] | unknown;
1977
+ } | unknown;
1978
+ };
1979
+ };
1980
+ /** @description Default Response */
1693
1981
  403: {
1694
1982
  headers: {
1695
1983
  [name: string]: unknown;
@@ -1768,7 +2056,7 @@ interface paths {
1768
2056
  header?: never;
1769
2057
  path: {
1770
2058
  /** @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';
2059
+ 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
2060
  /** @description Address of the vault for which the data will be returned */
1773
2061
  vaultAddress: string;
1774
2062
  };
@@ -1791,7 +2079,7 @@ interface paths {
1791
2079
  * @description Name of the network
1792
2080
  * @enum {string}
1793
2081
  */
1794
- name: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma';
2082
+ name: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche';
1795
2083
  /** @description Chain ID of the network */
1796
2084
  chainId: number;
1797
2085
  /** @description CAIP-2 of the network */
@@ -2103,6 +2391,38 @@ interface paths {
2103
2391
  };
2104
2392
  };
2105
2393
  /** @description Default Response */
2394
+ 402: {
2395
+ headers: {
2396
+ [name: string]: unknown;
2397
+ };
2398
+ content: {
2399
+ 'application/json': {
2400
+ x402Version: number | string;
2401
+ error: string;
2402
+ accepts?: {
2403
+ /** @enum {string} */
2404
+ scheme: 'exact';
2405
+ /** @enum {string} */
2406
+ network: 'base';
2407
+ maxAmountRequired: string;
2408
+ resource: string;
2409
+ description: string;
2410
+ mimeType: string;
2411
+ outputSchema?: {
2412
+ [key: string]: unknown;
2413
+ };
2414
+ payTo: string;
2415
+ maxTimeoutSeconds: number;
2416
+ asset: string;
2417
+ extra: {
2418
+ name: string;
2419
+ version: string;
2420
+ };
2421
+ }[] | unknown;
2422
+ } | unknown;
2423
+ };
2424
+ };
2425
+ /** @description Default Response */
2106
2426
  403: {
2107
2427
  headers: {
2108
2428
  [name: string]: unknown;
@@ -2181,7 +2501,7 @@ interface paths {
2181
2501
  header?: never;
2182
2502
  path: {
2183
2503
  /** @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';
2504
+ 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
2505
  /** @description Address of the vault for which the data will be returned */
2186
2506
  vaultAddress: string;
2187
2507
  };
@@ -2257,6 +2577,38 @@ interface paths {
2257
2577
  };
2258
2578
  };
2259
2579
  /** @description Default Response */
2580
+ 402: {
2581
+ headers: {
2582
+ [name: string]: unknown;
2583
+ };
2584
+ content: {
2585
+ 'application/json': {
2586
+ x402Version: number | string;
2587
+ error: string;
2588
+ accepts?: {
2589
+ /** @enum {string} */
2590
+ scheme: 'exact';
2591
+ /** @enum {string} */
2592
+ network: 'base';
2593
+ maxAmountRequired: string;
2594
+ resource: string;
2595
+ description: string;
2596
+ mimeType: string;
2597
+ outputSchema?: {
2598
+ [key: string]: unknown;
2599
+ };
2600
+ payTo: string;
2601
+ maxTimeoutSeconds: number;
2602
+ asset: string;
2603
+ extra: {
2604
+ name: string;
2605
+ version: string;
2606
+ };
2607
+ }[] | unknown;
2608
+ } | unknown;
2609
+ };
2610
+ };
2611
+ /** @description Default Response */
2260
2612
  403: {
2261
2613
  headers: {
2262
2614
  [name: string]: unknown;
@@ -2335,7 +2687,7 @@ interface paths {
2335
2687
  header?: never;
2336
2688
  path: {
2337
2689
  /** @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';
2690
+ 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
2691
  /** @description Address of the vault for which the data will be returned */
2340
2692
  vaultAddress: string;
2341
2693
  };
@@ -2388,6 +2740,38 @@ interface paths {
2388
2740
  };
2389
2741
  };
2390
2742
  /** @description Default Response */
2743
+ 402: {
2744
+ headers: {
2745
+ [name: string]: unknown;
2746
+ };
2747
+ content: {
2748
+ 'application/json': {
2749
+ x402Version: number | string;
2750
+ error: string;
2751
+ accepts?: {
2752
+ /** @enum {string} */
2753
+ scheme: 'exact';
2754
+ /** @enum {string} */
2755
+ network: 'base';
2756
+ maxAmountRequired: string;
2757
+ resource: string;
2758
+ description: string;
2759
+ mimeType: string;
2760
+ outputSchema?: {
2761
+ [key: string]: unknown;
2762
+ };
2763
+ payTo: string;
2764
+ maxTimeoutSeconds: number;
2765
+ asset: string;
2766
+ extra: {
2767
+ name: string;
2768
+ version: string;
2769
+ };
2770
+ }[] | unknown;
2771
+ } | unknown;
2772
+ };
2773
+ };
2774
+ /** @description Default Response */
2391
2775
  403: {
2392
2776
  headers: {
2393
2777
  [name: string]: unknown;
@@ -2478,9 +2862,9 @@ interface paths {
2478
2862
  /** @description Include only vaults that are featured in app.vaults.fyi */
2479
2863
  onlyAppFeatured?: boolean;
2480
2864
  /** @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')[];
2865
+ 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
2866
  /** @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')[];
2867
+ 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
2868
  /** @description Interval for APY data. Possible values: 1day, 7day, 30day */
2485
2869
  apyInterval?: '1day' | '7day' | '30day';
2486
2870
  /** @description Minimum APY of the vault to be included */
@@ -2544,7 +2928,7 @@ interface paths {
2544
2928
  * @description Name of the network
2545
2929
  * @enum {string}
2546
2930
  */
2547
- name: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma';
2931
+ name: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche';
2548
2932
  /** @description Chain ID of the network */
2549
2933
  chainId: number;
2550
2934
  /** @description CAIP-2 of the network */
@@ -2633,6 +3017,38 @@ interface paths {
2633
3017
  };
2634
3018
  };
2635
3019
  /** @description Default Response */
3020
+ 402: {
3021
+ headers: {
3022
+ [name: string]: unknown;
3023
+ };
3024
+ content: {
3025
+ 'application/json': {
3026
+ x402Version: number | string;
3027
+ error: string;
3028
+ accepts?: {
3029
+ /** @enum {string} */
3030
+ scheme: 'exact';
3031
+ /** @enum {string} */
3032
+ network: 'base';
3033
+ maxAmountRequired: string;
3034
+ resource: string;
3035
+ description: string;
3036
+ mimeType: string;
3037
+ outputSchema?: {
3038
+ [key: string]: unknown;
3039
+ };
3040
+ payTo: string;
3041
+ maxTimeoutSeconds: number;
3042
+ asset: string;
3043
+ extra: {
3044
+ name: string;
3045
+ version: string;
3046
+ };
3047
+ }[] | unknown;
3048
+ } | unknown;
3049
+ };
3050
+ };
3051
+ /** @description Default Response */
2636
3052
  403: {
2637
3053
  headers: {
2638
3054
  [name: string]: unknown;
@@ -2723,9 +3139,9 @@ interface paths {
2723
3139
  /** @description Include only vaults that are featured in app.vaults.fyi */
2724
3140
  onlyAppFeatured?: boolean;
2725
3141
  /** @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')[];
3142
+ 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
3143
  /** @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')[];
3144
+ 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
3145
  /** @description Maximum TVL in USD of the vaults to be included */
2730
3146
  maxTvl?: number;
2731
3147
  /** @description Maximum APY (in decimal) of the vaults to be included */
@@ -2764,7 +3180,7 @@ interface paths {
2764
3180
  * @description Name of the network
2765
3181
  * @enum {string}
2766
3182
  */
2767
- name: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma';
3183
+ name: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche';
2768
3184
  /** @description Chain ID of the network */
2769
3185
  chainId: number;
2770
3186
  /** @description CAIP-2 of the network */
@@ -3023,6 +3439,38 @@ interface paths {
3023
3439
  };
3024
3440
  };
3025
3441
  /** @description Default Response */
3442
+ 402: {
3443
+ headers: {
3444
+ [name: string]: unknown;
3445
+ };
3446
+ content: {
3447
+ 'application/json': {
3448
+ x402Version: number | string;
3449
+ error: string;
3450
+ accepts?: {
3451
+ /** @enum {string} */
3452
+ scheme: 'exact';
3453
+ /** @enum {string} */
3454
+ network: 'base';
3455
+ maxAmountRequired: string;
3456
+ resource: string;
3457
+ description: string;
3458
+ mimeType: string;
3459
+ outputSchema?: {
3460
+ [key: string]: unknown;
3461
+ };
3462
+ payTo: string;
3463
+ maxTimeoutSeconds: number;
3464
+ asset: string;
3465
+ extra: {
3466
+ name: string;
3467
+ version: string;
3468
+ };
3469
+ }[] | unknown;
3470
+ } | unknown;
3471
+ };
3472
+ };
3473
+ /** @description Default Response */
3026
3474
  403: {
3027
3475
  headers: {
3028
3476
  [name: string]: unknown;
@@ -3106,7 +3554,7 @@ interface paths {
3106
3554
  /** @description User address to be used for best vault calculation */
3107
3555
  userAddress: string;
3108
3556
  /** @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';
3557
+ 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
3558
  /** @description Address of the vault for which the data will be returned */
3111
3559
  vaultAddress: string;
3112
3560
  };
@@ -3129,7 +3577,7 @@ interface paths {
3129
3577
  * @description Name of the network
3130
3578
  * @enum {string}
3131
3579
  */
3132
- name: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma';
3580
+ name: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche';
3133
3581
  /** @description Chain ID of the network */
3134
3582
  chainId: number;
3135
3583
  /** @description CAIP-2 of the network */
@@ -3382,6 +3830,38 @@ interface paths {
3382
3830
  };
3383
3831
  };
3384
3832
  /** @description Default Response */
3833
+ 402: {
3834
+ headers: {
3835
+ [name: string]: unknown;
3836
+ };
3837
+ content: {
3838
+ 'application/json': {
3839
+ x402Version: number | string;
3840
+ error: string;
3841
+ accepts?: {
3842
+ /** @enum {string} */
3843
+ scheme: 'exact';
3844
+ /** @enum {string} */
3845
+ network: 'base';
3846
+ maxAmountRequired: string;
3847
+ resource: string;
3848
+ description: string;
3849
+ mimeType: string;
3850
+ outputSchema?: {
3851
+ [key: string]: unknown;
3852
+ };
3853
+ payTo: string;
3854
+ maxTimeoutSeconds: number;
3855
+ asset: string;
3856
+ extra: {
3857
+ name: string;
3858
+ version: string;
3859
+ };
3860
+ }[] | unknown;
3861
+ } | unknown;
3862
+ };
3863
+ };
3864
+ /** @description Default Response */
3385
3865
  403: {
3386
3866
  headers: {
3387
3867
  [name: string]: unknown;
@@ -3472,9 +3952,9 @@ interface paths {
3472
3952
  /** @description Include only vaults that are featured in app.vaults.fyi */
3473
3953
  onlyAppFeatured?: boolean;
3474
3954
  /** @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')[];
3955
+ 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
3956
  /** @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')[];
3957
+ 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
3958
  /** @description Interval for APY data. Possible values: 1day, 7day, 30day */
3479
3959
  apyInterval?: '1day' | '7day' | '30day';
3480
3960
  /** @description Minimum APY of the vault to be included */
@@ -3543,7 +4023,7 @@ interface paths {
3543
4023
  * @description Name of the network
3544
4024
  * @enum {string}
3545
4025
  */
3546
- name: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma';
4026
+ name: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche';
3547
4027
  /** @description Chain ID of the network */
3548
4028
  chainId: number;
3549
4029
  /** @description CAIP-2 of the network */
@@ -3633,6 +4113,38 @@ interface paths {
3633
4113
  };
3634
4114
  };
3635
4115
  /** @description Default Response */
4116
+ 402: {
4117
+ headers: {
4118
+ [name: string]: unknown;
4119
+ };
4120
+ content: {
4121
+ 'application/json': {
4122
+ x402Version: number | string;
4123
+ error: string;
4124
+ accepts?: {
4125
+ /** @enum {string} */
4126
+ scheme: 'exact';
4127
+ /** @enum {string} */
4128
+ network: 'base';
4129
+ maxAmountRequired: string;
4130
+ resource: string;
4131
+ description: string;
4132
+ mimeType: string;
4133
+ outputSchema?: {
4134
+ [key: string]: unknown;
4135
+ };
4136
+ payTo: string;
4137
+ maxTimeoutSeconds: number;
4138
+ asset: string;
4139
+ extra: {
4140
+ name: string;
4141
+ version: string;
4142
+ };
4143
+ }[] | unknown;
4144
+ } | unknown;
4145
+ };
4146
+ };
4147
+ /** @description Default Response */
3636
4148
  403: {
3637
4149
  headers: {
3638
4150
  [name: string]: unknown;
@@ -3715,9 +4227,9 @@ interface paths {
3715
4227
  /** @description Minimum USD value of the asset to be included */
3716
4228
  minUsdAssetValueThreshold?: number;
3717
4229
  /** @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')[];
4230
+ 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
4231
  /** @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')[];
4232
+ 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
4233
  };
3722
4234
  header?: never;
3723
4235
  path: {
@@ -3765,7 +4277,7 @@ interface paths {
3765
4277
  * @description Name of the network
3766
4278
  * @enum {string}
3767
4279
  */
3768
- name: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma';
4280
+ name: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche';
3769
4281
  /** @description Chain ID of the network */
3770
4282
  chainId: number;
3771
4283
  /** @description CAIP-2 of the network */
@@ -3810,6 +4322,38 @@ interface paths {
3810
4322
  };
3811
4323
  };
3812
4324
  /** @description Default Response */
4325
+ 402: {
4326
+ headers: {
4327
+ [name: string]: unknown;
4328
+ };
4329
+ content: {
4330
+ 'application/json': {
4331
+ x402Version: number | string;
4332
+ error: string;
4333
+ accepts?: {
4334
+ /** @enum {string} */
4335
+ scheme: 'exact';
4336
+ /** @enum {string} */
4337
+ network: 'base';
4338
+ maxAmountRequired: string;
4339
+ resource: string;
4340
+ description: string;
4341
+ mimeType: string;
4342
+ outputSchema?: {
4343
+ [key: string]: unknown;
4344
+ };
4345
+ payTo: string;
4346
+ maxTimeoutSeconds: number;
4347
+ asset: string;
4348
+ extra: {
4349
+ name: string;
4350
+ version: string;
4351
+ };
4352
+ }[] | unknown;
4353
+ } | unknown;
4354
+ };
4355
+ };
4356
+ /** @description Default Response */
3813
4357
  403: {
3814
4358
  headers: {
3815
4359
  [name: string]: unknown;
@@ -3890,7 +4434,7 @@ interface paths {
3890
4434
  /** @description User address to get returns for */
3891
4435
  userAddress: string;
3892
4436
  /** @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';
4437
+ 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
4438
  /** @description Vault address to get returns for */
3895
4439
  vaultAddress: string;
3896
4440
  };
@@ -3960,6 +4504,38 @@ interface paths {
3960
4504
  };
3961
4505
  };
3962
4506
  /** @description Default Response */
4507
+ 402: {
4508
+ headers: {
4509
+ [name: string]: unknown;
4510
+ };
4511
+ content: {
4512
+ 'application/json': {
4513
+ x402Version: number | string;
4514
+ error: string;
4515
+ accepts?: {
4516
+ /** @enum {string} */
4517
+ scheme: 'exact';
4518
+ /** @enum {string} */
4519
+ network: 'base';
4520
+ maxAmountRequired: string;
4521
+ resource: string;
4522
+ description: string;
4523
+ mimeType: string;
4524
+ outputSchema?: {
4525
+ [key: string]: unknown;
4526
+ };
4527
+ payTo: string;
4528
+ maxTimeoutSeconds: number;
4529
+ asset: string;
4530
+ extra: {
4531
+ name: string;
4532
+ version: string;
4533
+ };
4534
+ }[] | unknown;
4535
+ } | unknown;
4536
+ };
4537
+ };
4538
+ /** @description Default Response */
3963
4539
  403: {
3964
4540
  headers: {
3965
4541
  [name: string]: unknown;
@@ -4040,7 +4616,7 @@ interface paths {
4040
4616
  /** @description User address to get returns for */
4041
4617
  userAddress: string;
4042
4618
  /** @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';
4619
+ 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
4620
  /** @description Vault address to get returns for */
4045
4621
  vaultAddress: string;
4046
4622
  };
@@ -4148,6 +4724,38 @@ interface paths {
4148
4724
  };
4149
4725
  };
4150
4726
  /** @description Default Response */
4727
+ 402: {
4728
+ headers: {
4729
+ [name: string]: unknown;
4730
+ };
4731
+ content: {
4732
+ 'application/json': {
4733
+ x402Version: number | string;
4734
+ error: string;
4735
+ accepts?: {
4736
+ /** @enum {string} */
4737
+ scheme: 'exact';
4738
+ /** @enum {string} */
4739
+ network: 'base';
4740
+ maxAmountRequired: string;
4741
+ resource: string;
4742
+ description: string;
4743
+ mimeType: string;
4744
+ outputSchema?: {
4745
+ [key: string]: unknown;
4746
+ };
4747
+ payTo: string;
4748
+ maxTimeoutSeconds: number;
4749
+ asset: string;
4750
+ extra: {
4751
+ name: string;
4752
+ version: string;
4753
+ };
4754
+ }[] | unknown;
4755
+ } | unknown;
4756
+ };
4757
+ };
4758
+ /** @description Default Response */
4151
4759
  403: {
4152
4760
  headers: {
4153
4761
  [name: string]: unknown;
@@ -4228,7 +4836,7 @@ interface paths {
4228
4836
  /** @description User address */
4229
4837
  userAddress: string;
4230
4838
  /** @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';
4839
+ 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
4840
  /** @description Vault address */
4233
4841
  vaultAddress: string;
4234
4842
  };
@@ -4463,7 +5071,7 @@ interface paths {
4463
5071
  * @description Network of the reward
4464
5072
  * @enum {string}
4465
5073
  */
4466
- network: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma';
5074
+ network: 'mainnet' | 'optimism' | 'arbitrum' | 'polygon' | 'gnosis' | 'base' | 'unichain' | 'swellchain' | 'celo' | 'worldchain' | 'berachain' | 'ink' | 'bsc' | 'hyperliquid' | 'plasma' | 'avalanche';
4467
5075
  };
4468
5076
  }[];
4469
5077
  /**
@@ -4513,6 +5121,38 @@ interface paths {
4513
5121
  };
4514
5122
  };
4515
5123
  /** @description Default Response */
5124
+ 402: {
5125
+ headers: {
5126
+ [name: string]: unknown;
5127
+ };
5128
+ content: {
5129
+ 'application/json': {
5130
+ x402Version: number | string;
5131
+ error: string;
5132
+ accepts?: {
5133
+ /** @enum {string} */
5134
+ scheme: 'exact';
5135
+ /** @enum {string} */
5136
+ network: 'base';
5137
+ maxAmountRequired: string;
5138
+ resource: string;
5139
+ description: string;
5140
+ mimeType: string;
5141
+ outputSchema?: {
5142
+ [key: string]: unknown;
5143
+ };
5144
+ payTo: string;
5145
+ maxTimeoutSeconds: number;
5146
+ asset: string;
5147
+ extra: {
5148
+ name: string;
5149
+ version: string;
5150
+ };
5151
+ }[] | unknown;
5152
+ } | unknown;
5153
+ };
5154
+ };
5155
+ /** @description Default Response */
4516
5156
  403: {
4517
5157
  headers: {
4518
5158
  [name: string]: unknown;
@@ -4604,7 +5244,7 @@ interface paths {
4604
5244
  /** @description User address to get returns for */
4605
5245
  userAddress: string;
4606
5246
  /** @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';
5247
+ 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
5248
  /** @description Vault address to get returns for */
4609
5249
  vaultAddress: string;
4610
5250
  };
@@ -4685,6 +5325,38 @@ interface paths {
4685
5325
  };
4686
5326
  };
4687
5327
  /** @description Default Response */
5328
+ 402: {
5329
+ headers: {
5330
+ [name: string]: unknown;
5331
+ };
5332
+ content: {
5333
+ 'application/json': {
5334
+ x402Version: number | string;
5335
+ error: string;
5336
+ accepts?: {
5337
+ /** @enum {string} */
5338
+ scheme: 'exact';
5339
+ /** @enum {string} */
5340
+ network: 'base';
5341
+ maxAmountRequired: string;
5342
+ resource: string;
5343
+ description: string;
5344
+ mimeType: string;
5345
+ outputSchema?: {
5346
+ [key: string]: unknown;
5347
+ };
5348
+ payTo: string;
5349
+ maxTimeoutSeconds: number;
5350
+ asset: string;
5351
+ extra: {
5352
+ name: string;
5353
+ version: string;
5354
+ };
5355
+ }[] | unknown;
5356
+ } | unknown;
5357
+ };
5358
+ };
5359
+ /** @description Default Response */
4688
5360
  403: {
4689
5361
  headers: {
4690
5362
  [name: string]: unknown;
@@ -5513,6 +6185,55 @@ interface paths {
5513
6185
  /** @description URL to claim this specific reward */
5514
6186
  actionUrl: string;
5515
6187
  }[];
6188
+ avalanche: {
6189
+ /** @description Unique identifier for the reward */
6190
+ claimId: string;
6191
+ /** @description Reward asset details */
6192
+ asset: {
6193
+ /** @description Address of the asset */
6194
+ address: string;
6195
+ /** @description CAIP-2 of the asset */
6196
+ assetCaip: string;
6197
+ /** @description Name of the asset */
6198
+ name: string;
6199
+ /** @description Symbol of the asset */
6200
+ symbol: string;
6201
+ /** @description Number of decimals of the asset */
6202
+ decimals: number;
6203
+ /**
6204
+ * Format: uri
6205
+ * @description URL of the asset logo
6206
+ */
6207
+ assetLogo?: string;
6208
+ /** @description Price of the asset in USD */
6209
+ assetPriceInUsd?: string;
6210
+ /** @description Group of the asset, e.g., ETH, USD, EURO, BTC, OTHER */
6211
+ assetGroup: string;
6212
+ /** @description Amount of the asset that can be claimed */
6213
+ claimableAmount: string;
6214
+ /** @description Amount of the asset that can be claimed in USD */
6215
+ claimableAmountInUsd?: string;
6216
+ };
6217
+ /** @description Sources of the reward */
6218
+ sources: {
6219
+ protocol: {
6220
+ /** @description Name of the protocol */
6221
+ name: string;
6222
+ /** @description Product of the protocol */
6223
+ product?: string;
6224
+ /** @description Version of the protocol */
6225
+ version?: string;
6226
+ /** @description URL of the protocol */
6227
+ protocolUrl?: string;
6228
+ /** @description URL of the protocol logo */
6229
+ protocolLogo?: string;
6230
+ /** @description Description of the protocol */
6231
+ description?: string;
6232
+ };
6233
+ }[];
6234
+ /** @description URL to claim this specific reward */
6235
+ actionUrl: string;
6236
+ }[];
5516
6237
  };
5517
6238
  /** @description URL for claiming all rewards */
5518
6239
  actionUrl: string;
@@ -5550,6 +6271,38 @@ interface paths {
5550
6271
  };
5551
6272
  };
5552
6273
  /** @description Default Response */
6274
+ 402: {
6275
+ headers: {
6276
+ [name: string]: unknown;
6277
+ };
6278
+ content: {
6279
+ 'application/json': {
6280
+ x402Version: number | string;
6281
+ error: string;
6282
+ accepts?: {
6283
+ /** @enum {string} */
6284
+ scheme: 'exact';
6285
+ /** @enum {string} */
6286
+ network: 'base';
6287
+ maxAmountRequired: string;
6288
+ resource: string;
6289
+ description: string;
6290
+ mimeType: string;
6291
+ outputSchema?: {
6292
+ [key: string]: unknown;
6293
+ };
6294
+ payTo: string;
6295
+ maxTimeoutSeconds: number;
6296
+ asset: string;
6297
+ extra: {
6298
+ name: string;
6299
+ version: string;
6300
+ };
6301
+ }[] | unknown;
6302
+ } | unknown;
6303
+ };
6304
+ };
6305
+ /** @description Default Response */
5553
6306
  403: {
5554
6307
  headers: {
5555
6308
  [name: string]: unknown;
@@ -6156,6 +6909,40 @@ interface paths {
6156
6909
  };
6157
6910
  }[];
6158
6911
  };
6912
+ avalanche: {
6913
+ currentActionIndex: number;
6914
+ actions: {
6915
+ /** @description Name of the action */
6916
+ name: string;
6917
+ tx: {
6918
+ /** @description Address of the transaction recipient */
6919
+ to: string;
6920
+ /** @description Chain ID of the transaction */
6921
+ chainId: number;
6922
+ /** @description Data to be sent with the transaction */
6923
+ data?: string;
6924
+ /** @description Value to be sent with the transaction */
6925
+ value?: string;
6926
+ };
6927
+ simulation?: {
6928
+ /** @description URL to simulated transaction */
6929
+ url: string;
6930
+ /**
6931
+ * @description Status of the simulation
6932
+ * @enum {string}
6933
+ */
6934
+ status: 'success' | 'failure' | 'internal server error';
6935
+ /** @description Tokens received from the transaction */
6936
+ tokensReceived?: {
6937
+ [key: string]: string;
6938
+ };
6939
+ /** @description Tokens spent in the transaction */
6940
+ tokensSpent?: {
6941
+ [key: string]: string;
6942
+ };
6943
+ };
6944
+ }[];
6945
+ };
6159
6946
  };
6160
6947
  };
6161
6948
  };
@@ -6190,6 +6977,38 @@ interface paths {
6190
6977
  };
6191
6978
  };
6192
6979
  /** @description Default Response */
6980
+ 402: {
6981
+ headers: {
6982
+ [name: string]: unknown;
6983
+ };
6984
+ content: {
6985
+ 'application/json': {
6986
+ x402Version: number | string;
6987
+ error: string;
6988
+ accepts?: {
6989
+ /** @enum {string} */
6990
+ scheme: 'exact';
6991
+ /** @enum {string} */
6992
+ network: 'base';
6993
+ maxAmountRequired: string;
6994
+ resource: string;
6995
+ description: string;
6996
+ mimeType: string;
6997
+ outputSchema?: {
6998
+ [key: string]: unknown;
6999
+ };
7000
+ payTo: string;
7001
+ maxTimeoutSeconds: number;
7002
+ asset: string;
7003
+ extra: {
7004
+ name: string;
7005
+ version: string;
7006
+ };
7007
+ }[] | unknown;
7008
+ } | unknown;
7009
+ };
7010
+ };
7011
+ /** @description Default Response */
6193
7012
  403: {
6194
7013
  headers: {
6195
7014
  [name: string]: unknown;
@@ -6271,7 +7090,7 @@ interface paths {
6271
7090
  header?: never;
6272
7091
  path: {
6273
7092
  /** @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';
7093
+ 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
7094
  };
6276
7095
  cookie?: never;
6277
7096
  };
@@ -6350,6 +7169,38 @@ interface paths {
6350
7169
  };
6351
7170
  };
6352
7171
  /** @description Default Response */
7172
+ 402: {
7173
+ headers: {
7174
+ [name: string]: unknown;
7175
+ };
7176
+ content: {
7177
+ 'application/json': {
7178
+ x402Version: number | string;
7179
+ error: string;
7180
+ accepts?: {
7181
+ /** @enum {string} */
7182
+ scheme: 'exact';
7183
+ /** @enum {string} */
7184
+ network: 'base';
7185
+ maxAmountRequired: string;
7186
+ resource: string;
7187
+ description: string;
7188
+ mimeType: string;
7189
+ outputSchema?: {
7190
+ [key: string]: unknown;
7191
+ };
7192
+ payTo: string;
7193
+ maxTimeoutSeconds: number;
7194
+ asset: string;
7195
+ extra: {
7196
+ name: string;
7197
+ version: string;
7198
+ };
7199
+ }[] | unknown;
7200
+ } | unknown;
7201
+ };
7202
+ };
7203
+ /** @description Default Response */
6353
7204
  403: {
6354
7205
  headers: {
6355
7206
  [name: string]: unknown;
@@ -6439,7 +7290,7 @@ interface paths {
6439
7290
  header?: never;
6440
7291
  path: {
6441
7292
  /** @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';
7293
+ 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
7294
  };
6444
7295
  cookie?: never;
6445
7296
  };
@@ -6524,6 +7375,38 @@ interface paths {
6524
7375
  };
6525
7376
  };
6526
7377
  /** @description Default Response */
7378
+ 402: {
7379
+ headers: {
7380
+ [name: string]: unknown;
7381
+ };
7382
+ content: {
7383
+ 'application/json': {
7384
+ x402Version: number | string;
7385
+ error: string;
7386
+ accepts?: {
7387
+ /** @enum {string} */
7388
+ scheme: 'exact';
7389
+ /** @enum {string} */
7390
+ network: 'base';
7391
+ maxAmountRequired: string;
7392
+ resource: string;
7393
+ description: string;
7394
+ mimeType: string;
7395
+ outputSchema?: {
7396
+ [key: string]: unknown;
7397
+ };
7398
+ payTo: string;
7399
+ maxTimeoutSeconds: number;
7400
+ asset: string;
7401
+ extra: {
7402
+ name: string;
7403
+ version: string;
7404
+ };
7405
+ }[] | unknown;
7406
+ } | unknown;
7407
+ };
7408
+ };
7409
+ /** @description Default Response */
6527
7410
  403: {
6528
7411
  headers: {
6529
7412
  [name: string]: unknown;
@@ -6640,7 +7523,7 @@ declare class VaultsSdk {
6640
7523
  assetPriceInUsd?: string;
6641
7524
  assetGroup: string;
6642
7525
  network: {
6643
- name: "mainnet" | "optimism" | "arbitrum" | "polygon" | "gnosis" | "base" | "unichain" | "swellchain" | "celo" | "worldchain" | "berachain" | "ink" | "bsc" | "hyperliquid" | "plasma";
7526
+ name: "mainnet" | "optimism" | "arbitrum" | "polygon" | "gnosis" | "base" | "unichain" | "swellchain" | "celo" | "worldchain" | "berachain" | "ink" | "bsc" | "hyperliquid" | "plasma" | "avalanche";
6644
7527
  chainId: number;
6645
7528
  networkCaip: string;
6646
7529
  };
@@ -6746,7 +7629,7 @@ declare class VaultsSdk {
6746
7629
  data: {
6747
7630
  address: string;
6748
7631
  network: {
6749
- name: "mainnet" | "optimism" | "arbitrum" | "polygon" | "gnosis" | "base" | "unichain" | "swellchain" | "celo" | "worldchain" | "berachain" | "ink" | "bsc" | "hyperliquid" | "plasma";
7632
+ name: "mainnet" | "optimism" | "arbitrum" | "polygon" | "gnosis" | "base" | "unichain" | "swellchain" | "celo" | "worldchain" | "berachain" | "ink" | "bsc" | "hyperliquid" | "plasma" | "avalanche";
6750
7633
  chainId: number;
6751
7634
  networkCaip: string;
6752
7635
  };
@@ -6865,7 +7748,7 @@ declare class VaultsSdk {
6865
7748
  getPosition(params: Params<'/v2/portfolio/positions/{userAddress}/{network}/{vaultAddress}'>): Promise<{
6866
7749
  address: string;
6867
7750
  network: {
6868
- name: "mainnet" | "optimism" | "arbitrum" | "polygon" | "gnosis" | "base" | "unichain" | "swellchain" | "celo" | "worldchain" | "berachain" | "ink" | "bsc" | "hyperliquid" | "plasma";
7751
+ name: "mainnet" | "optimism" | "arbitrum" | "polygon" | "gnosis" | "base" | "unichain" | "swellchain" | "celo" | "worldchain" | "berachain" | "ink" | "bsc" | "hyperliquid" | "plasma" | "avalanche";
6869
7752
  chainId: number;
6870
7753
  networkCaip: string;
6871
7754
  };
@@ -6994,7 +7877,7 @@ declare class VaultsSdk {
6994
7877
  name: string;
6995
7878
  address: string;
6996
7879
  network: {
6997
- name: "mainnet" | "optimism" | "arbitrum" | "polygon" | "gnosis" | "base" | "unichain" | "swellchain" | "celo" | "worldchain" | "berachain" | "ink" | "bsc" | "hyperliquid" | "plasma";
7880
+ name: "mainnet" | "optimism" | "arbitrum" | "polygon" | "gnosis" | "base" | "unichain" | "swellchain" | "celo" | "worldchain" | "berachain" | "ink" | "bsc" | "hyperliquid" | "plasma" | "avalanche";
6998
7881
  chainId: number;
6999
7882
  networkCaip: string;
7000
7883
  };
@@ -7035,7 +7918,7 @@ declare class VaultsSdk {
7035
7918
  data: {
7036
7919
  address: string;
7037
7920
  network: {
7038
- name: "mainnet" | "optimism" | "arbitrum" | "polygon" | "gnosis" | "base" | "unichain" | "swellchain" | "celo" | "worldchain" | "berachain" | "ink" | "bsc" | "hyperliquid" | "plasma";
7921
+ name: "mainnet" | "optimism" | "arbitrum" | "polygon" | "gnosis" | "base" | "unichain" | "swellchain" | "celo" | "worldchain" | "berachain" | "ink" | "bsc" | "hyperliquid" | "plasma" | "avalanche";
7039
7922
  chainId: number;
7040
7923
  networkCaip: string;
7041
7924
  };
@@ -7186,7 +8069,7 @@ declare class VaultsSdk {
7186
8069
  getVault(params: Params<'/v2/detailed-vaults/{network}/{vaultAddress}'>): Promise<{
7187
8070
  address: string;
7188
8071
  network: {
7189
- name: "mainnet" | "optimism" | "arbitrum" | "polygon" | "gnosis" | "base" | "unichain" | "swellchain" | "celo" | "worldchain" | "berachain" | "ink" | "bsc" | "hyperliquid" | "plasma";
8072
+ name: "mainnet" | "optimism" | "arbitrum" | "polygon" | "gnosis" | "base" | "unichain" | "swellchain" | "celo" | "worldchain" | "berachain" | "ink" | "bsc" | "hyperliquid" | "plasma" | "avalanche";
7190
8073
  chainId: number;
7191
8074
  networkCaip: string;
7192
8075
  };
@@ -7341,7 +8224,7 @@ declare class VaultsSdk {
7341
8224
  balanceNative: string;
7342
8225
  balanceUsd: string;
7343
8226
  network: {
7344
- name: "mainnet" | "optimism" | "arbitrum" | "polygon" | "gnosis" | "base" | "unichain" | "swellchain" | "celo" | "worldchain" | "berachain" | "ink" | "bsc" | "hyperliquid" | "plasma";
8227
+ name: "mainnet" | "optimism" | "arbitrum" | "polygon" | "gnosis" | "base" | "unichain" | "swellchain" | "celo" | "worldchain" | "berachain" | "ink" | "bsc" | "hyperliquid" | "plasma" | "avalanche";
7345
8228
  chainId: number;
7346
8229
  networkCaip: string;
7347
8230
  };
@@ -7458,7 +8341,7 @@ declare class VaultsSdk {
7458
8341
  assetLogo?: string;
7459
8342
  assetPriceInUsd?: string;
7460
8343
  assetGroup: string;
7461
- network: "mainnet" | "optimism" | "arbitrum" | "polygon" | "gnosis" | "base" | "unichain" | "swellchain" | "celo" | "worldchain" | "berachain" | "ink" | "bsc" | "hyperliquid" | "plasma";
8344
+ network: "mainnet" | "optimism" | "arbitrum" | "polygon" | "gnosis" | "base" | "unichain" | "swellchain" | "celo" | "worldchain" | "berachain" | "ink" | "bsc" | "hyperliquid" | "plasma" | "avalanche";
7462
8345
  };
7463
8346
  }[];
7464
8347
  currentStep: "deposit" | "redeem" | "request-redeem" | "claim-redeem" | "claim-rewards" | "start-redeem-cooldown";
@@ -7883,6 +8766,32 @@ declare class VaultsSdk {
7883
8766
  }[];
7884
8767
  actionUrl: string;
7885
8768
  }[];
8769
+ avalanche: {
8770
+ claimId: string;
8771
+ asset: {
8772
+ address: string;
8773
+ assetCaip: string;
8774
+ name: string;
8775
+ symbol: string;
8776
+ decimals: number;
8777
+ assetLogo?: string;
8778
+ assetPriceInUsd?: string;
8779
+ assetGroup: string;
8780
+ claimableAmount: string;
8781
+ claimableAmountInUsd?: string;
8782
+ };
8783
+ sources: {
8784
+ protocol: {
8785
+ name: string;
8786
+ product?: string;
8787
+ version?: string;
8788
+ protocolUrl?: string;
8789
+ protocolLogo?: string;
8790
+ description?: string;
8791
+ };
8792
+ }[];
8793
+ actionUrl: string;
8794
+ }[];
7886
8795
  };
7887
8796
  actionUrl: string;
7888
8797
  }>;
@@ -8217,6 +9126,28 @@ declare class VaultsSdk {
8217
9126
  };
8218
9127
  }[];
8219
9128
  };
9129
+ avalanche: {
9130
+ currentActionIndex: number;
9131
+ actions: {
9132
+ name: string;
9133
+ tx: {
9134
+ to: string;
9135
+ chainId: number;
9136
+ data?: string;
9137
+ value?: string;
9138
+ };
9139
+ simulation?: {
9140
+ url: string;
9141
+ status: "success" | "failure" | "internal server error";
9142
+ tokensReceived?: {
9143
+ [key: string]: string;
9144
+ };
9145
+ tokensSpent?: {
9146
+ [key: string]: string;
9147
+ };
9148
+ };
9149
+ }[];
9150
+ };
8220
9151
  }>;
8221
9152
  getUserVaultEvents(params: Params<'/v2/portfolio/events/{userAddress}/{network}/{vaultAddress}'>): Promise<{
8222
9153
  asset: {