36 lines
954 B
JSON
36 lines
954 B
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"title": "state_getReadProof params",
|
|
"oneOf": [
|
|
{
|
|
"type": "array",
|
|
"description": "[keys] or [keys, at].",
|
|
"minItems": 1,
|
|
"maxItems": 2,
|
|
"prefixItems": [
|
|
{
|
|
"type": "array",
|
|
"description": "Storage keys to prove.",
|
|
"items": { "$ref": "./common.json#/$defs/hex" }
|
|
},
|
|
{ "$ref": "./common.json#/$defs/hex" }
|
|
]
|
|
},
|
|
{
|
|
"type": "object",
|
|
"description": "{ keys } or { keys, at } or { keys, hash }.",
|
|
"required": ["keys"],
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"keys": {
|
|
"type": "array",
|
|
"description": "Storage keys to prove.",
|
|
"items": { "$ref": "./common.json#/$defs/hex" }
|
|
},
|
|
"at": { "$ref": "./common.json#/$defs/hex" },
|
|
"hash": { "$ref": "./common.json#/$defs/hex" }
|
|
}
|
|
}
|
|
]
|
|
}
|