@vaultsfyi/sdk 2.1.15 → 2.1.17

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
@@ -2422,6 +2422,86 @@ interface paths {
2422
2422
  };
2423
2423
  /** @description List of warnings related to the vault */
2424
2424
  warnings: string[];
2425
+ /** @description List of flags with severity and expiry information */
2426
+ flags: {
2427
+ /** @description Content of the flag */
2428
+ content: string;
2429
+ /**
2430
+ * @description Severity level of the flag
2431
+ * @enum {string}
2432
+ */
2433
+ severity: 'info' | 'warning' | 'critical';
2434
+ /** @description Unix timestamp (seconds) when this flag expires */
2435
+ endDate: number;
2436
+ }[];
2437
+ /** @description Intrinsic APY when vault asset is another vault LP token. When present the main vault's asset is equivalent of the underlying vault LP token */
2438
+ intrinsic?: {
2439
+ /** @description Intrinsic APY details */
2440
+ apy: {
2441
+ /** @description 1day APY details */
2442
+ '1day': {
2443
+ /** @description Base APY */
2444
+ base: number;
2445
+ /** @description Reward APY */
2446
+ reward: number;
2447
+ /** @description Total APY */
2448
+ total: number;
2449
+ };
2450
+ /** @description 7day APY details */
2451
+ '7day': {
2452
+ /** @description Base APY */
2453
+ base: number;
2454
+ /** @description Reward APY */
2455
+ reward: number;
2456
+ /** @description Total APY */
2457
+ total: number;
2458
+ };
2459
+ /** @description 30day APY details */
2460
+ '30day': {
2461
+ /** @description Base APY */
2462
+ base: number;
2463
+ /** @description Reward APY */
2464
+ reward: number;
2465
+ /** @description Total APY */
2466
+ total: number;
2467
+ };
2468
+ /** @description 1hour APY details */
2469
+ '1hour': {
2470
+ /** @description Base APY */
2471
+ base: number;
2472
+ /** @description Reward APY */
2473
+ reward: number;
2474
+ /** @description Total APY */
2475
+ total: number;
2476
+ };
2477
+ };
2478
+ /** @description Lowest level underlying asset that is not a vault LP token */
2479
+ asset: {
2480
+ /** @description Address of the asset */
2481
+ address: string;
2482
+ /** @description CAIP-2 of the asset */
2483
+ assetCaip: string;
2484
+ /** @description Name of the asset */
2485
+ name: string;
2486
+ /** @description Symbol of the asset */
2487
+ symbol: string;
2488
+ /** @description Number of decimals of the asset */
2489
+ decimals: number;
2490
+ /**
2491
+ * Format: uri
2492
+ * @description URL of the asset logo
2493
+ */
2494
+ assetLogo?: string;
2495
+ /** @description Price of the asset in USD */
2496
+ assetPriceInUsd?: string;
2497
+ /** @description Group of the asset, e.g., ETH, USD, EURO, BTC, OTHER */
2498
+ assetGroup: string;
2499
+ };
2500
+ vault: {
2501
+ /** @description Address of the underlying vault */
2502
+ address: string;
2503
+ };
2504
+ };
2425
2505
  }[];
2426
2506
  errors: {
2427
2507
  unsupportedNetworks: string[];
@@ -2918,6 +2998,86 @@ interface paths {
2918
2998
  };
2919
2999
  /** @description List of warnings related to the vault */
2920
3000
  warnings: string[];
3001
+ /** @description List of flags with severity and expiry information */
3002
+ flags: {
3003
+ /** @description Content of the flag */
3004
+ content: string;
3005
+ /**
3006
+ * @description Severity level of the flag
3007
+ * @enum {string}
3008
+ */
3009
+ severity: 'info' | 'warning' | 'critical';
3010
+ /** @description Unix timestamp (seconds) when this flag expires */
3011
+ endDate: number;
3012
+ }[];
3013
+ /** @description Intrinsic APY when vault asset is another vault LP token. When present the main vault's asset is equivalent of the underlying vault LP token */
3014
+ intrinsic?: {
3015
+ /** @description Intrinsic APY details */
3016
+ apy: {
3017
+ /** @description 1day APY details */
3018
+ '1day': {
3019
+ /** @description Base APY */
3020
+ base: number;
3021
+ /** @description Reward APY */
3022
+ reward: number;
3023
+ /** @description Total APY */
3024
+ total: number;
3025
+ };
3026
+ /** @description 7day APY details */
3027
+ '7day': {
3028
+ /** @description Base APY */
3029
+ base: number;
3030
+ /** @description Reward APY */
3031
+ reward: number;
3032
+ /** @description Total APY */
3033
+ total: number;
3034
+ };
3035
+ /** @description 30day APY details */
3036
+ '30day': {
3037
+ /** @description Base APY */
3038
+ base: number;
3039
+ /** @description Reward APY */
3040
+ reward: number;
3041
+ /** @description Total APY */
3042
+ total: number;
3043
+ };
3044
+ /** @description 1hour APY details */
3045
+ '1hour': {
3046
+ /** @description Base APY */
3047
+ base: number;
3048
+ /** @description Reward APY */
3049
+ reward: number;
3050
+ /** @description Total APY */
3051
+ total: number;
3052
+ };
3053
+ };
3054
+ /** @description Lowest level underlying asset that is not a vault LP token */
3055
+ asset: {
3056
+ /** @description Address of the asset */
3057
+ address: string;
3058
+ /** @description CAIP-2 of the asset */
3059
+ assetCaip: string;
3060
+ /** @description Name of the asset */
3061
+ name: string;
3062
+ /** @description Symbol of the asset */
3063
+ symbol: string;
3064
+ /** @description Number of decimals of the asset */
3065
+ decimals: number;
3066
+ /**
3067
+ * Format: uri
3068
+ * @description URL of the asset logo
3069
+ */
3070
+ assetLogo?: string;
3071
+ /** @description Price of the asset in USD */
3072
+ assetPriceInUsd?: string;
3073
+ /** @description Group of the asset, e.g., ETH, USD, EURO, BTC, OTHER */
3074
+ assetGroup: string;
3075
+ };
3076
+ vault: {
3077
+ /** @description Address of the underlying vault */
3078
+ address: string;
3079
+ };
3080
+ };
2921
3081
  };
