@thruputchain/client 0.26.0 → 0.28.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.
Files changed (108) hide show
  1. package/README.md +44 -11
  2. package/dist/{actions-CXx6qzsv.cjs → actions-B5-CjpEF.cjs} +6 -6
  3. package/dist/{actions-CXx6qzsv.cjs.map → actions-B5-CjpEF.cjs.map} +1 -1
  4. package/dist/{actions-QHgiCqT6.js → actions-C1SMLWO5.js} +6 -6
  5. package/dist/{actions-QHgiCqT6.js.map → actions-C1SMLWO5.js.map} +1 -1
  6. package/dist/actions.cjs +2 -2
  7. package/dist/actions.d.cts +3 -3
  8. package/dist/actions.d.ts +3 -3
  9. package/dist/actions.js +2 -2
  10. package/dist/{client-JixxskeH.d.ts → client-jOZxB8yW.d.cts} +56 -4
  11. package/dist/client-jOZxB8yW.d.cts.map +1 -0
  12. package/dist/{client-JixxskeH.d.cts → client-jOZxB8yW.d.ts} +56 -4
  13. package/dist/client-jOZxB8yW.d.ts.map +1 -0
  14. package/dist/{codec-C3OlYm98.cjs → codec-BcK8ASsg.cjs} +1799 -3
  15. package/dist/{codec-C3OlYm98.cjs.map → codec-BcK8ASsg.cjs.map} +1 -1
  16. package/dist/{codec-BHKoSaOP.js → codec-Bxlt1gKO.js} +1799 -3
  17. package/dist/{codec-BHKoSaOP.js.map → codec-Bxlt1gKO.js.map} +1 -1
  18. package/dist/{contract-DzvyyFCI.js → contract-D77iA2iY.js} +2 -2
  19. package/dist/contract-D77iA2iY.js.map +1 -0
  20. package/dist/{contract-C7T2H2Oi.cjs → contract-DSu2UPPm.cjs} +2 -2
  21. package/dist/contract-DSu2UPPm.cjs.map +1 -0
  22. package/dist/contract.cjs +1 -1
  23. package/dist/contract.d.cts +2 -2
  24. package/dist/contract.d.ts +2 -2
  25. package/dist/contract.js +1 -1
  26. package/dist/contracts.cjs +3 -3
  27. package/dist/contracts.d.cts +3 -3
  28. package/dist/contracts.d.ts +3 -3
  29. package/dist/contracts.js +3 -3
  30. package/dist/{dev_wallet-GX-NCAFk.cjs → dev_wallet-CAbOSrak.cjs} +2 -2
  31. package/dist/{dev_wallet-GX-NCAFk.cjs.map → dev_wallet-CAbOSrak.cjs.map} +1 -1
  32. package/dist/{dev_wallet-CSMA1PCt.js → dev_wallet-CU3RpQLm.js} +2 -2
  33. package/dist/{dev_wallet-CSMA1PCt.js.map → dev_wallet-CU3RpQLm.js.map} +1 -1
  34. package/dist/{execution-DYqPDn4O.d.cts → execution-J5jkXhV1.d.cts} +3 -3
  35. package/dist/{execution-DYqPDn4O.d.cts.map → execution-J5jkXhV1.d.cts.map} +1 -1
  36. package/dist/{execution-Dj6E4B_b.d.ts → execution-XJ0iwFaX.d.ts} +3 -3
  37. package/dist/{execution-Dj6E4B_b.d.ts.map → execution-XJ0iwFaX.d.ts.map} +1 -1
  38. package/dist/{index-SV-inhhO.d.ts → index-Bb01ytjJ.d.ts} +4 -4
  39. package/dist/{index-SV-inhhO.d.ts.map → index-Bb01ytjJ.d.ts.map} +1 -1
  40. package/dist/{index-ByvV2UF6.d.ts → index-C3HVRvQd.d.ts} +2 -2
  41. package/dist/{index-ByvV2UF6.d.ts.map → index-C3HVRvQd.d.ts.map} +1 -1
  42. package/dist/{index-CG2WRtGa.d.cts → index-CedOvhGY.d.cts} +2 -2
  43. package/dist/{index-CG2WRtGa.d.cts.map → index-CedOvhGY.d.cts.map} +1 -1
  44. package/dist/{index-1-rFirYe.d.cts → index-CtjWsAXV.d.cts} +4 -4
  45. package/dist/{index-1-rFirYe.d.cts.map → index-CtjWsAXV.d.cts.map} +1 -1
  46. package/dist/{index-BraLWObY.d.cts → index-CtjZ61tl.d.cts} +2 -2
  47. package/dist/{index-BraLWObY.d.cts.map → index-CtjZ61tl.d.cts.map} +1 -1
  48. package/dist/{index-D89ur7mO.d.ts → index-DeS1S0m-.d.ts} +2 -2
  49. package/dist/{index-D89ur7mO.d.ts.map → index-DeS1S0m-.d.ts.map} +1 -1
  50. package/dist/{index-dJ65V8se.d.ts → index-DfmDUk5Y.d.ts} +4 -4
  51. package/dist/{index-dJ65V8se.d.ts.map → index-DfmDUk5Y.d.ts.map} +1 -1
  52. package/dist/{index-CVrhB9Dr.d.cts → index-soFVQX9j.d.cts} +4 -4
  53. package/dist/{index-CVrhB9Dr.d.cts.map → index-soFVQX9j.d.cts.map} +1 -1
  54. package/dist/index.cjs +9 -9
  55. package/dist/index.d.cts +9 -9
  56. package/dist/index.d.ts +9 -9
  57. package/dist/index.js +9 -9
  58. package/dist/{readError-AoNjzW75.cjs → readError-CCVlmBhj.cjs} +22 -2
  59. package/dist/readError-CCVlmBhj.cjs.map +1 -0
  60. package/dist/{readError-CZPYcW__.js → readError-D1dppovI.js} +22 -2
  61. package/dist/readError-D1dppovI.js.map +1 -0
  62. package/dist/{readViews-DJyqc7im.d.cts → readViews-DbWELMMq.d.cts} +8 -3
  63. package/dist/{readViews-DJyqc7im.d.cts.map → readViews-DbWELMMq.d.cts.map} +1 -1
  64. package/dist/{readViews-DQoaUORa.d.ts → readViews-nV3jbpYc.d.ts} +8 -3
  65. package/dist/{readViews-DQoaUORa.d.ts.map → readViews-nV3jbpYc.d.ts.map} +1 -1
  66. package/dist/{sendInvocation-qO8AZcmU.cjs → sendInvocation-Dsr9ij5P.cjs} +5 -5
  67. package/dist/{sendInvocation-qO8AZcmU.cjs.map → sendInvocation-Dsr9ij5P.cjs.map} +1 -1
  68. package/dist/{sendInvocation-BwabRa2N.js → sendInvocation-tBmf8haQ.js} +5 -5
  69. package/dist/{sendInvocation-BwabRa2N.js.map → sendInvocation-tBmf8haQ.js.map} +1 -1
  70. package/dist/signed-op.cjs +2 -2
  71. package/dist/signed-op.d.cts +1 -1
  72. package/dist/signed-op.d.ts +1 -1
  73. package/dist/signed-op.js +2 -2
  74. package/dist/{signedOp-oqAXEqmE.cjs → signedOp-DAucp6xg.cjs} +3 -3
  75. package/dist/{signedOp-oqAXEqmE.cjs.map → signedOp-DAucp6xg.cjs.map} +1 -1
  76. package/dist/{signedOp-C52gOgpR.js → signedOp-DpmUpH-e.js} +3 -3
  77. package/dist/{signedOp-C52gOgpR.js.map → signedOp-DpmUpH-e.js.map} +1 -1
  78. package/dist/{signed_op-BokEDWr-.js → signed_op-CwN-_CXw.js} +2 -2
  79. package/dist/{signed_op-BokEDWr-.js.map → signed_op-CwN-_CXw.js.map} +1 -1
  80. package/dist/{signed_op-DX5WuyEh.d.cts → signed_op-D2usgASc.d.cts} +3 -3
  81. package/dist/{signed_op-DX5WuyEh.d.cts.map → signed_op-D2usgASc.d.cts.map} +1 -1
  82. package/dist/{signed_op-q8KKSm5e.cjs → signed_op-_lR85dn2.cjs} +2 -2
  83. package/dist/{signed_op-q8KKSm5e.cjs.map → signed_op-_lR85dn2.cjs.map} +1 -1
  84. package/dist/{signed_op-C4lY_TCc.d.ts → signed_op-zGq4eBo8.d.ts} +3 -3
  85. package/dist/{signed_op-C4lY_TCc.d.ts.map → signed_op-zGq4eBo8.d.ts.map} +1 -1
  86. package/dist/{transport-tWxKhXUt.cjs → transport-5FPeNwuv.cjs} +3 -3
  87. package/dist/{transport-tWxKhXUt.cjs.map → transport-5FPeNwuv.cjs.map} +1 -1
  88. package/dist/{transport-CBFwAIIv.js → transport-IrhVlS4w.js} +3 -3
  89. package/dist/{transport-CBFwAIIv.js.map → transport-IrhVlS4w.js.map} +1 -1
  90. package/dist/transport.cjs +3 -3
  91. package/dist/transport.d.cts +3 -3
  92. package/dist/transport.d.ts +3 -3
  93. package/dist/transport.js +3 -3
  94. package/dist/{wallet-T_JazXRc.cjs → wallet-7R5M_7h4.cjs} +3 -3
  95. package/dist/{wallet-T_JazXRc.cjs.map → wallet-7R5M_7h4.cjs.map} +1 -1
  96. package/dist/{wallet-7RELuTkf.js → wallet-BNKgOXrF.js} +3 -3
  97. package/dist/{wallet-7RELuTkf.js.map → wallet-BNKgOXrF.js.map} +1 -1
  98. package/dist/wallet.cjs +2 -2
  99. package/dist/wallet.d.cts +2 -2
  100. package/dist/wallet.d.ts +2 -2
  101. package/dist/wallet.js +2 -2
  102. package/package.json +1 -1
  103. package/dist/client-JixxskeH.d.cts.map +0 -1
  104. package/dist/client-JixxskeH.d.ts.map +0 -1
  105. package/dist/contract-C7T2H2Oi.cjs.map +0 -1
  106. package/dist/contract-DzvyyFCI.js.map +0 -1
  107. package/dist/readError-AoNjzW75.cjs.map +0 -1
  108. package/dist/readError-CZPYcW__.js.map +0 -1
