get blocks details by hashes

From Talleo Wiki
Revision as of 02:32, 23 March 2020 by Mika (talk | contribs)
Jump to navigation Jump to search


Argument Mandatory Description Format
blockHashes yes List of block hashes array


Argument Description Format
blocks List of blocks array
status Status of the request, "OK" if successful string


  • This is JSON version of get_blocks_details_by_hashes.bin and uses same structs as the binary version. This means some values need to be converted if passed to methods expecting strings instead of arrays of 8-bit integers.


  • Block hashes are passed as arrays of 8-bit integers, instead of hexadecimal string