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