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