@chainflip/rpc 1.11.0-beta.11 → 1.11.0-beta.12

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/common.d.cts CHANGED
@@ -389,6 +389,7 @@ declare const rpcResult: {
389
389
  }>]>;
390
390
  readonly cf_accounts: z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>, "many">;
391
391
  readonly cf_account_info: z.ZodUnion<[z.ZodEffects<z.ZodDiscriminatedUnion<"role", [z.ZodObject<{
392
+ vanity_name: z.ZodOptional<z.ZodString>;
392
393
  flip_balance: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
393
394
  asset_balances: z.ZodObject<{
394
395
  Bitcoin: z.ZodObject<{
@@ -564,6 +565,7 @@ declare const rpcResult: {
564
565
  };
565
566
  bond: bigint;
566
567
  estimated_redeemable_balance: bigint;
568
+ vanity_name?: string | undefined;
567
569
  bound_redeem_address?: `0x${string}` | undefined;
568
570
  restricted_balances?: Partial<Record<`0x${string}`, bigint>> | undefined;
569
571
  current_delegation_status?: {
@@ -606,6 +608,7 @@ declare const rpcResult: {
606
608
  };
607
609
  bond: string | number;
608
610
  estimated_redeemable_balance: string | number;
611
+ vanity_name?: string | undefined;
609
612
  bound_redeem_address?: string | undefined;
610
613
  restricted_balances?: Record<string, string | number> | undefined;
611
614
  current_delegation_status?: {
@@ -748,6 +751,7 @@ declare const rpcResult: {
748
751
  short_id: number;
749
752
  withdrawal_address: string;
750
753
  }>, "many">>>;
754
+ vanity_name: z.ZodOptional<z.ZodString>;
751
755
  flip_balance: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
752
756
  asset_balances: z.ZodObject<{
753
757
  Bitcoin: z.ZodObject<{
@@ -955,6 +959,7 @@ declare const rpcResult: {
955
959
  short_id: number;
956
960
  withdrawal_address: `0x${string}`;
957
961
  }[];
962
+ vanity_name?: string | undefined;
958
963
  bound_redeem_address?: `0x${string}` | undefined;
959
964
  restricted_balances?: Partial<Record<`0x${string}`, bigint>> | undefined;
960
965
  current_delegation_status?: {
@@ -1025,6 +1030,7 @@ declare const rpcResult: {
1025
1030
  DOT: string | number;
1026
1031
  };
1027
1032
  };
1033
+ vanity_name?: string | undefined;
1028
1034
  bound_redeem_address?: string | undefined;
1029
1035
  restricted_balances?: Record<string, string | number> | undefined;
1030
1036
  current_delegation_status?: {
@@ -1072,6 +1078,7 @@ declare const rpcResult: {
1072
1078
  validators: Record<string, string | number>;
1073
1079
  delegation_fee_bps: number;
1074
1080
  }>>;
1081
+ vanity_name: z.ZodOptional<z.ZodString>;
1075
1082
  flip_balance: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
1076
1083
  asset_balances: z.ZodObject<{
1077
1084
  Bitcoin: z.ZodObject<{
@@ -1255,6 +1262,7 @@ declare const rpcResult: {
1255
1262
  };
1256
1263
  allowed: `cF${string}`[];
1257
1264
  blocked: `cF${string}`[];
1265
+ vanity_name?: string | undefined;
1258
1266
  bound_redeem_address?: `0x${string}` | undefined;
1259
1267
  restricted_balances?: Partial<Record<`0x${string}`, bigint>> | undefined;
1260
1268
  current_delegation_status?: {
@@ -1309,6 +1317,7 @@ declare const rpcResult: {
1309
1317
  fee_bps: number;
1310
1318
  delegation_acceptance: "Allow" | "Deny";
1311
1319
  };
1320
+ vanity_name?: string | undefined;
1312
1321
  bound_redeem_address?: string | undefined;
1313
1322
  restricted_balances?: Record<string, string | number> | undefined;
1314
1323
  current_delegation_status?: {
@@ -2130,6 +2139,7 @@ declare const rpcResult: {
2130
2139
  }[];
2131
2140
  };
2132
2141
  }>;
2142
+ vanity_name: z.ZodOptional<z.ZodString>;
2133
2143
  flip_balance: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
2134
2144
  asset_balances: z.ZodObject<{
2135
2145
  Bitcoin: z.ZodObject<{
@@ -2445,6 +2455,7 @@ declare const rpcResult: {
2445
2455
  }[];
2446
2456
  };
2447
2457
  };
2458
+ vanity_name?: string | undefined;
2448
2459
  bound_redeem_address?: `0x${string}` | undefined;
2449
2460
  restricted_balances?: Partial<Record<`0x${string}`, bigint>> | undefined;
2450
2461
  current_delegation_status?: {
@@ -2627,6 +2638,7 @@ declare const rpcResult: {
2627
2638
  }[];
2628
2639
  };
2629
2640
  };
2641
+ vanity_name?: string | undefined;
2630
2642
  bound_redeem_address?: string | undefined;
2631
2643
  restricted_balances?: Record<string, string | number> | undefined;
2632
2644
  current_delegation_status?: {
@@ -2648,6 +2660,7 @@ declare const rpcResult: {
2648
2660
  is_bidding: z.ZodBoolean;
2649
2661
  apy_bp: z.ZodNullable<z.ZodNumber>;
2650
2662
  operator: z.ZodOptional<z.ZodEffects<z.ZodString, `cF${string}`, string>>;
2663
+ vanity_name: z.ZodOptional<z.ZodString>;
2651
2664
  flip_balance: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
2652
2665
  asset_balances: z.ZodObject<{
2653
2666
  Bitcoin: z.ZodObject<{
@@ -2833,6 +2846,7 @@ declare const rpcResult: {
2833
2846
  is_bidding: boolean;
2834
2847
  apy_bp: number | null;
2835
2848
  operator?: `cF${string}` | undefined;
2849
+ vanity_name?: string | undefined;
2836
2850
  bound_redeem_address?: `0x${string}` | undefined;
2837
2851
  restricted_balances?: Partial<Record<`0x${string}`, bigint>> | undefined;
2838
2852
  current_delegation_status?: {
@@ -2885,6 +2899,7 @@ declare const rpcResult: {
2885
2899
  is_bidding: boolean;
2886
2900
  apy_bp: number | null;
2887
2901
  operator?: string | undefined;
2902
+ vanity_name?: string | undefined;
2888
2903
  bound_redeem_address?: string | undefined;
2889
2904
  restricted_balances?: Record<string, string | number> | undefined;
2890
2905
  current_delegation_status?: {
@@ -2927,6 +2942,7 @@ declare const rpcResult: {
2927
2942
  };
2928
2943
  bond: bigint;
2929
2944
  estimated_redeemable_balance: bigint;
2945
+ vanity_name?: string | undefined;
2930
2946
  bound_redeem_address?: `0x${string}` | undefined;
2931
2947
  restricted_balances?: Partial<Record<`0x${string}`, bigint>> | undefined;
2932
2948
  current_delegation_status?: {
@@ -3001,6 +3017,7 @@ declare const rpcResult: {
3001
3017
  short_id: number;
3002
3018
  withdrawal_address: `0x${string}`;
3003
3019
  }[];
3020
+ vanity_name?: string | undefined;
3004
3021
  bound_redeem_address?: `0x${string}` | undefined;
3005
3022
  restricted_balances?: Partial<Record<`0x${string}`, bigint>> | undefined;
3006
3023
  current_delegation_status?: {
@@ -3054,6 +3071,7 @@ declare const rpcResult: {
3054
3071
  is_bidding: boolean;
3055
3072
  apy_bp: number | null;
3056
3073
  operator?: `cF${string}` | undefined;
3074
+ vanity_name?: string | undefined;
3057
3075
  bound_redeem_address?: `0x${string}` | undefined;
3058
3076
  restricted_balances?: Partial<Record<`0x${string}`, bigint>> | undefined;
3059
3077
  current_delegation_status?: {
@@ -3104,6 +3122,7 @@ declare const rpcResult: {
3104
3122
  estimated_redeemable_balance: bigint;
3105
3123
  allowed: `cF${string}`[];
3106
3124
  blocked: `cF${string}`[];
3125
+ vanity_name?: string | undefined;
3107
3126
  bound_redeem_address?: `0x${string}` | undefined;
3108
3127
  restricted_balances?: Partial<Record<`0x${string}`, bigint>> | undefined;
3109
3128
  current_delegation_status?: {
@@ -3319,6 +3338,7 @@ declare const rpcResult: {
3319
3338
  }[];
3320
3339
  };
3321
3340
  };
3341
+ vanity_name?: string | undefined;
3322
3342
  bound_redeem_address?: `0x${string}` | undefined;
3323
3343
  restricted_balances?: Partial<Record<`0x${string}`, bigint>> | undefined;
3324
3344
  current_delegation_status?: {
@@ -3361,6 +3381,7 @@ declare const rpcResult: {
3361
3381
  };
3362
3382
  bond: string | number;
3363
3383
  estimated_redeemable_balance: string | number;
3384
+ vanity_name?: string | undefined;
3364
3385
  bound_redeem_address?: string | undefined;
3365
3386
  restricted_balances?: Record<string, string | number> | undefined;
3366
3387
  current_delegation_status?: {
@@ -3430,6 +3451,7 @@ declare const rpcResult: {
3430
3451
  DOT: string | number;
3431
3452
  };
3432
3453
  };
3454
+ vanity_name?: string | undefined;
3433
3455
  bound_redeem_address?: string | undefined;
3434
3456
  restricted_balances?: Record<string, string | number> | undefined;
3435
3457
  current_delegation_status?: {
@@ -3484,6 +3506,7 @@ declare const rpcResult: {
3484
3506
  fee_bps: number;
3485
3507
  delegation_acceptance: "Allow" | "Deny";
3486
3508
  };
3509
+ vanity_name?: string | undefined;
3487
3510
  bound_redeem_address?: string | undefined;
3488
3511
  restricted_balances?: Record<string, string | number> | undefined;
3489
3512
  current_delegation_status?: {
@@ -3674,6 +3697,7 @@ declare const rpcResult: {
3674
3697
  }[];
3675
3698
  };
3676
3699
  };
3700
+ vanity_name?: string | undefined;
3677
3701
  bound_redeem_address?: string | undefined;
3678
3702
  restricted_balances?: Record<string, string | number> | undefined;
3679
3703
  current_delegation_status?: {
@@ -3726,6 +3750,7 @@ declare const rpcResult: {
3726
3750
  is_bidding: boolean;
3727
3751
  apy_bp: number | null;
3728
3752
  operator?: string | undefined;
3753
+ vanity_name?: string | undefined;
3729
3754
  bound_redeem_address?: string | undefined;
3730
3755
  restricted_balances?: Record<string, string | number> | undefined;
3731
3756
  current_delegation_status?: {
@@ -26593,7 +26618,25 @@ declare const rpcResult: {
26593
26618
  total_amount: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
26594
26619
  available_amount: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
26595
26620
  utilisation_rate: z.ZodNumber;
26596
- interest_rate: z.ZodNumber;
26621
+ current_interest_rate: z.ZodNumber;
26622
+ origination_fee: z.ZodNumber;
26623
+ liquidation_fee: z.ZodNumber;
26624
+ interest_rate_curve: z.ZodObject<{
26625
+ interest_at_zero_utilisation: z.ZodNumber;
26626
+ junction_utilisation: z.ZodNumber;
26627
+ interest_at_junction_utilisation: z.ZodNumber;
26628
+ interest_at_max_utilisation: z.ZodNumber;
26629
+ }, "strip", z.ZodTypeAny, {
26630
+ interest_at_zero_utilisation: number;
26631
+ junction_utilisation: number;
26632
+ interest_at_junction_utilisation: number;
26633
+ interest_at_max_utilisation: number;
26634
+ }, {
26635
+ interest_at_zero_utilisation: number;
26636
+ junction_utilisation: number;
26637
+ interest_at_junction_utilisation: number;
26638
+ interest_at_max_utilisation: number;
26639
+ }>;
26597
26640
  }, "strip", z.ZodTypeAny, {
26598
26641
  asset: {
26599
26642
  chain: "Bitcoin";
@@ -26638,7 +26681,15 @@ declare const rpcResult: {
26638
26681
  available_amount: bigint;
26639
26682
  total_amount: bigint;
26640
26683
  utilisation_rate: number;
26641
- interest_rate: number;
26684
+ current_interest_rate: number;
26685
+ origination_fee: number;
26686
+ liquidation_fee: number;
26687
+ interest_rate_curve: {
26688
+ interest_at_zero_utilisation: number;
26689
+ junction_utilisation: number;
26690
+ interest_at_junction_utilisation: number;
26691
+ interest_at_max_utilisation: number;
26692
+ };
26642
26693
  }, {
26643
26694
  asset: {
26644
26695
  chain: "Bitcoin";
@@ -26683,7 +26734,15 @@ declare const rpcResult: {
26683
26734
  available_amount: string | number;
26684
26735
  total_amount: string | number;
26685
26736
  utilisation_rate: number;
26686
- interest_rate: number;
26737
+ current_interest_rate: number;
26738
+ origination_fee: number;
26739
+ liquidation_fee: number;
26740
+ interest_rate_curve: {
26741
+ interest_at_zero_utilisation: number;
26742
+ junction_utilisation: number;
26743
+ interest_at_junction_utilisation: number;
26744
+ interest_at_max_utilisation: number;
26745
+ };
26687
26746
  }>, "many">;
26688
26747
  };
26689
26748
  type RpcMethod = keyof RpcRequest;
package/dist/common.d.ts CHANGED
@@ -389,6 +389,7 @@ declare const rpcResult: {
389
389
  }>]>;
390
390
  readonly cf_accounts: z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>, "many">;
391
391
  readonly cf_account_info: z.ZodUnion<[z.ZodEffects<z.ZodDiscriminatedUnion<"role", [z.ZodObject<{
392
+ vanity_name: z.ZodOptional<z.ZodString>;
392
393
  flip_balance: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
393
394
  asset_balances: z.ZodObject<{
394
395
  Bitcoin: z.ZodObject<{
@@ -564,6 +565,7 @@ declare const rpcResult: {
564
565
  };
565
566
  bond: bigint;
566
567
  estimated_redeemable_balance: bigint;
568
+ vanity_name?: string | undefined;
567
569
  bound_redeem_address?: `0x${string}` | undefined;
568
570
  restricted_balances?: Partial<Record<`0x${string}`, bigint>> | undefined;
569
571
  current_delegation_status?: {
@@ -606,6 +608,7 @@ declare const rpcResult: {
606
608
  };
607
609
  bond: string | number;
608
610
  estimated_redeemable_balance: string | number;
611
+ vanity_name?: string | undefined;
609
612
  bound_redeem_address?: string | undefined;
610
613
  restricted_balances?: Record<string, string | number> | undefined;
611
614
  current_delegation_status?: {
@@ -748,6 +751,7 @@ declare const rpcResult: {
748
751
  short_id: number;
749
752
  withdrawal_address: string;
750
753
  }>, "many">>>;
754
+ vanity_name: z.ZodOptional<z.ZodString>;
751
755
  flip_balance: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
752
756
  asset_balances: z.ZodObject<{
753
757
  Bitcoin: z.ZodObject<{
@@ -955,6 +959,7 @@ declare const rpcResult: {
955
959
  short_id: number;
956
960
  withdrawal_address: `0x${string}`;
957
961
  }[];
962
+ vanity_name?: string | undefined;
958
963
  bound_redeem_address?: `0x${string}` | undefined;
959
964
  restricted_balances?: Partial<Record<`0x${string}`, bigint>> | undefined;
960
965
  current_delegation_status?: {
@@ -1025,6 +1030,7 @@ declare const rpcResult: {
1025
1030
  DOT: string | number;
1026
1031
  };
1027
1032
  };
1033
+ vanity_name?: string | undefined;
1028
1034
  bound_redeem_address?: string | undefined;
1029
1035
  restricted_balances?: Record<string, string | number> | undefined;
1030
1036
  current_delegation_status?: {
@@ -1072,6 +1078,7 @@ declare const rpcResult: {
1072
1078
  validators: Record<string, string | number>;
1073
1079
  delegation_fee_bps: number;
1074
1080
  }>>;
1081
+ vanity_name: z.ZodOptional<z.ZodString>;
1075
1082
  flip_balance: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
1076
1083
  asset_balances: z.ZodObject<{
1077
1084
  Bitcoin: z.ZodObject<{
@@ -1255,6 +1262,7 @@ declare const rpcResult: {
1255
1262
  };
1256
1263
  allowed: `cF${string}`[];
1257
1264
  blocked: `cF${string}`[];
1265
+ vanity_name?: string | undefined;
1258
1266
  bound_redeem_address?: `0x${string}` | undefined;
1259
1267
  restricted_balances?: Partial<Record<`0x${string}`, bigint>> | undefined;
1260
1268
  current_delegation_status?: {
@@ -1309,6 +1317,7 @@ declare const rpcResult: {
1309
1317
  fee_bps: number;
1310
1318
  delegation_acceptance: "Allow" | "Deny";
1311
1319
  };
1320
+ vanity_name?: string | undefined;
1312
1321
  bound_redeem_address?: string | undefined;
1313
1322
  restricted_balances?: Record<string, string | number> | undefined;
1314
1323
  current_delegation_status?: {
@@ -2130,6 +2139,7 @@ declare const rpcResult: {
2130
2139
  }[];
2131
2140
  };
2132
2141
  }>;
2142
+ vanity_name: z.ZodOptional<z.ZodString>;
2133
2143
  flip_balance: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
2134
2144
  asset_balances: z.ZodObject<{
2135
2145
  Bitcoin: z.ZodObject<{
@@ -2445,6 +2455,7 @@ declare const rpcResult: {
2445
2455
  }[];
2446
2456
  };
2447
2457
  };
2458
+ vanity_name?: string | undefined;
2448
2459
  bound_redeem_address?: `0x${string}` | undefined;
2449
2460
  restricted_balances?: Partial<Record<`0x${string}`, bigint>> | undefined;
2450
2461
  current_delegation_status?: {
@@ -2627,6 +2638,7 @@ declare const rpcResult: {
2627
2638
  }[];
2628
2639
  };
2629
2640
  };
2641
+ vanity_name?: string | undefined;
2630
2642
  bound_redeem_address?: string | undefined;
2631
2643
  restricted_balances?: Record<string, string | number> | undefined;
2632
2644
  current_delegation_status?: {
@@ -2648,6 +2660,7 @@ declare const rpcResult: {
2648
2660
  is_bidding: z.ZodBoolean;
2649
2661
  apy_bp: z.ZodNullable<z.ZodNumber>;
2650
2662
  operator: z.ZodOptional<z.ZodEffects<z.ZodString, `cF${string}`, string>>;
2663
+ vanity_name: z.ZodOptional<z.ZodString>;
2651
2664
  flip_balance: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
2652
2665
  asset_balances: z.ZodObject<{
2653
2666
  Bitcoin: z.ZodObject<{
@@ -2833,6 +2846,7 @@ declare const rpcResult: {
2833
2846
  is_bidding: boolean;
2834
2847
  apy_bp: number | null;
2835
2848
  operator?: `cF${string}` | undefined;
2849
+ vanity_name?: string | undefined;
2836
2850
  bound_redeem_address?: `0x${string}` | undefined;
2837
2851
  restricted_balances?: Partial<Record<`0x${string}`, bigint>> | undefined;
2838
2852
  current_delegation_status?: {
@@ -2885,6 +2899,7 @@ declare const rpcResult: {
2885
2899
  is_bidding: boolean;
2886
2900
  apy_bp: number | null;
2887
2901
  operator?: string | undefined;
2902
+ vanity_name?: string | undefined;
2888
2903
  bound_redeem_address?: string | undefined;
2889
2904
  restricted_balances?: Record<string, string | number> | undefined;
2890
2905
  current_delegation_status?: {
@@ -2927,6 +2942,7 @@ declare const rpcResult: {
2927
2942
  };
2928
2943
  bond: bigint;
2929
2944
  estimated_redeemable_balance: bigint;
2945
+ vanity_name?: string | undefined;
2930
2946
  bound_redeem_address?: `0x${string}` | undefined;
2931
2947
  restricted_balances?: Partial<Record<`0x${string}`, bigint>> | undefined;
2932
2948
  current_delegation_status?: {
@@ -3001,6 +3017,7 @@ declare const rpcResult: {
3001
3017
  short_id: number;
3002
3018
  withdrawal_address: `0x${string}`;
3003
3019
  }[];
3020
+ vanity_name?: string | undefined;
3004
3021
  bound_redeem_address?: `0x${string}` | undefined;
3005
3022
  restricted_balances?: Partial<Record<`0x${string}`, bigint>> | undefined;
3006
3023
  current_delegation_status?: {
@@ -3054,6 +3071,7 @@ declare const rpcResult: {
3054
3071
  is_bidding: boolean;
3055
3072
  apy_bp: number | null;
3056
3073
  operator?: `cF${string}` | undefined;
3074
+ vanity_name?: string | undefined;
3057
3075
  bound_redeem_address?: `0x${string}` | undefined;
3058
3076
  restricted_balances?: Partial<Record<`0x${string}`, bigint>> | undefined;
3059
3077
  current_delegation_status?: {
@@ -3104,6 +3122,7 @@ declare const rpcResult: {
3104
3122
  estimated_redeemable_balance: bigint;
3105
3123
  allowed: `cF${string}`[];
3106
3124
  blocked: `cF${string}`[];
3125
+ vanity_name?: string | undefined;
3107
3126
  bound_redeem_address?: `0x${string}` | undefined;
3108
3127
  restricted_balances?: Partial<Record<`0x${string}`, bigint>> | undefined;
3109
3128
  current_delegation_status?: {
@@ -3319,6 +3338,7 @@ declare const rpcResult: {
3319
3338
  }[];
3320
3339
  };
3321
3340
  };
3341
+ vanity_name?: string | undefined;
3322
3342
  bound_redeem_address?: `0x${string}` | undefined;
3323
3343
  restricted_balances?: Partial<Record<`0x${string}`, bigint>> | undefined;
3324
3344
  current_delegation_status?: {
@@ -3361,6 +3381,7 @@ declare const rpcResult: {
3361
3381
  };
3362
3382
  bond: string | number;
3363
3383
  estimated_redeemable_balance: string | number;
3384
+ vanity_name?: string | undefined;
3364
3385
  bound_redeem_address?: string | undefined;
3365
3386
  restricted_balances?: Record<string, string | number> | undefined;
3366
3387
  current_delegation_status?: {
@@ -3430,6 +3451,7 @@ declare const rpcResult: {
3430
3451
  DOT: string | number;
3431
3452
  };
3432
3453
  };
3454
+ vanity_name?: string | undefined;
3433
3455
  bound_redeem_address?: string | undefined;
3434
3456
  restricted_balances?: Record<string, string | number> | undefined;
3435
3457
  current_delegation_status?: {
@@ -3484,6 +3506,7 @@ declare const rpcResult: {
3484
3506
  fee_bps: number;
3485
3507
  delegation_acceptance: "Allow" | "Deny";
3486
3508
  };
3509
+ vanity_name?: string | undefined;
3487
3510
  bound_redeem_address?: string | undefined;
3488
3511
  restricted_balances?: Record<string, string | number> | undefined;
3489
3512
  current_delegation_status?: {
@@ -3674,6 +3697,7 @@ declare const rpcResult: {
3674
3697
  }[];
3675
3698
  };
3676
3699
  };
3700
+ vanity_name?: string | undefined;
3677
3701
  bound_redeem_address?: string | undefined;
3678
3702
  restricted_balances?: Record<string, string | number> | undefined;
3679
3703
  current_delegation_status?: {
@@ -3726,6 +3750,7 @@ declare const rpcResult: {
3726
3750
  is_bidding: boolean;
3727
3751
  apy_bp: number | null;
3728
3752
  operator?: string | undefined;
3753
+ vanity_name?: string | undefined;
3729
3754
  bound_redeem_address?: string | undefined;
3730
3755
  restricted_balances?: Record<string, string | number> | undefined;
3731
3756
  current_delegation_status?: {
@@ -26593,7 +26618,25 @@ declare const rpcResult: {
26593
26618
  total_amount: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
26594
26619
  available_amount: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
26595
26620
  utilisation_rate: z.ZodNumber;
26596
- interest_rate: z.ZodNumber;
26621
+ current_interest_rate: z.ZodNumber;
26622
+ origination_fee: z.ZodNumber;
26623
+ liquidation_fee: z.ZodNumber;
26624
+ interest_rate_curve: z.ZodObject<{
26625
+ interest_at_zero_utilisation: z.ZodNumber;
26626
+ junction_utilisation: z.ZodNumber;
26627
+ interest_at_junction_utilisation: z.ZodNumber;
26628
+ interest_at_max_utilisation: z.ZodNumber;
26629
+ }, "strip", z.ZodTypeAny, {
26630
+ interest_at_zero_utilisation: number;
26631
+ junction_utilisation: number;
26632
+ interest_at_junction_utilisation: number;
26633
+ interest_at_max_utilisation: number;
26634
+ }, {
26635
+ interest_at_zero_utilisation: number;
26636
+ junction_utilisation: number;
26637
+ interest_at_junction_utilisation: number;
26638
+ interest_at_max_utilisation: number;
26639
+ }>;
26597
26640
  }, "strip", z.ZodTypeAny, {
26598
26641
  asset: {
26599
26642
  chain: "Bitcoin";
@@ -26638,7 +26681,15 @@ declare const rpcResult: {
26638
26681
  available_amount: bigint;
26639
26682
  total_amount: bigint;
26640
26683
  utilisation_rate: number;
26641
- interest_rate: number;
26684
+ current_interest_rate: number;
26685
+ origination_fee: number;
26686
+ liquidation_fee: number;
26687
+ interest_rate_curve: {
26688
+ interest_at_zero_utilisation: number;
26689
+ junction_utilisation: number;
26690
+ interest_at_junction_utilisation: number;
26691
+ interest_at_max_utilisation: number;
26692
+ };
26642
26693
  }, {
26643
26694
  asset: {
26644
26695
  chain: "Bitcoin";
@@ -26683,7 +26734,15 @@ declare const rpcResult: {
26683
26734
  available_amount: string | number;
26684
26735
  total_amount: string | number;
26685
26736
  utilisation_rate: number;
26686
- interest_rate: number;
26737
+ current_interest_rate: number;
26738
+ origination_fee: number;
26739
+ liquidation_fee: number;
26740
+ interest_rate_curve: {
26741
+ interest_at_zero_utilisation: number;
26742
+ junction_utilisation: number;
26743
+ interest_at_junction_utilisation: number;
26744
+ interest_at_max_utilisation: number;
26745
+ };
26687
26746
  }>, "many">;
26688
26747
  };
26689
26748
  type RpcMethod = keyof RpcRequest;
package/dist/parsers.cjs CHANGED
@@ -211,6 +211,7 @@ var delegationStatus = _zod.z.object({
211
211
  bid: numberOrHex
212
212
  });
213
213
  var accountInfoCommon = {
214
+ vanity_name: _zod.z.string().optional(),
214
215
  flip_balance: numberOrHex,
215
216
  asset_balances: chainAssetMapFactory(numberOrHex, 0),
216
217
  bond: numberOrHex,
@@ -631,7 +632,15 @@ var cfLendingPools = _zod.z.array(
631
632
  total_amount: numberOrHex,
632
633
  available_amount: numberOrHex,
633
634
  utilisation_rate: _zod.z.number(),
634
- interest_rate: _zod.z.number()
635
+ current_interest_rate: _zod.z.number(),
636
+ origination_fee: _zod.z.number(),
637
+ liquidation_fee: _zod.z.number(),
638
+ interest_rate_curve: _zod.z.object({
639
+ interest_at_zero_utilisation: _zod.z.number(),
640
+ junction_utilisation: _zod.z.number(),
641
+ interest_at_junction_utilisation: _zod.z.number(),
642
+ interest_at_max_utilisation: _zod.z.number()
643
+ })
635
644
  })
636
645
  );
637
646