@@ -3,6 +3,17 @@ let _thruputchain_protocol_utils = require("@thruputchain/protocol/utils");
3
3
  //#region src/rpc/schema.json
4
4
  var schema_default = {
5
5
  schemas: {
6
+ "ActiveBlockDriverMode": {
7
+ "anyOf": [{
8
+ "enum": [
9
+ "instant",
10
+ "interval",
11
+ "manual"
12
+ ],
13
+ "type": "string"
14
+ }],
15
+ "x-extensible": true
16
+ },
6
17
  "Admission": {
7
18
  "anyOf": [{
8
19
  "enum": ["accepted"],
@@ -265,6 +276,33 @@ var schema_default = {
265
276
  "type": "string",
266
277
  "x-base58-bytes": 32
267
278
  },
279
+ "BlockClock": {
280
+ "properties": { "nextBlockTimepoint": { "$ref": "#/components/schemas/DecimalTimePoint" } },
281
+ "required": ["nextBlockTimepoint"],
282
+ "type": "object"
283
+ },
284
+ "BlockDriverMode": { "oneOf": [
285
+ {
286
+ "const": "instant",
287
+ "type": "string"
288
+ },
289
+ {
290
+ "const": "interval",
291
+ "type": "string"
292
+ },
293
+ {
294
+ "const": "manual",
295
+ "type": "string"
296
+ }
297
+ ] },
298
+ "BlockDriverStatus": {
299
+ "properties": {
300
+ "intervalMilliseconds": { "$ref": "#/components/schemas/DecimalU64" },
301
+ "mode": { "$ref": "#/components/schemas/ActiveBlockDriverMode" }
302
+ },
303
+ "required": ["mode", "intervalMilliseconds"],
304
+ "type": "object"
305
+ },
268
306
  "BlockInfo": {
269
307
  "properties": {
270
308
  "blockHash": { "$ref": "#/components/schemas/Base58_SHA256Hash" },
@@ -320,6 +358,14 @@ var schema_default = {
320
358
  "required": ["order"],
321
359
  "type": "object"
322
360
  },
361
+ "BlockTimeStep": {
362
+ "properties": {
363
+ "nextBlockTimepoint": { "$ref": "#/components/schemas/DecimalTimePoint" },
364
+ "stepNanoseconds": { "$ref": "#/components/schemas/DecimalU64" }
365
+ },
366
+ "required": ["nextBlockTimepoint"],
367
+ "type": "object"
368
+ },
323
369
  "ChainConfig": {
324
370
  "properties": {
325
371
  "execution": { "$ref": "#/components/schemas/ExecutionConfig" },
@@ -349,11 +395,21 @@ var schema_default = {
349
395
  "minimum": 0,
350
396
  "type": "integer"
351
397
  },
398
+ "maxAuthTokens": {
399
+ "maximum": 4294967295,
400
+ "minimum": 0,
401
+ "type": "integer"
402
+ },
352
403
  "maxBytestringLen": {
353
404
  "maximum": 4294967295,
354
405
  "minimum": 0,
355
406
  "type": "integer"
356
407
  },
408
+ "maxCalldataLen": {
409
+ "maximum": 4294967295,
410
+ "minimum": 0,
411
+ "type": "integer"
412
+ },
357
413
  "maxContractSizeBytes": {
358
414
  "maximum": 4294967295,
359
415
  "minimum": 0,
@@ -369,6 +425,16 @@ var schema_default = {
369
425
  "minimum": 0,
370
426
  "type": "integer"
371
427
  },
428
+ "maxReturnBufferLen": {
429
+ "maximum": 4294967295,
430
+ "minimum": 0,
431
+ "type": "integer"
432
+ },
433
+ "maxRv32ArtifactVersion": {
434
+ "maximum": 4294967295,
435
+ "minimum": 0,
436
+ "type": "integer"
437
+ },
372
438
  "maxRv32CodeBytes": {
373
439
  "maximum": 4294967295,
374
440
  "minimum": 0,
@@ -389,7 +455,12 @@ var schema_default = {
389
455
  "minimum": 0,
390
456
  "type": "integer"
391
457
  },
392
- "maxTxGas": { "$ref": "#/components/schemas/DecimalU64" }
458
+ "maxTxGas": { "$ref": "#/components/schemas/DecimalU64" },
459
+ "minRv32ArtifactVersion": {
460
+ "maximum": 4294967295,
461
+ "minimum": 0,
462
+ "type": "integer"
463
+ }
393
464
  },
394
465
  "type": "object"
395
466
  },
@@ -905,6 +976,28 @@ var schema_default = {
905
976
  "required": ["count"],
906
977
  "type": "object"
907
978
  },
979
+ "ProducedBlock": {
980
+ "properties": {
981
+ "blockHeight": {
982
+ "maxLength": 19,
983
+ "pattern": "^(0|[1-9][0-9]*)(?![\\s\\S])",
984
+ "type": "string",
985
+ "x-integer-maximum": "9223372036854775807",
986
+ "x-integer-minimum": "0"
987
+ },
988
+ "blockTimepoint": { "$ref": "#/components/schemas/DecimalTimePoint" }
989
+ },
990
+ "required": ["blockHeight", "blockTimepoint"],
991
+ "type": "object"
992
+ },
993
+ "ProducedBlocks": {
994
+ "properties": { "blocks": {
995
+ "items": { "$ref": "#/components/schemas/ProducedBlock" },
996
+ "type": "array"
997
+ } },
998
+ "required": ["blocks"],
999
+ "type": "object"
1000
+ },
908
1001
  "PublicKey": {
909
1002
  "anyOf": [{
910
1003
  "properties": {
@@ -1959,6 +2052,100 @@ var schema_default = {
1959
2052
  },
1960
2053
  "result": { "$ref": "#/components/schemas/PendingTransactionCount" },
1961
2054
  "paged": false
2055
+ },
2056
+ "dev_produceBlock": {
2057
+ "params": {
2058
+ "type": "object",
2059
+ "additionalProperties": false,
2060
+ "properties": { "blockTimepoint": { "$ref": "#/components/schemas/DecimalTimePoint" } },
2061
+ "required": []
2062
+ },
2063
+ "result": { "$ref": "#/components/schemas/ProducedBlock" },
2064
+ "paged": false
2065
+ },
2066
+ "dev_produceBlocks": {
2067
+ "params": {
2068
+ "type": "object",
2069
+ "additionalProperties": false,
2070
+ "properties": {
2071
+ "count": {
2072
+ "maximum": 1e3,
2073
+ "minimum": 1,
2074
+ "type": "integer"
2075
+ },
2076
+ "intervalNanoseconds": {
2077
+ "maxLength": 20,
2078
+ "pattern": "^(0|[1-9][0-9]*)(?![\\s\\S])",
2079
+ "type": "string",
2080
+ "x-integer-maximum": "18446744073709551615",
2081
+ "x-integer-minimum": "0"
2082
+ }
2083
+ },
2084
+ "required": ["count"]
2085
+ },
2086
+ "result": { "$ref": "#/components/schemas/ProducedBlocks" },
2087
+ "paged": false
2088
+ },
2089
+ "dev_setNextBlockTimepoint": {
2090
+ "params": {
2091
+ "type": "object",
2092
+ "additionalProperties": false,
2093
+ "properties": { "blockTimepoint": { "$ref": "#/components/schemas/DecimalTimePoint" } },
2094
+ "required": ["blockTimepoint"]
2095
+ },
2096
+ "result": { "$ref": "#/components/schemas/BlockClock" },
2097
+ "paged": false
2098
+ },
2099
+ "dev_increaseTime": {
2100
+ "params": {
2101
+ "type": "object",
2102
+ "additionalProperties": false,
2103
+ "properties": { "nanoseconds": {
2104
+ "maxLength": 20,
2105
+ "pattern": "^(0|[1-9][0-9]*)(?![\\s\\S])",
2106
+ "type": "string",
2107
+ "x-integer-maximum": "18446744073709551615",
2108
+ "x-integer-minimum": "0"
2109
+ } },
2110
+ "required": ["nanoseconds"]
2111
+ },
2112
+ "result": { "$ref": "#/components/schemas/BlockClock" },
2113
+ "paged": false
2114
+ },
2115
+ "dev_setBlockTimeStep": {
2116
+ "params": {
2117
+ "type": "object",
2118
+ "additionalProperties": false,
2119
+ "properties": { "stepNanoseconds": {
2120
+ "maxLength": 20,
2121
+ "pattern": "^(0|[1-9][0-9]*)(?![\\s\\S])",
2122
+ "type": "string",
2123
+ "x-integer-maximum": "18446744073709551615",
2124
+ "x-integer-minimum": "0"
2125
+ } },
2126
+ "required": []
2127
+ },
2128
+ "result": { "$ref": "#/components/schemas/BlockTimeStep" },
2129
+ "paged": false
2130
+ },
2131
+ "dev_setBlockDriver": {
2132
+ "params": {
2133
+ "type": "object",
2134
+ "additionalProperties": false,
2135
+ "properties": {
2136
+ "mode": { "$ref": "#/components/schemas/BlockDriverMode" },
2137
+ "intervalMilliseconds": {
2138
+ "maxLength": 20,
2139
+ "pattern": "^[1-9][0-9]*(?![\\s\\S])",
2140
+ "type": "string",
2141
+ "x-integer-maximum": "18446744073709551615",
2142
+ "x-integer-minimum": "0"
2143
+ }
2144
+ },
2145
+ "required": ["mode"]
2146
+ },
2147
+ "result": { "$ref": "#/components/schemas/BlockDriverStatus" },
2148
+ "paged": false
1962
2149
  }
1963
2150
  },
1964
2151
  errors: {
@@ -9308,6 +9495,1613 @@ var schema_default = {
9308
9495
  "x-tag": "kind"
9309
9496
  }
9310
9497
  }
9498
+ ],
9499
+ "dev_produceBlock": [
9500
+ {
9501
+ "code": -32602,
9502
+ "schema": {
9503
+ "oneOf": [{
9504
+ "properties": {
9505
+ "kind": {
9506
+ "const": "invalidParams",
9507
+ "type": "string"
9508
+ },
9509
+ "path": {
9510
+ "pattern": "^(?:/(?:[^~/]|~[01])*)*(?![\\s\\S])",
9511
+ "type": "string"
9512
+ },
9513
+ "reason": { "type": "string" }
9514
+ },
9515
+ "required": ["kind"],
9516
+ "type": "object",
9517
+ "x-forbidden": [
9518
+ "admission",
9519
+ "transactionHash",
9520
+ "signedTransaction",
9521
+ "observation",
9522
+ "receipt",
9523
+ "cause",
9524
+ "serviceCode",
9525
+ "error"
9526
+ ]
9527
+ }],
9528
+ "x-tag": "kind"
9529
+ }
9530
+ },
9531
+ {
9532
+ "code": -32050,
9533
+ "schema": {
9534
+ "oneOf": [{
9535
+ "properties": {
9536
+ "admission": {
9537
+ "enum": [
9538
+ "notAttempted",
9539
+ "rejected",
9540
+ "unknown"
9541
+ ],
9542
+ "type": "string"
9543
+ },
9544
+ "error": {
9545
+ "properties": {
9546
+ "code": {
9547
+ "maximum": 2147483647,
9548
+ "minimum": -2147483648,
9549
+ "type": "integer"
9550
+ },
9551
+ "source": {
9552
+ "anyOf": [{
9553
+ "enum": [
9554
+ "auth",
9555
+ "scheduler",
9556
+ "executor",
9557
+ "other"
9558
+ ],
9559
+ "type": "string"
9560
+ }],
9561
+ "x-extensible": true
9562
+ }
9563
+ },
9564
+ "required": ["source", "code"],
9565
+ "type": "object"
9566
+ },
9567
+ "kind": {
9568
+ "const": "backendUnavailable",
9569
+ "type": "string"
9570
+ },
9571
+ "retryAfterMs": {
9572
+ "maxLength": 20,
9573
+ "pattern": "^(0|[1-9][0-9]*)(?![\\s\\S])",
9574
+ "type": "string",
9575
+ "x-integer-maximum": "18446744073709551615",
9576
+ "x-integer-minimum": "0"
9577
+ },
9578
+ "serviceCode": {
9579
+ "maxLength": 128,
9580
+ "minLength": 1,
9581
+ "type": "string"
9582
+ },
9583
+ "transactionHash": {
9584
+ "maxLength": 45,
9585
+ "minLength": 32,
9586
+ "pattern": "^[1-9A-HJ-NP-Za-km-z]+$",
9587
+ "type": "string",
9588
+ "x-base58-bytes": 32
9589
+ }
9590
+ },
9591
+ "required": ["kind"],
9592
+ "type": "object",
9593
+ "x-forbidden": [
9594
+ "admission",
9595
+ "transactionHash",
9596
+ "signedTransaction",
9597
+ "observation",
9598
+ "receipt",
9599
+ "cause",
9600
+ "serviceCode",
9601
+ "error"
9602
+ ]
9603
+ }],
9604
+ "x-tag": "kind"
9605
+ }
9606
+ },
9607
+ {
9608
+ "code": -32051,
9609
+ "schema": {
9610
+ "oneOf": [{
9611
+ "properties": {
9612
+ "admission": {
9613
+ "enum": [
9614
+ "notAttempted",
9615
+ "rejected",
9616
+ "unknown"
9617
+ ],
9618
+ "type": "string"
9619
+ },
9620
+ "kind": {
9621
+ "const": "backendTimeout",
9622
+ "type": "string"
9623
+ },
9624
+ "retryAfterMs": {
9625
+ "maxLength": 20,
9626
+ "pattern": "^(0|[1-9][0-9]*)(?![\\s\\S])",
9627
+ "type": "string",
9628
+ "x-integer-maximum": "18446744073709551615",
9629
+ "x-integer-minimum": "0"
9630
+ },
9631
+ "transactionHash": {
9632
+ "maxLength": 45,
9633
+ "minLength": 32,
9634
+ "pattern": "^[1-9A-HJ-NP-Za-km-z]+$",
9635
+ "type": "string",
9636
+ "x-base58-bytes": 32
9637
+ }
9638
+ },
9639
+ "required": ["kind"],
9640
+ "type": "object",
9641
+ "x-forbidden": [
9642
+ "admission",
9643
+ "transactionHash",
9644
+ "signedTransaction",
9645
+ "observation",
9646
+ "receipt",
9647
+ "cause",
9648
+ "serviceCode",
9649
+ "error"
9650
+ ]
9651
+ }],
9652
+ "x-tag": "kind"
9653
+ }
9654
+ },
9655
+ {
9656
+ "code": -32053,
9657
+ "schema": {
9658
+ "oneOf": [{
9659
+ "properties": {
9660
+ "admission": {
9661
+ "enum": [
9662
+ "notAttempted",
9663
+ "rejected",
9664
+ "unknown"
9665
+ ],
9666
+ "type": "string"
9667
+ },
9668
+ "error": {
9669
+ "properties": {
9670
+ "code": {
9671
+ "maximum": 2147483647,
9672
+ "minimum": -2147483648,
9673
+ "type": "integer"
9674
+ },
9675
+ "source": {
9676
+ "anyOf": [{
9677
+ "enum": [
9678
+ "auth",
9679
+ "scheduler",
9680
+ "executor",
9681
+ "other"
9682
+ ],
9683
+ "type": "string"
9684
+ }],
9685
+ "x-extensible": true
9686
+ }
9687
+ },
9688
+ "required": ["source", "code"],
9689
+ "type": "object"
9690
+ },
9691
+ "kind": {
9692
+ "const": "overloaded",
9693
+ "type": "string"
9694
+ },
9695
+ "retryAfterMs": {
9696
+ "maxLength": 20,
9697
+ "pattern": "^(0|[1-9][0-9]*)(?![\\s\\S])",
9698
+ "type": "string",
9699
+ "x-integer-maximum": "18446744073709551615",
9700
+ "x-integer-minimum": "0"
9701
+ },
9702
+ "transactionHash": {
9703
+ "maxLength": 45,
9704
+ "minLength": 32,
9705
+ "pattern": "^[1-9A-HJ-NP-Za-km-z]+$",
9706
+ "type": "string",
9707
+ "x-base58-bytes": 32
9708
+ }
9709
+ },
9710
+ "required": ["kind"],
9711
+ "type": "object",
9712
+ "x-forbidden": [
9713
+ "admission",
9714
+ "transactionHash",
9715
+ "signedTransaction",
9716
+ "observation",
9717
+ "receipt",
9718
+ "cause",
9719
+ "serviceCode",
9720
+ "error"
9721
+ ]
9722
+ }],
9723
+ "x-tag": "kind"
9724
+ }
9725
+ },
9726
+ {
9727
+ "code": -32054,
9728
+ "schema": {
9729
+ "oneOf": [{
9730
+ "properties": {
9731
+ "admission": {
9732
+ "enum": [
9733
+ "notAttempted",
9734
+ "rejected",
9735
+ "unknown"
9736
+ ],
9737
+ "type": "string"
9738
+ },
9739
+ "kind": {
9740
+ "const": "backendDataInvalid",
9741
+ "type": "string"
9742
+ },
9743
+ "observation": {
9744
+ "properties": {
9745
+ "blockHeight": {
9746
+ "maxLength": 19,
9747
+ "pattern": "^(0|[1-9][0-9]*)(?![\\s\\S])",
9748
+ "type": "string",
9749
+ "x-integer-maximum": "9223372036854775807",
9750
+ "x-integer-minimum": "0"
9751
+ },
9752
+ "transactionHash": {
9753
+ "maxLength": 45,
9754
+ "minLength": 32,
9755
+ "pattern": "^[1-9A-HJ-NP-Za-km-z]+$",
9756
+ "type": "string",
9757
+ "x-base58-bytes": 32
9758
+ }
9759
+ },
9760
+ "required": ["transactionHash", "blockHeight"],
9761
+ "type": "object"
9762
+ },
9763
+ "reason": { "type": "string" },
9764
+ "transactionHash": {
9765
+ "maxLength": 45,
9766
+ "minLength": 32,
9767
+ "pattern": "^[1-9A-HJ-NP-Za-km-z]+$",
9768
+ "type": "string",
9769
+ "x-base58-bytes": 32
9770
+ }
9771
+ },
9772
+ "required": ["kind"],
9773
+ "type": "object",
9774
+ "x-forbidden": [
9775
+ "admission",
9776
+ "transactionHash",
9777
+ "signedTransaction",
9778
+ "observation",
9779
+ "receipt",
9780
+ "cause",
9781
+ "serviceCode",
9782
+ "error"
9783
+ ]
9784
+ }],
9785
+ "x-tag": "kind"
9786
+ }
9787
+ }
9788
+ ],
9789
+ "dev_produceBlocks": [
9790
+ {
9791
+ "code": -32602,
9792
+ "schema": {
9793
+ "oneOf": [{
9794
+ "properties": {
9795
+ "kind": {
9796
+ "const": "invalidParams",
9797
+ "type": "string"
9798
+ },
9799
+ "path": {
9800
+ "pattern": "^(?:/(?:[^~/]|~[01])*)*(?![\\s\\S])",
9801
+ "type": "string"
9802
+ },
9803
+ "reason": { "type": "string" }
9804
+ },
9805
+ "required": ["kind"],
9806
+ "type": "object",
9807
+ "x-forbidden": [
9808
+ "admission",
9809
+ "transactionHash",
9810
+ "signedTransaction",
9811
+ "observation",
9812
+ "receipt",
9813
+ "cause",
9814
+ "serviceCode",
9815
+ "error"
9816
+ ]
9817
+ }],
9818
+ "x-tag": "kind"
9819
+ }
9820
+ },
9821
+ {
9822
+ "code": -32050,
9823
+ "schema": {
9824
+ "oneOf": [{
9825
+ "properties": {
9826
+ "admission": {
9827
+ "enum": [
9828
+ "notAttempted",
9829
+ "rejected",
9830
+ "unknown"
9831
+ ],
9832
+ "type": "string"
9833
+ },
9834
+ "error": {
9835
+ "properties": {
9836
+ "code": {
9837
+ "maximum": 2147483647,
9838
+ "minimum": -2147483648,
9839
+ "type": "integer"
9840
+ },
9841
+ "source": {
9842
+ "anyOf": [{
9843
+ "enum": [
9844
+ "auth",
9845
+ "scheduler",
9846
+ "executor",
9847
+ "other"
9848
+ ],
9849
+ "type": "string"
9850
+ }],
9851
+ "x-extensible": true
9852
+ }
9853
+ },
9854
+ "required": ["source", "code"],
9855
+ "type": "object"
9856
+ },
9857
+ "kind": {
9858
+ "const": "backendUnavailable",
9859
+ "type": "string"
9860
+ },
9861
+ "retryAfterMs": {
9862
+ "maxLength": 20,
9863
+ "pattern": "^(0|[1-9][0-9]*)(?![\\s\\S])",
9864
+ "type": "string",
9865
+ "x-integer-maximum": "18446744073709551615",
9866
+ "x-integer-minimum": "0"
9867
+ },
9868
+ "serviceCode": {
9869
+ "maxLength": 128,
9870
+ "minLength": 1,
9871
+ "type": "string"
9872
+ },
9873
+ "transactionHash": {
9874
+ "maxLength": 45,
9875
+ "minLength": 32,
9876
+ "pattern": "^[1-9A-HJ-NP-Za-km-z]+$",
9877
+ "type": "string",
9878
+ "x-base58-bytes": 32
9879
+ }
9880
+ },
9881
+ "required": ["kind"],
9882
+ "type": "object",
9883
+ "x-forbidden": [
9884
+ "admission",
9885
+ "transactionHash",
9886
+ "signedTransaction",
9887
+ "observation",
9888
+ "receipt",
9889
+ "cause",
9890
+ "serviceCode",
9891
+ "error"
9892
+ ]
9893
+ }],
9894
+ "x-tag": "kind"
9895
+ }
9896
+ },
9897
+ {
9898
+ "code": -32051,
9899
+ "schema": {
9900
+ "oneOf": [{
9901
+ "properties": {
9902
+ "admission": {
9903
+ "enum": [
9904
+ "notAttempted",
9905
+ "rejected",
9906
+ "unknown"
9907
+ ],
9908
+ "type": "string"
9909
+ },
9910
+ "kind": {
9911
+ "const": "backendTimeout",
9912
+ "type": "string"
9913
+ },
9914
+ "retryAfterMs": {
9915
+ "maxLength": 20,
9916
+ "pattern": "^(0|[1-9][0-9]*)(?![\\s\\S])",
9917
+ "type": "string",
9918
+ "x-integer-maximum": "18446744073709551615",
9919
+ "x-integer-minimum": "0"
9920
+ },
9921
+ "transactionHash": {
9922
+ "maxLength": 45,
9923
+ "minLength": 32,
9924
+ "pattern": "^[1-9A-HJ-NP-Za-km-z]+$",
9925
+ "type": "string",
9926
+ "x-base58-bytes": 32
9927
+ }
9928
+ },
9929
+ "required": ["kind"],
9930
+ "type": "object",
9931
+ "x-forbidden": [
9932
+ "admission",
9933
+ "transactionHash",
9934
+ "signedTransaction",
9935
+ "observation",
9936
+ "receipt",
9937
+ "cause",
9938
+ "serviceCode",
9939
+ "error"
9940
+ ]
9941
+ }],
9942
+ "x-tag": "kind"
9943
+ }
9944
+ },
9945
+ {
9946
+ "code": -32053,
9947
+ "schema": {
9948
+ "oneOf": [{
9949
+ "properties": {
9950
+ "admission": {
9951
+ "enum": [
9952
+ "notAttempted",
9953
+ "rejected",
9954
+ "unknown"
9955
+ ],
9956
+ "type": "string"
9957
+ },
9958
+ "error": {
9959
+ "properties": {
9960
+ "code": {
9961
+ "maximum": 2147483647,
9962
+ "minimum": -2147483648,
9963
+ "type": "integer"
9964
+ },
9965
+ "source": {
9966
+ "anyOf": [{
9967
+ "enum": [
9968
+ "auth",
9969
+ "scheduler",
9970
+ "executor",
9971
+ "other"
9972
+ ],
9973
+ "type": "string"
9974
+ }],
9975
+ "x-extensible": true
9976
+ }
9977
+ },
9978
+ "required": ["source", "code"],
9979
+ "type": "object"
9980
+ },
9981
+ "kind": {
9982
+ "const": "overloaded",
9983
+ "type": "string"
9984
+ },
9985
+ "retryAfterMs": {
9986
+ "maxLength": 20,
9987
+ "pattern": "^(0|[1-9][0-9]*)(?![\\s\\S])",
9988
+ "type": "string",
9989
+ "x-integer-maximum": "18446744073709551615",
9990
+ "x-integer-minimum": "0"
9991
+ },
9992
+ "transactionHash": {
9993
+ "maxLength": 45,
9994
+ "minLength": 32,
9995
+ "pattern": "^[1-9A-HJ-NP-Za-km-z]+$",
9996
+ "type": "string",
9997
+ "x-base58-bytes": 32
9998
+ }
9999
+ },
10000
+ "required": ["kind"],
10001
+ "type": "object",
10002
+ "x-forbidden": [
10003
+ "admission",
10004
+ "transactionHash",
10005
+ "signedTransaction",
10006
+ "observation",
10007
+ "receipt",
10008
+ "cause",
10009
+ "serviceCode",
10010
+ "error"
10011
+ ]
10012
+ }],
10013
+ "x-tag": "kind"
10014
+ }
10015
+ },
10016
+ {
10017
+ "code": -32054,
10018
+ "schema": {
10019
+ "oneOf": [{
10020
+ "properties": {
10021
+ "admission": {
10022
+ "enum": [
10023
+ "notAttempted",
10024
+ "rejected",
10025
+ "unknown"
10026
+ ],
10027
+ "type": "string"
10028
+ },
10029
+ "kind": {
10030
+ "const": "backendDataInvalid",
10031
+ "type": "string"
10032
+ },
10033
+ "observation": {
10034
+ "properties": {
10035
+ "blockHeight": {
10036
+ "maxLength": 19,
10037
+ "pattern": "^(0|[1-9][0-9]*)(?![\\s\\S])",
10038
+ "type": "string",
10039
+ "x-integer-maximum": "9223372036854775807",
10040
+ "x-integer-minimum": "0"
10041
+ },
10042
+ "transactionHash": {
10043
+ "maxLength": 45,
10044
+ "minLength": 32,
10045
+ "pattern": "^[1-9A-HJ-NP-Za-km-z]+$",
10046
+ "type": "string",
10047
+ "x-base58-bytes": 32
10048
+ }
10049
+ },
10050
+ "required": ["transactionHash", "blockHeight"],
10051
+ "type": "object"
10052
+ },
10053
+ "reason": { "type": "string" },
10054
+ "transactionHash": {
10055
+ "maxLength": 45,
10056
+ "minLength": 32,
10057
+ "pattern": "^[1-9A-HJ-NP-Za-km-z]+$",
10058
+ "type": "string",
10059
+ "x-base58-bytes": 32
10060
+ }
10061
+ },
10062
+ "required": ["kind"],
10063
+ "type": "object",
10064
+ "x-forbidden": [
10065
+ "admission",
10066
+ "transactionHash",
10067
+ "signedTransaction",
10068
+ "observation",
10069
+ "receipt",
10070
+ "cause",
10071
+ "serviceCode",
10072
+ "error"
10073
+ ]
10074
+ }],
10075
+ "x-tag": "kind"
10076
+ }
10077
+ }
10078
+ ],
10079
+ "dev_setNextBlockTimepoint": [
10080
+ {
10081
+ "code": -32602,
10082
+ "schema": {
10083
+ "oneOf": [{
10084
+ "properties": {
10085
+ "kind": {
10086
+ "const": "invalidParams",
10087
+ "type": "string"
10088
+ },
10089
+ "path": {
10090
+ "pattern": "^(?:/(?:[^~/]|~[01])*)*(?![\\s\\S])",
10091
+ "type": "string"
10092
+ },
10093
+ "reason": { "type": "string" }
10094
+ },
10095
+ "required": ["kind"],
10096
+ "type": "object",
10097
+ "x-forbidden": [
10098
+ "admission",
10099
+ "transactionHash",
10100
+ "signedTransaction",
10101
+ "observation",
10102
+ "receipt",
10103
+ "cause",
10104
+ "serviceCode",
10105
+ "error"
10106
+ ]
10107
+ }],
10108
+ "x-tag": "kind"
10109
+ }
10110
+ },
10111
+ {
10112
+ "code": -32050,
10113
+ "schema": {
10114
+ "oneOf": [{
10115
+ "properties": {
10116
+ "admission": {
10117
+ "enum": [
10118
+ "notAttempted",
10119
+ "rejected",
10120
+ "unknown"
10121
+ ],
10122
+ "type": "string"
10123
+ },
10124
+ "error": {
10125
+ "properties": {
10126
+ "code": {
10127
+ "maximum": 2147483647,
10128
+ "minimum": -2147483648,
10129
+ "type": "integer"
10130
+ },
10131
+ "source": {
10132
+ "anyOf": [{
10133
+ "enum": [
10134
+ "auth",
10135
+ "scheduler",
10136
+ "executor",
10137
+ "other"
10138
+ ],
10139
+ "type": "string"
10140
+ }],
10141
+ "x-extensible": true
10142
+ }
10143
+ },
10144
+ "required": ["source", "code"],
10145
+ "type": "object"
10146
+ },
10147
+ "kind": {
10148
+ "const": "backendUnavailable",
10149
+ "type": "string"
10150
+ },
10151
+ "retryAfterMs": {
10152
+ "maxLength": 20,
10153
+ "pattern": "^(0|[1-9][0-9]*)(?![\\s\\S])",
10154
+ "type": "string",
10155
+ "x-integer-maximum": "18446744073709551615",
10156
+ "x-integer-minimum": "0"
10157
+ },
10158
+ "serviceCode": {
10159
+ "maxLength": 128,
10160
+ "minLength": 1,
10161
+ "type": "string"
10162
+ },
10163
+ "transactionHash": {
10164
+ "maxLength": 45,
10165
+ "minLength": 32,
10166
+ "pattern": "^[1-9A-HJ-NP-Za-km-z]+$",
10167
+ "type": "string",
10168
+ "x-base58-bytes": 32
10169
+ }
10170
+ },
10171
+ "required": ["kind"],
10172
+ "type": "object",
10173
+ "x-forbidden": [
10174
+ "admission",
10175
+ "transactionHash",
10176
+ "signedTransaction",
10177
+ "observation",
10178
+ "receipt",
10179
+ "cause",
10180
+ "serviceCode",
10181
+ "error"
10182
+ ]
10183
+ }],
10184
+ "x-tag": "kind"
10185
+ }
10186
+ },
10187
+ {
10188
+ "code": -32051,
10189
+ "schema": {
10190
+ "oneOf": [{
10191
+ "properties": {
10192
+ "admission": {
10193
+ "enum": [
10194
+ "notAttempted",
10195
+ "rejected",
10196
+ "unknown"
10197
+ ],
10198
+ "type": "string"
10199
+ },
10200
+ "kind": {
10201
+ "const": "backendTimeout",
10202
+ "type": "string"
10203
+ },
10204
+ "retryAfterMs": {
10205
+ "maxLength": 20,
10206
+ "pattern": "^(0|[1-9][0-9]*)(?![\\s\\S])",
10207
+ "type": "string",
10208
+ "x-integer-maximum": "18446744073709551615",
10209
+ "x-integer-minimum": "0"
10210
+ },
10211
+ "transactionHash": {
10212
+ "maxLength": 45,
10213
+ "minLength": 32,
10214
+ "pattern": "^[1-9A-HJ-NP-Za-km-z]+$",
10215
+ "type": "string",
10216
+ "x-base58-bytes": 32
10217
+ }
10218
+ },
10219
+ "required": ["kind"],
10220
+ "type": "object",
10221
+ "x-forbidden": [
10222
+ "admission",
10223
+ "transactionHash",
10224
+ "signedTransaction",
10225
+ "observation",
10226
+ "receipt",
10227
+ "cause",
10228
+ "serviceCode",
10229
+ "error"
10230
+ ]
10231
+ }],
10232
+ "x-tag": "kind"
10233
+ }
10234
+ },
10235
+ {
10236
+ "code": -32053,
10237
+ "schema": {
10238
+ "oneOf": [{
10239
+ "properties": {
10240
+ "admission": {
10241
+ "enum": [
10242
+ "notAttempted",
10243
+ "rejected",
10244
+ "unknown"
10245
+ ],
10246
+ "type": "string"
10247
+ },
10248
+ "error": {
10249
+ "properties": {
10250
+ "code": {
10251
+ "maximum": 2147483647,
10252
+ "minimum": -2147483648,
10253
+ "type": "integer"
10254
+ },
10255
+ "source": {
10256
+ "anyOf": [{
10257
+ "enum": [
10258
+ "auth",
10259
+ "scheduler",
10260
+ "executor",
10261
+ "other"
10262
+ ],
10263
+ "type": "string"
10264
+ }],
10265
+ "x-extensible": true
10266
+ }
10267
+ },
10268
+ "required": ["source", "code"],
10269
+ "type": "object"
10270
+ },
10271
+ "kind": {
10272
+ "const": "overloaded",
10273
+ "type": "string"
10274
+ },
10275
+ "retryAfterMs": {
10276
+ "maxLength": 20,
10277
+ "pattern": "^(0|[1-9][0-9]*)(?![\\s\\S])",
10278
+ "type": "string",
10279
+ "x-integer-maximum": "18446744073709551615",
10280
+ "x-integer-minimum": "0"
10281
+ },
10282
+ "transactionHash": {
10283
+ "maxLength": 45,
10284
+ "minLength": 32,
10285
+ "pattern": "^[1-9A-HJ-NP-Za-km-z]+$",
10286
+ "type": "string",
10287
+ "x-base58-bytes": 32
10288
+ }
10289
+ },
10290
+ "required": ["kind"],
10291
+ "type": "object",
10292
+ "x-forbidden": [
10293
+ "admission",
10294
+ "transactionHash",
10295
+ "signedTransaction",
10296
+ "observation",
10297
+ "receipt",
10298
+ "cause",
10299
+ "serviceCode",
10300
+ "error"
10301
+ ]
10302
+ }],
10303
+ "x-tag": "kind"
10304
+ }
10305
+ },
10306
+ {
10307
+ "code": -32054,
10308
+ "schema": {
10309
+ "oneOf": [{
10310
+ "properties": {
10311
+ "admission": {
10312
+ "enum": [
10313
+ "notAttempted",
10314
+ "rejected",
10315
+ "unknown"
10316
+ ],
10317
+ "type": "string"
10318
+ },
10319
+ "kind": {
10320
+ "const": "backendDataInvalid",
10321
+ "type": "string"
10322
+ },
10323
+ "observation": {
10324
+ "properties": {
10325
+ "blockHeight": {
10326
+ "maxLength": 19,
10327
+ "pattern": "^(0|[1-9][0-9]*)(?![\\s\\S])",
10328
+ "type": "string",
10329
+ "x-integer-maximum": "9223372036854775807",
10330
+ "x-integer-minimum": "0"
10331
+ },
10332
+ "transactionHash": {
10333
+ "maxLength": 45,
10334
+ "minLength": 32,
10335
+ "pattern": "^[1-9A-HJ-NP-Za-km-z]+$",
10336
+ "type": "string",
10337
+ "x-base58-bytes": 32
10338
+ }
10339
+ },
10340
+ "required": ["transactionHash", "blockHeight"],
10341
+ "type": "object"
10342
+ },
10343
+ "reason": { "type": "string" },
10344
+ "transactionHash": {
10345
+ "maxLength": 45,
10346
+ "minLength": 32,
10347
+ "pattern": "^[1-9A-HJ-NP-Za-km-z]+$",
10348
+ "type": "string",
10349
+ "x-base58-bytes": 32
10350
+ }
10351
+ },
10352
+ "required": ["kind"],
10353
+ "type": "object",
10354
+ "x-forbidden": [
10355
+ "admission",
10356
+ "transactionHash",
10357
+ "signedTransaction",
10358
+ "observation",
10359
+ "receipt",
10360
+ "cause",
10361
+ "serviceCode",
10362
+ "error"
10363
+ ]
10364
+ }],
10365
+ "x-tag": "kind"
10366
+ }
10367
+ }
10368
+ ],
10369
+ "dev_increaseTime": [
10370
+ {
10371
+ "code": -32602,
10372
+ "schema": {
10373
+ "oneOf": [{
10374
+ "properties": {
10375
+ "kind": {
10376
+ "const": "invalidParams",
10377
+ "type": "string"
10378
+ },
10379
+ "path": {
10380
+ "pattern": "^(?:/(?:[^~/]|~[01])*)*(?![\\s\\S])",
10381
+ "type": "string"
10382
+ },
10383
+ "reason": { "type": "string" }
10384
+ },
10385
+ "required": ["kind"],
10386
+ "type": "object",
10387
+ "x-forbidden": [
10388
+ "admission",
10389
+ "transactionHash",
10390
+ "signedTransaction",
10391
+ "observation",
10392
+ "receipt",
10393
+ "cause",
10394
+ "serviceCode",
10395
+ "error"
10396
+ ]
10397
+ }],
10398
+ "x-tag": "kind"
10399
+ }
10400
+ },
10401
+ {
10402
+ "code": -32050,
10403
+ "schema": {
10404
+ "oneOf": [{
10405
+ "properties": {
10406
+ "admission": {
10407
+ "enum": [
10408
+ "notAttempted",
10409
+ "rejected",
10410
+ "unknown"
10411
+ ],
10412
+ "type": "string"
10413
+ },
10414
+ "error": {
10415
+ "properties": {
10416
+ "code": {
10417
+ "maximum": 2147483647,
10418
+ "minimum": -2147483648,
10419
+ "type": "integer"
10420
+ },
10421
+ "source": {
10422
+ "anyOf": [{
10423
+ "enum": [
10424
+ "auth",
10425
+ "scheduler",
10426
+ "executor",
10427
+ "other"
10428
+ ],
10429
+ "type": "string"
10430
+ }],
10431
+ "x-extensible": true
10432
+ }
10433
+ },
10434
+ "required": ["source", "code"],
10435
+ "type": "object"
10436
+ },
10437
+ "kind": {
10438
+ "const": "backendUnavailable",
10439
+ "type": "string"
10440
+ },
10441
+ "retryAfterMs": {
10442
+ "maxLength": 20,
10443
+ "pattern": "^(0|[1-9][0-9]*)(?![\\s\\S])",
10444
+ "type": "string",
10445
+ "x-integer-maximum": "18446744073709551615",
10446
+ "x-integer-minimum": "0"
10447
+ },
10448
+ "serviceCode": {
10449
+ "maxLength": 128,
10450
+ "minLength": 1,
10451
+ "type": "string"
10452
+ },
10453
+ "transactionHash": {
10454
+ "maxLength": 45,
10455
+ "minLength": 32,
10456
+ "pattern": "^[1-9A-HJ-NP-Za-km-z]+$",
10457
+ "type": "string",
10458
+ "x-base58-bytes": 32
10459
+ }
10460
+ },
10461
+ "required": ["kind"],
10462
+ "type": "object",
10463
+ "x-forbidden": [
10464
+ "admission",
10465
+ "transactionHash",
10466
+ "signedTransaction",
10467
+ "observation",
10468
+ "receipt",
10469
+ "cause",
10470
+ "serviceCode",
10471
+ "error"
10472
+ ]
10473
+ }],
10474
+ "x-tag": "kind"
10475
+ }
10476
+ },
10477
+ {
10478
+ "code": -32051,
10479
+ "schema": {
10480
+ "oneOf": [{
10481
+ "properties": {
10482
+ "admission": {
10483
+ "enum": [
10484
+ "notAttempted",
10485
+ "rejected",
10486
+ "unknown"
10487
+ ],
10488
+ "type": "string"
10489
+ },
10490
+ "kind": {
10491
+ "const": "backendTimeout",
10492
+ "type": "string"
10493
+ },
10494
+ "retryAfterMs": {
10495
+ "maxLength": 20,
10496
+ "pattern": "^(0|[1-9][0-9]*)(?![\\s\\S])",
10497
+ "type": "string",
10498
+ "x-integer-maximum": "18446744073709551615",
10499
+ "x-integer-minimum": "0"
10500
+ },
10501
+ "transactionHash": {
10502
+ "maxLength": 45,
10503
+ "minLength": 32,
10504
+ "pattern": "^[1-9A-HJ-NP-Za-km-z]+$",
10505
+ "type": "string",
10506
+ "x-base58-bytes": 32
10507
+ }
10508
+ },
10509
+ "required": ["kind"],
10510
+ "type": "object",
10511
+ "x-forbidden": [
10512
+ "admission",
10513
+ "transactionHash",
10514
+ "signedTransaction",
10515
+ "observation",
10516
+ "receipt",
10517
+ "cause",
10518
+ "serviceCode",
10519
+ "error"
10520
+ ]
10521
+ }],
10522
+ "x-tag": "kind"
10523
+ }
10524
+ },
10525
+ {
10526
+ "code": -32053,
10527
+ "schema": {
10528
+ "oneOf": [{
10529
+ "properties": {
10530
+ "admission": {
10531
+ "enum": [
10532
+ "notAttempted",
10533
+ "rejected",
10534
+ "unknown"
10535
+ ],
10536
+ "type": "string"
10537
+ },
10538
+ "error": {
10539
+ "properties": {
10540
+ "code": {
10541
+ "maximum": 2147483647,
10542
+ "minimum": -2147483648,
10543
+ "type": "integer"
10544
+ },
10545
+ "source": {
10546
+ "anyOf": [{
10547
+ "enum": [
10548
+ "auth",
10549
+ "scheduler",
10550
+ "executor",
10551
+ "other"
10552
+ ],
10553
+ "type": "string"
10554
+ }],
10555
+ "x-extensible": true
10556
+ }
10557
+ },
10558
+ "required": ["source", "code"],
10559
+ "type": "object"
10560
+ },
10561
+ "kind": {
10562
+ "const": "overloaded",
10563
+ "type": "string"
10564
+ },
10565
+ "retryAfterMs": {
10566
+ "maxLength": 20,
10567
+ "pattern": "^(0|[1-9][0-9]*)(?![\\s\\S])",
10568
+ "type": "string",
10569
+ "x-integer-maximum": "18446744073709551615",
10570
+ "x-integer-minimum": "0"
10571
+ },
10572
+ "transactionHash": {
10573
+ "maxLength": 45,
10574
+ "minLength": 32,
10575
+ "pattern": "^[1-9A-HJ-NP-Za-km-z]+$",
10576
+ "type": "string",
10577
+ "x-base58-bytes": 32
10578
+ }
10579
+ },
10580
+ "required": ["kind"],
10581
+ "type": "object",
10582
+ "x-forbidden": [
10583
+ "admission",
10584
+ "transactionHash",
10585
+ "signedTransaction",
10586
+ "observation",
10587
+ "receipt",
10588
+ "cause",
10589
+ "serviceCode",
10590
+ "error"
10591
+ ]
10592
+ }],
10593
+ "x-tag": "kind"
10594
+ }
10595
+ },
10596
+ {
10597
+ "code": -32054,
10598
+ "schema": {
10599
+ "oneOf": [{
10600
+ "properties": {
10601
+ "admission": {
10602
+ "enum": [
10603
+ "notAttempted",
10604
+ "rejected",
10605
+ "unknown"
10606
+ ],
10607
+ "type": "string"
10608
+ },
10609
+ "kind": {
10610
+ "const": "backendDataInvalid",
10611
+ "type": "string"
10612
+ },
10613
+ "observation": {
10614
+ "properties": {
10615
+ "blockHeight": {
10616
+ "maxLength": 19,
10617
+ "pattern": "^(0|[1-9][0-9]*)(?![\\s\\S])",
10618
+ "type": "string",
10619
+ "x-integer-maximum": "9223372036854775807",
10620
+ "x-integer-minimum": "0"
10621
+ },
10622
+ "transactionHash": {
10623
+ "maxLength": 45,
10624
+ "minLength": 32,
10625
+ "pattern": "^[1-9A-HJ-NP-Za-km-z]+$",
10626
+ "type": "string",
10627
+ "x-base58-bytes": 32
10628
+ }
10629
+ },
10630
+ "required": ["transactionHash", "blockHeight"],
10631
+ "type": "object"
10632
+ },
10633
+ "reason": { "type": "string" },
10634
+ "transactionHash": {
10635
+ "maxLength": 45,
10636
+ "minLength": 32,
10637
+ "pattern": "^[1-9A-HJ-NP-Za-km-z]+$",
10638
+ "type": "string",
10639
+ "x-base58-bytes": 32
10640
+ }
10641
+ },
10642
+ "required": ["kind"],
10643
+ "type": "object",
10644
+ "x-forbidden": [
10645
+ "admission",
10646
+ "transactionHash",
10647
+ "signedTransaction",
10648
+ "observation",
10649
+ "receipt",
10650
+ "cause",
10651
+ "serviceCode",
10652
+ "error"
10653
+ ]
10654
+ }],
10655
+ "x-tag": "kind"
10656
+ }
10657
+ }
10658
+ ],
10659
+ "dev_setBlockTimeStep": [
10660
+ {
10661
+ "code": -32602,
10662
+ "schema": {
10663
+ "oneOf": [{
10664
+ "properties": {
10665
+ "kind": {
10666
+ "const": "invalidParams",
10667
+ "type": "string"
10668
+ },
10669
+ "path": {
10670
+ "pattern": "^(?:/(?:[^~/]|~[01])*)*(?![\\s\\S])",
10671
+ "type": "string"
10672
+ },
10673
+ "reason": { "type": "string" }
10674
+ },
10675
+ "required": ["kind"],
10676
+ "type": "object",
10677
+ "x-forbidden": [
10678
+ "admission",
10679
+ "transactionHash",
10680
+ "signedTransaction",
10681
+ "observation",
10682
+ "receipt",
10683
+ "cause",
10684
+ "serviceCode",
10685
+ "error"
10686
+ ]
10687
+ }],
10688
+ "x-tag": "kind"
10689
+ }
10690
+ },
10691
+ {
10692
+ "code": -32050,
10693
+ "schema": {
10694
+ "oneOf": [{
10695
+ "properties": {
10696
+ "admission": {
10697
+ "enum": [
10698
+ "notAttempted",
10699
+ "rejected",
10700
+ "unknown"
10701
+ ],
10702
+ "type": "string"
10703
+ },
10704
+ "error": {
10705
+ "properties": {
10706
+ "code": {
10707
+ "maximum": 2147483647,
10708
+ "minimum": -2147483648,
10709
+ "type": "integer"
10710
+ },
10711
+ "source": {
10712
+ "anyOf": [{
10713
+ "enum": [
10714
+ "auth",
10715
+ "scheduler",
10716
+ "executor",
10717
+ "other"
10718
+ ],
10719
+ "type": "string"
10720
+ }],
10721
+ "x-extensible": true
10722
+ }
10723
+ },
10724
+ "required": ["source", "code"],
10725
+ "type": "object"
10726
+ },
10727
+ "kind": {
10728
+ "const": "backendUnavailable",
10729
+ "type": "string"
10730
+ },
10731
+ "retryAfterMs": {
10732
+ "maxLength": 20,
10733
+ "pattern": "^(0|[1-9][0-9]*)(?![\\s\\S])",
10734
+ "type": "string",
10735
+ "x-integer-maximum": "18446744073709551615",
10736
+ "x-integer-minimum": "0"
10737
+ },
10738
+ "serviceCode": {
10739
+ "maxLength": 128,
10740
+ "minLength": 1,
10741
+ "type": "string"
10742
+ },
10743
+ "transactionHash": {
10744
+ "maxLength": 45,
10745
+ "minLength": 32,
10746
+ "pattern": "^[1-9A-HJ-NP-Za-km-z]+$",
10747
+ "type": "string",
10748
+ "x-base58-bytes": 32
10749
+ }
10750
+ },
10751
+ "required": ["kind"],
10752
+ "type": "object",
10753
+ "x-forbidden": [
10754
+ "admission",
10755
+ "transactionHash",
10756
+ "signedTransaction",
10757
+ "observation",
10758
+ "receipt",
10759
+ "cause",
10760
+ "serviceCode",
10761
+ "error"
10762
+ ]
10763
+ }],
10764
+ "x-tag": "kind"
10765
+ }
10766
+ },
10767
+ {
10768
+ "code": -32051,
10769
+ "schema": {
10770
+ "oneOf": [{
10771
+ "properties": {
10772
+ "admission": {
10773
+ "enum": [
10774
+ "notAttempted",
10775
+ "rejected",
10776
+ "unknown"
10777
+ ],
10778
+ "type": "string"
10779
+ },
10780
+ "kind": {
10781
+ "const": "backendTimeout",
10782
+ "type": "string"
10783
+ },
10784
+ "retryAfterMs": {
10785
+ "maxLength": 20,
10786
+ "pattern": "^(0|[1-9][0-9]*)(?![\\s\\S])",
10787
+ "type": "string",
10788
+ "x-integer-maximum": "18446744073709551615",
10789
+ "x-integer-minimum": "0"
10790
+ },
10791
+ "transactionHash": {
10792
+ "maxLength": 45,
10793
+ "minLength": 32,
10794
+ "pattern": "^[1-9A-HJ-NP-Za-km-z]+$",
10795
+ "type": "string",
10796
+ "x-base58-bytes": 32
10797
+ }
10798
+ },
10799
+ "required": ["kind"],
10800
+ "type": "object",
10801
+ "x-forbidden": [
10802
+ "admission",
10803
+ "transactionHash",
10804
+ "signedTransaction",
10805
+ "observation",
10806
+ "receipt",
10807
+ "cause",
10808
+ "serviceCode",
10809
+ "error"
10810
+ ]
10811
+ }],
10812
+ "x-tag": "kind"
10813
+ }
10814
+ },
10815
+ {
10816
+ "code": -32053,
10817
+ "schema": {
10818
+ "oneOf": [{
10819
+ "properties": {
10820
+ "admission": {
10821
+ "enum": [
10822
+ "notAttempted",
10823
+ "rejected",
10824
+ "unknown"
10825
+ ],
10826
+ "type": "string"
10827
+ },
10828
+ "error": {
10829
+ "properties": {
10830
+ "code": {
10831
+ "maximum": 2147483647,
10832
+ "minimum": -2147483648,
10833
+ "type": "integer"
10834
+ },
10835
+ "source": {
10836
+ "anyOf": [{
10837
+ "enum": [
10838
+ "auth",
10839
+ "scheduler",
10840
+ "executor",
10841
+ "other"
10842
+ ],
10843
+ "type": "string"
10844
+ }],
10845
+ "x-extensible": true
10846
+ }
10847
+ },
10848
+ "required": ["source", "code"],
10849
+ "type": "object"
10850
+ },
10851
+ "kind": {
10852
+ "const": "overloaded",
10853
+ "type": "string"
10854
+ },
10855
+ "retryAfterMs": {
10856
+ "maxLength": 20,
10857
+ "pattern": "^(0|[1-9][0-9]*)(?![\\s\\S])",
10858
+ "type": "string",
10859
+ "x-integer-maximum": "18446744073709551615",
10860
+ "x-integer-minimum": "0"
10861
+ },
10862
+ "transactionHash": {
10863
+ "maxLength": 45,
10864
+ "minLength": 32,
10865
+ "pattern": "^[1-9A-HJ-NP-Za-km-z]+$",
10866
+ "type": "string",
10867
+ "x-base58-bytes": 32
10868
+ }
10869
+ },
10870
+ "required": ["kind"],
10871
+ "type": "object",
10872
+ "x-forbidden": [
10873
+ "admission",
10874
+ "transactionHash",
10875
+ "signedTransaction",
10876
+ "observation",
10877
+ "receipt",
10878
+ "cause",
10879
+ "serviceCode",
10880
+ "error"
10881
+ ]
10882
+ }],
10883
+ "x-tag": "kind"
10884
+ }
10885
+ },
10886
+ {
10887
+ "code": -32054,
10888
+ "schema": {
10889
+ "oneOf": [{
10890
+ "properties": {
10891
+ "admission": {
10892
+ "enum": [
10893
+ "notAttempted",
10894
+ "rejected",
10895
+ "unknown"
10896
+ ],
10897
+ "type": "string"
10898
+ },
10899
+ "kind": {
10900
+ "const": "backendDataInvalid",
10901
+ "type": "string"
10902
+ },
10903
+ "observation": {
10904
+ "properties": {
10905
+ "blockHeight": {
10906
+ "maxLength": 19,
10907
+ "pattern": "^(0|[1-9][0-9]*)(?![\\s\\S])",
10908
+ "type": "string",
10909
+ "x-integer-maximum": "9223372036854775807",
10910
+ "x-integer-minimum": "0"
10911
+ },
10912
+ "transactionHash": {
10913
+ "maxLength": 45,
10914
+ "minLength": 32,
10915
+ "pattern": "^[1-9A-HJ-NP-Za-km-z]+$",
10916
+ "type": "string",
10917
+ "x-base58-bytes": 32
10918
+ }
10919
+ },
10920
+ "required": ["transactionHash", "blockHeight"],
10921
+ "type": "object"
10922
+ },
10923
+ "reason": { "type": "string" },
10924
+ "transactionHash": {
10925
+ "maxLength": 45,
10926
+ "minLength": 32,
10927
+ "pattern": "^[1-9A-HJ-NP-Za-km-z]+$",
10928
+ "type": "string",
10929
+ "x-base58-bytes": 32
10930
+ }
10931
+ },
10932
+ "required": ["kind"],
10933
+ "type": "object",
10934
+ "x-forbidden": [
10935
+ "admission",
10936
+ "transactionHash",
10937
+ "signedTransaction",
10938
+ "observation",
10939
+ "receipt",
10940
+ "cause",
10941
+ "serviceCode",
10942
+ "error"
10943
+ ]
10944
+ }],
10945
+ "x-tag": "kind"
10946
+ }
10947
+ }
10948
+ ],
10949
+ "dev_setBlockDriver": [
10950
+ {
10951
+ "code": -32602,
10952
+ "schema": {
10953
+ "oneOf": [{
10954
+ "properties": {
10955
+ "kind": {
10956
+ "const": "invalidParams",
10957
+ "type": "string"
10958
+ },
10959
+ "path": {
10960
+ "pattern": "^(?:/(?:[^~/]|~[01])*)*(?![\\s\\S])",
10961
+ "type": "string"
10962
+ },
10963
+ "reason": { "type": "string" }
10964
+ },
10965
+ "required": ["kind"],
10966
+ "type": "object",
10967
+ "x-forbidden": [
10968
+ "admission",
10969
+ "transactionHash",
10970
+ "signedTransaction",
10971
+ "observation",
10972
+ "receipt",
10973
+ "cause",
10974
+ "serviceCode",
10975
+ "error"
10976
+ ]
10977
+ }],
10978
+ "x-tag": "kind"
10979
+ }
10980
+ },
10981
+ {
10982
+ "code": -32050,
10983
+ "schema": {
10984
+ "oneOf": [{
10985
+ "properties": {
10986
+ "admission": {
10987
+ "enum": [
10988
+ "notAttempted",
10989
+ "rejected",
10990
+ "unknown"
10991
+ ],
10992
+ "type": "string"
10993
+ },
10994
+ "error": {
10995
+ "properties": {
10996
+ "code": {
10997
+ "maximum": 2147483647,
10998
+ "minimum": -2147483648,
10999
+ "type": "integer"
11000
+ },
11001
+ "source": {
11002
+ "anyOf": [{
11003
+ "enum": [
11004
+ "auth",
11005
+ "scheduler",
11006
+ "executor",
11007
+ "other"
11008
+ ],
11009
+ "type": "string"
11010
+ }],
11011
+ "x-extensible": true
11012
+ }
11013
+ },
11014
+ "required": ["source", "code"],
11015
+ "type": "object"
11016
+ },
11017
+ "kind": {
11018
+ "const": "backendUnavailable",
11019
+ "type": "string"
11020
+ },
11021
+ "retryAfterMs": {
11022
+ "maxLength": 20,
11023
+ "pattern": "^(0|[1-9][0-9]*)(?![\\s\\S])",
11024
+ "type": "string",
11025
+ "x-integer-maximum": "18446744073709551615",
11026
+ "x-integer-minimum": "0"
11027
+ },
11028
+ "serviceCode": {
11029
+ "maxLength": 128,
11030
+ "minLength": 1,
11031
+ "type": "string"
11032
+ },
11033
+ "transactionHash": {
11034
+ "maxLength": 45,
11035
+ "minLength": 32,
11036
+ "pattern": "^[1-9A-HJ-NP-Za-km-z]+$",
11037
+ "type": "string",
11038
+ "x-base58-bytes": 32
11039
+ }
11040
+ },
11041
+ "required": ["kind"],
11042
+ "type": "object",
11043
+ "x-forbidden": [
11044
+ "admission",
11045
+ "transactionHash",
11046
+ "signedTransaction",
11047
+ "observation",
11048
+ "receipt",
11049
+ "cause",
11050
+ "serviceCode",
11051
+ "error"
11052
+ ]
11053
+ }],
11054
+ "x-tag": "kind"
11055
+ }
11056
+ },
11057
+ {
11058
+ "code": -32051,
11059
+ "schema": {
11060
+ "oneOf": [{
11061
+ "properties": {
11062
+ "admission": {
11063
+ "enum": [
11064
+ "notAttempted",
11065
+ "rejected",
11066
+ "unknown"
11067
+ ],
11068
+ "type": "string"
11069
+ },
11070
+ "kind": {
11071
+ "const": "backendTimeout",
11072
+ "type": "string"
11073
+ },
11074
+ "retryAfterMs": {
11075
+ "maxLength": 20,
11076
+ "pattern": "^(0|[1-9][0-9]*)(?![\\s\\S])",
11077
+ "type": "string",
11078
+ "x-integer-maximum": "18446744073709551615",
11079
+ "x-integer-minimum": "0"
11080
+ },
11081
+ "transactionHash": {
11082
+ "maxLength": 45,
11083
+ "minLength": 32,
11084
+ "pattern": "^[1-9A-HJ-NP-Za-km-z]+$",
11085
+ "type": "string",
11086
+ "x-base58-bytes": 32
11087
+ }
11088
+ },
11089
+ "required": ["kind"],
11090
+ "type": "object",
11091
+ "x-forbidden": [
11092
+ "admission",
11093
+ "transactionHash",
11094
+ "signedTransaction",
11095
+ "observation",
11096
+ "receipt",
11097
+ "cause",
11098
+ "serviceCode",
11099
+ "error"
11100
+ ]
11101
+ }],
11102
+ "x-tag": "kind"
11103
+ }
11104
+ }
9311
11105
  ]
9312
11106
  }
9313
11107
  };
@@ -9427,10 +11221,12 @@ function convert(s, value, encode, path) {
9427
11221
  if (s["x-integer-minimum"] !== void 0) {
9428
11222
  const minimum = BigInt(s["x-integer-minimum"]);
9429
11223
  const maximum = BigInt(s["x-integer-maximum"]);
11224
+ const allowed = (text) => s.pattern === void 0 || matches(s.pattern, text);
9430
11225
  if (encode) {
9431
- if (typeof value !== "bigint" || value < minimum || value > maximum) return fail();
11226
+ if (typeof value !== "bigint" || value < minimum || value > maximum || !allowed(value.toString())) return fail();
9432
11227
  return value.toString();
9433
11228
  }
11229
+ if (typeof value === "string" && !allowed(value)) return fail();
9434
11230
  try {
9435
11231
  return parseDecimal(value, path, minimum, maximum);
9436
11232
  } catch {
@@ -9563,4 +11359,4 @@ Object.defineProperty(exports, "serializeU64", {
9563
11359
  }
9564
11360
  });
9565
11361
 
9566
- //# sourceMappingURL=codec-C3OlYm98.cjs.map
11362
+ //# sourceMappingURL=codec-BcK8ASsg.cjs.map