2922
3082
  };
2923
3083
  };
@@ -3518,7 +3678,7 @@ interface paths {
3518
3678
  /** @description Balance of the asset */
3519
3679
  balanceNative: string;
3520
3680
  /** @description USD value of the asset */
3521
- balanceUsd: string;
3681
+ balanceUsd?: string;
3522
3682
  };
3523
3683
  /** @description Best vault details for the requested asset */
3524
3684
  vault?: {
@@ -3834,15 +3994,15 @@ interface paths {
3834
3994
  assetPriceInUsd?: string;
3835
3995
  /** @description Group of the asset, e.g., ETH, USD, EURO, BTC, OTHER */
3836
3996
  assetGroup: string;
3837
- /** @description Balance of the asset denominated in asset wei */
3997
+ /** @description Balance of the asset denominated in asset precision */
3838
3998
  balanceNative: string;
3839
- /** @description Balance of the asset denominated in usd */
3840
- balanceUsd: string;
3841
- /** @description Unclaimed balance of the asset in the position denominated in asset wei */
3999
+ /** @description Balance of the asset denominated in usd. Omitted when no price is available. */
4000
+ balanceUsd?: string;
4001
+ /** @description Unclaimed balance of the asset in the position denominated in asset precision */
3842
4002
  unclaimedNative?: string;
3843
4003
  /** @description Unclaimed balance of the asset in the position denominated in usd */
3844
4004
  unclaimedUsd?: string;
3845
- /** @description Position value in asset denominated in asset wei */
4005
+ /** @description Position value in asset denominated in asset precision */
3846
4006
  positionValueInAsset?: string;
3847
4007
  };
3848
4008
  /** @description Indicates if the vault supports transactional endpoints */
@@ -3896,15 +4056,15 @@ interface paths {
3896
4056
  assetPriceInUsd?: string;
3897
4057
  /** @description Group of the asset, e.g., ETH, USD, EURO, BTC, OTHER */
3898
4058
  assetGroup: string;
3899
- /** @description Balance of the asset denominated in asset wei */
4059
+ /** @description Balance of the asset denominated in asset precision */
3900
4060
  balanceNative: string;
3901
- /** @description Balance of the asset denominated in usd */
3902
- balanceUsd: string;
3903
- /** @description Unclaimed balance of the asset in the position denominated in asset wei */
4061
+ /** @description Balance of the asset denominated in usd. Omitted when no price is available. */
4062
+ balanceUsd?: string;
4063
+ /** @description Unclaimed balance of the asset in the position denominated in asset precision */
3904
4064
  unclaimedNative?: string;
3905
4065
  /** @description Unclaimed balance of the asset in the position denominated in usd */
3906
4066
  unclaimedUsd?: string;
3907
- /** @description Position value in asset denominated in asset wei */
4067
+ /** @description Position value in asset denominated in asset precision */
3908
4068
  positionValueInAsset?: string;
3909
4069
  }[];
3910
4070
  /** @description LP token details of the vault */
@@ -3919,15 +4079,15 @@ interface paths {
3919
4079
  symbol: string;
3920
4080
  /** @description Number of decimals of the LP token */
3921
4081
  decimals: number;
3922
- /** @description Balance of the asset denominated in asset wei */
4082
+ /** @description Balance of the asset denominated in asset precision */
3923
4083
  balanceNative: string;
3924
- /** @description Balance of the asset denominated in usd */
3925
- balanceUsd: string;
3926
- /** @description Unclaimed balance of the asset in the position denominated in asset wei */
4084
+ /** @description Balance of the asset denominated in usd. Omitted when no price is available. */
4085
+ balanceUsd?: string;
4086
+ /** @description Unclaimed balance of the asset in the position denominated in asset precision */
3927
4087
  unclaimedNative?: string;
3928
4088
  /** @description Unclaimed balance of the asset in the position denominated in usd */
3929
4089
  unclaimedUsd?: string;
3930
- /** @description Position value in asset denominated in asset wei */
4090
+ /** @description Position value in asset denominated in asset precision */
3931
4091
  positionValueInAsset?: string;
3932
4092
  /** @description Price of the asset in USD */
3933
4093
  assetPriceInUsd?: string;
@@ -3957,15 +4117,15 @@ interface paths {
3957
4117
  assetPriceInUsd?: string;
3958
4118
  /** @description Group of the asset, e.g., ETH, USD, EURO, BTC, OTHER */
3959
4119
  assetGroup: string;
3960
- /** @description Balance of the asset denominated in asset wei */
4120
+ /** @description Balance of the asset denominated in asset precision */
3961
4121
  balanceNative: string;
3962
- /** @description Balance of the asset denominated in usd */
3963
- balanceUsd: string;
3964
- /** @description Unclaimed balance of the asset in the position denominated in asset wei */
4122
+ /** @description Balance of the asset denominated in usd. Omitted when no price is available. */
4123
+ balanceUsd?: string;
4124
+ /** @description Unclaimed balance of the asset in the position denominated in asset precision */
3965
4125
  unclaimedNative?: string;
3966
4126
  /** @description Unclaimed balance of the asset in the position denominated in usd */
3967
4127
  unclaimedUsd?: string;
3968
- /** @description Position value in asset denominated in asset wei */
4128
+ /** @description Position value in asset denominated in asset precision */
3969
4129
  positionValueInAsset?: string;
3970
4130
  };
3971
4131
  /** @description LP token details of the child vault */
@@ -3980,15 +4140,15 @@ interface paths {
3980
4140
  symbol: string;
3981
4141
  /** @description Number of decimals of the LP token */
3982
4142
  decimals: number;
3983
- /** @description Balance of the asset denominated in asset wei */
4143
+ /** @description Balance of the asset denominated in asset precision */
3984
4144
  balanceNative: string;
3985
- /** @description Balance of the asset denominated in usd */
3986
- balanceUsd: string;
3987
- /** @description Unclaimed balance of the asset in the position denominated in asset wei */
4145
+ /** @description Balance of the asset denominated in usd. Omitted when no price is available. */
4146
+ balanceUsd?: string;
4147
+ /** @description Unclaimed balance of the asset in the position denominated in asset precision */
3988
4148
  unclaimedNative?: string;
3989
4149
  /** @description Unclaimed balance of the asset in the position denominated in usd */
3990
4150
  unclaimedUsd?: string;
3991
- /** @description Position value in asset denominated in asset wei */
4151
+ /** @description Position value in asset denominated in asset precision */
3992
4152
  positionValueInAsset?: string;
3993
4153
  /** @description Price of the asset in USD */
3994
4154
  assetPriceInUsd?: string;
@@ -4014,15 +4174,15 @@ interface paths {
4014
4174
  assetPriceInUsd?: string;
4015
4175
  /** @description Group of the asset, e.g., ETH, USD, EURO, BTC, OTHER */
4016
4176
  assetGroup: string;
4017
- /** @description Balance of the asset denominated in asset wei */
4177
+ /** @description Balance of the asset denominated in asset precision */
4018
4178
  balanceNative: string;
4019
- /** @description Balance of the asset denominated in usd */
4020
- balanceUsd: string;
4021
- /** @description Unclaimed balance of the asset in the position denominated in asset wei */
4179
+ /** @description Balance of the asset denominated in usd. Omitted when no price is available. */
4180
+ balanceUsd?: string;
4181
+ /** @description Unclaimed balance of the asset in the position denominated in asset precision */
4022
4182
  unclaimedNative?: string;
4023
4183
  /** @description Unclaimed balance of the asset in the position denominated in usd */
4024
4184
  unclaimedUsd?: string;
4025
- /** @description Position value in asset denominated in asset wei */
4185
+ /** @description Position value in asset denominated in asset precision */
4026
4186
  positionValueInAsset?: string;
4027
4187
  }[];
4028
4188
  }[];
@@ -4244,15 +4404,15 @@ interface paths {
4244
4404
  assetPriceInUsd?: string;
4245
4405
  /** @description Group of the asset, e.g., ETH, USD, EURO, BTC, OTHER */
4246
4406
  assetGroup: string;
4247
- /** @description Balance of the asset denominated in asset wei */
4407
+ /** @description Balance of the asset denominated in asset precision */
4248
4408
  balanceNative: string;
4249
- /** @description Balance of the asset denominated in usd */
4250
- balanceUsd: string;
4251
- /** @description Unclaimed balance of the asset in the position denominated in asset wei */
4409
+ /** @description Balance of the asset denominated in usd. Omitted when no price is available. */
4410
+ balanceUsd?: string;
4411
+ /** @description Unclaimed balance of the asset in the position denominated in asset precision */
4252
4412
  unclaimedNative?: string;
4253
4413
  /** @description Unclaimed balance of the asset in the position denominated in usd */
4254
4414
  unclaimedUsd?: string;
4255
- /** @description Position value in asset denominated in asset wei */
4415
+ /** @description Position value in asset denominated in asset precision */
4256
4416
  positionValueInAsset?: string;
4257
4417
  };
4258
4418
  /** @description Indicates if the vault supports transactional endpoints */
@@ -4306,15 +4466,15 @@ interface paths {
4306
4466
  assetPriceInUsd?: string;
4307
4467
  /** @description Group of the asset, e.g., ETH, USD, EURO, BTC, OTHER */
4308
4468
  assetGroup: string;
4309
- /** @description Balance of the asset denominated in asset wei */
4469
+ /** @description Balance of the asset denominated in asset precision */
4310
4470
  balanceNative: string;
4311
- /** @description Balance of the asset denominated in usd */
4312
- balanceUsd: string;
4313
- /** @description Unclaimed balance of the asset in the position denominated in asset wei */
4471
+ /** @description Balance of the asset denominated in usd. Omitted when no price is available. */
4472
+ balanceUsd?: string;
4473
+ /** @description Unclaimed balance of the asset in the position denominated in asset precision */
4314
4474
  unclaimedNative?: string;
4315
4475
  /** @description Unclaimed balance of the asset in the position denominated in usd */
4316
4476
  unclaimedUsd?: string;
4317
- /** @description Position value in asset denominated in asset wei */
4477
+ /** @description Position value in asset denominated in asset precision */
4318
4478
  positionValueInAsset?: string;
4319
4479
  }[];
4320
4480
  /** @description LP token details of the vault */
@@ -4329,15 +4489,15 @@ interface paths {
4329
4489
  symbol: string;
4330
4490
  /** @description Number of decimals of the LP token */
4331
4491
  decimals: number;
4332
- /** @description Balance of the asset denominated in asset wei */
4492
+ /** @description Balance of the asset denominated in asset precision */
4333
4493
  balanceNative: string;
4334
- /** @description Balance of the asset denominated in usd */
4335
- balanceUsd: string;
4336
- /** @description Unclaimed balance of the asset in the position denominated in asset wei */
4494
+ /** @description Balance of the asset denominated in usd. Omitted when no price is available. */
4495
+ balanceUsd?: string;
4496
+ /** @description Unclaimed balance of the asset in the position denominated in asset precision */
4337
4497
  unclaimedNative?: string;
4338
4498
  /** @description Unclaimed balance of the asset in the position denominated in usd */
4339
4499
  unclaimedUsd?: string;
4340
- /** @description Position value in asset denominated in asset wei */
4500
+ /** @description Position value in asset denominated in asset precision */
4341
4501
  positionValueInAsset?: string;
4342
4502
  /** @description Price of the asset in USD */
4343
4503
  assetPriceInUsd?: string;
@@ -4367,15 +4527,15 @@ interface paths {
4367
4527
  assetPriceInUsd?: string;
4368
4528
  /** @description Group of the asset, e.g., ETH, USD, EURO, BTC, OTHER */
4369
4529
  assetGroup: string;
4370
- /** @description Balance of the asset denominated in asset wei */
4530
+ /** @description Balance of the asset denominated in asset precision */
4371
4531
  balanceNative: string;
4372
- /** @description Balance of the asset denominated in usd */
4373
- balanceUsd: string;
4374
- /** @description Unclaimed balance of the asset in the position denominated in asset wei */
4532
+ /** @description Balance of the asset denominated in usd. Omitted when no price is available. */
4533
+ balanceUsd?: string;
4534
+ /** @description Unclaimed balance of the asset in the position denominated in asset precision */
4375
4535
  unclaimedNative?: string;
4376
4536
  /** @description Unclaimed balance of the asset in the position denominated in usd */
4377
4537
  unclaimedUsd?: string;
4378
- /** @description Position value in asset denominated in asset wei */
4538
+ /** @description Position value in asset denominated in asset precision */
4379
4539
  positionValueInAsset?: string;
4380
4540
  };
4381
4541
  /** @description LP token details of the child vault */
@@ -4390,15 +4550,15 @@ interface paths {
4390
4550
  symbol: string;
4391
4551
  /** @description Number of decimals of the LP token */
4392
4552
  decimals: number;
4393
- /** @description Balance of the asset denominated in asset wei */
4553
+ /** @description Balance of the asset denominated in asset precision */
4394
4554
  balanceNative: string;
4395
- /** @description Balance of the asset denominated in usd */
4396
- balanceUsd: string;
4397
- /** @description Unclaimed balance of the asset in the position denominated in asset wei */
4555
+ /** @description Balance of the asset denominated in usd. Omitted when no price is available. */
4556
+ balanceUsd?: string;
4557
+ /** @description Unclaimed balance of the asset in the position denominated in asset precision */
4398
4558
  unclaimedNative?: string;
4399
4559
  /** @description Unclaimed balance of the asset in the position denominated in usd */
4400
4560
  unclaimedUsd?: string;
4401
- /** @description Position value in asset denominated in asset wei */
4561
+ /** @description Position value in asset denominated in asset precision */
4402
4562
  positionValueInAsset?: string;
4403
4563
  /** @description Price of the asset in USD */
4404
4564
  assetPriceInUsd?: string;
@@ -4424,15 +4584,15 @@ interface paths {
4424
4584
  assetPriceInUsd?: string;
4425
4585
  /** @description Group of the asset, e.g., ETH, USD, EURO, BTC, OTHER */
4426
4586
  assetGroup: string;
4427
- /** @description Balance of the asset denominated in asset wei */
4587
+ /** @description Balance of the asset denominated in asset precision */
4428
4588
  balanceNative: string;
4429
- /** @description Balance of the asset denominated in usd */
4430
- balanceUsd: string;
4431
- /** @description Unclaimed balance of the asset in the position denominated in asset wei */
4589
+ /** @description Balance of the asset denominated in usd. Omitted when no price is available. */
4590
+ balanceUsd?: string;
4591
+ /** @description Unclaimed balance of the asset in the position denominated in asset precision */
4432
4592
  unclaimedNative?: string;
4433
4593
  /** @description Unclaimed balance of the asset in the position denominated in usd */
4434
4594
  unclaimedUsd?: string;
4435
- /** @description Position value in asset denominated in asset wei */
4595
+ /** @description Position value in asset denominated in asset precision */
4436
4596
  positionValueInAsset?: string;
4437
4597
  }[];
4438
4598
  }[];
@@ -4667,7 +4827,7 @@ interface paths {
4667
4827
  /** @description Balance of the asset */
4668
4828
  balanceNative: string;
4669
4829
  /** @description USD value of the asset */
4670
- balanceUsd: string;
4830
+ balanceUsd?: string;
4671
4831
  };
4672
4832
  depositOptions: {
4673
4833
  /** @description Name of the vault */
@@ -4944,7 +5104,7 @@ interface paths {
4944
5104
  /** @description Balance of the asset */
4945
5105
  balanceNative: string;
4946
5106
  /** @description USD value of the asset */
4947
- balanceUsd: string;
5107
+ balanceUsd?: string;
4948
5108
  /** @description Network details of the vault */
4949
5109
  network: {
4950
5110
  /**
@@ -5603,7 +5763,7 @@ interface paths {
5603
5763
  /** @description Balance of the LP token */
5604
5764
  balanceNative: string;
5605
5765
  /** @description USD value of the LP token */
5606
- balanceUsd: string;
5766
+ balanceUsd?: string;
5607
5767
  };
5608
5768
  /** @description Asset details */
5609
5769
  asset: {
@@ -5626,15 +5786,15 @@ interface paths {
5626
5786
  assetPriceInUsd?: string;
5627
5787
  /** @description Group of the asset, e.g., ETH, USD, EURO, BTC, OTHER */
5628
5788
  assetGroup: string;
5629
- /** @description Balance of the asset denominated in asset wei */
5789
+ /** @description Balance of the asset denominated in asset precision */
5630
5790
  balanceNative: string;
5631
- /** @description Balance of the asset denominated in usd */
5632
- balanceUsd: string;
5633
- /** @description Unclaimed balance of the asset in the position denominated in asset wei */
5791
+ /** @description Balance of the asset denominated in usd. Omitted when no price is available. */
5792
+ balanceUsd?: string;
5793
+ /** @description Unclaimed balance of the asset in the position denominated in asset precision */
5634
5794
  unclaimedNative?: string;
5635
5795
  /** @description Unclaimed balance of the asset in the position denominated in usd */
5636
5796
  unclaimedUsd?: string;
5637
- /** @description Position value in asset denominated in asset wei */
5797
+ /** @description Position value in asset denominated in asset precision */
5638
5798
  positionValueInAsset?: string;
5639
5799
  /** @description Maximum amount that can be deposited */
5640
5800
  depositLimit?: string;
@@ -5660,15 +5820,15 @@ interface paths {
5660
5820
  assetPriceInUsd?: string;
5661
5821
  /** @description Group of the asset, e.g., ETH, USD, EURO, BTC, OTHER */
5662
5822
  assetGroup: string;
5663
- /** @description Balance of the asset denominated in asset wei */
5823
+ /** @description Balance of the asset denominated in asset precision */
5664
5824
  balanceNative: string;
5665
- /** @description Balance of the asset denominated in usd */
5666
- balanceUsd: string;
5667
- /** @description Unclaimed balance of the asset in the position denominated in asset wei */
5825
+ /** @description Balance of the asset denominated in usd. Omitted when no price is available. */
5826
+ balanceUsd?: string;
5827
+ /** @description Unclaimed balance of the asset in the position denominated in asset precision */
5668
5828
  unclaimedNative?: string;
5669
5829
  /** @description Unclaimed balance of the asset in the position denominated in usd */
5670
5830
  unclaimedUsd?: string;
5671
- /** @description Position value in asset denominated in asset wei */
5831
+ /** @description Position value in asset denominated in asset precision */
5672
5832
  positionValueInAsset?: string;
5673
5833
  /** @description Maximum amount that can be deposited */
5674
5834
  depositLimit?: string;
@@ -5691,7 +5851,7 @@ interface paths {
5691
5851
  /** @description Balance of the LP token */
5692
5852
  balanceNative: string;
5693
5853
  /** @description USD value of the LP token */
5694
- balanceUsd: string;
5854
+ balanceUsd?: string;
5695
5855
  };
5696
5856
  /** @description Asset details of the child vault */
5697
5857
  asset: {
@@ -5714,15 +5874,15 @@ interface paths {
5714
5874
  assetPriceInUsd?: string;
5715
5875
  /** @description Group of the asset, e.g., ETH, USD, EURO, BTC, OTHER */
5716
5876
  assetGroup: string;
5717
- /** @description Balance of the asset denominated in asset wei */
5877
+ /** @description Balance of the asset denominated in asset precision */
5718
5878
  balanceNative: string;
5719
- /** @description Balance of the asset denominated in usd */
5720
- balanceUsd: string;
5721
- /** @description Unclaimed balance of the asset in the position denominated in asset wei */
5879
+ /** @description Balance of the asset denominated in usd. Omitted when no price is available. */
5880
+ balanceUsd?: string;
5881
+ /** @description Unclaimed balance of the asset in the position denominated in asset precision */
5722
5882
  unclaimedNative?: string;
5723
5883
  /** @description Unclaimed balance of the asset in the position denominated in usd */
5724
5884
  unclaimedUsd?: string;
5725
- /** @description Position value in asset denominated in asset wei */
5885
+ /** @description Position value in asset denominated in asset precision */
5726
5886
  positionValueInAsset?: string;
5727
5887
  /** @description Maximum amount that can be deposited */
5728
5888
  depositLimit?: string;
@@ -5748,15 +5908,15 @@ interface paths {
5748
5908
  assetPriceInUsd?: string;
5749
5909
  /** @description Group of the asset, e.g., ETH, USD, EURO, BTC, OTHER */
5750
5910
  assetGroup: string;
5751
- /** @description Balance of the asset denominated in asset wei */
5911
+ /** @description Balance of the asset denominated in asset precision */
5752
5912
  balanceNative: string;
5753
- /** @description Balance of the asset denominated in usd */
5754
- balanceUsd: string;
5755
- /** @description Unclaimed balance of the asset in the position denominated in asset wei */
5913
+ /** @description Balance of the asset denominated in usd. Omitted when no price is available. */
5914
+ balanceUsd?: string;
5915
+ /** @description Unclaimed balance of the asset in the position denominated in asset precision */
5756
5916
  unclaimedNative?: string;
5757
5917
  /** @description Unclaimed balance of the asset in the position denominated in usd */
5758
5918
  unclaimedUsd?: string;
5759
- /** @description Position value in asset denominated in asset wei */
5919
+ /** @description Position value in asset denominated in asset precision */
5760
5920
  positionValueInAsset?: string;
5761
5921
  /** @description Maximum amount that can be deposited */
5762
5922
  depositLimit?: string;
@@ -8778,7 +8938,7 @@ declare class VaultsSdk {
8778
8938
  assetPriceInUsd?: string;
8779
8939
  assetGroup: string;
8780
8940
  balanceNative: string;
8781
- balanceUsd: string;
8941
+ balanceUsd?: string;
8782
8942
  unclaimedNative?: string;
8783
8943
  unclaimedUsd?: string;
8784
8944
  positionValueInAsset?: string;
@@ -8809,7 +8969,7 @@ declare class VaultsSdk {
8809
8969
  assetPriceInUsd?: string;
8810
8970
  assetGroup: string;
8811
8971
  balanceNative: string;
8812
- balanceUsd: string;
8972
+ balanceUsd?: string;
8813
8973
  unclaimedNative?: string;
8814
8974
  unclaimedUsd?: string;
8815
8975
  positionValueInAsset?: string;
@@ -8821,7 +8981,7 @@ declare class VaultsSdk {
8821
8981
  symbol: string;
8822
8982
  decimals: number;
8823
8983
  balanceNative: string;
8824
- balanceUsd: string;
8984
+ balanceUsd?: string;
8825
8985
  unclaimedNative?: string;
8826
8986
  unclaimedUsd?: string;
8827
8987
  positionValueInAsset?: string;
@@ -8839,7 +8999,7 @@ declare class VaultsSdk {
8839
8999
  assetPriceInUsd?: string;
8840
9000
  assetGroup: string;
8841
9001
  balanceNative: string;
8842
- balanceUsd: string;
9002
+ balanceUsd?: string;
8843
9003
  unclaimedNative?: string;
8844
9004
  unclaimedUsd?: string;
8845
9005
  positionValueInAsset?: string;
@@ -8851,7 +9011,7 @@ declare class VaultsSdk {
8851
9011
  symbol: string;
8852
9012
  decimals: number;
8853
9013
  balanceNative: string;
8854
- balanceUsd: string;
9014
+ balanceUsd?: string;
8855
9015
  unclaimedNative?: string;
8856
9016
  unclaimedUsd?: string;
8857
9017
  positionValueInAsset?: string;
@@ -8867,7 +9027,7 @@ declare class VaultsSdk {
8867
9027
  assetPriceInUsd?: string;
8868
9028
  assetGroup: string;
8869
9029
  balanceNative: string;
8870
- balanceUsd: string;
9030
+ balanceUsd?: string;
8871
9031
  unclaimedNative?: string;
8872
9032
  unclaimedUsd?: string;
8873
9033
  positionValueInAsset?: string;
@@ -8897,7 +9057,7 @@ declare class VaultsSdk {
8897
9057
  assetPriceInUsd?: string;
8898
9058
  assetGroup: string;
8899
9059
  balanceNative: string;
8900
- balanceUsd: string;
9060
+ balanceUsd?: string;
8901
9061
  unclaimedNative?: string;
8902
9062
  unclaimedUsd?: string;
8903
9063
  positionValueInAsset?: string;
@@ -8928,7 +9088,7 @@ declare class VaultsSdk {
8928
9088
  assetPriceInUsd?: string;
8929
9089
  assetGroup: string;
8930
9090
  balanceNative: string;
8931
- balanceUsd: string;
9091
+ balanceUsd?: string;
8932
9092
  unclaimedNative?: string;
8933
9093
  unclaimedUsd?: string;
8934
9094
  positionValueInAsset?: string;
@@ -8940,7 +9100,7 @@ declare class VaultsSdk {
8940
9100
  symbol: string;
8941
9101
  decimals: number;
8942
9102
  balanceNative: string;
8943
- balanceUsd: string;
9103
+ balanceUsd?: string;
8944
9104
  unclaimedNative?: string;
8945
9105
  unclaimedUsd?: string;
8946
9106
  positionValueInAsset?: string;
@@ -8958,7 +9118,7 @@ declare class VaultsSdk {
8958
9118
  assetPriceInUsd?: string;
8959
9119
  assetGroup: string;
8960
9120
  balanceNative: string;
8961
- balanceUsd: string;
9121
+ balanceUsd?: string;
8962
9122
  unclaimedNative?: string;
8963
9123
  unclaimedUsd?: string;
8964
9124
  positionValueInAsset?: string;
@@ -8970,7 +9130,7 @@ declare class VaultsSdk {
8970
9130
  symbol: string;
8971
9131
  decimals: number;
8972
9132
  balanceNative: string;
8973
- balanceUsd: string;
9133
+ balanceUsd?: string;
8974
9134
  unclaimedNative?: string;
8975
9135
  unclaimedUsd?: string;
8976
9136
  positionValueInAsset?: string;
@@ -8986,7 +9146,7 @@ declare class VaultsSdk {
8986
9146
  assetPriceInUsd?: string;
8987
9147
  assetGroup: string;
8988
9148
  balanceNative: string;
8989
- balanceUsd: string;
9149
+ balanceUsd?: string;
8990
9150
  unclaimedNative?: string;
8991
9151
  unclaimedUsd?: string;
8992
9152
  positionValueInAsset?: string;
@@ -9006,7 +9166,7 @@ declare class VaultsSdk {
9006
9166
  assetPriceInUsd?: string;
9007
9167
  assetGroup: string;
9008
9168
  balanceNative: string;
9009
- balanceUsd: string;
9169
+ balanceUsd?: string;
9010
9170
  };
9011
9171
  depositOptions: {
9012
9172
  name: string;
@@ -9211,6 +9371,48 @@ declare class VaultsSdk {
9211
9371
  depositFee?: number;
9212
9372
  };
9213
9373
  warnings: string[];
9374
+ flags: {
9375
+ content: string;
9376
+ severity: "info" | "warning" | "critical";
9377
+ endDate: number;
9378
+ }[];
9379
+ intrinsic?: {
9380
+ apy: {
9381
+ "1day": {
9382
+ base: number;
9383
+ reward: number;
9384
+ total: number;
9385
+ };
9386
+ "7day": {
9387
+ base: number;
9388
+ reward: number;
9389
+ total: number;
9390
+ };
9391
+ "30day": {
9392
+ base: number;
9393
+ reward: number;
9394
+ total: number;
9395
+ };
9396
+ "1hour": {
9397
+ base: number;
9398
+ reward: number;
9399
+ total: number;
9400
+ };
9401
+ };
9402
+ asset: {
9403
+ address: string;
9404
+ assetCaip: string;
9405
+ name: string;
9406
+ symbol: string;
9407
+ decimals: number;
9408
+ assetLogo?: string;
9409
+ assetPriceInUsd?: string;
9410
+ assetGroup: string;
9411
+ };
9412
+ vault: {
9413
+ address: string;
9414
+ };
9415
+ };
9214
9416
  }[];
9215
9417
  errors: {
9216
9418
  unsupportedNetworks: string[];
@@ -9379,6 +9581,48 @@ declare class VaultsSdk {
9379
9581
  depositFee?: number;
9380
9582
  };
9381
9583
  warnings: string[];
9584
+ flags: {
9585
+ content: string;
9586
+ severity: "info" | "warning" | "critical";
9587
+ endDate: number;
9588
+ }[];
9589
+ intrinsic?: {
9590
+ apy: {
9591
+ "1day": {
9592
+ base: number;
9593
+ reward: number;
9594
+ total: number;
9595
+ };
9596
+ "7day": {
9597
+ base: number;
9598
+ reward: number;
9599
+ total: number;
9600
+ };
9601
+ "30day": {
9602
+ base: number;
9603
+ reward: number;
9604
+ total: number;
9605
+ };
9606
+ "1hour": {
9607
+ base: number;
9608
+ reward: number;
9609
+ total: number;
9610
+ };
9611
+ };
9612
+ asset: {
9613
+ address: string;
9614
+ assetCaip: string;
9615
+ name: string;
9616
+ symbol: string;
9617
+ decimals: number;
9618
+ assetLogo?: string;
9619
+ assetPriceInUsd?: string;
9620
+ assetGroup: string;
9621
+ };
9622
+ vault: {
9623
+ address: string;
9624
+ };
9625
+ };
9382
9626
  }>;
9383
9627
  getIdleAssets(params: Params<'/v2/portfolio/idle-assets/{userAddress}'>): Promise<{
9384
9628
  data: {
@@ -9391,7 +9635,7 @@ declare class VaultsSdk {
9391
9635
  assetPriceInUsd?: string;
9392
9636
  assetGroup: string;
9393
9637
  balanceNative: string;
9394
- balanceUsd: string;
9638
+ balanceUsd?: string;
9395
9639
  network: {
9396
9640
  name: "mainnet" | "optimism" | "arbitrum" | "polygon" | "gnosis" | "base" | "unichain" | "swellchain" | "celo" | "worldchain" | "berachain" | "ink" | "bsc" | "hyperliquid" | "plasma" | "avalanche" | "katana" | "linea" | "mega-eth" | "monad";
9397
9641
  chainId: number;
@@ -9423,7 +9667,7 @@ declare class VaultsSdk {
9423
9667
  symbol: string;
9424
9668
  decimals: number;
9425
9669
  balanceNative: string;
9426
- balanceUsd: string;
9670
+ balanceUsd?: string;
9427
9671
  };
9428
9672
  asset: {
9429
9673
  address: string;
@@ -9435,7 +9679,7 @@ declare class VaultsSdk {
9435
9679
  assetPriceInUsd?: string;
9436
9680
  assetGroup: string;
9437
9681
  balanceNative: string;
9438
- balanceUsd: string;
9682
+ balanceUsd?: string;
9439
9683
  unclaimedNative?: string;
9440
9684
  unclaimedUsd?: string;
9441
9685
  positionValueInAsset?: string;
@@ -9451,7 +9695,7 @@ declare class VaultsSdk {
9451
9695
  assetPriceInUsd?: string;
9452
9696
  assetGroup: string;
9453
9697
  balanceNative: string;
9454
- balanceUsd: string;
9698
+ balanceUsd?: string;
9455
9699
  unclaimedNative?: string;
9456
9700
  unclaimedUsd?: string;
9457
9701
  positionValueInAsset?: string;
@@ -9466,7 +9710,7 @@ declare class VaultsSdk {
9466
9710
  symbol: string;
9467
9711
  decimals: number;
9468
9712
  balanceNative: string;
9469
- balanceUsd: string;
9713
+ balanceUsd?: string;
9470
9714
  };
9471
9715
  asset: {
9472
9716
  address: string;
@@ -9478,7 +9722,7 @@ declare class VaultsSdk {
9478
9722
  assetPriceInUsd?: string;
9479
9723
  assetGroup: string;
9480
9724
  balanceNative: string;
9481
- balanceUsd: string;
9725
+ balanceUsd?: string;
9482
9726
  unclaimedNative?: string;
9483
9727
  unclaimedUsd?: string;
9484
9728
  positionValueInAsset?: string;
@@ -9494,7 +9738,7 @@ declare class VaultsSdk {
9494
9738
  assetPriceInUsd?: string;
9495
9739
  assetGroup: string;
9496
9740
  balanceNative: string;
9497
- balanceUsd: string;
9741
+ balanceUsd?: string;
9498
9742
  unclaimedNative?: string;
9499
9743
  unclaimedUsd?: string;
9500
9744
  positionValueInAsset?: string;