-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathopenrpc.json
More file actions
14095 lines (14095 loc) · 422 KB
/
openrpc.json
File metadata and controls
14095 lines (14095 loc) · 422 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"components": {
"schemas": {
"AccessKey": {
"description": "Access key provides limited access to an account. Each access key belongs to some account and\nis identified by a unique (within the account) public key. One account may have large number of\naccess keys. Access keys allow to act on behalf of the account by restricting transactions\nthat can be issued.\n`account_id,public_key` is a key in the state",
"properties": {
"nonce": {
"description": "Nonce for this access key, used for tx nonce generation. When access key is created, nonce\nis set to `(block_height - 1) * 1e6` to avoid tx hash collision on access key re-creation.\nSee <https://github.com/near/nearcore/issues/3779> for more details.",
"format": "uint64",
"minimum": 0,
"type": "integer"
},
"permission": {
"allOf": [
{
"$ref": "#/components/schemas/AccessKeyPermission"
}
],
"description": "Defines permissions for this access key."
}
},
"required": [
"nonce",
"permission"
],
"title": "AccessKey",
"type": "object"
},
"AccessKeyCreationConfigView": {
"description": "Describes the cost of creating an access key.",
"properties": {
"full_access_cost": {
"allOf": [
{
"$ref": "#/components/schemas/Fee"
}
],
"description": "Base cost of creating a full access access-key."
},
"function_call_cost": {
"allOf": [
{
"$ref": "#/components/schemas/Fee"
}
],
"description": "Base cost of creating an access-key restricted to specific functions."
},
"function_call_cost_per_byte": {
"allOf": [
{
"$ref": "#/components/schemas/Fee"
}
],
"description": "Cost per byte of method_names of creating a restricted access-key."
}
},
"required": [
"full_access_cost",
"function_call_cost",
"function_call_cost_per_byte"
],
"title": "AccessKeyCreationConfigView",
"type": "object"
},
"AccessKeyInfoView": {
"description": "Describes information about an access key including the public key.",
"properties": {
"access_key": {
"$ref": "#/components/schemas/AccessKeyView"
},
"public_key": {
"$ref": "#/components/schemas/PublicKey"
}
},
"required": [
"public_key",
"access_key"
],
"title": "AccessKeyInfoView",
"type": "object"
},
"AccessKeyPermission": {
"description": "Defines permissions for AccessKey",
"oneOf": [
{
"additionalProperties": false,
"properties": {
"FunctionCall": {
"$ref": "#/components/schemas/FunctionCallPermission"
}
},
"required": [
"FunctionCall"
],
"title": "FunctionCall",
"type": "object"
},
{
"const": "FullAccess",
"description": "Grants full access to the account.\nNOTE: It's used to replace account-level public keys.",
"type": "string"
},
{
"additionalProperties": false,
"description": "Gas key with limited permission to make transactions with FunctionCallActions\nGas keys are a kind of access keys with a prepaid balance to pay for gas.",
"properties": {
"GasKeyFunctionCall": {
"items": [
{
"$ref": "#/components/schemas/GasKeyInfo"
},
{
"$ref": "#/components/schemas/FunctionCallPermission"
}
],
"maxItems": 2,
"minItems": 2,
"type": "array"
}
},
"required": [
"GasKeyFunctionCall"
],
"title": "GasKeyFunctionCall",
"type": "object"
},
{
"additionalProperties": false,
"description": "Gas key with full access to the account.\nGas keys are a kind of access keys with a prepaid balance to pay for gas.",
"properties": {
"GasKeyFullAccess": {
"$ref": "#/components/schemas/GasKeyInfo"
}
},
"required": [
"GasKeyFullAccess"
],
"title": "GasKeyFullAccess",
"type": "object"
}
],
"title": "AccessKeyPermission"
},
"AccessKeyPermissionView": {
"description": "Describes the permission scope for an access key. Whether it is a function call or a full access key.",
"oneOf": [
{
"enum": [
"FullAccess"
],
"type": "string"
},
{
"additionalProperties": false,
"properties": {
"FunctionCall": {
"properties": {
"allowance": {
"oneOf": [
{
"$ref": "#/components/schemas/NearToken"
},
{
"type": "null"
}
]
},
"method_names": {
"items": {
"type": "string"
},
"type": "array"
},
"receiver_id": {
"type": "string"
}
},
"required": [
"receiver_id",
"method_names"
],
"type": "object"
}
},
"required": [
"FunctionCall"
],
"title": "FunctionCall",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"GasKeyFunctionCall": {
"properties": {
"allowance": {
"oneOf": [
{
"$ref": "#/components/schemas/NearToken"
},
{
"type": "null"
}
]
},
"balance": {
"$ref": "#/components/schemas/NearToken"
},
"method_names": {
"items": {
"type": "string"
},
"type": "array"
},
"num_nonces": {
"format": "uint16",
"maximum": 65535,
"minimum": 0,
"type": "integer"
},
"receiver_id": {
"type": "string"
}
},
"required": [
"balance",
"num_nonces",
"receiver_id",
"method_names"
],
"type": "object"
}
},
"required": [
"GasKeyFunctionCall"
],
"title": "GasKeyFunctionCall",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"GasKeyFullAccess": {
"properties": {
"balance": {
"$ref": "#/components/schemas/NearToken"
},
"num_nonces": {
"format": "uint16",
"maximum": 65535,
"minimum": 0,
"type": "integer"
}
},
"required": [
"balance",
"num_nonces"
],
"type": "object"
}
},
"required": [
"GasKeyFullAccess"
],
"title": "GasKeyFullAccess",
"type": "object"
}
],
"title": "AccessKeyPermissionView"
},
"AccessKeyView": {
"description": "Describes access key permission scope and nonce.",
"properties": {
"nonce": {
"format": "uint64",
"minimum": 0,
"type": "integer"
},
"permission": {
"$ref": "#/components/schemas/AccessKeyPermissionView"
}
},
"required": [
"nonce",
"permission"
],
"title": "AccessKeyView",
"type": "object"
},
"AccountCreationConfigView": {
"description": "The structure describes configuration for creation of new accounts.",
"properties": {
"min_allowed_top_level_account_length": {
"description": "The minimum length of the top-level account ID that is allowed to be created by any account.",
"format": "uint8",
"maximum": 255,
"minimum": 0,
"type": "integer"
},
"registrar_account_id": {
"allOf": [
{
"$ref": "#/components/schemas/AccountId"
}
],
"description": "The account ID of the account registrar. This account ID allowed to create top-level\naccounts of any valid length."
}
},
"required": [
"min_allowed_top_level_account_length",
"registrar_account_id"
],
"title": "AccountCreationConfigView",
"type": "object"
},
"AccountDataView": {
"description": "AccountData is a piece of global state that a validator\nsigns and broadcasts to the network.\n\nIt is essentially the data that a validator wants to share with the network.\nAll the nodes in the network are collecting the account data\nbroadcasted by the validators.\nSince the number of the validators is bounded and their\nidentity is known (and the maximal size of allowed AccountData is bounded)\nthe global state that is distributed in the form of AccountData is bounded\nas well.\nFind more information in the docs [here](https://github.com/near/nearcore/blob/560f7fc8f4b3106e0d5d46050688610b1f104ac6/chain/client/src/client.rs#L2232)",
"properties": {
"account_key": {
"allOf": [
{
"$ref": "#/components/schemas/PublicKey"
}
],
"description": "Account key of the validator signing this AccountData."
},
"peer_id": {
"allOf": [
{
"$ref": "#/components/schemas/PublicKey"
}
],
"description": "ID of the node that handles the account key (aka validator key)."
},
"proxies": {
"description": "Proxy nodes that are directly connected to the validator node\n(this list may include the validator node itself).\nTIER1 nodes should connect to one of the proxies to sent TIER1\nmessages to the validator.",
"items": {
"$ref": "#/components/schemas/Tier1ProxyView"
},
"type": "array"
},
"timestamp": {
"description": "UTC timestamp of when the AccountData has been signed.",
"type": "string"
}
},
"required": [
"peer_id",
"proxies",
"account_key",
"timestamp"
],
"title": "AccountDataView",
"type": "object"
},
"AccountId": {
"description": "NEAR Account Identifier.\n\nThis is a unique, syntactically valid, human-readable account identifier on the NEAR network.\n\n[See the crate-level docs for information about validation.](index.html#account-id-rules)\n\nAlso see [Error kind precedence](AccountId#error-kind-precedence).\n\n## Examples\n\n```\nuse near_account_id::AccountId;\n\nlet alice: AccountId = \"alice.near\".parse().unwrap();\n\nassert!(\"ƒelicia.near\".parse::<AccountId>().is_err()); // (ƒ is not f)\n```",
"title": "AccountId",
"type": "string"
},
"AccountIdValidityRulesVersion": {
"format": "uint8",
"maximum": 255,
"minimum": 0,
"title": "AccountIdValidityRulesVersion",
"type": "integer"
},
"AccountInfo": {
"description": "Account info for validators",
"properties": {
"account_id": {
"$ref": "#/components/schemas/AccountId"
},
"amount": {
"$ref": "#/components/schemas/NearToken"
},
"public_key": {
"$ref": "#/components/schemas/PublicKey"
}
},
"required": [
"account_id",
"public_key",
"amount"
],
"title": "AccountInfo",
"type": "object"
},
"AccountWithPublicKey": {
"description": "Account ID with its public key.",
"properties": {
"account_id": {
"$ref": "#/components/schemas/AccountId"
},
"public_key": {
"$ref": "#/components/schemas/PublicKey"
}
},
"required": [
"account_id",
"public_key"
],
"title": "AccountWithPublicKey",
"type": "object"
},
"ActionCreationConfigView": {
"description": "Describes the cost of creating a specific action, `Action`. Includes all variants.",
"properties": {
"add_key_cost": {
"allOf": [
{
"$ref": "#/components/schemas/AccessKeyCreationConfigView"
}
],
"description": "Base cost of adding a key."
},
"create_account_cost": {
"allOf": [
{
"$ref": "#/components/schemas/Fee"
}
],
"description": "Base cost of creating an account."
},
"delegate_cost": {
"allOf": [
{
"$ref": "#/components/schemas/Fee"
}
],
"description": "Base cost for processing a delegate action.\n\nThis is on top of the costs for the actions inside the delegate action."
},
"delete_account_cost": {
"allOf": [
{
"$ref": "#/components/schemas/Fee"
}
],
"description": "Base cost of deleting an account."
},
"delete_key_cost": {
"allOf": [
{
"$ref": "#/components/schemas/Fee"
}
],
"description": "Base cost of deleting a key."
},
"deploy_contract_cost": {
"allOf": [
{
"$ref": "#/components/schemas/Fee"
}
],
"description": "Base cost of deploying a contract."
},
"deploy_contract_cost_per_byte": {
"allOf": [
{
"$ref": "#/components/schemas/Fee"
}
],
"description": "Cost per byte of deploying a contract."
},
"function_call_cost": {
"allOf": [
{
"$ref": "#/components/schemas/Fee"
}
],
"description": "Base cost of calling a function."
},
"function_call_cost_per_byte": {
"allOf": [
{
"$ref": "#/components/schemas/Fee"
}
],
"description": "Cost per byte of method name and arguments of calling a function."
},
"stake_cost": {
"allOf": [
{
"$ref": "#/components/schemas/Fee"
}
],
"description": "Base cost of staking."
},
"transfer_cost": {
"allOf": [
{
"$ref": "#/components/schemas/Fee"
}
],
"description": "Base cost of making a transfer."
}
},
"required": [
"create_account_cost",
"deploy_contract_cost",
"deploy_contract_cost_per_byte",
"function_call_cost",
"function_call_cost_per_byte",
"transfer_cost",
"stake_cost",
"add_key_cost",
"delete_key_cost",
"delete_account_cost",
"delegate_cost"
],
"title": "ActionCreationConfigView",
"type": "object"
},
"ActionError": {
"description": "An error happened during Action execution",
"properties": {
"index": {
"description": "Index of the failed action in the transaction.\nAction index is not defined if ActionError.kind is `ActionErrorKind::LackBalanceForState`",
"format": "uint64",
"minimum": 0,
"type": [
"integer",
"null"
]
},
"kind": {
"allOf": [
{
"$ref": "#/components/schemas/ActionErrorKind"
}
],
"description": "The kind of ActionError happened"
}
},
"required": [
"kind"
],
"title": "ActionError",
"type": "object"
},
"ActionErrorKind": {
"oneOf": [
{
"additionalProperties": false,
"description": "Happens when CreateAccount action tries to create an account with account_id which is already exists in the storage",
"properties": {
"AccountAlreadyExists": {
"properties": {
"account_id": {
"$ref": "#/components/schemas/AccountId"
}
},
"required": [
"account_id"
],
"type": "object"
}
},
"required": [
"AccountAlreadyExists"
],
"title": "AccountAlreadyExists",
"type": "object"
},
{
"additionalProperties": false,
"description": "Happens when TX receiver_id doesn't exist (but action is not Action::CreateAccount)",
"properties": {
"AccountDoesNotExist": {
"properties": {
"account_id": {
"$ref": "#/components/schemas/AccountId"
}
},
"required": [
"account_id"
],
"type": "object"
}
},
"required": [
"AccountDoesNotExist"
],
"title": "AccountDoesNotExist",
"type": "object"
},
{
"additionalProperties": false,
"description": "A top-level account ID can only be created by registrar.",
"properties": {
"CreateAccountOnlyByRegistrar": {
"properties": {
"account_id": {
"$ref": "#/components/schemas/AccountId"
},
"predecessor_id": {
"$ref": "#/components/schemas/AccountId"
},
"registrar_account_id": {
"$ref": "#/components/schemas/AccountId"
}
},
"required": [
"account_id",
"registrar_account_id",
"predecessor_id"
],
"type": "object"
}
},
"required": [
"CreateAccountOnlyByRegistrar"
],
"title": "CreateAccountOnlyByRegistrar",
"type": "object"
},
{
"additionalProperties": false,
"description": "A newly created account must be under a namespace of the creator account",
"properties": {
"CreateAccountNotAllowed": {
"properties": {
"account_id": {
"$ref": "#/components/schemas/AccountId"
},
"predecessor_id": {
"$ref": "#/components/schemas/AccountId"
}
},
"required": [
"account_id",
"predecessor_id"
],
"type": "object"
}
},
"required": [
"CreateAccountNotAllowed"
],
"title": "CreateAccountNotAllowed",
"type": "object"
},
{
"additionalProperties": false,
"description": "Administrative actions like `DeployContract`, `Stake`, `AddKey`, `DeleteKey`. can be proceed only if sender=receiver\nor the first TX action is a `CreateAccount` action",
"properties": {
"ActorNoPermission": {
"properties": {
"account_id": {
"$ref": "#/components/schemas/AccountId"
},
"actor_id": {
"$ref": "#/components/schemas/AccountId"
}
},
"required": [
"account_id",
"actor_id"
],
"type": "object"
}
},
"required": [
"ActorNoPermission"
],
"title": "ActorNoPermission",
"type": "object"
},
{
"additionalProperties": false,
"description": "Account tries to remove an access key that doesn't exist",
"properties": {
"DeleteKeyDoesNotExist": {
"properties": {
"account_id": {
"$ref": "#/components/schemas/AccountId"
},
"public_key": {
"$ref": "#/components/schemas/PublicKey"
}
},
"required": [
"account_id",
"public_key"
],
"type": "object"
}
},
"required": [
"DeleteKeyDoesNotExist"
],
"title": "DeleteKeyDoesNotExist",
"type": "object"
},
{
"additionalProperties": false,
"description": "The public key is already used for an existing access key",
"properties": {
"AddKeyAlreadyExists": {
"properties": {
"account_id": {
"$ref": "#/components/schemas/AccountId"
},
"public_key": {
"$ref": "#/components/schemas/PublicKey"
}
},
"required": [
"account_id",
"public_key"
],
"type": "object"
}
},
"required": [
"AddKeyAlreadyExists"
],
"title": "AddKeyAlreadyExists",
"type": "object"
},
{
"additionalProperties": false,
"description": "Account is staking and can not be deleted",
"properties": {
"DeleteAccountStaking": {
"properties": {
"account_id": {
"$ref": "#/components/schemas/AccountId"
}
},
"required": [
"account_id"
],
"type": "object"
}
},
"required": [
"DeleteAccountStaking"
],
"title": "DeleteAccountStaking",
"type": "object"
},
{
"additionalProperties": false,
"description": "ActionReceipt can't be completed, because the remaining balance will not be enough to cover storage.",
"properties": {
"LackBalanceForState": {
"properties": {
"account_id": {
"allOf": [
{
"$ref": "#/components/schemas/AccountId"
}
],
"description": "An account which needs balance"
},
"amount": {
"allOf": [
{
"$ref": "#/components/schemas/NearToken"
}
],
"description": "Balance required to complete an action."
}
},
"required": [
"account_id",
"amount"
],
"type": "object"
}
},
"required": [
"LackBalanceForState"
],
"title": "LackBalanceForState",
"type": "object"
},
{
"additionalProperties": false,
"description": "Account is not yet staked, but tries to unstake",
"properties": {
"TriesToUnstake": {
"properties": {
"account_id": {
"$ref": "#/components/schemas/AccountId"
}
},
"required": [
"account_id"
],
"type": "object"
}
},
"required": [
"TriesToUnstake"
],
"title": "TriesToUnstake",
"type": "object"
},
{
"additionalProperties": false,
"description": "The account doesn't have enough balance to increase the stake.",
"properties": {
"TriesToStake": {
"properties": {
"account_id": {
"$ref": "#/components/schemas/AccountId"
},
"balance": {
"$ref": "#/components/schemas/NearToken"
},
"locked": {
"$ref": "#/components/schemas/NearToken"
},
"stake": {
"$ref": "#/components/schemas/NearToken"
}
},
"required": [
"account_id",
"stake",
"locked",
"balance"
],
"type": "object"
}
},
"required": [
"TriesToStake"
],
"title": "TriesToStake",
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"InsufficientStake": {
"properties": {
"account_id": {
"$ref": "#/components/schemas/AccountId"
},
"minimum_stake": {
"$ref": "#/components/schemas/NearToken"
},
"stake": {
"$ref": "#/components/schemas/NearToken"
}
},
"required": [
"account_id",
"stake",
"minimum_stake"
],
"type": "object"
}
},
"required": [
"InsufficientStake"
],
"title": "InsufficientStake",
"type": "object"
},
{
"additionalProperties": false,
"description": "An error occurred during a `FunctionCall` Action, parameter is debug message.",
"properties": {
"FunctionCallError": {
"$ref": "#/components/schemas/FunctionCallError"
}
},
"required": [
"FunctionCallError"
],
"title": "FunctionCallError",
"type": "object"
},
{
"additionalProperties": false,
"description": "Error occurs when a new `ActionReceipt` created by the `FunctionCall` action fails\nreceipt validation.",
"properties": {
"NewReceiptValidationError": {
"$ref": "#/components/schemas/ReceiptValidationError"
}
},
"required": [
"NewReceiptValidationError"
],
"title": "NewReceiptValidationError",
"type": "object"
},
{
"additionalProperties": false,
"description": "Error occurs when a `CreateAccount` action is called on a NEAR-implicit or ETH-implicit account.\nSee NEAR-implicit account creation NEP: <https://github.com/nearprotocol/NEPs/pull/71>.\nAlso, see ETH-implicit account creation NEP: <https://github.com/near/NEPs/issues/518>.\n\nTODO(#8598): This error is named very poorly. A better name would be\n`OnlyNamedAccountCreationAllowed`.",
"properties": {
"OnlyImplicitAccountCreationAllowed": {
"properties": {
"account_id": {
"$ref": "#/components/schemas/AccountId"
}
},
"required": [
"account_id"
],
"type": "object"
}
},
"required": [
"OnlyImplicitAccountCreationAllowed"
],
"title": "OnlyImplicitAccountCreationAllowed",
"type": "object"
},
{
"additionalProperties": false,
"description": "Delete account whose state is large is temporarily banned.",
"properties": {
"DeleteAccountWithLargeState": {
"properties": {
"account_id": {
"$ref": "#/components/schemas/AccountId"
}
},
"required": [
"account_id"
],
"type": "object"
}
},
"required": [
"DeleteAccountWithLargeState"
],
"title": "DeleteAccountWithLargeState",
"type": "object"
},
{
"const": "DelegateActionInvalidSignature",
"description": "Signature does not match the provided actions and given signer public key.",
"type": "string"
},
{
"additionalProperties": false,
"description": "Receiver of the transaction doesn't match Sender of the delegate action",
"properties": {
"DelegateActionSenderDoesNotMatchTxReceiver": {
"properties": {
"receiver_id": {
"$ref": "#/components/schemas/AccountId"
},
"sender_id": {
"$ref": "#/components/schemas/AccountId"
}
},
"required": [
"sender_id",
"receiver_id"
],
"type": "object"
}
},
"required": [
"DelegateActionSenderDoesNotMatchTxReceiver"
],
"title": "DelegateActionSenderDoesNotMatchTxReceiver",
"type": "object"
},
{
"const": "DelegateActionExpired",
"description": "Delegate action has expired. `max_block_height` is less than actual block height.",
"type": "string"
},
{
"additionalProperties": false,
"description": "The given public key doesn't exist for Sender account",
"properties": {
"DelegateActionAccessKeyError": {
"$ref": "#/components/schemas/InvalidAccessKeyError"
}
},
"required": [
"DelegateActionAccessKeyError"
],
"title": "DelegateActionAccessKeyError",
"type": "object"
},
{
"additionalProperties": false,
"description": "DelegateAction nonce must be greater sender[public_key].nonce",
"properties": {
"DelegateActionInvalidNonce": {
"properties": {
"ak_nonce": {
"format": "uint64",
"minimum": 0,
"type": "integer"
},
"delegate_nonce": {
"format": "uint64",
"minimum": 0,
"type": "integer"