get blocks details by hashes: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (→Description) |
||
Line 16: | Line 16: | ||
== Description == | == Description == | ||
* This is JSON version of [[get_blocks_details_by_hashes.bin]] and uses same structs as the binary version | * This is JSON version of [[get_blocks_details_by_hashes.bin]] and uses same structs as the binary version. | ||
== Notes == | == Notes == | ||
* Block hashes are passed as arrays of 8-bit integers, instead of hexadecimal string | * Block hashes are passed as arrays of 8-bit integers, instead of hexadecimal string |
Revision as of 06:14, 23 March 2020
Input
Argument | Mandatory | Description | Format |
---|---|---|---|
blockHashes | yes | List of block hashes | array |
Output
Argument | Description | Format |
---|---|---|
blocks | List of blocks | array |
status | Status of the request, "OK" if successful | string |
Description
- This is JSON version of get_blocks_details_by_hashes.bin and uses same structs as the binary version.
Notes
- Block hashes are passed as arrays of 8-bit integers, instead of hexadecimal string