@fastnear/borsh-schema 0.3.0 → 0.5.0

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.
@@ -0,0 +1,3191 @@
1
+ declare const getBorshSchema: {
2
+ Ed25519Signature: {
3
+ struct: {
4
+ data: {
5
+ array: {
6
+ type: string;
7
+ len: number;
8
+ };
9
+ };
10
+ };
11
+ };
12
+ Secp256k1Signature: {
13
+ struct: {
14
+ data: {
15
+ array: {
16
+ type: string;
17
+ len: number;
18
+ };
19
+ };
20
+ };
21
+ };
22
+ Signature: {
23
+ enum: ({
24
+ struct: {
25
+ ed25519Signature: {
26
+ struct: {
27
+ data: {
28
+ array: {
29
+ type: string;
30
+ len: number;
31
+ };
32
+ };
33
+ };
34
+ };
35
+ secp256k1Signature?: undefined;
36
+ };
37
+ } | {
38
+ struct: {
39
+ secp256k1Signature: {
40
+ struct: {
41
+ data: {
42
+ array: {
43
+ type: string;
44
+ len: number;
45
+ };
46
+ };
47
+ };
48
+ };
49
+ ed25519Signature?: undefined;
50
+ };
51
+ })[];
52
+ };
53
+ Ed25519Data: {
54
+ struct: {
55
+ data: {
56
+ array: {
57
+ type: string;
58
+ len: number;
59
+ };
60
+ };
61
+ };
62
+ };
63
+ Secp256k1Data: {
64
+ struct: {
65
+ data: {
66
+ array: {
67
+ type: string;
68
+ len: number;
69
+ };
70
+ };
71
+ };
72
+ };
73
+ PublicKey: {
74
+ enum: ({
75
+ struct: {
76
+ ed25519Key: {
77
+ struct: {
78
+ data: {
79
+ array: {
80
+ type: string;
81
+ len: number;
82
+ };
83
+ };
84
+ };
85
+ };
86
+ secp256k1Key?: undefined;
87
+ };
88
+ } | {
89
+ struct: {
90
+ secp256k1Key: {
91
+ struct: {
92
+ data: {
93
+ array: {
94
+ type: string;
95
+ len: number;
96
+ };
97
+ };
98
+ };
99
+ };
100
+ ed25519Key?: undefined;
101
+ };
102
+ })[];
103
+ };
104
+ FunctionCallPermission: {
105
+ struct: {
106
+ allowance: {
107
+ option: string;
108
+ };
109
+ receiverId: string;
110
+ methodNames: {
111
+ array: {
112
+ type: string;
113
+ };
114
+ };
115
+ };
116
+ };
117
+ FullAccessPermission: {
118
+ struct: {};
119
+ };
120
+ AccessKeyPermission: {
121
+ enum: ({
122
+ struct: {
123
+ functionCall: {
124
+ struct: {
125
+ allowance: {
126
+ option: string;
127
+ };
128
+ receiverId: string;
129
+ methodNames: {
130
+ array: {
131
+ type: string;
132
+ };
133
+ };
134
+ };
135
+ };
136
+ fullAccess?: undefined;
137
+ };
138
+ } | {
139
+ struct: {
140
+ fullAccess: {
141
+ struct: {};
142
+ };
143
+ functionCall?: undefined;
144
+ };
145
+ })[];
146
+ };
147
+ AccessKey: {
148
+ struct: {
149
+ nonce: string;
150
+ permission: {
151
+ enum: ({
152
+ struct: {
153
+ functionCall: {
154
+ struct: {
155
+ allowance: {
156
+ option: string;
157
+ };
158
+ receiverId: string;
159
+ methodNames: {
160
+ array: {
161
+ type: string;
162
+ };
163
+ };
164
+ };
165
+ };
166
+ fullAccess?: undefined;
167
+ };
168
+ } | {
169
+ struct: {
170
+ fullAccess: {
171
+ struct: {};
172
+ };
173
+ functionCall?: undefined;
174
+ };
175
+ })[];
176
+ };
177
+ };
178
+ };
179
+ CreateAccount: {
180
+ struct: {};
181
+ };
182
+ DeployContract: {
183
+ struct: {
184
+ code: {
185
+ array: {
186
+ type: string;
187
+ };
188
+ };
189
+ };
190
+ };
191
+ FunctionCall: {
192
+ struct: {
193
+ methodName: string;
194
+ args: {
195
+ array: {
196
+ type: string;
197
+ };
198
+ };
199
+ gas: string;
200
+ deposit: string;
201
+ };
202
+ };
203
+ Transfer: {
204
+ struct: {
205
+ deposit: string;
206
+ };
207
+ };
208
+ Stake: {
209
+ struct: {
210
+ stake: string;
211
+ publicKey: {
212
+ enum: ({
213
+ struct: {
214
+ ed25519Key: {
215
+ struct: {
216
+ data: {
217
+ array: {
218
+ type: string;
219
+ len: number;
220
+ };
221
+ };
222
+ };
223
+ };
224
+ secp256k1Key?: undefined;
225
+ };
226
+ } | {
227
+ struct: {
228
+ secp256k1Key: {
229
+ struct: {
230
+ data: {
231
+ array: {
232
+ type: string;
233
+ len: number;
234
+ };
235
+ };
236
+ };
237
+ };
238
+ ed25519Key?: undefined;
239
+ };
240
+ })[];
241
+ };
242
+ };
243
+ };
244
+ AddKey: {
245
+ struct: {
246
+ publicKey: {
247
+ enum: ({
248
+ struct: {
249
+ ed25519Key: {
250
+ struct: {
251
+ data: {
252
+ array: {
253
+ type: string;
254
+ len: number;
255
+ };
256
+ };
257
+ };
258
+ };
259
+ secp256k1Key?: undefined;
260
+ };
261
+ } | {
262
+ struct: {
263
+ secp256k1Key: {
264
+ struct: {
265
+ data: {
266
+ array: {
267
+ type: string;
268
+ len: number;
269
+ };
270
+ };
271
+ };
272
+ };
273
+ ed25519Key?: undefined;
274
+ };
275
+ })[];
276
+ };
277
+ accessKey: {
278
+ struct: {
279
+ nonce: string;
280
+ permission: {
281
+ enum: ({
282
+ struct: {
283
+ functionCall: {
284
+ struct: {
285
+ allowance: {
286
+ option: string;
287
+ };
288
+ receiverId: string;
289
+ methodNames: {
290
+ array: {
291
+ type: string;
292
+ };
293
+ };
294
+ };
295
+ };
296
+ fullAccess?: undefined;
297
+ };
298
+ } | {
299
+ struct: {
300
+ fullAccess: {
301
+ struct: {};
302
+ };
303
+ functionCall?: undefined;
304
+ };
305
+ })[];
306
+ };
307
+ };
308
+ };
309
+ };
310
+ };
311
+ DeleteKey: {
312
+ struct: {
313
+ publicKey: {
314
+ enum: ({
315
+ struct: {
316
+ ed25519Key: {
317
+ struct: {
318
+ data: {
319
+ array: {
320
+ type: string;
321
+ len: number;
322
+ };
323
+ };
324
+ };
325
+ };
326
+ secp256k1Key?: undefined;
327
+ };
328
+ } | {
329
+ struct: {
330
+ secp256k1Key: {
331
+ struct: {
332
+ data: {
333
+ array: {
334
+ type: string;
335
+ len: number;
336
+ };
337
+ };
338
+ };
339
+ };
340
+ ed25519Key?: undefined;
341
+ };
342
+ })[];
343
+ };
344
+ };
345
+ };
346
+ DeleteAccount: {
347
+ struct: {
348
+ beneficiaryId: string;
349
+ };
350
+ };
351
+ ClassicAction: {
352
+ enum: ({
353
+ struct: {
354
+ createAccount: {
355
+ struct: {};
356
+ };
357
+ deployContract?: undefined;
358
+ functionCall?: undefined;
359
+ transfer?: undefined;
360
+ stake?: undefined;
361
+ addKey?: undefined;
362
+ deleteKey?: undefined;
363
+ deleteAccount?: undefined;
364
+ };
365
+ } | {
366
+ struct: {
367
+ deployContract: {
368
+ struct: {
369
+ code: {
370
+ array: {
371
+ type: string;
372
+ };
373
+ };
374
+ };
375
+ };
376
+ createAccount?: undefined;
377
+ functionCall?: undefined;
378
+ transfer?: undefined;
379
+ stake?: undefined;
380
+ addKey?: undefined;
381
+ deleteKey?: undefined;
382
+ deleteAccount?: undefined;
383
+ };
384
+ } | {
385
+ struct: {
386
+ functionCall: {
387
+ struct: {
388
+ methodName: string;
389
+ args: {
390
+ array: {
391
+ type: string;
392
+ };
393
+ };
394
+ gas: string;
395
+ deposit: string;
396
+ };
397
+ };
398
+ createAccount?: undefined;
399
+ deployContract?: undefined;
400
+ transfer?: undefined;
401
+ stake?: undefined;
402
+ addKey?: undefined;
403
+ deleteKey?: undefined;
404
+ deleteAccount?: undefined;
405
+ };
406
+ } | {
407
+ struct: {
408
+ transfer: {
409
+ struct: {
410
+ deposit: string;
411
+ };
412
+ };
413
+ createAccount?: undefined;
414
+ deployContract?: undefined;
415
+ functionCall?: undefined;
416
+ stake?: undefined;
417
+ addKey?: undefined;
418
+ deleteKey?: undefined;
419
+ deleteAccount?: undefined;
420
+ };
421
+ } | {
422
+ struct: {
423
+ stake: {
424
+ struct: {
425
+ stake: string;
426
+ publicKey: {
427
+ enum: ({
428
+ struct: {
429
+ ed25519Key: {
430
+ struct: {
431
+ data: {
432
+ array: {
433
+ type: string;
434
+ len: number;
435
+ };
436
+ };
437
+ };
438
+ };
439
+ secp256k1Key?: undefined;
440
+ };
441
+ } | {
442
+ struct: {
443
+ secp256k1Key: {
444
+ struct: {
445
+ data: {
446
+ array: {
447
+ type: string;
448
+ len: number;
449
+ };
450
+ };
451
+ };
452
+ };
453
+ ed25519Key?: undefined;
454
+ };
455
+ })[];
456
+ };
457
+ };
458
+ };
459
+ createAccount?: undefined;
460
+ deployContract?: undefined;
461
+ functionCall?: undefined;
462
+ transfer?: undefined;
463
+ addKey?: undefined;
464
+ deleteKey?: undefined;
465
+ deleteAccount?: undefined;
466
+ };
467
+ } | {
468
+ struct: {
469
+ addKey: {
470
+ struct: {
471
+ publicKey: {
472
+ enum: ({
473
+ struct: {
474
+ ed25519Key: {
475
+ struct: {
476
+ data: {
477
+ array: {
478
+ type: string;
479
+ len: number;
480
+ };
481
+ };
482
+ };
483
+ };
484
+ secp256k1Key?: undefined;
485
+ };
486
+ } | {
487
+ struct: {
488
+ secp256k1Key: {
489
+ struct: {
490
+ data: {
491
+ array: {
492
+ type: string;
493
+ len: number;
494
+ };
495
+ };
496
+ };
497
+ };
498
+ ed25519Key?: undefined;
499
+ };
500
+ })[];
501
+ };
502
+ accessKey: {
503
+ struct: {
504
+ nonce: string;
505
+ permission: {
506
+ enum: ({
507
+ struct: {
508
+ functionCall: {
509
+ struct: {
510
+ allowance: {
511
+ option: string;
512
+ };
513
+ receiverId: string;
514
+ methodNames: {
515
+ array: {
516
+ type: string;
517
+ };
518
+ };
519
+ };
520
+ };
521
+ fullAccess?: undefined;
522
+ };
523
+ } | {
524
+ struct: {
525
+ fullAccess: {
526
+ struct: {};
527
+ };
528
+ functionCall?: undefined;
529
+ };
530
+ })[];
531
+ };
532
+ };
533
+ };
534
+ };
535
+ };
536
+ createAccount?: undefined;
537
+ deployContract?: undefined;
538
+ functionCall?: undefined;
539
+ transfer?: undefined;
540
+ stake?: undefined;
541
+ deleteKey?: undefined;
542
+ deleteAccount?: undefined;
543
+ };
544
+ } | {
545
+ struct: {
546
+ deleteKey: {
547
+ struct: {
548
+ publicKey: {
549
+ enum: ({
550
+ struct: {
551
+ ed25519Key: {
552
+ struct: {
553
+ data: {
554
+ array: {
555
+ type: string;
556
+ len: number;
557
+ };
558
+ };
559
+ };
560
+ };
561
+ secp256k1Key?: undefined;
562
+ };
563
+ } | {
564
+ struct: {
565
+ secp256k1Key: {
566
+ struct: {
567
+ data: {
568
+ array: {
569
+ type: string;
570
+ len: number;
571
+ };
572
+ };
573
+ };
574
+ };
575
+ ed25519Key?: undefined;
576
+ };
577
+ })[];
578
+ };
579
+ };
580
+ };
581
+ createAccount?: undefined;
582
+ deployContract?: undefined;
583
+ functionCall?: undefined;
584
+ transfer?: undefined;
585
+ stake?: undefined;
586
+ addKey?: undefined;
587
+ deleteAccount?: undefined;
588
+ };
589
+ } | {
590
+ struct: {
591
+ deleteAccount: {
592
+ struct: {
593
+ beneficiaryId: string;
594
+ };
595
+ };
596
+ createAccount?: undefined;
597
+ deployContract?: undefined;
598
+ functionCall?: undefined;
599
+ transfer?: undefined;
600
+ stake?: undefined;
601
+ addKey?: undefined;
602
+ deleteKey?: undefined;
603
+ };
604
+ })[];
605
+ };
606
+ DelegateAction: {
607
+ struct: {
608
+ senderId: string;
609
+ receiverId: string;
610
+ actions: {
611
+ array: {
612
+ type: {
613
+ enum: ({
614
+ struct: {
615
+ createAccount: {
616
+ struct: {};
617
+ };
618
+ deployContract?: undefined;
619
+ functionCall?: undefined;
620
+ transfer?: undefined;
621
+ stake?: undefined;
622
+ addKey?: undefined;
623
+ deleteKey?: undefined;
624
+ deleteAccount?: undefined;
625
+ };
626
+ } | {
627
+ struct: {
628
+ deployContract: {
629
+ struct: {
630
+ code: {
631
+ array: {
632
+ type: string;
633
+ };
634
+ };
635
+ };
636
+ };
637
+ createAccount?: undefined;
638
+ functionCall?: undefined;
639
+ transfer?: undefined;
640
+ stake?: undefined;
641
+ addKey?: undefined;
642
+ deleteKey?: undefined;
643
+ deleteAccount?: undefined;
644
+ };
645
+ } | {
646
+ struct: {
647
+ functionCall: {
648
+ struct: {
649
+ methodName: string;
650
+ args: {
651
+ array: {
652
+ type: string;
653
+ };
654
+ };
655
+ gas: string;
656
+ deposit: string;
657
+ };
658
+ };
659
+ createAccount?: undefined;
660
+ deployContract?: undefined;
661
+ transfer?: undefined;
662
+ stake?: undefined;
663
+ addKey?: undefined;
664
+ deleteKey?: undefined;
665
+ deleteAccount?: undefined;
666
+ };
667
+ } | {
668
+ struct: {
669
+ transfer: {
670
+ struct: {
671
+ deposit: string;
672
+ };
673
+ };
674
+ createAccount?: undefined;
675
+ deployContract?: undefined;
676
+ functionCall?: undefined;
677
+ stake?: undefined;
678
+ addKey?: undefined;
679
+ deleteKey?: undefined;
680
+ deleteAccount?: undefined;
681
+ };
682
+ } | {
683
+ struct: {
684
+ stake: {
685
+ struct: {
686
+ stake: string;
687
+ publicKey: {
688
+ enum: ({
689
+ struct: {
690
+ ed25519Key: {
691
+ struct: {
692
+ data: {
693
+ array: {
694
+ type: string;
695
+ len: number;
696
+ };
697
+ };
698
+ };
699
+ };
700
+ secp256k1Key?: undefined;
701
+ };
702
+ } | {
703
+ struct: {
704
+ secp256k1Key: {
705
+ struct: {
706
+ data: {
707
+ array: {
708
+ type: string;
709
+ len: number;
710
+ };
711
+ };
712
+ };
713
+ };
714
+ ed25519Key?: undefined;
715
+ };
716
+ })[];
717
+ };
718
+ };
719
+ };
720
+ createAccount?: undefined;
721
+ deployContract?: undefined;
722
+ functionCall?: undefined;
723
+ transfer?: undefined;
724
+ addKey?: undefined;
725
+ deleteKey?: undefined;
726
+ deleteAccount?: undefined;
727
+ };
728
+ } | {
729
+ struct: {
730
+ addKey: {
731
+ struct: {
732
+ publicKey: {
733
+ enum: ({
734
+ struct: {
735
+ ed25519Key: {
736
+ struct: {
737
+ data: {
738
+ array: {
739
+ type: string;
740
+ len: number;
741
+ };
742
+ };
743
+ };
744
+ };
745
+ secp256k1Key?: undefined;
746
+ };
747
+ } | {
748
+ struct: {
749
+ secp256k1Key: {
750
+ struct: {
751
+ data: {
752
+ array: {
753
+ type: string;
754
+ len: number;
755
+ };
756
+ };
757
+ };
758
+ };
759
+ ed25519Key?: undefined;
760
+ };
761
+ })[];
762
+ };
763
+ accessKey: {
764
+ struct: {
765
+ nonce: string;
766
+ permission: {
767
+ enum: ({
768
+ struct: {
769
+ functionCall: {
770
+ struct: {
771
+ allowance: {
772
+ option: string;
773
+ };
774
+ receiverId: string;
775
+ methodNames: {
776
+ array: {
777
+ type: string;
778
+ };
779
+ };
780
+ };
781
+ };
782
+ fullAccess?: undefined;
783
+ };
784
+ } | {
785
+ struct: {
786
+ fullAccess: {
787
+ struct: {};
788
+ };
789
+ functionCall?: undefined;
790
+ };
791
+ })[];
792
+ };
793
+ };
794
+ };
795
+ };
796
+ };
797
+ createAccount?: undefined;
798
+ deployContract?: undefined;
799
+ functionCall?: undefined;
800
+ transfer?: undefined;
801
+ stake?: undefined;
802
+ deleteKey?: undefined;
803
+ deleteAccount?: undefined;
804
+ };
805
+ } | {
806
+ struct: {
807
+ deleteKey: {
808
+ struct: {
809
+ publicKey: {
810
+ enum: ({
811
+ struct: {
812
+ ed25519Key: {
813
+ struct: {
814
+ data: {
815
+ array: {
816
+ type: string;
817
+ len: number;
818
+ };
819
+ };
820
+ };
821
+ };
822
+ secp256k1Key?: undefined;
823
+ };
824
+ } | {
825
+ struct: {
826
+ secp256k1Key: {
827
+ struct: {
828
+ data: {
829
+ array: {
830
+ type: string;
831
+ len: number;
832
+ };
833
+ };
834
+ };
835
+ };
836
+ ed25519Key?: undefined;
837
+ };
838
+ })[];
839
+ };
840
+ };
841
+ };
842
+ createAccount?: undefined;
843
+ deployContract?: undefined;
844
+ functionCall?: undefined;
845
+ transfer?: undefined;
846
+ stake?: undefined;
847
+ addKey?: undefined;
848
+ deleteAccount?: undefined;
849
+ };
850
+ } | {
851
+ struct: {
852
+ deleteAccount: {
853
+ struct: {
854
+ beneficiaryId: string;
855
+ };
856
+ };
857
+ createAccount?: undefined;
858
+ deployContract?: undefined;
859
+ functionCall?: undefined;
860
+ transfer?: undefined;
861
+ stake?: undefined;
862
+ addKey?: undefined;
863
+ deleteKey?: undefined;
864
+ };
865
+ })[];
866
+ };
867
+ };
868
+ };
869
+ nonce: string;
870
+ maxBlockHeight: string;
871
+ publicKey: {
872
+ enum: ({
873
+ struct: {
874
+ ed25519Key: {
875
+ struct: {
876
+ data: {
877
+ array: {
878
+ type: string;
879
+ len: number;
880
+ };
881
+ };
882
+ };
883
+ };
884
+ secp256k1Key?: undefined;
885
+ };
886
+ } | {
887
+ struct: {
888
+ secp256k1Key: {
889
+ struct: {
890
+ data: {
891
+ array: {
892
+ type: string;
893
+ len: number;
894
+ };
895
+ };
896
+ };
897
+ };
898
+ ed25519Key?: undefined;
899
+ };
900
+ })[];
901
+ };
902
+ };
903
+ };
904
+ SignedDelegate: {
905
+ struct: {
906
+ delegateAction: {
907
+ struct: {
908
+ senderId: string;
909
+ receiverId: string;
910
+ actions: {
911
+ array: {
912
+ type: {
913
+ enum: ({
914
+ struct: {
915
+ createAccount: {
916
+ struct: {};
917
+ };
918
+ deployContract?: undefined;
919
+ functionCall?: undefined;
920
+ transfer?: undefined;
921
+ stake?: undefined;
922
+ addKey?: undefined;
923
+ deleteKey?: undefined;
924
+ deleteAccount?: undefined;
925
+ };
926
+ } | {
927
+ struct: {
928
+ deployContract: {
929
+ struct: {
930
+ code: {
931
+ array: {
932
+ type: string;
933
+ };
934
+ };
935
+ };
936
+ };
937
+ createAccount?: undefined;
938
+ functionCall?: undefined;
939
+ transfer?: undefined;
940
+ stake?: undefined;
941
+ addKey?: undefined;
942
+ deleteKey?: undefined;
943
+ deleteAccount?: undefined;
944
+ };
945
+ } | {
946
+ struct: {
947
+ functionCall: {
948
+ struct: {
949
+ methodName: string;
950
+ args: {
951
+ array: {
952
+ type: string;
953
+ };
954
+ };
955
+ gas: string;
956
+ deposit: string;
957
+ };
958
+ };
959
+ createAccount?: undefined;
960
+ deployContract?: undefined;
961
+ transfer?: undefined;
962
+ stake?: undefined;
963
+ addKey?: undefined;
964
+ deleteKey?: undefined;
965
+ deleteAccount?: undefined;
966
+ };
967
+ } | {
968
+ struct: {
969
+ transfer: {
970
+ struct: {
971
+ deposit: string;
972
+ };
973
+ };
974
+ createAccount?: undefined;
975
+ deployContract?: undefined;
976
+ functionCall?: undefined;
977
+ stake?: undefined;
978
+ addKey?: undefined;
979
+ deleteKey?: undefined;
980
+ deleteAccount?: undefined;
981
+ };
982
+ } | {
983
+ struct: {
984
+ stake: {
985
+ struct: {
986
+ stake: string;
987
+ publicKey: {
988
+ enum: ({
989
+ struct: {
990
+ ed25519Key: {
991
+ struct: {
992
+ data: {
993
+ array: {
994
+ type: string;
995
+ len: number;
996
+ };
997
+ };
998
+ };
999
+ };
1000
+ secp256k1Key?: undefined;
1001
+ };
1002
+ } | {
1003
+ struct: {
1004
+ secp256k1Key: {
1005
+ struct: {
1006
+ data: {
1007
+ array: {
1008
+ type: string;
1009
+ len: number;
1010
+ };
1011
+ };
1012
+ };
1013
+ };
1014
+ ed25519Key?: undefined;
1015
+ };
1016
+ })[];
1017
+ };
1018
+ };
1019
+ };
1020
+ createAccount?: undefined;
1021
+ deployContract?: undefined;
1022
+ functionCall?: undefined;
1023
+ transfer?: undefined;
1024
+ addKey?: undefined;
1025
+ deleteKey?: undefined;
1026
+ deleteAccount?: undefined;
1027
+ };
1028
+ } | {
1029
+ struct: {
1030
+ addKey: {
1031
+ struct: {
1032
+ publicKey: {
1033
+ enum: ({
1034
+ struct: {
1035
+ ed25519Key: {
1036
+ struct: {
1037
+ data: {
1038
+ array: {
1039
+ type: string;
1040
+ len: number;
1041
+ };
1042
+ };
1043
+ };
1044
+ };
1045
+ secp256k1Key?: undefined;
1046
+ };
1047
+ } | {
1048
+ struct: {
1049
+ secp256k1Key: {
1050
+ struct: {
1051
+ data: {
1052
+ array: {
1053
+ type: string;
1054
+ len: number;
1055
+ };
1056
+ };
1057
+ };
1058
+ };
1059
+ ed25519Key?: undefined;
1060
+ };
1061
+ })[];
1062
+ };
1063
+ accessKey: {
1064
+ struct: {
1065
+ nonce: string;
1066
+ permission: {
1067
+ enum: ({
1068
+ struct: {
1069
+ functionCall: {
1070
+ struct: {
1071
+ allowance: {
1072
+ option: string;
1073
+ };
1074
+ receiverId: string;
1075
+ methodNames: {
1076
+ array: {
1077
+ type: string;
1078
+ };
1079
+ };
1080
+ };
1081
+ };
1082
+ fullAccess?: undefined;
1083
+ };
1084
+ } | {
1085
+ struct: {
1086
+ fullAccess: {
1087
+ struct: {};
1088
+ };
1089
+ functionCall?: undefined;
1090
+ };
1091
+ })[];
1092
+ };
1093
+ };
1094
+ };
1095
+ };
1096
+ };
1097
+ createAccount?: undefined;
1098
+ deployContract?: undefined;
1099
+ functionCall?: undefined;
1100
+ transfer?: undefined;
1101
+ stake?: undefined;
1102
+ deleteKey?: undefined;
1103
+ deleteAccount?: undefined;
1104
+ };
1105
+ } | {
1106
+ struct: {
1107
+ deleteKey: {
1108
+ struct: {
1109
+ publicKey: {
1110
+ enum: ({
1111
+ struct: {
1112
+ ed25519Key: {
1113
+ struct: {
1114
+ data: {
1115
+ array: {
1116
+ type: string;
1117
+ len: number;
1118
+ };
1119
+ };
1120
+ };
1121
+ };
1122
+ secp256k1Key?: undefined;
1123
+ };
1124
+ } | {
1125
+ struct: {
1126
+ secp256k1Key: {
1127
+ struct: {
1128
+ data: {
1129
+ array: {
1130
+ type: string;
1131
+ len: number;
1132
+ };
1133
+ };
1134
+ };
1135
+ };
1136
+ ed25519Key?: undefined;
1137
+ };
1138
+ })[];
1139
+ };
1140
+ };
1141
+ };
1142
+ createAccount?: undefined;
1143
+ deployContract?: undefined;
1144
+ functionCall?: undefined;
1145
+ transfer?: undefined;
1146
+ stake?: undefined;
1147
+ addKey?: undefined;
1148
+ deleteAccount?: undefined;
1149
+ };
1150
+ } | {
1151
+ struct: {
1152
+ deleteAccount: {
1153
+ struct: {
1154
+ beneficiaryId: string;
1155
+ };
1156
+ };
1157
+ createAccount?: undefined;
1158
+ deployContract?: undefined;
1159
+ functionCall?: undefined;
1160
+ transfer?: undefined;
1161
+ stake?: undefined;
1162
+ addKey?: undefined;
1163
+ deleteKey?: undefined;
1164
+ };
1165
+ })[];
1166
+ };
1167
+ };
1168
+ };
1169
+ nonce: string;
1170
+ maxBlockHeight: string;
1171
+ publicKey: {
1172
+ enum: ({
1173
+ struct: {
1174
+ ed25519Key: {
1175
+ struct: {
1176
+ data: {
1177
+ array: {
1178
+ type: string;
1179
+ len: number;
1180
+ };
1181
+ };
1182
+ };
1183
+ };
1184
+ secp256k1Key?: undefined;
1185
+ };
1186
+ } | {
1187
+ struct: {
1188
+ secp256k1Key: {
1189
+ struct: {
1190
+ data: {
1191
+ array: {
1192
+ type: string;
1193
+ len: number;
1194
+ };
1195
+ };
1196
+ };
1197
+ };
1198
+ ed25519Key?: undefined;
1199
+ };
1200
+ })[];
1201
+ };
1202
+ };
1203
+ };
1204
+ signature: {
1205
+ enum: ({
1206
+ struct: {
1207
+ ed25519Signature: {
1208
+ struct: {
1209
+ data: {
1210
+ array: {
1211
+ type: string;
1212
+ len: number;
1213
+ };
1214
+ };
1215
+ };
1216
+ };
1217
+ secp256k1Signature?: undefined;
1218
+ };
1219
+ } | {
1220
+ struct: {
1221
+ secp256k1Signature: {
1222
+ struct: {
1223
+ data: {
1224
+ array: {
1225
+ type: string;
1226
+ len: number;
1227
+ };
1228
+ };
1229
+ };
1230
+ };
1231
+ ed25519Signature?: undefined;
1232
+ };
1233
+ })[];
1234
+ };
1235
+ };
1236
+ };
1237
+ Action: {
1238
+ enum: ({
1239
+ struct: {
1240
+ createAccount: {
1241
+ struct: {};
1242
+ };
1243
+ deployContract?: undefined;
1244
+ functionCall?: undefined;
1245
+ transfer?: undefined;
1246
+ stake?: undefined;
1247
+ addKey?: undefined;
1248
+ deleteKey?: undefined;
1249
+ deleteAccount?: undefined;
1250
+ signedDelegate?: undefined;
1251
+ };
1252
+ } | {
1253
+ struct: {
1254
+ deployContract: {
1255
+ struct: {
1256
+ code: {
1257
+ array: {
1258
+ type: string;
1259
+ };
1260
+ };
1261
+ };
1262
+ };
1263
+ createAccount?: undefined;
1264
+ functionCall?: undefined;
1265
+ transfer?: undefined;
1266
+ stake?: undefined;
1267
+ addKey?: undefined;
1268
+ deleteKey?: undefined;
1269
+ deleteAccount?: undefined;
1270
+ signedDelegate?: undefined;
1271
+ };
1272
+ } | {
1273
+ struct: {
1274
+ functionCall: {
1275
+ struct: {
1276
+ methodName: string;
1277
+ args: {
1278
+ array: {
1279
+ type: string;
1280
+ };
1281
+ };
1282
+ gas: string;
1283
+ deposit: string;
1284
+ };
1285
+ };
1286
+ createAccount?: undefined;
1287
+ deployContract?: undefined;
1288
+ transfer?: undefined;
1289
+ stake?: undefined;
1290
+ addKey?: undefined;
1291
+ deleteKey?: undefined;
1292
+ deleteAccount?: undefined;
1293
+ signedDelegate?: undefined;
1294
+ };
1295
+ } | {
1296
+ struct: {
1297
+ transfer: {
1298
+ struct: {
1299
+ deposit: string;
1300
+ };
1301
+ };
1302
+ createAccount?: undefined;
1303
+ deployContract?: undefined;
1304
+ functionCall?: undefined;
1305
+ stake?: undefined;
1306
+ addKey?: undefined;
1307
+ deleteKey?: undefined;
1308
+ deleteAccount?: undefined;
1309
+ signedDelegate?: undefined;
1310
+ };
1311
+ } | {
1312
+ struct: {
1313
+ stake: {
1314
+ struct: {
1315
+ stake: string;
1316
+ publicKey: {
1317
+ enum: ({
1318
+ struct: {
1319
+ ed25519Key: {
1320
+ struct: {
1321
+ data: {
1322
+ array: {
1323
+ type: string;
1324
+ len: number;
1325
+ };
1326
+ };
1327
+ };
1328
+ };
1329
+ secp256k1Key?: undefined;
1330
+ };
1331
+ } | {
1332
+ struct: {
1333
+ secp256k1Key: {
1334
+ struct: {
1335
+ data: {
1336
+ array: {
1337
+ type: string;
1338
+ len: number;
1339
+ };
1340
+ };
1341
+ };
1342
+ };
1343
+ ed25519Key?: undefined;
1344
+ };
1345
+ })[];
1346
+ };
1347
+ };
1348
+ };
1349
+ createAccount?: undefined;
1350
+ deployContract?: undefined;
1351
+ functionCall?: undefined;
1352
+ transfer?: undefined;
1353
+ addKey?: undefined;
1354
+ deleteKey?: undefined;
1355
+ deleteAccount?: undefined;
1356
+ signedDelegate?: undefined;
1357
+ };
1358
+ } | {
1359
+ struct: {
1360
+ addKey: {
1361
+ struct: {
1362
+ publicKey: {
1363
+ enum: ({
1364
+ struct: {
1365
+ ed25519Key: {
1366
+ struct: {
1367
+ data: {
1368
+ array: {
1369
+ type: string;
1370
+ len: number;
1371
+ };
1372
+ };
1373
+ };
1374
+ };
1375
+ secp256k1Key?: undefined;
1376
+ };
1377
+ } | {
1378
+ struct: {
1379
+ secp256k1Key: {
1380
+ struct: {
1381
+ data: {
1382
+ array: {
1383
+ type: string;
1384
+ len: number;
1385
+ };
1386
+ };
1387
+ };
1388
+ };
1389
+ ed25519Key?: undefined;
1390
+ };
1391
+ })[];
1392
+ };
1393
+ accessKey: {
1394
+ struct: {
1395
+ nonce: string;
1396
+ permission: {
1397
+ enum: ({
1398
+ struct: {
1399
+ functionCall: {
1400
+ struct: {
1401
+ allowance: {
1402
+ option: string;
1403
+ };
1404
+ receiverId: string;
1405
+ methodNames: {
1406
+ array: {
1407
+ type: string;
1408
+ };
1409
+ };
1410
+ };
1411
+ };
1412
+ fullAccess?: undefined;
1413
+ };
1414
+ } | {
1415
+ struct: {
1416
+ fullAccess: {
1417
+ struct: {};
1418
+ };
1419
+ functionCall?: undefined;
1420
+ };
1421
+ })[];
1422
+ };
1423
+ };
1424
+ };
1425
+ };
1426
+ };
1427
+ createAccount?: undefined;
1428
+ deployContract?: undefined;
1429
+ functionCall?: undefined;
1430
+ transfer?: undefined;
1431
+ stake?: undefined;
1432
+ deleteKey?: undefined;
1433
+ deleteAccount?: undefined;
1434
+ signedDelegate?: undefined;
1435
+ };
1436
+ } | {
1437
+ struct: {
1438
+ deleteKey: {
1439
+ struct: {
1440
+ publicKey: {
1441
+ enum: ({
1442
+ struct: {
1443
+ ed25519Key: {
1444
+ struct: {
1445
+ data: {
1446
+ array: {
1447
+ type: string;
1448
+ len: number;
1449
+ };
1450
+ };
1451
+ };
1452
+ };
1453
+ secp256k1Key?: undefined;
1454
+ };
1455
+ } | {
1456
+ struct: {
1457
+ secp256k1Key: {
1458
+ struct: {
1459
+ data: {
1460
+ array: {
1461
+ type: string;
1462
+ len: number;
1463
+ };
1464
+ };
1465
+ };
1466
+ };
1467
+ ed25519Key?: undefined;
1468
+ };
1469
+ })[];
1470
+ };
1471
+ };
1472
+ };
1473
+ createAccount?: undefined;
1474
+ deployContract?: undefined;
1475
+ functionCall?: undefined;
1476
+ transfer?: undefined;
1477
+ stake?: undefined;
1478
+ addKey?: undefined;
1479
+ deleteAccount?: undefined;
1480
+ signedDelegate?: undefined;
1481
+ };
1482
+ } | {
1483
+ struct: {
1484
+ deleteAccount: {
1485
+ struct: {
1486
+ beneficiaryId: string;
1487
+ };
1488
+ };
1489
+ createAccount?: undefined;
1490
+ deployContract?: undefined;
1491
+ functionCall?: undefined;
1492
+ transfer?: undefined;
1493
+ stake?: undefined;
1494
+ addKey?: undefined;
1495
+ deleteKey?: undefined;
1496
+ signedDelegate?: undefined;
1497
+ };
1498
+ } | {
1499
+ struct: {
1500
+ signedDelegate: {
1501
+ struct: {
1502
+ delegateAction: {
1503
+ struct: {
1504
+ senderId: string;
1505
+ receiverId: string;
1506
+ actions: {
1507
+ array: {
1508
+ type: {
1509
+ enum: ({
1510
+ struct: {
1511
+ createAccount: {
1512
+ struct: {};
1513
+ };
1514
+ deployContract?: undefined;
1515
+ functionCall?: undefined;
1516
+ transfer?: undefined;
1517
+ stake?: undefined;
1518
+ addKey?: undefined;
1519
+ deleteKey?: undefined;
1520
+ deleteAccount?: undefined;
1521
+ };
1522
+ } | {
1523
+ struct: {
1524
+ deployContract: {
1525
+ struct: {
1526
+ code: {
1527
+ array: {
1528
+ type: string;
1529
+ };
1530
+ };
1531
+ };
1532
+ };
1533
+ createAccount?: undefined;
1534
+ functionCall?: undefined;
1535
+ transfer?: undefined;
1536
+ stake?: undefined;
1537
+ addKey?: undefined;
1538
+ deleteKey?: undefined;
1539
+ deleteAccount?: undefined;
1540
+ };
1541
+ } | {
1542
+ struct: {
1543
+ functionCall: {
1544
+ struct: {
1545
+ methodName: string;
1546
+ args: {
1547
+ array: {
1548
+ type: string;
1549
+ };
1550
+ };
1551
+ gas: string;
1552
+ deposit: string;
1553
+ };
1554
+ };
1555
+ createAccount?: undefined;
1556
+ deployContract?: undefined;
1557
+ transfer?: undefined;
1558
+ stake?: undefined;
1559
+ addKey?: undefined;
1560
+ deleteKey?: undefined;
1561
+ deleteAccount?: undefined;
1562
+ };
1563
+ } | {
1564
+ struct: {
1565
+ transfer: {
1566
+ struct: {
1567
+ deposit: string;
1568
+ };
1569
+ };
1570
+ createAccount?: undefined;
1571
+ deployContract?: undefined;
1572
+ functionCall?: undefined;
1573
+ stake?: undefined;
1574
+ addKey?: undefined;
1575
+ deleteKey?: undefined;
1576
+ deleteAccount?: undefined;
1577
+ };
1578
+ } | {
1579
+ struct: {
1580
+ stake: {
1581
+ struct: {
1582
+ stake: string;
1583
+ publicKey: {
1584
+ enum: ({
1585
+ struct: {
1586
+ ed25519Key: {
1587
+ struct: {
1588
+ data: {
1589
+ array: {
1590
+ type: string;
1591
+ len: number;
1592
+ };
1593
+ };
1594
+ };
1595
+ };
1596
+ secp256k1Key?: undefined;
1597
+ };
1598
+ } | {
1599
+ struct: {
1600
+ secp256k1Key: {
1601
+ struct: {
1602
+ data: {
1603
+ array: {
1604
+ type: string;
1605
+ len: number;
1606
+ };
1607
+ };
1608
+ };
1609
+ };
1610
+ ed25519Key?: undefined;
1611
+ };
1612
+ })[];
1613
+ };
1614
+ };
1615
+ };
1616
+ createAccount?: undefined;
1617
+ deployContract?: undefined;
1618
+ functionCall?: undefined;
1619
+ transfer?: undefined;
1620
+ addKey?: undefined;
1621
+ deleteKey?: undefined;
1622
+ deleteAccount?: undefined;
1623
+ };
1624
+ } | {
1625
+ struct: {
1626
+ addKey: {
1627
+ struct: {
1628
+ publicKey: {
1629
+ enum: ({
1630
+ struct: {
1631
+ ed25519Key: {
1632
+ struct: {
1633
+ data: {
1634
+ array: {
1635
+ type: string;
1636
+ len: number;
1637
+ };
1638
+ };
1639
+ };
1640
+ };
1641
+ secp256k1Key?: undefined;
1642
+ };
1643
+ } | {
1644
+ struct: {
1645
+ secp256k1Key: {
1646
+ struct: {
1647
+ data: {
1648
+ array: {
1649
+ type: string;
1650
+ len: number;
1651
+ };
1652
+ };
1653
+ };
1654
+ };
1655
+ ed25519Key?: undefined;
1656
+ };
1657
+ })[];
1658
+ };
1659
+ accessKey: {
1660
+ struct: {
1661
+ nonce: string;
1662
+ permission: {
1663
+ enum: ({
1664
+ struct: {
1665
+ functionCall: {
1666
+ struct: {
1667
+ allowance: {
1668
+ option: string;
1669
+ };
1670
+ receiverId: string;
1671
+ methodNames: {
1672
+ array: {
1673
+ type: string;
1674
+ };
1675
+ };
1676
+ };
1677
+ };
1678
+ fullAccess?: undefined;
1679
+ };
1680
+ } | {
1681
+ struct: {
1682
+ fullAccess: {
1683
+ struct: {};
1684
+ };
1685
+ functionCall?: undefined;
1686
+ };
1687
+ })[];
1688
+ };
1689
+ };
1690
+ };
1691
+ };
1692
+ };
1693
+ createAccount?: undefined;
1694
+ deployContract?: undefined;
1695
+ functionCall?: undefined;
1696
+ transfer?: undefined;
1697
+ stake?: undefined;
1698
+ deleteKey?: undefined;
1699
+ deleteAccount?: undefined;
1700
+ };
1701
+ } | {
1702
+ struct: {
1703
+ deleteKey: {
1704
+ struct: {
1705
+ publicKey: {
1706
+ enum: ({
1707
+ struct: {
1708
+ ed25519Key: {
1709
+ struct: {
1710
+ data: {
1711
+ array: {
1712
+ type: string;
1713
+ len: number;
1714
+ };
1715
+ };
1716
+ };
1717
+ };
1718
+ secp256k1Key?: undefined;
1719
+ };
1720
+ } | {
1721
+ struct: {
1722
+ secp256k1Key: {
1723
+ struct: {
1724
+ data: {
1725
+ array: {
1726
+ type: string;
1727
+ len: number;
1728
+ };
1729
+ };
1730
+ };
1731
+ };
1732
+ ed25519Key?: undefined;
1733
+ };
1734
+ })[];
1735
+ };
1736
+ };
1737
+ };
1738
+ createAccount?: undefined;
1739
+ deployContract?: undefined;
1740
+ functionCall?: undefined;
1741
+ transfer?: undefined;
1742
+ stake?: undefined;
1743
+ addKey?: undefined;
1744
+ deleteAccount?: undefined;
1745
+ };
1746
+ } | {
1747
+ struct: {
1748
+ deleteAccount: {
1749
+ struct: {
1750
+ beneficiaryId: string;
1751
+ };
1752
+ };
1753
+ createAccount?: undefined;
1754
+ deployContract?: undefined;
1755
+ functionCall?: undefined;
1756
+ transfer?: undefined;
1757
+ stake?: undefined;
1758
+ addKey?: undefined;
1759
+ deleteKey?: undefined;
1760
+ };
1761
+ })[];
1762
+ };
1763
+ };
1764
+ };
1765
+ nonce: string;
1766
+ maxBlockHeight: string;
1767
+ publicKey: {
1768
+ enum: ({
1769
+ struct: {
1770
+ ed25519Key: {
1771
+ struct: {
1772
+ data: {
1773
+ array: {
1774
+ type: string;
1775
+ len: number;
1776
+ };
1777
+ };
1778
+ };
1779
+ };
1780
+ secp256k1Key?: undefined;
1781
+ };
1782
+ } | {
1783
+ struct: {
1784
+ secp256k1Key: {
1785
+ struct: {
1786
+ data: {
1787
+ array: {
1788
+ type: string;
1789
+ len: number;
1790
+ };
1791
+ };
1792
+ };
1793
+ };
1794
+ ed25519Key?: undefined;
1795
+ };
1796
+ })[];
1797
+ };
1798
+ };
1799
+ };
1800
+ signature: {
1801
+ enum: ({
1802
+ struct: {
1803
+ ed25519Signature: {
1804
+ struct: {
1805
+ data: {
1806
+ array: {
1807
+ type: string;
1808
+ len: number;
1809
+ };
1810
+ };
1811
+ };
1812
+ };
1813
+ secp256k1Signature?: undefined;
1814
+ };
1815
+ } | {
1816
+ struct: {
1817
+ secp256k1Signature: {
1818
+ struct: {
1819
+ data: {
1820
+ array: {
1821
+ type: string;
1822
+ len: number;
1823
+ };
1824
+ };
1825
+ };
1826
+ };
1827
+ ed25519Signature?: undefined;
1828
+ };
1829
+ })[];
1830
+ };
1831
+ };
1832
+ };
1833
+ createAccount?: undefined;
1834
+ deployContract?: undefined;
1835
+ functionCall?: undefined;
1836
+ transfer?: undefined;
1837
+ stake?: undefined;
1838
+ addKey?: undefined;
1839
+ deleteKey?: undefined;
1840
+ deleteAccount?: undefined;
1841
+ };
1842
+ })[];
1843
+ };
1844
+ Transaction: {
1845
+ struct: {
1846
+ signerId: string;
1847
+ publicKey: {
1848
+ enum: ({
1849
+ struct: {
1850
+ ed25519Key: {
1851
+ struct: {
1852
+ data: {
1853
+ array: {
1854
+ type: string;
1855
+ len: number;
1856
+ };
1857
+ };
1858
+ };
1859
+ };
1860
+ secp256k1Key?: undefined;
1861
+ };
1862
+ } | {
1863
+ struct: {
1864
+ secp256k1Key: {
1865
+ struct: {
1866
+ data: {
1867
+ array: {
1868
+ type: string;
1869
+ len: number;
1870
+ };
1871
+ };
1872
+ };
1873
+ };
1874
+ ed25519Key?: undefined;
1875
+ };
1876
+ })[];
1877
+ };
1878
+ nonce: string;
1879
+ receiverId: string;
1880
+ blockHash: {
1881
+ array: {
1882
+ type: string;
1883
+ len: number;
1884
+ };
1885
+ };
1886
+ actions: {
1887
+ array: {
1888
+ type: {
1889
+ enum: ({
1890
+ struct: {
1891
+ createAccount: {
1892
+ struct: {};
1893
+ };
1894
+ deployContract?: undefined;
1895
+ functionCall?: undefined;
1896
+ transfer?: undefined;
1897
+ stake?: undefined;
1898
+ addKey?: undefined;
1899
+ deleteKey?: undefined;
1900
+ deleteAccount?: undefined;
1901
+ signedDelegate?: undefined;
1902
+ };
1903
+ } | {
1904
+ struct: {
1905
+ deployContract: {
1906
+ struct: {
1907
+ code: {
1908
+ array: {
1909
+ type: string;
1910
+ };
1911
+ };
1912
+ };
1913
+ };
1914
+ createAccount?: undefined;
1915
+ functionCall?: undefined;
1916
+ transfer?: undefined;
1917
+ stake?: undefined;
1918
+ addKey?: undefined;
1919
+ deleteKey?: undefined;
1920
+ deleteAccount?: undefined;
1921
+ signedDelegate?: undefined;
1922
+ };
1923
+ } | {
1924
+ struct: {
1925
+ functionCall: {
1926
+ struct: {
1927
+ methodName: string;
1928
+ args: {
1929
+ array: {
1930
+ type: string;
1931
+ };
1932
+ };
1933
+ gas: string;
1934
+ deposit: string;
1935
+ };
1936
+ };
1937
+ createAccount?: undefined;
1938
+ deployContract?: undefined;
1939
+ transfer?: undefined;
1940
+ stake?: undefined;
1941
+ addKey?: undefined;
1942
+ deleteKey?: undefined;
1943
+ deleteAccount?: undefined;
1944
+ signedDelegate?: undefined;
1945
+ };
1946
+ } | {
1947
+ struct: {
1948
+ transfer: {
1949
+ struct: {
1950
+ deposit: string;
1951
+ };
1952
+ };
1953
+ createAccount?: undefined;
1954
+ deployContract?: undefined;
1955
+ functionCall?: undefined;
1956
+ stake?: undefined;
1957
+ addKey?: undefined;
1958
+ deleteKey?: undefined;
1959
+ deleteAccount?: undefined;
1960
+ signedDelegate?: undefined;
1961
+ };
1962
+ } | {
1963
+ struct: {
1964
+ stake: {
1965
+ struct: {
1966
+ stake: string;
1967
+ publicKey: {
1968
+ enum: ({
1969
+ struct: {
1970
+ ed25519Key: {
1971
+ struct: {
1972
+ data: {
1973
+ array: {
1974
+ type: string;
1975
+ len: number;
1976
+ };
1977
+ };
1978
+ };
1979
+ };
1980
+ secp256k1Key?: undefined;
1981
+ };
1982
+ } | {
1983
+ struct: {
1984
+ secp256k1Key: {
1985
+ struct: {
1986
+ data: {
1987
+ array: {
1988
+ type: string;
1989
+ len: number;
1990
+ };
1991
+ };
1992
+ };
1993
+ };
1994
+ ed25519Key?: undefined;
1995
+ };
1996
+ })[];
1997
+ };
1998
+ };
1999
+ };
2000
+ createAccount?: undefined;
2001
+ deployContract?: undefined;
2002
+ functionCall?: undefined;
2003
+ transfer?: undefined;
2004
+ addKey?: undefined;
2005
+ deleteKey?: undefined;
2006
+ deleteAccount?: undefined;
2007
+ signedDelegate?: undefined;
2008
+ };
2009
+ } | {
2010
+ struct: {
2011
+ addKey: {
2012
+ struct: {
2013
+ publicKey: {
2014
+ enum: ({
2015
+ struct: {
2016
+ ed25519Key: {
2017
+ struct: {
2018
+ data: {
2019
+ array: {
2020
+ type: string;
2021
+ len: number;
2022
+ };
2023
+ };
2024
+ };
2025
+ };
2026
+ secp256k1Key?: undefined;
2027
+ };
2028
+ } | {
2029
+ struct: {
2030
+ secp256k1Key: {
2031
+ struct: {
2032
+ data: {
2033
+ array: {
2034
+ type: string;
2035
+ len: number;
2036
+ };
2037
+ };
2038
+ };
2039
+ };
2040
+ ed25519Key?: undefined;
2041
+ };
2042
+ })[];
2043
+ };
2044
+ accessKey: {
2045
+ struct: {
2046
+ nonce: string;
2047
+ permission: {
2048
+ enum: ({
2049
+ struct: {
2050
+ functionCall: {
2051
+ struct: {
2052
+ allowance: {
2053
+ option: string;
2054
+ };
2055
+ receiverId: string;
2056
+ methodNames: {
2057
+ array: {
2058
+ type: string;
2059
+ };
2060
+ };
2061
+ };
2062
+ };
2063
+ fullAccess?: undefined;
2064
+ };
2065
+ } | {
2066
+ struct: {
2067
+ fullAccess: {
2068
+ struct: {};
2069
+ };
2070
+ functionCall?: undefined;
2071
+ };
2072
+ })[];
2073
+ };
2074
+ };
2075
+ };
2076
+ };
2077
+ };
2078
+ createAccount?: undefined;
2079
+ deployContract?: undefined;
2080
+ functionCall?: undefined;
2081
+ transfer?: undefined;
2082
+ stake?: undefined;
2083
+ deleteKey?: undefined;
2084
+ deleteAccount?: undefined;
2085
+ signedDelegate?: undefined;
2086
+ };
2087
+ } | {
2088
+ struct: {
2089
+ deleteKey: {
2090
+ struct: {
2091
+ publicKey: {
2092
+ enum: ({
2093
+ struct: {
2094
+ ed25519Key: {
2095
+ struct: {
2096
+ data: {
2097
+ array: {
2098
+ type: string;
2099
+ len: number;
2100
+ };
2101
+ };
2102
+ };
2103
+ };
2104
+ secp256k1Key?: undefined;
2105
+ };
2106
+ } | {
2107
+ struct: {
2108
+ secp256k1Key: {
2109
+ struct: {
2110
+ data: {
2111
+ array: {
2112
+ type: string;
2113
+ len: number;
2114
+ };
2115
+ };
2116
+ };
2117
+ };
2118
+ ed25519Key?: undefined;
2119
+ };
2120
+ })[];
2121
+ };
2122
+ };
2123
+ };
2124
+ createAccount?: undefined;
2125
+ deployContract?: undefined;
2126
+ functionCall?: undefined;
2127
+ transfer?: undefined;
2128
+ stake?: undefined;
2129
+ addKey?: undefined;
2130
+ deleteAccount?: undefined;
2131
+ signedDelegate?: undefined;
2132
+ };
2133
+ } | {
2134
+ struct: {
2135
+ deleteAccount: {
2136
+ struct: {
2137
+ beneficiaryId: string;
2138
+ };
2139
+ };
2140
+ createAccount?: undefined;
2141
+ deployContract?: undefined;
2142
+ functionCall?: undefined;
2143
+ transfer?: undefined;
2144
+ stake?: undefined;
2145
+ addKey?: undefined;
2146
+ deleteKey?: undefined;
2147
+ signedDelegate?: undefined;
2148
+ };
2149
+ } | {
2150
+ struct: {
2151
+ signedDelegate: {
2152
+ struct: {
2153
+ delegateAction: {
2154
+ struct: {
2155
+ senderId: string;
2156
+ receiverId: string;
2157
+ actions: {
2158
+ array: {
2159
+ type: {
2160
+ enum: ({
2161
+ struct: {
2162
+ createAccount: {
2163
+ struct: {};
2164
+ };
2165
+ deployContract?: undefined;
2166
+ functionCall?: undefined;
2167
+ transfer?: undefined;
2168
+ stake?: undefined;
2169
+ addKey?: undefined;
2170
+ deleteKey?: undefined;
2171
+ deleteAccount?: undefined;
2172
+ };
2173
+ } | {
2174
+ struct: {
2175
+ deployContract: {
2176
+ struct: {
2177
+ code: {
2178
+ array: {
2179
+ type: string;
2180
+ };
2181
+ };
2182
+ };
2183
+ };
2184
+ createAccount?: undefined;
2185
+ functionCall?: undefined;
2186
+ transfer?: undefined;
2187
+ stake?: undefined;
2188
+ addKey?: undefined;
2189
+ deleteKey?: undefined;
2190
+ deleteAccount?: undefined;
2191
+ };
2192
+ } | {
2193
+ struct: {
2194
+ functionCall: {
2195
+ struct: {
2196
+ methodName: string;
2197
+ args: {
2198
+ array: {
2199
+ type: string;
2200
+ };
2201
+ };
2202
+ gas: string;
2203
+ deposit: string;
2204
+ };
2205
+ };
2206
+ createAccount?: undefined;
2207
+ deployContract?: undefined;
2208
+ transfer?: undefined;
2209
+ stake?: undefined;
2210
+ addKey?: undefined;
2211
+ deleteKey?: undefined;
2212
+ deleteAccount?: undefined;
2213
+ };
2214
+ } | {
2215
+ struct: {
2216
+ transfer: {
2217
+ struct: {
2218
+ deposit: string;
2219
+ };
2220
+ };
2221
+ createAccount?: undefined;
2222
+ deployContract?: undefined;
2223
+ functionCall?: undefined;
2224
+ stake?: undefined;
2225
+ addKey?: undefined;
2226
+ deleteKey?: undefined;
2227
+ deleteAccount?: undefined;
2228
+ };
2229
+ } | {
2230
+ struct: {
2231
+ stake: {
2232
+ struct: {
2233
+ stake: string;
2234
+ publicKey: {
2235
+ enum: ({
2236
+ struct: {
2237
+ ed25519Key: {
2238
+ struct: {
2239
+ data: {
2240
+ array: {
2241
+ type: string;
2242
+ len: number;
2243
+ };
2244
+ };
2245
+ };
2246
+ };
2247
+ secp256k1Key?: undefined;
2248
+ };
2249
+ } | {
2250
+ struct: {
2251
+ secp256k1Key: {
2252
+ struct: {
2253
+ data: {
2254
+ array: {
2255
+ type: string;
2256
+ len: number;
2257
+ };
2258
+ };
2259
+ };
2260
+ };
2261
+ ed25519Key?: undefined;
2262
+ };
2263
+ })[];
2264
+ };
2265
+ };
2266
+ };
2267
+ createAccount?: undefined;
2268
+ deployContract?: undefined;
2269
+ functionCall?: undefined;
2270
+ transfer?: undefined;
2271
+ addKey?: undefined;
2272
+ deleteKey?: undefined;
2273
+ deleteAccount?: undefined;
2274
+ };
2275
+ } | {
2276
+ struct: {
2277
+ addKey: {
2278
+ struct: {
2279
+ publicKey: {
2280
+ enum: ({
2281
+ struct: {
2282
+ ed25519Key: {
2283
+ struct: {
2284
+ data: {
2285
+ array: {
2286
+ type: string;
2287
+ len: number;
2288
+ };
2289
+ };
2290
+ };
2291
+ };
2292
+ secp256k1Key?: undefined;
2293
+ };
2294
+ } | {
2295
+ struct: {
2296
+ secp256k1Key: {
2297
+ struct: {
2298
+ data: {
2299
+ array: {
2300
+ type: string;
2301
+ len: number;
2302
+ };
2303
+ };
2304
+ };
2305
+ };
2306
+ ed25519Key?: undefined;
2307
+ };
2308
+ })[];
2309
+ };
2310
+ accessKey: {
2311
+ struct: {
2312
+ nonce: string;
2313
+ permission: {
2314
+ enum: ({
2315
+ struct: {
2316
+ functionCall: {
2317
+ struct: {
2318
+ allowance: {
2319
+ option: string;
2320
+ };
2321
+ receiverId: string;
2322
+ methodNames: {
2323
+ array: {
2324
+ type: string;
2325
+ };
2326
+ };
2327
+ };
2328
+ };
2329
+ fullAccess?: undefined;
2330
+ };
2331
+ } | {
2332
+ struct: {
2333
+ fullAccess: {
2334
+ struct: {};
2335
+ };
2336
+ functionCall?: undefined;
2337
+ };
2338
+ })[];
2339
+ };
2340
+ };
2341
+ };
2342
+ };
2343
+ };
2344
+ createAccount?: undefined;
2345
+ deployContract?: undefined;
2346
+ functionCall?: undefined;
2347
+ transfer?: undefined;
2348
+ stake?: undefined;
2349
+ deleteKey?: undefined;
2350
+ deleteAccount?: undefined;
2351
+ };
2352
+ } | {
2353
+ struct: {
2354
+ deleteKey: {
2355
+ struct: {
2356
+ publicKey: {
2357
+ enum: ({
2358
+ struct: {
2359
+ ed25519Key: {
2360
+ struct: {
2361
+ data: {
2362
+ array: {
2363
+ type: string;
2364
+ len: number;
2365
+ };
2366
+ };
2367
+ };
2368
+ };
2369
+ secp256k1Key?: undefined;
2370
+ };
2371
+ } | {
2372
+ struct: {
2373
+ secp256k1Key: {
2374
+ struct: {
2375
+ data: {
2376
+ array: {
2377
+ type: string;
2378
+ len: number;
2379
+ };
2380
+ };
2381
+ };
2382
+ };
2383
+ ed25519Key?: undefined;
2384
+ };
2385
+ })[];
2386
+ };
2387
+ };
2388
+ };
2389
+ createAccount?: undefined;
2390
+ deployContract?: undefined;
2391
+ functionCall?: undefined;
2392
+ transfer?: undefined;
2393
+ stake?: undefined;
2394
+ addKey?: undefined;
2395
+ deleteAccount?: undefined;
2396
+ };
2397
+ } | {
2398
+ struct: {
2399
+ deleteAccount: {
2400
+ struct: {
2401
+ beneficiaryId: string;
2402
+ };
2403
+ };
2404
+ createAccount?: undefined;
2405
+ deployContract?: undefined;
2406
+ functionCall?: undefined;
2407
+ transfer?: undefined;
2408
+ stake?: undefined;
2409
+ addKey?: undefined;
2410
+ deleteKey?: undefined;
2411
+ };
2412
+ })[];
2413
+ };
2414
+ };
2415
+ };
2416
+ nonce: string;
2417
+ maxBlockHeight: string;
2418
+ publicKey: {
2419
+ enum: ({
2420
+ struct: {
2421
+ ed25519Key: {
2422
+ struct: {
2423
+ data: {
2424
+ array: {
2425
+ type: string;
2426
+ len: number;
2427
+ };
2428
+ };
2429
+ };
2430
+ };
2431
+ secp256k1Key?: undefined;
2432
+ };
2433
+ } | {
2434
+ struct: {
2435
+ secp256k1Key: {
2436
+ struct: {
2437
+ data: {
2438
+ array: {
2439
+ type: string;
2440
+ len: number;
2441
+ };
2442
+ };
2443
+ };
2444
+ };
2445
+ ed25519Key?: undefined;
2446
+ };
2447
+ })[];
2448
+ };
2449
+ };
2450
+ };
2451
+ signature: {
2452
+ enum: ({
2453
+ struct: {
2454
+ ed25519Signature: {
2455
+ struct: {
2456
+ data: {
2457
+ array: {
2458
+ type: string;
2459
+ len: number;
2460
+ };
2461
+ };
2462
+ };
2463
+ };
2464
+ secp256k1Signature?: undefined;
2465
+ };
2466
+ } | {
2467
+ struct: {
2468
+ secp256k1Signature: {
2469
+ struct: {
2470
+ data: {
2471
+ array: {
2472
+ type: string;
2473
+ len: number;
2474
+ };
2475
+ };
2476
+ };
2477
+ };
2478
+ ed25519Signature?: undefined;
2479
+ };
2480
+ })[];
2481
+ };
2482
+ };
2483
+ };
2484
+ createAccount?: undefined;
2485
+ deployContract?: undefined;
2486
+ functionCall?: undefined;
2487
+ transfer?: undefined;
2488
+ stake?: undefined;
2489
+ addKey?: undefined;
2490
+ deleteKey?: undefined;
2491
+ deleteAccount?: undefined;
2492
+ };
2493
+ })[];
2494
+ };
2495
+ };
2496
+ };
2497
+ };
2498
+ };
2499
+ SignedTransaction: {
2500
+ struct: {
2501
+ transaction: {
2502
+ struct: {
2503
+ signerId: string;
2504
+ publicKey: {
2505
+ enum: ({
2506
+ struct: {
2507
+ ed25519Key: {
2508
+ struct: {
2509
+ data: {
2510
+ array: {
2511
+ type: string;
2512
+ len: number;
2513
+ };
2514
+ };
2515
+ };
2516
+ };
2517
+ secp256k1Key?: undefined;
2518
+ };
2519
+ } | {
2520
+ struct: {
2521
+ secp256k1Key: {
2522
+ struct: {
2523
+ data: {
2524
+ array: {
2525
+ type: string;
2526
+ len: number;
2527
+ };
2528
+ };
2529
+ };
2530
+ };
2531
+ ed25519Key?: undefined;
2532
+ };
2533
+ })[];
2534
+ };
2535
+ nonce: string;
2536
+ receiverId: string;
2537
+ blockHash: {
2538
+ array: {
2539
+ type: string;
2540
+ len: number;
2541
+ };
2542
+ };
2543
+ actions: {
2544
+ array: {
2545
+ type: {
2546
+ enum: ({
2547
+ struct: {
2548
+ createAccount: {
2549
+ struct: {};
2550
+ };
2551
+ deployContract?: undefined;
2552
+ functionCall?: undefined;
2553
+ transfer?: undefined;
2554
+ stake?: undefined;
2555
+ addKey?: undefined;
2556
+ deleteKey?: undefined;
2557
+ deleteAccount?: undefined;
2558
+ signedDelegate?: undefined;
2559
+ };
2560
+ } | {
2561
+ struct: {
2562
+ deployContract: {
2563
+ struct: {
2564
+ code: {
2565
+ array: {
2566
+ type: string;
2567
+ };
2568
+ };
2569
+ };
2570
+ };
2571
+ createAccount?: undefined;
2572
+ functionCall?: undefined;
2573
+ transfer?: undefined;
2574
+ stake?: undefined;
2575
+ addKey?: undefined;
2576
+ deleteKey?: undefined;
2577
+ deleteAccount?: undefined;
2578
+ signedDelegate?: undefined;
2579
+ };
2580
+ } | {
2581
+ struct: {
2582
+ functionCall: {
2583
+ struct: {
2584
+ methodName: string;
2585
+ args: {
2586
+ array: {
2587
+ type: string;
2588
+ };
2589
+ };
2590
+ gas: string;
2591
+ deposit: string;
2592
+ };
2593
+ };
2594
+ createAccount?: undefined;
2595
+ deployContract?: undefined;
2596
+ transfer?: undefined;
2597
+ stake?: undefined;
2598
+ addKey?: undefined;
2599
+ deleteKey?: undefined;
2600
+ deleteAccount?: undefined;
2601
+ signedDelegate?: undefined;
2602
+ };
2603
+ } | {
2604
+ struct: {
2605
+ transfer: {
2606
+ struct: {
2607
+ deposit: string;
2608
+ };
2609
+ };
2610
+ createAccount?: undefined;
2611
+ deployContract?: undefined;
2612
+ functionCall?: undefined;
2613
+ stake?: undefined;
2614
+ addKey?: undefined;
2615
+ deleteKey?: undefined;
2616
+ deleteAccount?: undefined;
2617
+ signedDelegate?: undefined;
2618
+ };
2619
+ } | {
2620
+ struct: {
2621
+ stake: {
2622
+ struct: {
2623
+ stake: string;
2624
+ publicKey: {
2625
+ enum: ({
2626
+ struct: {
2627
+ ed25519Key: {
2628
+ struct: {
2629
+ data: {
2630
+ array: {
2631
+ type: string;
2632
+ len: number;
2633
+ };
2634
+ };
2635
+ };
2636
+ };
2637
+ secp256k1Key?: undefined;
2638
+ };
2639
+ } | {
2640
+ struct: {
2641
+ secp256k1Key: {
2642
+ struct: {
2643
+ data: {
2644
+ array: {
2645
+ type: string;
2646
+ len: number;
2647
+ };
2648
+ };
2649
+ };
2650
+ };
2651
+ ed25519Key?: undefined;
2652
+ };
2653
+ })[];
2654
+ };
2655
+ };
2656
+ };
2657
+ createAccount?: undefined;
2658
+ deployContract?: undefined;
2659
+ functionCall?: undefined;
2660
+ transfer?: undefined;
2661
+ addKey?: undefined;
2662
+ deleteKey?: undefined;
2663
+ deleteAccount?: undefined;
2664
+ signedDelegate?: undefined;
2665
+ };
2666
+ } | {
2667
+ struct: {
2668
+ addKey: {
2669
+ struct: {
2670
+ publicKey: {
2671
+ enum: ({
2672
+ struct: {
2673
+ ed25519Key: {
2674
+ struct: {
2675
+ data: {
2676
+ array: {
2677
+ type: string;
2678
+ len: number;
2679
+ };
2680
+ };
2681
+ };
2682
+ };
2683
+ secp256k1Key?: undefined;
2684
+ };
2685
+ } | {
2686
+ struct: {
2687
+ secp256k1Key: {
2688
+ struct: {
2689
+ data: {
2690
+ array: {
2691
+ type: string;
2692
+ len: number;
2693
+ };
2694
+ };
2695
+ };
2696
+ };
2697
+ ed25519Key?: undefined;
2698
+ };
2699
+ })[];
2700
+ };
2701
+ accessKey: {
2702
+ struct: {
2703
+ nonce: string;
2704
+ permission: {
2705
+ enum: ({
2706
+ struct: {
2707
+ functionCall: {
2708
+ struct: {
2709
+ allowance: {
2710
+ option: string;
2711
+ };
2712
+ receiverId: string;
2713
+ methodNames: {
2714
+ array: {
2715
+ type: string;
2716
+ };
2717
+ };
2718
+ };
2719
+ };
2720
+ fullAccess?: undefined;
2721
+ };
2722
+ } | {
2723
+ struct: {
2724
+ fullAccess: {
2725
+ struct: {};
2726
+ };
2727
+ functionCall?: undefined;
2728
+ };
2729
+ })[];
2730
+ };
2731
+ };
2732
+ };
2733
+ };
2734
+ };
2735
+ createAccount?: undefined;
2736
+ deployContract?: undefined;
2737
+ functionCall?: undefined;
2738
+ transfer?: undefined;
2739
+ stake?: undefined;
2740
+ deleteKey?: undefined;
2741
+ deleteAccount?: undefined;
2742
+ signedDelegate?: undefined;
2743
+ };
2744
+ } | {
2745
+ struct: {
2746
+ deleteKey: {
2747
+ struct: {
2748
+ publicKey: {
2749
+ enum: ({
2750
+ struct: {
2751
+ ed25519Key: {
2752
+ struct: {
2753
+ data: {
2754
+ array: {
2755
+ type: string;
2756
+ len: number;
2757
+ };
2758
+ };
2759
+ };
2760
+ };
2761
+ secp256k1Key?: undefined;
2762
+ };
2763
+ } | {
2764
+ struct: {
2765
+ secp256k1Key: {
2766
+ struct: {
2767
+ data: {
2768
+ array: {
2769
+ type: string;
2770
+ len: number;
2771
+ };
2772
+ };
2773
+ };
2774
+ };
2775
+ ed25519Key?: undefined;
2776
+ };
2777
+ })[];
2778
+ };
2779
+ };
2780
+ };
2781
+ createAccount?: undefined;
2782
+ deployContract?: undefined;
2783
+ functionCall?: undefined;
2784
+ transfer?: undefined;
2785
+ stake?: undefined;
2786
+ addKey?: undefined;
2787
+ deleteAccount?: undefined;
2788
+ signedDelegate?: undefined;
2789
+ };
2790
+ } | {
2791
+ struct: {
2792
+ deleteAccount: {
2793
+ struct: {
2794
+ beneficiaryId: string;
2795
+ };
2796
+ };
2797
+ createAccount?: undefined;
2798
+ deployContract?: undefined;
2799
+ functionCall?: undefined;
2800
+ transfer?: undefined;
2801
+ stake?: undefined;
2802
+ addKey?: undefined;
2803
+ deleteKey?: undefined;
2804
+ signedDelegate?: undefined;
2805
+ };
2806
+ } | {
2807
+ struct: {
2808
+ signedDelegate: {
2809
+ struct: {
2810
+ delegateAction: {
2811
+ struct: {
2812
+ senderId: string;
2813
+ receiverId: string;
2814
+ actions: {
2815
+ array: {
2816
+ type: {
2817
+ enum: ({
2818
+ struct: {
2819
+ createAccount: {
2820
+ struct: {};
2821
+ };
2822
+ deployContract?: undefined;
2823
+ functionCall?: undefined;
2824
+ transfer?: undefined;
2825
+ stake?: undefined;
2826
+ addKey?: undefined;
2827
+ deleteKey?: undefined;
2828
+ deleteAccount?: undefined;
2829
+ };
2830
+ } | {
2831
+ struct: {
2832
+ deployContract: {
2833
+ struct: {
2834
+ code: {
2835
+ array: {
2836
+ type: string;
2837
+ };
2838
+ };
2839
+ };
2840
+ };
2841
+ createAccount?: undefined;
2842
+ functionCall?: undefined;
2843
+ transfer?: undefined;
2844
+ stake?: undefined;
2845
+ addKey?: undefined;
2846
+ deleteKey?: undefined;
2847
+ deleteAccount?: undefined;
2848
+ };
2849
+ } | {
2850
+ struct: {
2851
+ functionCall: {
2852
+ struct: {
2853
+ methodName: string;
2854
+ args: {
2855
+ array: {
2856
+ type: string;
2857
+ };
2858
+ };
2859
+ gas: string;
2860
+ deposit: string;
2861
+ };
2862
+ };
2863
+ createAccount?: undefined;
2864
+ deployContract?: undefined;
2865
+ transfer?: undefined;
2866
+ stake?: undefined;
2867
+ addKey?: undefined;
2868
+ deleteKey?: undefined;
2869
+ deleteAccount?: undefined;
2870
+ };
2871
+ } | {
2872
+ struct: {
2873
+ transfer: {
2874
+ struct: {
2875
+ deposit: string;
2876
+ };
2877
+ };
2878
+ createAccount?: undefined;
2879
+ deployContract?: undefined;
2880
+ functionCall?: undefined;
2881
+ stake?: undefined;
2882
+ addKey?: undefined;
2883
+ deleteKey?: undefined;
2884
+ deleteAccount?: undefined;
2885
+ };
2886
+ } | {
2887
+ struct: {
2888
+ stake: {
2889
+ struct: {
2890
+ stake: string;
2891
+ publicKey: {
2892
+ enum: ({
2893
+ struct: {
2894
+ ed25519Key: {
2895
+ struct: {
2896
+ data: {
2897
+ array: {
2898
+ type: string;
2899
+ len: number;
2900
+ };
2901
+ };
2902
+ };
2903
+ };
2904
+ secp256k1Key?: undefined;
2905
+ };
2906
+ } | {
2907
+ struct: {
2908
+ secp256k1Key: {
2909
+ struct: {
2910
+ data: {
2911
+ array: {
2912
+ type: string;
2913
+ len: number;
2914
+ };
2915
+ };
2916
+ };
2917
+ };
2918
+ ed25519Key?: undefined;
2919
+ };
2920
+ })[];
2921
+ };
2922
+ };
2923
+ };
2924
+ createAccount?: undefined;
2925
+ deployContract?: undefined;
2926
+ functionCall?: undefined;
2927
+ transfer?: undefined;
2928
+ addKey?: undefined;
2929
+ deleteKey?: undefined;
2930
+ deleteAccount?: undefined;
2931
+ };
2932
+ } | {
2933
+ struct: {
2934
+ addKey: {
2935
+ struct: {
2936
+ publicKey: {
2937
+ enum: ({
2938
+ struct: {
2939
+ ed25519Key: {
2940
+ struct: {
2941
+ data: {
2942
+ array: {
2943
+ type: string;
2944
+ len: number;
2945
+ };
2946
+ };
2947
+ };
2948
+ };
2949
+ secp256k1Key?: undefined;
2950
+ };
2951
+ } | {
2952
+ struct: {
2953
+ secp256k1Key: {
2954
+ struct: {
2955
+ data: {
2956
+ array: {
2957
+ type: string;
2958
+ len: number;
2959
+ };
2960
+ };
2961
+ };
2962
+ };
2963
+ ed25519Key?: undefined;
2964
+ };
2965
+ })[];
2966
+ };
2967
+ accessKey: {
2968
+ struct: {
2969
+ nonce: string;
2970
+ permission: {
2971
+ enum: ({
2972
+ struct: {
2973
+ functionCall: {
2974
+ struct: {
2975
+ allowance: {
2976
+ option: string;
2977
+ };
2978
+ receiverId: string;
2979
+ methodNames: {
2980
+ array: {
2981
+ type: string;
2982
+ };
2983
+ };
2984
+ };
2985
+ };
2986
+ fullAccess?: undefined;
2987
+ };
2988
+ } | {
2989
+ struct: {
2990
+ fullAccess: {
2991
+ struct: {};
2992
+ };
2993
+ functionCall?: undefined;
2994
+ };
2995
+ })[];
2996
+ };
2997
+ };
2998
+ };
2999
+ };
3000
+ };
3001
+ createAccount?: undefined;
3002
+ deployContract?: undefined;
3003
+ functionCall?: undefined;
3004
+ transfer?: undefined;
3005
+ stake?: undefined;
3006
+ deleteKey?: undefined;
3007
+ deleteAccount?: undefined;
3008
+ };
3009
+ } | {
3010
+ struct: {
3011
+ deleteKey: {
3012
+ struct: {
3013
+ publicKey: {
3014
+ enum: ({
3015
+ struct: {
3016
+ ed25519Key: {
3017
+ struct: {
3018
+ data: {
3019
+ array: {
3020
+ type: string;
3021
+ len: number;
3022
+ };
3023
+ };
3024
+ };
3025
+ };
3026
+ secp256k1Key?: undefined;
3027
+ };
3028
+ } | {
3029
+ struct: {
3030
+ secp256k1Key: {
3031
+ struct: {
3032
+ data: {
3033
+ array: {
3034
+ type: string;
3035
+ len: number;
3036
+ };
3037
+ };
3038
+ };
3039
+ };
3040
+ ed25519Key?: undefined;
3041
+ };
3042
+ })[];
3043
+ };
3044
+ };
3045
+ };
3046
+ createAccount?: undefined;
3047
+ deployContract?: undefined;
3048
+ functionCall?: undefined;
3049
+ transfer?: undefined;
3050
+ stake?: undefined;
3051
+ addKey?: undefined;
3052
+ deleteAccount?: undefined;
3053
+ };
3054
+ } | {
3055
+ struct: {
3056
+ deleteAccount: {
3057
+ struct: {
3058
+ beneficiaryId: string;
3059
+ };
3060
+ };
3061
+ createAccount?: undefined;
3062
+ deployContract?: undefined;
3063
+ functionCall?: undefined;
3064
+ transfer?: undefined;
3065
+ stake?: undefined;
3066
+ addKey?: undefined;
3067
+ deleteKey?: undefined;
3068
+ };
3069
+ })[];
3070
+ };
3071
+ };
3072
+ };
3073
+ nonce: string;
3074
+ maxBlockHeight: string;
3075
+ publicKey: {
3076
+ enum: ({
3077
+ struct: {
3078
+ ed25519Key: {
3079
+ struct: {
3080
+ data: {
3081
+ array: {
3082
+ type: string;
3083
+ len: number;
3084
+ };
3085
+ };
3086
+ };
3087
+ };
3088
+ secp256k1Key?: undefined;
3089
+ };
3090
+ } | {
3091
+ struct: {
3092
+ secp256k1Key: {
3093
+ struct: {
3094
+ data: {
3095
+ array: {
3096
+ type: string;
3097
+ len: number;
3098
+ };
3099
+ };
3100
+ };
3101
+ };
3102
+ ed25519Key?: undefined;
3103
+ };
3104
+ })[];
3105
+ };
3106
+ };
3107
+ };
3108
+ signature: {
3109
+ enum: ({
3110
+ struct: {
3111
+ ed25519Signature: {
3112
+ struct: {
3113
+ data: {
3114
+ array: {
3115
+ type: string;
3116
+ len: number;
3117
+ };
3118
+ };
3119
+ };
3120
+ };
3121
+ secp256k1Signature?: undefined;
3122
+ };
3123
+ } | {
3124
+ struct: {
3125
+ secp256k1Signature: {
3126
+ struct: {
3127
+ data: {
3128
+ array: {
3129
+ type: string;
3130
+ len: number;
3131
+ };
3132
+ };
3133
+ };
3134
+ };
3135
+ ed25519Signature?: undefined;
3136
+ };
3137
+ })[];
3138
+ };
3139
+ };
3140
+ };
3141
+ createAccount?: undefined;
3142
+ deployContract?: undefined;
3143
+ functionCall?: undefined;
3144
+ transfer?: undefined;
3145
+ stake?: undefined;
3146
+ addKey?: undefined;
3147
+ deleteKey?: undefined;
3148
+ deleteAccount?: undefined;
3149
+ };
3150
+ })[];
3151
+ };
3152
+ };
3153
+ };
3154
+ };
3155
+ };
3156
+ signature: {
3157
+ enum: ({
3158
+ struct: {
3159
+ ed25519Signature: {
3160
+ struct: {
3161
+ data: {
3162
+ array: {
3163
+ type: string;
3164
+ len: number;
3165
+ };
3166
+ };
3167
+ };
3168
+ };
3169
+ secp256k1Signature?: undefined;
3170
+ };
3171
+ } | {
3172
+ struct: {
3173
+ secp256k1Signature: {
3174
+ struct: {
3175
+ data: {
3176
+ array: {
3177
+ type: string;
3178
+ len: number;
3179
+ };
3180
+ };
3181
+ };
3182
+ };
3183
+ ed25519Signature?: undefined;
3184
+ };
3185
+ })[];
3186
+ };
3187
+ };
3188
+ };
3189
+ };
3190
+
3191
+ export { getBorshSchema };