@thruputchain/client 0.26.0 → 0.27.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 +41 -11
  2. package/dist/{actions-QHgiCqT6.js → actions-1LmkZcfS.js} +6 -6
  3. package/dist/{actions-QHgiCqT6.js.map → actions-1LmkZcfS.js.map} +1 -1
  4. package/dist/{actions-CXx6qzsv.cjs → actions-DK_XBeVy.cjs} +6 -6
  5. package/dist/{actions-CXx6qzsv.cjs.map → actions-DK_XBeVy.cjs.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-DocSdzOL.d.cts} +48 -4
  11. package/dist/client-DocSdzOL.d.cts.map +1 -0
  12. package/dist/{client-JixxskeH.d.cts → client-DocSdzOL.d.ts} +48 -4
  13. package/dist/client-DocSdzOL.d.ts.map +1 -0
  14. package/dist/{codec-BHKoSaOP.js → codec-BOjoJjC5.js} +1485 -3
  15. package/dist/{codec-BHKoSaOP.js.map → codec-BOjoJjC5.js.map} +1 -1
  16. package/dist/{codec-C3OlYm98.cjs → codec-C4LJ0g8v.cjs} +1485 -3
  17. package/dist/{codec-C3OlYm98.cjs.map → codec-C4LJ0g8v.cjs.map} +1 -1
  18. package/dist/{contract-DzvyyFCI.js → contract-Cu8Qv94_.js} +2 -2
  19. package/dist/contract-Cu8Qv94_.js.map +1 -0
  20. package/dist/{contract-C7T2H2Oi.cjs → contract-DPm2BJTu.cjs} +2 -2
  21. package/dist/contract-DPm2BJTu.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-CSMA1PCt.js → dev_wallet-B5R5JJaw.js} +2 -2
  31. package/dist/{dev_wallet-CSMA1PCt.js.map → dev_wallet-B5R5JJaw.js.map} +1 -1
  32. package/dist/{dev_wallet-GX-NCAFk.cjs → dev_wallet-BcvX_xT4.cjs} +2 -2
  33. package/dist/{dev_wallet-GX-NCAFk.cjs.map → dev_wallet-BcvX_xT4.cjs.map} +1 -1
  34. package/dist/{execution-DYqPDn4O.d.cts → execution-C8oQgpO3.d.cts} +3 -3
  35. package/dist/{execution-DYqPDn4O.d.cts.map → execution-C8oQgpO3.d.cts.map} +1 -1
  36. package/dist/{execution-Dj6E4B_b.d.ts → execution-DsZzqv_C.d.ts} +3 -3
  37. package/dist/{execution-Dj6E4B_b.d.ts.map → execution-DsZzqv_C.d.ts.map} +1 -1
  38. package/dist/{index-CG2WRtGa.d.cts → index-BmQN3jAS.d.cts} +2 -2
  39. package/dist/{index-CG2WRtGa.d.cts.map → index-BmQN3jAS.d.cts.map} +1 -1
  40. package/dist/{index-BraLWObY.d.cts → index-C3qDR1J5.d.cts} +2 -2
  41. package/dist/{index-BraLWObY.d.cts.map → index-C3qDR1J5.d.cts.map} +1 -1
  42. package/dist/{index-SV-inhhO.d.ts → index-CHnfHuQo.d.ts} +4 -4
  43. package/dist/{index-SV-inhhO.d.ts.map → index-CHnfHuQo.d.ts.map} +1 -1
  44. package/dist/{index-dJ65V8se.d.ts → index-CKqC9N4o.d.ts} +4 -4
  45. package/dist/{index-dJ65V8se.d.ts.map → index-CKqC9N4o.d.ts.map} +1 -1
  46. package/dist/{index-1-rFirYe.d.cts → index-CuzB95QT.d.cts} +4 -4
  47. package/dist/{index-1-rFirYe.d.cts.map → index-CuzB95QT.d.cts.map} +1 -1
  48. package/dist/{index-ByvV2UF6.d.ts → index-Zaz-e8Sy.d.ts} +2 -2
  49. package/dist/{index-ByvV2UF6.d.ts.map → index-Zaz-e8Sy.d.ts.map} +1 -1
  50. package/dist/{index-D89ur7mO.d.ts → index-hqEnT64w.d.ts} +2 -2
  51. package/dist/{index-D89ur7mO.d.ts.map → index-hqEnT64w.d.ts.map} +1 -1
  52. package/dist/{index-CVrhB9Dr.d.cts → index-rrP1HJ2Z.d.cts} +4 -4
  53. package/dist/{index-CVrhB9Dr.d.cts.map → index-rrP1HJ2Z.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-Cz3bveZa.cjs} +20 -2
  59. package/dist/readError-Cz3bveZa.cjs.map +1 -0
  60. package/dist/{readError-CZPYcW__.js → readError-Z5zuylri.js} +20 -2
  61. package/dist/readError-Z5zuylri.js.map +1 -0
  62. package/dist/{readViews-DQoaUORa.d.ts → readViews-BvMHbiaF.d.ts} +8 -3
  63. package/dist/{readViews-DQoaUORa.d.ts.map → readViews-BvMHbiaF.d.ts.map} +1 -1
  64. package/dist/{readViews-DJyqc7im.d.cts → readViews-CQOY5v4o.d.cts} +8 -3
  65. package/dist/{readViews-DJyqc7im.d.cts.map → readViews-CQOY5v4o.d.cts.map} +1 -1
  66. package/dist/{sendInvocation-qO8AZcmU.cjs → sendInvocation-8TEMrJ_M.cjs} +5 -5
  67. package/dist/{sendInvocation-qO8AZcmU.cjs.map → sendInvocation-8TEMrJ_M.cjs.map} +1 -1
  68. package/dist/{sendInvocation-BwabRa2N.js → sendInvocation-CkeMyLk1.js} +5 -5
  69. package/dist/{sendInvocation-BwabRa2N.js.map → sendInvocation-CkeMyLk1.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-BDUZhfJn.cjs} +3 -3
  75. package/dist/{signedOp-oqAXEqmE.cjs.map → signedOp-BDUZhfJn.cjs.map} +1 -1
  76. package/dist/{signedOp-C52gOgpR.js → signedOp-Kx8u8_3I.js} +3 -3
  77. package/dist/{signedOp-C52gOgpR.js.map → signedOp-Kx8u8_3I.js.map} +1 -1
  78. package/dist/{signed_op-DX5WuyEh.d.cts → signed_op-BrLxDrDb.d.cts} +3 -3
  79. package/dist/{signed_op-DX5WuyEh.d.cts.map → signed_op-BrLxDrDb.d.cts.map} +1 -1
  80. package/dist/{signed_op-q8KKSm5e.cjs → signed_op-CAcYYRm6.cjs} +2 -2
  81. package/dist/{signed_op-q8KKSm5e.cjs.map → signed_op-CAcYYRm6.cjs.map} +1 -1
  82. package/dist/{signed_op-C4lY_TCc.d.ts → signed_op-DbRq3_Hb.d.ts} +3 -3
  83. package/dist/{signed_op-C4lY_TCc.d.ts.map → signed_op-DbRq3_Hb.d.ts.map} +1 -1
  84. package/dist/{signed_op-BokEDWr-.js → signed_op-Dxn7-lRu.js} +2 -2
  85. package/dist/{signed_op-BokEDWr-.js.map → signed_op-Dxn7-lRu.js.map} +1 -1
  86. package/dist/{transport-tWxKhXUt.cjs → transport-DqlfAsuH.cjs} +3 -3
  87. package/dist/{transport-tWxKhXUt.cjs.map → transport-DqlfAsuH.cjs.map} +1 -1
  88. package/dist/{transport-CBFwAIIv.js → transport-PstrCcBv.js} +3 -3
  89. package/dist/{transport-CBFwAIIv.js.map → transport-PstrCcBv.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-7RELuTkf.js → wallet-5wt9wLG3.js} +3 -3
  95. package/dist/{wallet-7RELuTkf.js.map → wallet-5wt9wLG3.js.map} +1 -1
  96. package/dist/{wallet-T_JazXRc.cjs → wallet-Blh7oas7.cjs} +3 -3
  97. package/dist/{wallet-T_JazXRc.cjs.map → wallet-Blh7oas7.cjs.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" },
@@ -348,11 +386,21 @@ var schema_default = {
348
386
  "minimum": 0,
349
387
  "type": "integer"
350
388
  },
389
+ "maxAuthTokens": {
390
+ "maximum": 4294967295,
391
+ "minimum": 0,
392
+ "type": "integer"
393
+ },
351
394
  "maxBytestringLen": {
352
395
  "maximum": 4294967295,
353
396
  "minimum": 0,
354
397
  "type": "integer"
355
398
  },
399
+ "maxCalldataLen": {
400
+ "maximum": 4294967295,
401
+ "minimum": 0,
402
+ "type": "integer"
403
+ },
356
404
  "maxContractSizeBytes": {
357
405
  "maximum": 4294967295,
358
406
  "minimum": 0,
@@ -368,6 +416,16 @@ var schema_default = {
368
416
  "minimum": 0,
369
417
  "type": "integer"
370
418
  },
419
+ "maxReturnBufferLen": {
420
+ "maximum": 4294967295,
421
+ "minimum": 0,
422
+ "type": "integer"
423
+ },
424
+ "maxRv32ArtifactVersion": {
425
+ "maximum": 4294967295,
426
+ "minimum": 0,
427
+ "type": "integer"
428
+ },
371
429
  "maxRv32CodeBytes": {
372
430
  "maximum": 4294967295,
373
431
  "minimum": 0,
@@ -388,7 +446,12 @@ var schema_default = {
388
446
  "minimum": 0,
389
447
  "type": "integer"
390
448
  },
391
- "maxTxGas": { "$ref": "#/components/schemas/DecimalU64" }
449
+ "maxTxGas": { "$ref": "#/components/schemas/DecimalU64" },
450
+ "minRv32ArtifactVersion": {
451
+ "maximum": 4294967295,
452
+ "minimum": 0,
453
+ "type": "integer"
454
+ }
392
455
  },
393
456
  "type": "object"
394
457
  },
@@ -904,6 +967,28 @@ var schema_default = {
904
967
  "required": ["count"],
905
968
  "type": "object"
906
969
  },
970
+ "ProducedBlock": {
971
+ "properties": {
972
+ "blockHeight": {
973
+ "maxLength": 19,
974
+ "pattern": "^(0|[1-9][0-9]*)(?![\\s\\S])",
975
+ "type": "string",
976
+ "x-integer-maximum": "9223372036854775807",
977
+ "x-integer-minimum": "0"
978
+ },
979
+ "blockTimepoint": { "$ref": "#/components/schemas/DecimalTimePoint" }
980
+ },
981
+ "required": ["blockHeight", "blockTimepoint"],
982
+ "type": "object"
983
+ },
984
+ "ProducedBlocks": {
985
+ "properties": { "blocks": {
986
+ "items": { "$ref": "#/components/schemas/ProducedBlock" },
987
+ "type": "array"
988
+ } },
989
+ "required": ["blocks"],
990
+ "type": "object"
991
+ },
907
992
  "PublicKey": {
908
993
  "anyOf": [{
909
994
  "properties": {
@@ -1958,6 +2043,84 @@ var schema_default = {
1958
2043
  },
1959
2044
  "result": { "$ref": "#/components/schemas/PendingTransactionCount" },
1960
2045
  "paged": false
2046
+ },
2047
+ "dev_produceBlock": {
2048
+ "params": {
2049
+ "type": "object",
2050
+ "additionalProperties": false,
2051
+ "properties": { "blockTimepoint": { "$ref": "#/components/schemas/DecimalTimePoint" } },
2052
+ "required": []
2053
+ },
2054
+ "result": { "$ref": "#/components/schemas/ProducedBlock" },
2055
+ "paged": false
2056
+ },
2057
+ "dev_produceBlocks": {
2058
+ "params": {
2059
+ "type": "object",
2060
+ "additionalProperties": false,
2061
+ "properties": {
2062
+ "count": {
2063
+ "maximum": 1e3,
2064
+ "minimum": 1,
2065
+ "type": "integer"
2066
+ },
2067
+ "intervalNanoseconds": {
2068
+ "maxLength": 20,
2069
+ "pattern": "^(0|[1-9][0-9]*)(?![\\s\\S])",
2070
+ "type": "string",
2071
+ "x-integer-maximum": "18446744073709551615",
2072
+ "x-integer-minimum": "0"
2073
+ }
2074
+ },
2075
+ "required": ["count"]
2076
+ },
2077
+ "result": { "$ref": "#/components/schemas/ProducedBlocks" },
2078
+ "paged": false
2079
+ },
2080
+ "dev_setNextBlockTimepoint": {
2081
+ "params": {
2082
+ "type": "object",
2083
+ "additionalProperties": false,
2084
+ "properties": { "blockTimepoint": { "$ref": "#/components/schemas/DecimalTimePoint" } },
2085
+ "required": ["blockTimepoint"]
2086
+ },
2087
+ "result": { "$ref": "#/components/schemas/BlockClock" },
2088
+ "paged": false
2089
+ },
2090
+ "dev_increaseTime": {
2091
+ "params": {
2092
+ "type": "object",
2093
+ "additionalProperties": false,
2094
+ "properties": { "nanoseconds": {
2095
+ "maxLength": 20,
2096
+ "pattern": "^(0|[1-9][0-9]*)(?![\\s\\S])",
2097
+ "type": "string",
2098
+ "x-integer-maximum": "18446744073709551615",
2099
+ "x-integer-minimum": "0"
2100
+ } },
2101
+ "required": ["nanoseconds"]
2102
+ },
2103
+ "result": { "$ref": "#/components/schemas/BlockClock" },
2104
+ "paged": false
2105
+ },
2106
+ "dev_setBlockDriver": {
2107
+ "params": {
2108
+ "type": "object",
2109
+ "additionalProperties": false,
2110
+ "properties": {
2111
+ "mode": { "$ref": "#/components/schemas/BlockDriverMode" },
2112
+ "intervalMilliseconds": {
2113
+ "maxLength": 20,
2114
+ "pattern": "^[1-9][0-9]*(?![\\s\\S])",
2115
+ "type": "string",
2116
+ "x-integer-maximum": "18446744073709551615",
2117
+ "x-integer-minimum": "0"
2118
+ }
2119
+ },
2120
+ "required": ["mode"]
2121
+ },
2122
+ "result": { "$ref": "#/components/schemas/BlockDriverStatus" },
2123
+ "paged": false
1961
2124
  }
1962
2125
  },
1963
2126
  errors: {
@@ -9307,6 +9470,1323 @@ var schema_default = {
9307
9470
  "x-tag": "kind"
9308
9471
  }
9309
9472
  }
9473
+ ],
9474
+ "dev_produceBlock": [
9475
+ {
9476
+ "code": -32602,
9477
+ "schema": {
9478
+ "oneOf": [{
9479
+ "properties": {
9480
+ "kind": {
9481
+ "const": "invalidParams",
9482
+ "type": "string"
9483
+ },
9484
+ "path": {
9485
+ "pattern": "^(?:/(?:[^~/]|~[01])*)*(?![\\s\\S])",
9486
+ "type": "string"
9487
+ },
9488
+ "reason": { "type": "string" }
9489
+ },
9490
+ "required": ["kind"],
9491
+ "type": "object",
9492
+ "x-forbidden": [
9493
+ "admission",
9494
+ "transactionHash",
9495
+ "signedTransaction",
9496
+ "observation",
9497
+ "receipt",
9498
+ "cause",
9499
+ "serviceCode",
9500
+ "error"
9501
+ ]
9502
+ }],
9503
+ "x-tag": "kind"
9504
+ }
9505
+ },
9506
+ {
9507
+ "code": -32050,
9508
+ "schema": {
9509
+ "oneOf": [{
9510
+ "properties": {
9511
+ "admission": {
9512
+ "enum": [
9513
+ "notAttempted",
9514
+ "rejected",
9515
+ "unknown"
9516
+ ],
9517
+ "type": "string"
9518
+ },
9519
+ "error": {
9520
+ "properties": {
9521
+ "code": {
9522
+ "maximum": 2147483647,
9523
+ "minimum": -2147483648,
9524
+ "type": "integer"
9525
+ },
9526
+ "source": {
9527
+ "anyOf": [{
9528
+ "enum": [
9529
+ "auth",
9530
+ "scheduler",
9531
+ "executor",
9532
+ "other"
9533
+ ],
9534
+ "type": "string"
9535
+ }],
9536
+ "x-extensible": true
9537
+ }
9538
+ },
9539
+ "required": ["source", "code"],
9540
+ "type": "object"
9541
+ },
9542
+ "kind": {
9543
+ "const": "backendUnavailable",
9544
+ "type": "string"
9545
+ },
9546
+ "retryAfterMs": {
9547
+ "maxLength": 20,
9548
+ "pattern": "^(0|[1-9][0-9]*)(?![\\s\\S])",
9549
+ "type": "string",
9550
+ "x-integer-maximum": "18446744073709551615",
9551
+ "x-integer-minimum": "0"
9552
+ },
9553
+ "serviceCode": {
9554
+ "maxLength": 128,
9555
+ "minLength": 1,
9556
+ "type": "string"
9557
+ },
9558
+ "transactionHash": {
9559
+ "maxLength": 45,
9560
+ "minLength": 32,
9561
+ "pattern": "^[1-9A-HJ-NP-Za-km-z]+$",
9562
+ "type": "string",
9563
+ "x-base58-bytes": 32
9564
+ }
9565
+ },
9566
+ "required": ["kind"],
9567
+ "type": "object",
9568
+ "x-forbidden": [
9569
+ "admission",
9570
+ "transactionHash",
9571
+ "signedTransaction",
9572
+ "observation",
9573
+ "receipt",
9574
+ "cause",
9575
+ "serviceCode",
9576
+ "error"
9577
+ ]
9578
+ }],
9579
+ "x-tag": "kind"
9580
+ }
9581
+ },
9582
+ {
9583
+ "code": -32051,
9584
+ "schema": {
9585
+ "oneOf": [{
9586
+ "properties": {
9587
+ "admission": {
9588
+ "enum": [
9589
+ "notAttempted",
9590
+ "rejected",
9591
+ "unknown"
9592
+ ],
9593
+ "type": "string"
9594
+ },
9595
+ "kind": {
9596
+ "const": "backendTimeout",
9597
+ "type": "string"
9598
+ },
9599
+ "retryAfterMs": {
9600
+ "maxLength": 20,
9601
+ "pattern": "^(0|[1-9][0-9]*)(?![\\s\\S])",
9602
+ "type": "string",
9603
+ "x-integer-maximum": "18446744073709551615",
9604
+ "x-integer-minimum": "0"
9605
+ },
9606
+ "transactionHash": {
9607
+ "maxLength": 45,
9608
+ "minLength": 32,
9609
+ "pattern": "^[1-9A-HJ-NP-Za-km-z]+$",
9610
+ "type": "string",
9611
+ "x-base58-bytes": 32
9612
+ }
9613
+ },
9614
+ "required": ["kind"],
9615
+ "type": "object",
9616
+ "x-forbidden": [
9617
+ "admission",
9618
+ "transactionHash",
9619
+ "signedTransaction",
9620
+ "observation",
9621
+ "receipt",
9622
+ "cause",
9623
+ "serviceCode",
9624
+ "error"
9625
+ ]
9626
+ }],
9627
+ "x-tag": "kind"
9628
+ }
9629
+ },
9630
+ {
9631
+ "code": -32053,
9632
+ "schema": {
9633
+ "oneOf": [{
9634
+ "properties": {
9635
+ "admission": {
9636
+ "enum": [
9637
+ "notAttempted",
9638
+ "rejected",
9639
+ "unknown"
9640
+ ],
9641
+ "type": "string"
9642
+ },
9643
+ "error": {
9644
+ "properties": {
9645
+ "code": {
9646
+ "maximum": 2147483647,
9647
+ "minimum": -2147483648,
9648
+ "type": "integer"
9649
+ },
9650
+ "source": {
9651
+ "anyOf": [{
9652
+ "enum": [
9653
+ "auth",
9654
+ "scheduler",
9655
+ "executor",
9656
+ "other"
9657
+ ],
9658
+ "type": "string"
9659
+ }],
9660
+ "x-extensible": true
9661
+ }
9662
+ },
9663
+ "required": ["source", "code"],
9664
+ "type": "object"
9665
+ },
9666
+ "kind": {
9667
+ "const": "overloaded",
9668
+ "type": "string"
9669
+ },
9670
+ "retryAfterMs": {
9671
+ "maxLength": 20,
9672
+ "pattern": "^(0|[1-9][0-9]*)(?![\\s\\S])",
9673
+ "type": "string",
9674
+ "x-integer-maximum": "18446744073709551615",
9675
+ "x-integer-minimum": "0"
9676
+ },
9677
+ "transactionHash": {
9678
+ "maxLength": 45,
9679
+ "minLength": 32,
9680
+ "pattern": "^[1-9A-HJ-NP-Za-km-z]+$",
9681
+ "type": "string",
9682
+ "x-base58-bytes": 32
9683
+ }
9684
+ },
9685
+ "required": ["kind"],
9686
+ "type": "object",
9687
+ "x-forbidden": [
9688
+ "admission",
9689
+ "transactionHash",
9690
+ "signedTransaction",
9691
+ "observation",
9692
+ "receipt",
9693
+ "cause",
9694
+ "serviceCode",
9695
+ "error"
9696
+ ]
9697
+ }],
9698
+ "x-tag": "kind"
9699
+ }
9700
+ },
9701
+ {
9702
+ "code": -32054,
9703
+ "schema": {
9704
+ "oneOf": [{
9705
+ "properties": {
9706
+ "admission": {
9707
+ "enum": [
9708
+ "notAttempted",
9709
+ "rejected",
9710
+ "unknown"
9711
+ ],
9712
+ "type": "string"
9713
+ },
9714
+ "kind": {
9715
+ "const": "backendDataInvalid",
9716
+ "type": "string"
9717
+ },
9718
+ "observation": {
9719
+ "properties": {
9720
+ "blockHeight": {
9721
+ "maxLength": 19,
9722
+ "pattern": "^(0|[1-9][0-9]*)(?![\\s\\S])",
9723
+ "type": "string",
9724
+ "x-integer-maximum": "9223372036854775807",
9725
+ "x-integer-minimum": "0"
9726
+ },
9727
+ "transactionHash": {
9728
+ "maxLength": 45,
9729
+ "minLength": 32,
9730
+ "pattern": "^[1-9A-HJ-NP-Za-km-z]+$",
9731
+ "type": "string",
9732
+ "x-base58-bytes": 32
9733
+ }
9734
+ },
9735
+ "required": ["transactionHash", "blockHeight"],
9736
+ "type": "object"
9737
+ },
9738
+ "reason": { "type": "string" },
9739
+ "transactionHash": {
9740
+ "maxLength": 45,
9741
+ "minLength": 32,
9742
+ "pattern": "^[1-9A-HJ-NP-Za-km-z]+$",
9743
+ "type": "string",
9744
+ "x-base58-bytes": 32
9745
+ }
9746
+ },
9747
+ "required": ["kind"],
9748
+ "type": "object",
9749
+ "x-forbidden": [
9750
+ "admission",
9751
+ "transactionHash",
9752
+ "signedTransaction",
9753
+ "observation",
9754
+ "receipt",
9755
+ "cause",
9756
+ "serviceCode",
9757
+ "error"
9758
+ ]
9759
+ }],
9760
+ "x-tag": "kind"
9761
+ }
9762
+ }
9763
+ ],
9764
+ "dev_produceBlocks": [
9765
+ {
9766
+ "code": -32602,
9767
+ "schema": {
9768
+ "oneOf": [{
9769
+ "properties": {
9770
+ "kind": {
9771
+ "const": "invalidParams",
9772
+ "type": "string"
9773
+ },
9774
+ "path": {
9775
+ "pattern": "^(?:/(?:[^~/]|~[01])*)*(?![\\s\\S])",
9776
+ "type": "string"
9777
+ },
9778
+ "reason": { "type": "string" }
9779
+ },
9780
+ "required": ["kind"],
9781
+ "type": "object",
9782
+ "x-forbidden": [
9783
+ "admission",
9784
+ "transactionHash",
9785
+ "signedTransaction",
9786
+ "observation",
9787
+ "receipt",
9788
+ "cause",
9789
+ "serviceCode",
9790
+ "error"
9791
+ ]
9792
+ }],
9793
+ "x-tag": "kind"
9794
+ }
9795
+ },
9796
+ {
9797
+ "code": -32050,
9798
+ "schema": {
9799
+ "oneOf": [{
9800
+ "properties": {
9801
+ "admission": {
9802
+ "enum": [
9803
+ "notAttempted",
9804
+ "rejected",
9805
+ "unknown"
9806
+ ],
9807
+ "type": "string"
9808
+ },
9809
+ "error": {
9810
+ "properties": {
9811
+ "code": {
9812
+ "maximum": 2147483647,
9813
+ "minimum": -2147483648,
9814
+ "type": "integer"
9815
+ },
9816
+ "source": {
9817
+ "anyOf": [{
9818
+ "enum": [
9819
+ "auth",
9820
+ "scheduler",
9821
+ "executor",
9822
+ "other"
9823
+ ],
9824
+ "type": "string"
9825
+ }],
9826
+ "x-extensible": true
9827
+ }
9828
+ },
9829
+ "required": ["source", "code"],
9830
+ "type": "object"
9831
+ },
9832
+ "kind": {
9833
+ "const": "backendUnavailable",
9834
+ "type": "string"
9835
+ },
9836
+ "retryAfterMs": {
9837
+ "maxLength": 20,
9838
+ "pattern": "^(0|[1-9][0-9]*)(?![\\s\\S])",
9839
+ "type": "string",
9840
+ "x-integer-maximum": "18446744073709551615",
9841
+ "x-integer-minimum": "0"
9842
+ },
9843
+ "serviceCode": {
9844
+ "maxLength": 128,
9845
+ "minLength": 1,
9846
+ "type": "string"
9847
+ },
9848
+ "transactionHash": {
9849
+ "maxLength": 45,
9850
+ "minLength": 32,
9851
+ "pattern": "^[1-9A-HJ-NP-Za-km-z]+$",
9852
+ "type": "string",
9853
+ "x-base58-bytes": 32
9854
+ }
9855
+ },
9856
+ "required": ["kind"],
9857
+ "type": "object",
9858
+ "x-forbidden": [
9859
+ "admission",
9860
+ "transactionHash",
9861
+ "signedTransaction",
9862
+ "observation",
9863
+ "receipt",
9864
+ "cause",
9865
+ "serviceCode",
9866
+ "error"
9867
+ ]
9868
+ }],
9869
+ "x-tag": "kind"
9870
+ }
9871
+ },
9872
+ {
9873
+ "code": -32051,
9874
+ "schema": {
9875
+ "oneOf": [{
9876
+ "properties": {
9877
+ "admission": {
9878
+ "enum": [
9879
+ "notAttempted",
9880
+ "rejected",
9881
+ "unknown"
9882
+ ],
9883
+ "type": "string"
9884
+ },
9885
+ "kind": {
9886
+ "const": "backendTimeout",
9887
+ "type": "string"
9888
+ },
9889
+ "retryAfterMs": {
9890
+ "maxLength": 20,
9891
+ "pattern": "^(0|[1-9][0-9]*)(?![\\s\\S])",
9892
+ "type": "string",
9893
+ "x-integer-maximum": "18446744073709551615",
9894
+ "x-integer-minimum": "0"
9895
+ },
9896
+ "transactionHash": {
9897
+ "maxLength": 45,
9898
+ "minLength": 32,
9899
+ "pattern": "^[1-9A-HJ-NP-Za-km-z]+$",
9900
+ "type": "string",
9901
+ "x-base58-bytes": 32
9902
+ }
9903
+ },
9904
+ "required": ["kind"],
9905
+ "type": "object",
9906
+ "x-forbidden": [
9907
+ "admission",
9908
+ "transactionHash",
9909
+ "signedTransaction",
9910
+ "observation",
9911
+ "receipt",
9912
+ "cause",
9913
+ "serviceCode",
9914
+ "error"
9915
+ ]
9916
+ }],
9917
+ "x-tag": "kind"
9918
+ }
9919
+ },
9920
+ {
9921
+ "code": -32053,
9922
+ "schema": {
9923
+ "oneOf": [{
9924
+ "properties": {
9925
+ "admission": {
9926
+ "enum": [
9927
+ "notAttempted",
9928
+ "rejected",
9929
+ "unknown"
9930
+ ],
9931
+ "type": "string"
9932
+ },
9933
+ "error": {
9934
+ "properties": {
9935
+ "code": {
9936
+ "maximum": 2147483647,
9937
+ "minimum": -2147483648,
9938
+ "type": "integer"
9939
+ },
9940
+ "source": {
9941
+ "anyOf": [{
9942
+ "enum": [
9943
+ "auth",
9944
+ "scheduler",
9945
+ "executor",
9946
+ "other"
9947
+ ],
9948
+ "type": "string"
9949
+ }],
9950
+ "x-extensible": true
9951
+ }
9952
+ },
9953
+ "required": ["source", "code"],
9954
+ "type": "object"
9955
+ },
9956
+ "kind": {
9957
+ "const": "overloaded",
9958
+ "type": "string"
9959
+ },
9960
+ "retryAfterMs": {
9961
+ "maxLength": 20,
9962
+ "pattern": "^(0|[1-9][0-9]*)(?![\\s\\S])",
9963
+ "type": "string",
9964
+ "x-integer-maximum": "18446744073709551615",
9965
+ "x-integer-minimum": "0"
9966
+ },
9967
+ "transactionHash": {
9968
+ "maxLength": 45,
9969
+ "minLength": 32,
9970
+ "pattern": "^[1-9A-HJ-NP-Za-km-z]+$",
9971
+ "type": "string",
9972
+ "x-base58-bytes": 32
9973
+ }
9974
+ },
9975
+ "required": ["kind"],
9976
+ "type": "object",
9977
+ "x-forbidden": [
9978
+ "admission",
9979
+ "transactionHash",
9980
+ "signedTransaction",
9981
+ "observation",
9982
+ "receipt",
9983
+ "cause",
9984
+ "serviceCode",
9985
+ "error"
9986
+ ]
9987
+ }],
9988
+ "x-tag": "kind"
9989
+ }
9990
+ },
9991
+ {
9992
+ "code": -32054,
9993
+ "schema": {
9994
+ "oneOf": [{
9995
+ "properties": {
9996
+ "admission": {
9997
+ "enum": [
9998
+ "notAttempted",
9999
+ "rejected",
10000
+ "unknown"
10001
+ ],
10002
+ "type": "string"
10003
+ },
10004
+ "kind": {
10005
+ "const": "backendDataInvalid",
10006
+ "type": "string"
10007
+ },
10008
+ "observation": {
10009
+ "properties": {
10010
+ "blockHeight": {
10011
+ "maxLength": 19,
10012
+ "pattern": "^(0|[1-9][0-9]*)(?![\\s\\S])",
10013
+ "type": "string",
10014
+ "x-integer-maximum": "9223372036854775807",
10015
+ "x-integer-minimum": "0"
10016
+ },
10017
+ "transactionHash": {
10018
+ "maxLength": 45,
10019
+ "minLength": 32,
10020
+ "pattern": "^[1-9A-HJ-NP-Za-km-z]+$",
10021
+ "type": "string",
10022
+ "x-base58-bytes": 32
10023
+ }
10024
+ },
10025
+ "required": ["transactionHash", "blockHeight"],
10026
+ "type": "object"
10027
+ },
10028
+ "reason": { "type": "string" },
10029
+ "transactionHash": {
10030
+ "maxLength": 45,
10031
+ "minLength": 32,
10032
+ "pattern": "^[1-9A-HJ-NP-Za-km-z]+$",
10033
+ "type": "string",
10034
+ "x-base58-bytes": 32
10035
+ }
10036
+ },
10037
+ "required": ["kind"],
10038
+ "type": "object",
10039
+ "x-forbidden": [
10040
+ "admission",
10041
+ "transactionHash",
10042
+ "signedTransaction",
10043
+ "observation",
10044
+ "receipt",
10045
+ "cause",
10046
+ "serviceCode",
10047
+ "error"
10048
+ ]
10049
+ }],
10050
+ "x-tag": "kind"
10051
+ }
10052
+ }
10053
+ ],
10054
+ "dev_setNextBlockTimepoint": [
10055
+ {
10056
+ "code": -32602,
10057
+ "schema": {
10058
+ "oneOf": [{
10059
+ "properties": {
10060
+ "kind": {
10061
+ "const": "invalidParams",
10062
+ "type": "string"
10063
+ },
10064
+ "path": {
10065
+ "pattern": "^(?:/(?:[^~/]|~[01])*)*(?![\\s\\S])",
10066
+ "type": "string"
10067
+ },
10068
+ "reason": { "type": "string" }
10069
+ },
10070
+ "required": ["kind"],
10071
+ "type": "object",
10072
+ "x-forbidden": [
10073
+ "admission",
10074
+ "transactionHash",
10075
+ "signedTransaction",
10076
+ "observation",
10077
+ "receipt",
10078
+ "cause",
10079
+ "serviceCode",
10080
+ "error"
10081
+ ]
10082
+ }],
10083
+ "x-tag": "kind"
10084
+ }
10085
+ },
10086
+ {
10087
+ "code": -32050,
10088
+ "schema": {
10089
+ "oneOf": [{
10090
+ "properties": {
10091
+ "admission": {
10092
+ "enum": [
10093
+ "notAttempted",
10094
+ "rejected",
10095
+ "unknown"
10096
+ ],
10097
+ "type": "string"
10098
+ },
10099
+ "error": {
10100
+ "properties": {
10101
+ "code": {
10102
+ "maximum": 2147483647,
10103
+ "minimum": -2147483648,
10104
+ "type": "integer"
10105
+ },
10106
+ "source": {
10107
+ "anyOf": [{
10108
+ "enum": [
10109
+ "auth",
10110
+ "scheduler",
10111
+ "executor",
10112
+ "other"
10113
+ ],
10114
+ "type": "string"
10115
+ }],
10116
+ "x-extensible": true
10117
+ }
10118
+ },
10119
+ "required": ["source", "code"],
10120
+ "type": "object"
10121
+ },
10122
+ "kind": {
10123
+ "const": "backendUnavailable",
10124
+ "type": "string"
10125
+ },
10126
+ "retryAfterMs": {
10127
+ "maxLength": 20,
10128
+ "pattern": "^(0|[1-9][0-9]*)(?![\\s\\S])",
10129
+ "type": "string",
10130
+ "x-integer-maximum": "18446744073709551615",
10131
+ "x-integer-minimum": "0"
10132
+ },
10133
+ "serviceCode": {
10134
+ "maxLength": 128,
10135
+ "minLength": 1,
10136
+ "type": "string"
10137
+ },
10138
+ "transactionHash": {
10139
+ "maxLength": 45,
10140
+ "minLength": 32,
10141
+ "pattern": "^[1-9A-HJ-NP-Za-km-z]+$",
10142
+ "type": "string",
10143
+ "x-base58-bytes": 32
10144
+ }
10145
+ },
10146
+ "required": ["kind"],
10147
+ "type": "object",
10148
+ "x-forbidden": [
10149
+ "admission",
10150
+ "transactionHash",
10151
+ "signedTransaction",
10152
+ "observation",
10153
+ "receipt",
10154
+ "cause",
10155
+ "serviceCode",
10156
+ "error"
10157
+ ]
10158
+ }],
10159
+ "x-tag": "kind"
10160
+ }
10161
+ },
10162
+ {
10163
+ "code": -32051,
10164
+ "schema": {
10165
+ "oneOf": [{
10166
+ "properties": {
10167
+ "admission": {
10168
+ "enum": [
10169
+ "notAttempted",
10170
+ "rejected",
10171
+ "unknown"
10172
+ ],
10173
+ "type": "string"
10174
+ },
10175
+ "kind": {
10176
+ "const": "backendTimeout",
10177
+ "type": "string"
10178
+ },
10179
+ "retryAfterMs": {
10180
+ "maxLength": 20,
10181
+ "pattern": "^(0|[1-9][0-9]*)(?![\\s\\S])",
10182
+ "type": "string",
10183
+ "x-integer-maximum": "18446744073709551615",
10184
+ "x-integer-minimum": "0"
10185
+ },
10186
+ "transactionHash": {
10187
+ "maxLength": 45,
10188
+ "minLength": 32,
10189
+ "pattern": "^[1-9A-HJ-NP-Za-km-z]+$",
10190
+ "type": "string",
10191
+ "x-base58-bytes": 32
10192
+ }
10193
+ },
10194
+ "required": ["kind"],
10195
+ "type": "object",
10196
+ "x-forbidden": [
10197
+ "admission",
10198
+ "transactionHash",
10199
+ "signedTransaction",
10200
+ "observation",
10201
+ "receipt",
10202
+ "cause",
10203
+ "serviceCode",
10204
+ "error"
10205
+ ]
10206
+ }],
10207
+ "x-tag": "kind"
10208
+ }
10209
+ },
10210
+ {
10211
+ "code": -32053,
10212
+ "schema": {
10213
+ "oneOf": [{
10214
+ "properties": {
10215
+ "admission": {
10216
+ "enum": [
10217
+ "notAttempted",
10218
+ "rejected",
10219
+ "unknown"
10220
+ ],
10221
+ "type": "string"
10222
+ },
10223
+ "error": {
10224
+ "properties": {
10225
+ "code": {
10226
+ "maximum": 2147483647,
10227
+ "minimum": -2147483648,
10228
+ "type": "integer"
10229
+ },
10230
+ "source": {
10231
+ "anyOf": [{
10232
+ "enum": [
10233
+ "auth",
10234
+ "scheduler",
10235
+ "executor",
10236
+ "other"
10237
+ ],
10238
+ "type": "string"
10239
+ }],
10240
+ "x-extensible": true
10241
+ }
10242
+ },
10243
+ "required": ["source", "code"],
10244
+ "type": "object"
10245
+ },
10246
+ "kind": {
10247
+ "const": "overloaded",
10248
+ "type": "string"
10249
+ },
10250
+ "retryAfterMs": {
10251
+ "maxLength": 20,
10252
+ "pattern": "^(0|[1-9][0-9]*)(?![\\s\\S])",
10253
+ "type": "string",
10254
+ "x-integer-maximum": "18446744073709551615",
10255
+ "x-integer-minimum": "0"
10256
+ },
10257
+ "transactionHash": {
10258
+ "maxLength": 45,
10259
+ "minLength": 32,
10260
+ "pattern": "^[1-9A-HJ-NP-Za-km-z]+$",
10261
+ "type": "string",
10262
+ "x-base58-bytes": 32
10263
+ }
10264
+ },
10265
+ "required": ["kind"],
10266
+ "type": "object",
10267
+ "x-forbidden": [
10268
+ "admission",
10269
+ "transactionHash",
10270
+ "signedTransaction",
10271
+ "observation",
10272
+ "receipt",
10273
+ "cause",
10274
+ "serviceCode",
10275
+ "error"
10276
+ ]
10277
+ }],
10278
+ "x-tag": "kind"
10279
+ }
10280
+ },
10281
+ {
10282
+ "code": -32054,
10283
+ "schema": {
10284
+ "oneOf": [{
10285
+ "properties": {
10286
+ "admission": {
10287
+ "enum": [
10288
+ "notAttempted",
10289
+ "rejected",
10290
+ "unknown"
10291
+ ],
10292
+ "type": "string"
10293
+ },
10294
+ "kind": {
10295
+ "const": "backendDataInvalid",
10296
+ "type": "string"
10297
+ },
10298
+ "observation": {
10299
+ "properties": {
10300
+ "blockHeight": {
10301
+ "maxLength": 19,
10302
+ "pattern": "^(0|[1-9][0-9]*)(?![\\s\\S])",
10303
+ "type": "string",
10304
+ "x-integer-maximum": "9223372036854775807",
10305
+ "x-integer-minimum": "0"
10306
+ },
10307
+ "transactionHash": {
10308
+ "maxLength": 45,
10309
+ "minLength": 32,
10310
+ "pattern": "^[1-9A-HJ-NP-Za-km-z]+$",
10311
+ "type": "string",
10312
+ "x-base58-bytes": 32
10313
+ }
10314
+ },
10315
+ "required": ["transactionHash", "blockHeight"],
10316
+ "type": "object"
10317
+ },
10318
+ "reason": { "type": "string" },
10319
+ "transactionHash": {
10320
+ "maxLength": 45,
10321
+ "minLength": 32,
10322
+ "pattern": "^[1-9A-HJ-NP-Za-km-z]+$",
10323
+ "type": "string",
10324
+ "x-base58-bytes": 32
10325
+ }
10326
+ },
10327
+ "required": ["kind"],
10328
+ "type": "object",
10329
+ "x-forbidden": [
10330
+ "admission",
10331
+ "transactionHash",
10332
+ "signedTransaction",
10333
+ "observation",
10334
+ "receipt",
10335
+ "cause",
10336
+ "serviceCode",
10337
+ "error"
10338
+ ]
10339
+ }],
10340
+ "x-tag": "kind"
10341
+ }
10342
+ }
10343
+ ],
10344
+ "dev_increaseTime": [
10345
+ {
10346
+ "code": -32602,
10347
+ "schema": {
10348
+ "oneOf": [{
10349
+ "properties": {
10350
+ "kind": {
10351
+ "const": "invalidParams",
10352
+ "type": "string"
10353
+ },
10354
+ "path": {
10355
+ "pattern": "^(?:/(?:[^~/]|~[01])*)*(?![\\s\\S])",
10356
+ "type": "string"
10357
+ },
10358
+ "reason": { "type": "string" }
10359
+ },
10360
+ "required": ["kind"],
10361
+ "type": "object",
10362
+ "x-forbidden": [
10363
+ "admission",
10364
+ "transactionHash",
10365
+ "signedTransaction",
10366
+ "observation",
10367
+ "receipt",
10368
+ "cause",
10369
+ "serviceCode",
10370
+ "error"
10371
+ ]
10372
+ }],
10373
+ "x-tag": "kind"
10374
+ }
10375
+ },
10376
+ {
10377
+ "code": -32050,
10378
+ "schema": {
10379
+ "oneOf": [{
10380
+ "properties": {
10381
+ "admission": {
10382
+ "enum": [
10383
+ "notAttempted",
10384
+ "rejected",
10385
+ "unknown"
10386
+ ],
10387
+ "type": "string"
10388
+ },
10389
+ "error": {
10390
+ "properties": {
10391
+ "code": {
10392
+ "maximum": 2147483647,
10393
+ "minimum": -2147483648,
10394
+ "type": "integer"
10395
+ },
10396
+ "source": {
10397
+ "anyOf": [{
10398
+ "enum": [
10399
+ "auth",
10400
+ "scheduler",
10401
+ "executor",
10402
+ "other"
10403
+ ],
10404
+ "type": "string"
10405
+ }],
10406
+ "x-extensible": true
10407
+ }
10408
+ },
10409
+ "required": ["source", "code"],
10410
+ "type": "object"
10411
+ },
10412
+ "kind": {
10413
+ "const": "backendUnavailable",
10414
+ "type": "string"
10415
+ },
10416
+ "retryAfterMs": {
10417
+ "maxLength": 20,
10418
+ "pattern": "^(0|[1-9][0-9]*)(?![\\s\\S])",
10419
+ "type": "string",
10420
+ "x-integer-maximum": "18446744073709551615",
10421
+ "x-integer-minimum": "0"
10422
+ },
10423
+ "serviceCode": {
10424
+ "maxLength": 128,
10425
+ "minLength": 1,
10426
+ "type": "string"
10427
+ },
10428
+ "transactionHash": {
10429
+ "maxLength": 45,
10430
+ "minLength": 32,
10431
+ "pattern": "^[1-9A-HJ-NP-Za-km-z]+$",
10432
+ "type": "string",
10433
+ "x-base58-bytes": 32
10434
+ }
10435
+ },
10436
+ "required": ["kind"],
10437
+ "type": "object",
10438
+ "x-forbidden": [
10439
+ "admission",
10440
+ "transactionHash",
10441
+ "signedTransaction",
10442
+ "observation",
10443
+ "receipt",
10444
+ "cause",
10445
+ "serviceCode",
10446
+ "error"
10447
+ ]
10448
+ }],
10449
+ "x-tag": "kind"
10450
+ }
10451
+ },
10452
+ {
10453
+ "code": -32051,
10454
+ "schema": {
10455
+ "oneOf": [{
10456
+ "properties": {
10457
+ "admission": {
10458
+ "enum": [
10459
+ "notAttempted",
10460
+ "rejected",
10461
+ "unknown"
10462
+ ],
10463
+ "type": "string"
10464
+ },
10465
+ "kind": {
10466
+ "const": "backendTimeout",
10467
+ "type": "string"
10468
+ },
10469
+ "retryAfterMs": {
10470
+ "maxLength": 20,
10471
+ "pattern": "^(0|[1-9][0-9]*)(?![\\s\\S])",
10472
+ "type": "string",
10473
+ "x-integer-maximum": "18446744073709551615",
10474
+ "x-integer-minimum": "0"
10475
+ },
10476
+ "transactionHash": {
10477
+ "maxLength": 45,
10478
+ "minLength": 32,
10479
+ "pattern": "^[1-9A-HJ-NP-Za-km-z]+$",
10480
+ "type": "string",
10481
+ "x-base58-bytes": 32
10482
+ }
10483
+ },
10484
+ "required": ["kind"],
10485
+ "type": "object",
10486
+ "x-forbidden": [
10487
+ "admission",
10488
+ "transactionHash",
10489
+ "signedTransaction",
10490
+ "observation",
10491
+ "receipt",
10492
+ "cause",
10493
+ "serviceCode",
10494
+ "error"
10495
+ ]
10496
+ }],
10497
+ "x-tag": "kind"
10498
+ }
10499
+ },
10500
+ {
10501
+ "code": -32053,
10502
+ "schema": {
10503
+ "oneOf": [{
10504
+ "properties": {
10505
+ "admission": {
10506
+ "enum": [
10507
+ "notAttempted",
10508
+ "rejected",
10509
+ "unknown"
10510
+ ],
10511
+ "type": "string"
10512
+ },
10513
+ "error": {
10514
+ "properties": {
10515
+ "code": {
10516
+ "maximum": 2147483647,
10517
+ "minimum": -2147483648,
10518
+ "type": "integer"
10519
+ },
10520
+ "source": {
10521
+ "anyOf": [{
10522
+ "enum": [
10523
+ "auth",
10524
+ "scheduler",
10525
+ "executor",
10526
+ "other"
10527
+ ],
10528
+ "type": "string"
10529
+ }],
10530
+ "x-extensible": true
10531
+ }
10532
+ },
10533
+ "required": ["source", "code"],
10534
+ "type": "object"
10535
+ },
10536
+ "kind": {
10537
+ "const": "overloaded",
10538
+ "type": "string"
10539
+ },
10540
+ "retryAfterMs": {
10541
+ "maxLength": 20,
10542
+ "pattern": "^(0|[1-9][0-9]*)(?![\\s\\S])",
10543
+ "type": "string",
10544
+ "x-integer-maximum": "18446744073709551615",
10545
+ "x-integer-minimum": "0"
10546
+ },
10547
+ "transactionHash": {
10548
+ "maxLength": 45,
10549
+ "minLength": 32,
10550
+ "pattern": "^[1-9A-HJ-NP-Za-km-z]+$",
10551
+ "type": "string",
10552
+ "x-base58-bytes": 32
10553
+ }
10554
+ },
10555
+ "required": ["kind"],
10556
+ "type": "object",
10557
+ "x-forbidden": [
10558
+ "admission",
10559
+ "transactionHash",
10560
+ "signedTransaction",
10561
+ "observation",
10562
+ "receipt",
10563
+ "cause",
10564
+ "serviceCode",
10565
+ "error"
10566
+ ]
10567
+ }],
10568
+ "x-tag": "kind"
10569
+ }
10570
+ },
10571
+ {
10572
+ "code": -32054,
10573
+ "schema": {
10574
+ "oneOf": [{
10575
+ "properties": {
10576
+ "admission": {
10577
+ "enum": [
10578
+ "notAttempted",
10579
+ "rejected",
10580
+ "unknown"
10581
+ ],
10582
+ "type": "string"
10583
+ },
10584
+ "kind": {
10585
+ "const": "backendDataInvalid",
10586
+ "type": "string"
10587
+ },
10588
+ "observation": {
10589
+ "properties": {
10590
+ "blockHeight": {
10591
+ "maxLength": 19,
10592
+ "pattern": "^(0|[1-9][0-9]*)(?![\\s\\S])",
10593
+ "type": "string",
10594
+ "x-integer-maximum": "9223372036854775807",
10595
+ "x-integer-minimum": "0"
10596
+ },
10597
+ "transactionHash": {
10598
+ "maxLength": 45,
10599
+ "minLength": 32,
10600
+ "pattern": "^[1-9A-HJ-NP-Za-km-z]+$",
10601
+ "type": "string",
10602
+ "x-base58-bytes": 32
10603
+ }
10604
+ },
10605
+ "required": ["transactionHash", "blockHeight"],
10606
+ "type": "object"
10607
+ },
10608
+ "reason": { "type": "string" },
10609
+ "transactionHash": {
10610
+ "maxLength": 45,
10611
+ "minLength": 32,
10612
+ "pattern": "^[1-9A-HJ-NP-Za-km-z]+$",
10613
+ "type": "string",
10614
+ "x-base58-bytes": 32
10615
+ }
10616
+ },
10617
+ "required": ["kind"],
10618
+ "type": "object",
10619
+ "x-forbidden": [
10620
+ "admission",
10621
+ "transactionHash",
10622
+ "signedTransaction",
10623
+ "observation",
10624
+ "receipt",
10625
+ "cause",
10626
+ "serviceCode",
10627
+ "error"
10628
+ ]
10629
+ }],
10630
+ "x-tag": "kind"
10631
+ }
10632
+ }
10633
+ ],
10634
+ "dev_setBlockDriver": [
10635
+ {
10636
+ "code": -32602,
10637
+ "schema": {
10638
+ "oneOf": [{
10639
+ "properties": {
10640
+ "kind": {
10641
+ "const": "invalidParams",
10642
+ "type": "string"
10643
+ },
10644
+ "path": {
10645
+ "pattern": "^(?:/(?:[^~/]|~[01])*)*(?![\\s\\S])",
10646
+ "type": "string"
10647
+ },
10648
+ "reason": { "type": "string" }
10649
+ },
10650
+ "required": ["kind"],
10651
+ "type": "object",
10652
+ "x-forbidden": [
10653
+ "admission",
10654
+ "transactionHash",
10655
+ "signedTransaction",
10656
+ "observation",
10657
+ "receipt",
10658
+ "cause",
10659
+ "serviceCode",
10660
+ "error"
10661
+ ]
10662
+ }],
10663
+ "x-tag": "kind"
10664
+ }
10665
+ },
10666
+ {
10667
+ "code": -32050,
10668
+ "schema": {
10669
+ "oneOf": [{
10670
+ "properties": {
10671
+ "admission": {
10672
+ "enum": [
10673
+ "notAttempted",
10674
+ "rejected",
10675
+ "unknown"
10676
+ ],
10677
+ "type": "string"
10678
+ },
10679
+ "error": {
10680
+ "properties": {
10681
+ "code": {
10682
+ "maximum": 2147483647,
10683
+ "minimum": -2147483648,
10684
+ "type": "integer"
10685
+ },
10686
+ "source": {
10687
+ "anyOf": [{
10688
+ "enum": [
10689
+ "auth",
10690
+ "scheduler",
10691
+ "executor",
10692
+ "other"
10693
+ ],
10694
+ "type": "string"
10695
+ }],
10696
+ "x-extensible": true
10697
+ }
10698
+ },
10699
+ "required": ["source", "code"],
10700
+ "type": "object"
10701
+ },
10702
+ "kind": {
10703
+ "const": "backendUnavailable",
10704
+ "type": "string"
10705
+ },
10706
+ "retryAfterMs": {
10707
+ "maxLength": 20,
10708
+ "pattern": "^(0|[1-9][0-9]*)(?![\\s\\S])",
10709
+ "type": "string",
10710
+ "x-integer-maximum": "18446744073709551615",
10711
+ "x-integer-minimum": "0"
10712
+ },
10713
+ "serviceCode": {
10714
+ "maxLength": 128,
10715
+ "minLength": 1,
10716
+ "type": "string"
10717
+ },
10718
+ "transactionHash": {
10719
+ "maxLength": 45,
10720
+ "minLength": 32,
10721
+ "pattern": "^[1-9A-HJ-NP-Za-km-z]+$",
10722
+ "type": "string",
10723
+ "x-base58-bytes": 32
10724
+ }
10725
+ },
10726
+ "required": ["kind"],
10727
+ "type": "object",
10728
+ "x-forbidden": [
10729
+ "admission",
10730
+ "transactionHash",
10731
+ "signedTransaction",
10732
+ "observation",
10733
+ "receipt",
10734
+ "cause",
10735
+ "serviceCode",
10736
+ "error"
10737
+ ]
10738
+ }],
10739
+ "x-tag": "kind"
10740
+ }
10741
+ },
10742
+ {
10743
+ "code": -32051,
10744
+ "schema": {
10745
+ "oneOf": [{
10746
+ "properties": {
10747
+ "admission": {
10748
+ "enum": [
10749
+ "notAttempted",
10750
+ "rejected",
10751
+ "unknown"
10752
+ ],
10753
+ "type": "string"
10754
+ },
10755
+ "kind": {
10756
+ "const": "backendTimeout",
10757
+ "type": "string"
10758
+ },
10759
+ "retryAfterMs": {
10760
+ "maxLength": 20,
10761
+ "pattern": "^(0|[1-9][0-9]*)(?![\\s\\S])",
10762
+ "type": "string",
10763
+ "x-integer-maximum": "18446744073709551615",
10764
+ "x-integer-minimum": "0"
10765
+ },
10766
+ "transactionHash": {
10767
+ "maxLength": 45,
10768
+ "minLength": 32,
10769
+ "pattern": "^[1-9A-HJ-NP-Za-km-z]+$",
10770
+ "type": "string",
10771
+ "x-base58-bytes": 32
10772
+ }
10773
+ },
10774
+ "required": ["kind"],
10775
+ "type": "object",
10776
+ "x-forbidden": [
10777
+ "admission",
10778
+ "transactionHash",
10779
+ "signedTransaction",
10780
+ "observation",
10781
+ "receipt",
10782
+ "cause",
10783
+ "serviceCode",
10784
+ "error"
10785
+ ]
10786
+ }],
10787
+ "x-tag": "kind"
10788
+ }
10789
+ }
9310
10790
  ]
9311
10791
  }
9312
10792
  };
@@ -9426,10 +10906,12 @@ function convert(s, value, encode, path) {
9426
10906
  if (s["x-integer-minimum"] !== void 0) {
9427
10907
  const minimum = BigInt(s["x-integer-minimum"]);
9428
10908
  const maximum = BigInt(s["x-integer-maximum"]);
10909
+ const allowed = (text) => s.pattern === void 0 || matches(s.pattern, text);
9429
10910
  if (encode) {
9430
- if (typeof value !== "bigint" || value < minimum || value > maximum) return fail();
10911
+ if (typeof value !== "bigint" || value < minimum || value > maximum || !allowed(value.toString())) return fail();
9431
10912
  return value.toString();
9432
10913
  }
10914
+ if (typeof value === "string" && !allowed(value)) return fail();
9433
10915
  try {
9434
10916
  return parseDecimal(value, path, minimum, maximum);
9435
10917
  } catch {
@@ -9503,4 +10985,4 @@ function decodeErrorData(method, code, value) {
9503
10985
  //#endregion
9504
10986
  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
10987
 
9506
- //# sourceMappingURL=codec-BHKoSaOP.js.map
10988
+ //# sourceMappingURL=codec-BOjoJjC5.js.map