Skip to content

Commit dfd4fd8

Browse files
authored
Merge pull request #95 from paritytech/lexnv/archive_body
archive/body: Keep description consistent with chainHead
2 parents 7de90b1 + bb68af1 commit dfd4fd8

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

src/api/archive_unstable_body.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
**Parameters**:
44

5-
- `hash`: String containing the hexadecimal-encoded hash of the header of the block whose body must be retrieved.
5+
- `hash`: String containing a hexadecimal-encoded hash of the header of the block whose body will be retrieved.
66

77
**Return value**: If a block with that hash is found, an array of strings containing the hexadecimal-encoded SCALE-codec-encoded transactions in that block. If no block with that hash is found, `null`.
88

src/api/archive_unstable_hashByHeight.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
- `height`: Integer representing the height of the block.
66

7-
**Return value**: Array (possibly empty) of strings containing an hexadecimal-encoded hash of a block header.
7+
**Return value**: Array (possibly empty) of strings containing a hexadecimal-encoded hash of a block header.
88

99
The JSON-RPC client must find the blocks (zero, one, or more) whose height is the one passed as parameter. If the `height` is inferior or equal to the finalized block height, then only finalized blocks must be fetched and returned.
1010

src/api/archive_unstable_storage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
**Parameters**:
44

5-
- `hash`: String containing an hexadecimal-encoded hash of the header of the block whose storage to fetch.
5+
- `hash`: String containing a hexadecimal-encoded hash of the header of the block whose storage to fetch.
66
- `key`: String containing the hexadecimal-encoded key to fetch in the storage.
77
- `childTrie`: `null` for main storage look-ups, or a string containing the hexadecimal-encoded key of the child trie of the "default" namespace.
88
- `includeDescendants`: Boolean indicating whether the key-values of all the descendants of the `key` should be returned as well.

src/api/chainHead_unstable_body.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
**Parameters**:
44

55
- `followSubscription`: An opaque string that was returned by `chainHead_unstable_follow`.
6-
- `hash`: String containing an hexadecimal-encoded hash of the header of the block whose body to fetch.
6+
- `hash`: String containing a hexadecimal-encoded hash of the header of the block whose body will be retrieved.
77

88
**Return value**: A JSON object.
99

src/api/chainHead_unstable_storage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
**Parameters**:
44

55
- `followSubscription`: An opaque string that was returned by `chainHead_unstable_follow`.
6-
- `hash`: String containing an hexadecimal-encoded hash of the header of the block whose storage to fetch.
6+
- `hash`: String containing a hexadecimal-encoded hash of the header of the block whose storage to fetch.
77
- `items`: Array of objects. The structure of these objects is found below.
88
- `childTrie`: `null` for main storage look-ups, or a string containing the hexadecimal-encoded key of the child trie of the "default" namespace.
99

0 commit comments

Comments
 (0)