@chainflip/rpc 1.8.10 → 1.8.11

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
@@ -347,14 +347,153 @@ declare const rpcResult: {
347
347
  readonly cf_account_info: z.ZodDiscriminatedUnion<"role", [z.ZodObject<{
348
348
  role: z.ZodLiteral<"unregistered">;
349
349
  flip_balance: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
350
+ asset_balances: z.ZodObject<{
351
+ Bitcoin: z.ZodObject<{
352
+ BTC: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
353
+ }, "strip", z.ZodTypeAny, {
354
+ BTC: bigint;
355
+ }, {
356
+ BTC: string | number;
357
+ }>;
358
+ Ethereum: z.ZodObject<{
359
+ ETH: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
360
+ USDC: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
361
+ FLIP: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
362
+ USDT: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
363
+ }, "strip", z.ZodTypeAny, {
364
+ ETH: bigint;
365
+ USDC: bigint;
366
+ FLIP: bigint;
367
+ USDT: bigint;
368
+ }, {
369
+ ETH: string | number;
370
+ USDC: string | number;
371
+ FLIP: string | number;
372
+ USDT: string | number;
373
+ }>;
374
+ Polkadot: z.ZodObject<{
375
+ DOT: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
376
+ }, "strip", z.ZodTypeAny, {
377
+ DOT: bigint;
378
+ }, {
379
+ DOT: string | number;
380
+ }>;
381
+ Arbitrum: z.ZodObject<{
382
+ ETH: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
383
+ USDC: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
384
+ }, "strip", z.ZodTypeAny, {
385
+ ETH: bigint;
386
+ USDC: bigint;
387
+ }, {
388
+ ETH: string | number;
389
+ USDC: string | number;
390
+ }>;
391
+ Solana: z.ZodObject<{
392
+ SOL: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
393
+ USDC: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
394
+ }, "strip", z.ZodTypeAny, {
395
+ USDC: bigint;
396
+ SOL: bigint;
397
+ }, {
398
+ USDC: string | number;
399
+ SOL: string | number;
400
+ }>;
401
+ }, "strip", z.ZodTypeAny, {
402
+ Bitcoin: {
403
+ BTC: bigint;
404
+ };
405
+ Ethereum: {
406
+ ETH: bigint;
407
+ USDC: bigint;
408
+ FLIP: bigint;
409
+ USDT: bigint;
410
+ };
411
+ Arbitrum: {
412
+ ETH: bigint;
413
+ USDC: bigint;
414
+ };
415
+ Solana: {
416
+ USDC: bigint;
417
+ SOL: bigint;
418
+ };
419
+ Polkadot: {
420
+ DOT: bigint;
421
+ };
422
+ }, {
423
+ Bitcoin: {
424
+ BTC: string | number;
425
+ };
426
+ Ethereum: {
427
+ ETH: string | number;
428
+ USDC: string | number;
429
+ FLIP: string | number;
430
+ USDT: string | number;
431
+ };
432
+ Arbitrum: {
433
+ ETH: string | number;
434
+ USDC: string | number;
435
+ };
436
+ Solana: {
437
+ USDC: string | number;
438
+ SOL: string | number;
439
+ };
440
+ Polkadot: {
441
+ DOT: string | number;
442
+ };
443
+ }>;
350
444
  }, "strip", z.ZodTypeAny, {
351
445
  role: "unregistered";
352
446
  flip_balance: bigint;
447
+ asset_balances: {
448
+ Bitcoin: {
449
+ BTC: bigint;
450
+ };
451
+ Ethereum: {
452
+ ETH: bigint;
453
+ USDC: bigint;
454
+ FLIP: bigint;
455
+ USDT: bigint;
456
+ };
457
+ Arbitrum: {
458
+ ETH: bigint;
459
+ USDC: bigint;
460
+ };
461
+ Solana: {
462
+ USDC: bigint;
463
+ SOL: bigint;
464
+ };
465
+ Polkadot: {
466
+ DOT: bigint;
467
+ };
468
+ };
353
469
  }, {
354
470
  role: "unregistered";
355
471
  flip_balance: string | number;
472
+ asset_balances: {
473
+ Bitcoin: {
474
+ BTC: string | number;
475
+ };
476
+ Ethereum: {
477
+ ETH: string | number;
478
+ USDC: string | number;
479
+ FLIP: string | number;
480
+ USDT: string | number;
481
+ };
482
+ Arbitrum: {
483
+ ETH: string | number;
484
+ USDC: string | number;
485
+ };
486
+ Solana: {
487
+ USDC: string | number;
488
+ SOL: string | number;
489
+ };
490
+ Polkadot: {
491
+ DOT: string | number;
492
+ };
493
+ };
356
494
  }>, z.ZodObject<{
357
495
  role: z.ZodLiteral<"broker">;
496
+ bond: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
358
497
  flip_balance: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
359
498
  earned_fees: z.ZodObject<{
360
499
  Bitcoin: z.ZodObject<{
@@ -451,9 +590,23 @@ declare const rpcResult: {
451
590
  };
452
591
  }>;
453
592
  btc_vault_deposit_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
593
+ affiliates: z.ZodArray<z.ZodObject<{
594
+ account_id: z.ZodString;
595
+ short_id: z.ZodNumber;
596
+ withdrawal_address: z.ZodEffects<z.ZodString, `0x${string}`, string>;
597
+ }, "strip", z.ZodTypeAny, {
598
+ account_id: string;
599
+ short_id: number;
600
+ withdrawal_address: `0x${string}`;
601
+ }, {
602
+ account_id: string;
603
+ short_id: number;
604
+ withdrawal_address: string;
605
+ }>, "many">;
454
606
  }, "strip", z.ZodTypeAny, {
455
607
  role: "broker";
456
608
  flip_balance: bigint;
609
+ bond: bigint;
457
610
  earned_fees: {
458
611
  Bitcoin: {
459
612
  BTC: bigint;
@@ -476,10 +629,16 @@ declare const rpcResult: {
476
629
  DOT: bigint;
477
630
  };
478
631
  };
632
+ affiliates: {
633
+ account_id: string;
634
+ short_id: number;
635
+ withdrawal_address: `0x${string}`;
636
+ }[];
479
637
  btc_vault_deposit_address?: string | null | undefined;
480
638
  }, {
481
639
  role: "broker";
482
640
  flip_balance: string | number;
641
+ bond: string | number;
483
642
  earned_fees: {
484
643
  Bitcoin: {
485
644
  BTC: string | number;
@@ -502,6 +661,11 @@ declare const rpcResult: {
502
661
  DOT: string | number;
503
662
  };
504
663
  };
664
+ affiliates: {
665
+ account_id: string;
666
+ short_id: number;
667
+ withdrawal_address: string;
668
+ }[];
505
669
  btc_vault_deposit_address?: string | null | undefined;
506
670
  }>, z.ZodObject<{
507
671
  role: z.ZodLiteral<"liquidity_provider">;
@@ -13755,11 +13919,11 @@ declare const rpcResult: {
13755
13919
  account_id: z.ZodString;
13756
13920
  amount: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>;
13757
13921
  }, "strip", z.ZodTypeAny, {
13758
- amount: bigint;
13759
13922
  account_id: string;
13923
+ amount: bigint;
13760
13924
  }, {
13761
- amount: string;
13762
13925
  account_id: string;
13926
+ amount: string;
13763
13927
  }>, "many">;
13764
13928
  deposits_pending_finalization: z.ZodArray<z.ZodObject<{
13765
13929
  deposit_id: z.ZodEffects<z.ZodNumber, bigint, number>;
@@ -13767,23 +13931,23 @@ declare const rpcResult: {
13767
13931
  account_id: z.ZodString;
13768
13932
  amount: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>;
13769
13933
  }, "strip", z.ZodTypeAny, {
13770
- amount: bigint;
13771
13934
  account_id: string;
13935
+ amount: bigint;
13772
13936
  }, {
13773
- amount: string;
13774
13937
  account_id: string;
13938
+ amount: string;
13775
13939
  }>, "many">;
13776
13940
  }, "strip", z.ZodTypeAny, {
13777
13941
  deposit_id: bigint;
13778
13942
  owed_amounts: {
13779
- amount: bigint;
13780
13943
  account_id: string;
13944
+ amount: bigint;
13781
13945
  }[];
13782
13946
  }, {
13783
13947
  deposit_id: number;
13784
13948
  owed_amounts: {
13785
- amount: string;
13786
13949
  account_id: string;
13950
+ amount: string;
13787
13951
  }[];
13788
13952
  }>, "many">;
13789
13953
  pending_withdrawals: z.ZodArray<z.ZodObject<{
@@ -13800,14 +13964,14 @@ declare const rpcResult: {
13800
13964
  }, "strip", z.ZodTypeAny, {
13801
13965
  fee_tier: number;
13802
13966
  available_amounts: {
13803
- amount: bigint;
13804
13967
  account_id: string;
13968
+ amount: bigint;
13805
13969
  }[];
13806
13970
  deposits_pending_finalization: {
13807
13971
  deposit_id: bigint;
13808
13972
  owed_amounts: {
13809
- amount: bigint;
13810
13973
  account_id: string;
13974
+ amount: bigint;
13811
13975
  }[];
13812
13976
  }[];
13813
13977
  pending_withdrawals: {
@@ -13818,14 +13982,14 @@ declare const rpcResult: {
13818
13982
  }, {
13819
13983
  fee_tier: number;
13820
13984
  available_amounts: {
13821
- amount: string;
13822
13985
  account_id: string;
13986
+ amount: string;
13823
13987
  }[];
13824
13988
  deposits_pending_finalization: {
13825
13989
  deposit_id: number;
13826
13990
  owed_amounts: {
13827
- amount: string;
13828
13991
  account_id: string;
13992
+ amount: string;
13829
13993
  }[];
13830
13994
  }[];
13831
13995
  pending_withdrawals: {
@@ -13932,22 +14096,22 @@ declare const rpcResult: {
13932
14096
  account_id: z.ZodString;
13933
14097
  amount: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>;
13934
14098
  }, "strip", z.ZodTypeAny, {
13935
- amount: bigint;
13936
14099
  account_id: string;
14100
+ amount: bigint;
13937
14101
  }, {
13938
- amount: string;
13939
14102
  account_id: string;
14103
+ amount: string;
13940
14104
  }>, "many">;
13941
14105
  }, "strip", z.ZodTypeAny, {
13942
14106
  fees: {
13943
- amount: bigint;
13944
14107
  account_id: string;
14108
+ amount: bigint;
13945
14109
  }[];
13946
14110
  deposit_id: bigint;
13947
14111
  }, {
13948
14112
  fees: {
13949
- amount: string;
13950
14113
  account_id: string;
14114
+ amount: string;
13951
14115
  }[];
13952
14116
  deposit_id: number;
13953
14117
  }>, "many">;
@@ -13955,8 +14119,8 @@ declare const rpcResult: {
13955
14119
  fee_tier: number;
13956
14120
  pending_fees: {
13957
14121
  fees: {
13958
- amount: bigint;
13959
14122
  account_id: string;
14123
+ amount: bigint;
13960
14124
  }[];
13961
14125
  deposit_id: bigint;
13962
14126
  }[];
@@ -13964,8 +14128,8 @@ declare const rpcResult: {
13964
14128
  fee_tier: number;
13965
14129
  pending_fees: {
13966
14130
  fees: {
13967
- amount: string;
13968
14131
  account_id: string;
14132
+ amount: string;
13969
14133
  }[];
13970
14134
  deposit_id: number;
13971
14135
  }[];
package/dist/common.d.ts CHANGED
@@ -347,14 +347,153 @@ declare const rpcResult: {
347
347
  readonly cf_account_info: z.ZodDiscriminatedUnion<"role", [z.ZodObject<{
348
348
  role: z.ZodLiteral<"unregistered">;
349
349
  flip_balance: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
350
+ asset_balances: z.ZodObject<{
351
+ Bitcoin: z.ZodObject<{
352
+ BTC: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
353
+ }, "strip", z.ZodTypeAny, {
354
+ BTC: bigint;
355
+ }, {
356
+ BTC: string | number;
357
+ }>;
358
+ Ethereum: z.ZodObject<{
359
+ ETH: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
360
+ USDC: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
361
+ FLIP: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
362
+ USDT: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
363
+ }, "strip", z.ZodTypeAny, {
364
+ ETH: bigint;
365
+ USDC: bigint;
366
+ FLIP: bigint;
367
+ USDT: bigint;
368
+ }, {
369
+ ETH: string | number;
370
+ USDC: string | number;
371
+ FLIP: string | number;
372
+ USDT: string | number;
373
+ }>;
374
+ Polkadot: z.ZodObject<{
375
+ DOT: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
376
+ }, "strip", z.ZodTypeAny, {
377
+ DOT: bigint;
378
+ }, {
379
+ DOT: string | number;
380
+ }>;
381
+ Arbitrum: z.ZodObject<{
382
+ ETH: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
383
+ USDC: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
384
+ }, "strip", z.ZodTypeAny, {
385
+ ETH: bigint;
386
+ USDC: bigint;
387
+ }, {
388
+ ETH: string | number;
389
+ USDC: string | number;
390
+ }>;
391
+ Solana: z.ZodObject<{
392
+ SOL: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
393
+ USDC: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
394
+ }, "strip", z.ZodTypeAny, {
395
+ USDC: bigint;
396
+ SOL: bigint;
397
+ }, {
398
+ USDC: string | number;
399
+ SOL: string | number;
400
+ }>;
401
+ }, "strip", z.ZodTypeAny, {
402
+ Bitcoin: {
403
+ BTC: bigint;
404
+ };
405
+ Ethereum: {
406
+ ETH: bigint;
407
+ USDC: bigint;
408
+ FLIP: bigint;
409
+ USDT: bigint;
410
+ };
411
+ Arbitrum: {
412
+ ETH: bigint;
413
+ USDC: bigint;
414
+ };
415
+ Solana: {
416
+ USDC: bigint;
417
+ SOL: bigint;
418
+ };
419
+ Polkadot: {
420
+ DOT: bigint;
421
+ };
422
+ }, {
423
+ Bitcoin: {
424
+ BTC: string | number;
425
+ };
426
+ Ethereum: {
427
+ ETH: string | number;
428
+ USDC: string | number;
429
+ FLIP: string | number;
430
+ USDT: string | number;
431
+ };
432
+ Arbitrum: {
433
+ ETH: string | number;
434
+ USDC: string | number;
435
+ };
436
+ Solana: {
437
+ USDC: string | number;
438
+ SOL: string | number;
439
+ };
440
+ Polkadot: {
441
+ DOT: string | number;
442
+ };
443
+ }>;
350
444
  }, "strip", z.ZodTypeAny, {
351
445
  role: "unregistered";
352
446
  flip_balance: bigint;
447
+ asset_balances: {
448
+ Bitcoin: {
449
+ BTC: bigint;
450
+ };
451
+ Ethereum: {
452
+ ETH: bigint;
453
+ USDC: bigint;
454
+ FLIP: bigint;
455
+ USDT: bigint;
456
+ };
457
+ Arbitrum: {
458
+ ETH: bigint;
459
+ USDC: bigint;
460
+ };
461
+ Solana: {
462
+ USDC: bigint;
463
+ SOL: bigint;
464
+ };
465
+ Polkadot: {
466
+ DOT: bigint;
467
+ };
468
+ };
353
469
  }, {
354
470
  role: "unregistered";
355
471
  flip_balance: string | number;
472
+ asset_balances: {
473
+ Bitcoin: {
474
+ BTC: string | number;
475
+ };
476
+ Ethereum: {
477
+ ETH: string | number;
478
+ USDC: string | number;
479
+ FLIP: string | number;
480
+ USDT: string | number;
481
+ };
482
+ Arbitrum: {
483
+ ETH: string | number;
484
+ USDC: string | number;
485
+ };
486
+ Solana: {
487
+ USDC: string | number;
488
+ SOL: string | number;
489
+ };
490
+ Polkadot: {
491
+ DOT: string | number;
492
+ };
493
+ };
356
494
  }>, z.ZodObject<{
357
495
  role: z.ZodLiteral<"broker">;
496
+ bond: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
358
497
  flip_balance: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
359
498
  earned_fees: z.ZodObject<{
360
499
  Bitcoin: z.ZodObject<{
@@ -451,9 +590,23 @@ declare const rpcResult: {
451
590
  };
452
591
  }>;
453
592
  btc_vault_deposit_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
593
+ affiliates: z.ZodArray<z.ZodObject<{
594
+ account_id: z.ZodString;
595
+ short_id: z.ZodNumber;
596
+ withdrawal_address: z.ZodEffects<z.ZodString, `0x${string}`, string>;
597
+ }, "strip", z.ZodTypeAny, {
598
+ account_id: string;
599
+ short_id: number;
600
+ withdrawal_address: `0x${string}`;
601
+ }, {
602
+ account_id: string;
603
+ short_id: number;
604
+ withdrawal_address: string;
605
+ }>, "many">;
454
606
  }, "strip", z.ZodTypeAny, {
455
607
  role: "broker";
456
608
  flip_balance: bigint;
609
+ bond: bigint;
457
610
  earned_fees: {
458
611
  Bitcoin: {
459
612
  BTC: bigint;
@@ -476,10 +629,16 @@ declare const rpcResult: {
476
629
  DOT: bigint;
477
630
  };
478
631
  };
632
+ affiliates: {
633
+ account_id: string;
634
+ short_id: number;
635
+ withdrawal_address: `0x${string}`;
636
+ }[];
479
637
  btc_vault_deposit_address?: string | null | undefined;
480
638
  }, {
481
639
  role: "broker";
482
640
  flip_balance: string | number;
641
+ bond: string | number;
483
642
  earned_fees: {
484
643
  Bitcoin: {
485
644
  BTC: string | number;
@@ -502,6 +661,11 @@ declare const rpcResult: {
502
661
  DOT: string | number;
503
662
  };
504
663
  };
664
+ affiliates: {
665
+ account_id: string;
666
+ short_id: number;
667
+ withdrawal_address: string;
668
+ }[];
505
669
  btc_vault_deposit_address?: string | null | undefined;
506
670
  }>, z.ZodObject<{
507
671
  role: z.ZodLiteral<"liquidity_provider">;
@@ -13755,11 +13919,11 @@ declare const rpcResult: {
13755
13919
  account_id: z.ZodString;
13756
13920
  amount: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>;
13757
13921
  }, "strip", z.ZodTypeAny, {
13758
- amount: bigint;
13759
13922
  account_id: string;
13923
+ amount: bigint;
13760
13924
  }, {
13761
- amount: string;
13762
13925
  account_id: string;
13926
+ amount: string;
13763
13927
  }>, "many">;
13764
13928
  deposits_pending_finalization: z.ZodArray<z.ZodObject<{
13765
13929
  deposit_id: z.ZodEffects<z.ZodNumber, bigint, number>;
@@ -13767,23 +13931,23 @@ declare const rpcResult: {
13767
13931
  account_id: z.ZodString;
13768
13932
  amount: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>;
13769
13933
  }, "strip", z.ZodTypeAny, {
13770
- amount: bigint;
13771
13934
  account_id: string;
13935
+ amount: bigint;
13772
13936
  }, {
13773
- amount: string;
13774
13937
  account_id: string;
13938
+ amount: string;
13775
13939
  }>, "many">;
13776
13940
  }, "strip", z.ZodTypeAny, {
13777
13941
  deposit_id: bigint;
13778
13942
  owed_amounts: {
13779
- amount: bigint;
13780
13943
  account_id: string;
13944
+ amount: bigint;
13781
13945
  }[];
13782
13946
  }, {
13783
13947
  deposit_id: number;
13784
13948
  owed_amounts: {
13785
- amount: string;
13786
13949
  account_id: string;
13950
+ amount: string;
13787
13951
  }[];
13788
13952
  }>, "many">;
13789
13953
  pending_withdrawals: z.ZodArray<z.ZodObject<{
@@ -13800,14 +13964,14 @@ declare const rpcResult: {
13800
13964
  }, "strip", z.ZodTypeAny, {
13801
13965
  fee_tier: number;
13802
13966
  available_amounts: {
13803
- amount: bigint;
13804
13967
  account_id: string;
13968
+ amount: bigint;
13805
13969
  }[];
13806
13970
  deposits_pending_finalization: {
13807
13971
  deposit_id: bigint;
13808
13972
  owed_amounts: {
13809
- amount: bigint;
13810
13973
  account_id: string;
13974
+ amount: bigint;
13811
13975
  }[];
13812
13976
  }[];
13813
13977
  pending_withdrawals: {
@@ -13818,14 +13982,14 @@ declare const rpcResult: {
13818
13982
  }, {
13819
13983
  fee_tier: number;
13820
13984
  available_amounts: {
13821
- amount: string;
13822
13985
  account_id: string;
13986
+ amount: string;
13823
13987
  }[];
13824
13988
  deposits_pending_finalization: {
13825
13989
  deposit_id: number;
13826
13990
  owed_amounts: {
13827
- amount: string;
13828
13991
  account_id: string;
13992
+ amount: string;
13829
13993
  }[];
13830
13994
  }[];
13831
13995
  pending_withdrawals: {
@@ -13932,22 +14096,22 @@ declare const rpcResult: {
13932
14096
  account_id: z.ZodString;
13933
14097
  amount: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>;
13934
14098
  }, "strip", z.ZodTypeAny, {
13935
- amount: bigint;
13936
14099
  account_id: string;
14100
+ amount: bigint;
13937
14101
  }, {
13938
- amount: string;
13939
14102
  account_id: string;
14103
+ amount: string;
13940
14104
  }>, "many">;
13941
14105
  }, "strip", z.ZodTypeAny, {
13942
14106
  fees: {
13943
- amount: bigint;
13944
14107
  account_id: string;
14108
+ amount: bigint;
13945
14109
  }[];
13946
14110
  deposit_id: bigint;
13947
14111
  }, {
13948
14112
  fees: {
13949
- amount: string;
13950
14113
  account_id: string;
14114
+ amount: string;
13951
14115
  }[];
13952
14116
  deposit_id: number;
13953
14117
  }>, "many">;
@@ -13955,8 +14119,8 @@ declare const rpcResult: {
13955
14119
  fee_tier: number;
13956
14120
  pending_fees: {
13957
14121
  fees: {
13958
- amount: bigint;
13959
14122
  account_id: string;
14123
+ amount: bigint;
13960
14124
  }[];
13961
14125
  deposit_id: bigint;
13962
14126
  }[];
@@ -13964,8 +14128,8 @@ declare const rpcResult: {
13964
14128
  fee_tier: number;
13965
14129
  pending_fees: {
13966
14130
  fees: {
13967
- amount: string;
13968
14131
  account_id: string;
14132
+ amount: string;
13969
14133
  }[];
13970
14134
  deposit_id: number;
13971
14135
  }[];
package/dist/parsers.cjs CHANGED
@@ -186,13 +186,18 @@ var requestSwapParameterEncoding = _zod.z.discriminatedUnion("chain", [
186
186
  ]);
187
187
  var unregistered = _zod.z.object({
188
188
  role: _zod.z.literal("unregistered"),
189
- flip_balance: numberOrHex
189
+ flip_balance: numberOrHex,
190
+ asset_balances: chainAssetMapFactory(numberOrHex, 0)
190
191
  });
191
192
  var broker = _zod.z.object({
192
193
  role: _zod.z.literal("broker"),
194
+ bond: numberOrHex,
193
195
  flip_balance: numberOrHex,
194
196
  earned_fees: chainAssetMapFactory(numberOrHex, 0),
195
- btc_vault_deposit_address: _zod.z.string().nullable().optional()
197
+ btc_vault_deposit_address: _zod.z.string().nullable().optional(),
198
+ affiliates: _zod.z.array(
199
+ _zod.z.object({ account_id: _zod.z.string(), short_id: _zod.z.number(), withdrawal_address: hexString })
200
+ )
196
201
  });
197
202
  var boostBalances = _zod.z.array(
198
203
  _zod.z.object({