Skip to content

Commit

Permalink
archive: Move previousHash below items description
Browse files Browse the repository at this point in the history
Signed-off-by: Alexandru Vasile <[email protected]>
  • Loading branch information
lexnv committed Nov 15, 2024
1 parent 399a67f commit c87d0c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/api/archive_unstable_storageDiff.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

- `items`: Array of objects. The structure of these objects is found below.

- `previousHash` (optional): String containing a hexadecimal-encoded hash of the header of the block from which the storage difference will be calculated. The `previousHash` must be an ancestor of the provided `hash`. When this parameter is provided, the storage difference is calculated between the `hash` block and the `previousHash` block. If this parameter is not provided, the storage difference is calculated between the `hash` block and the parent of the `hash` block.

```json
"items": [
{
Expand All @@ -28,6 +26,8 @@
- `hash`: The result contains the hexadecimal-encoded hash of the storage entry.
- `childTrieKey` (optional): String containing the hexadecimal-encoded key of the child trie of the "default" namespace. If this field is not present, the storage difference is calculated for the main storage trie.

- `previousHash` (optional): String containing a hexadecimal-encoded hash of the header of the block from which the storage difference will be calculated. The `previousHash` must be an ancestor of the provided `hash`. When this parameter is provided, the storage difference is calculated between the `hash` block and the `previousHash` block. If this parameter is not provided, the storage difference is calculated between the `hash` block and the parent of the `hash` block.

**Return value**: String containing an opaque value representing the operation.

## Notifications format
Expand Down

0 comments on commit c87d0c7

Please sign in to comment.