Difference between revisions of "get blocks details by hashes"

From Talleo Wiki
Jump to navigation Jump to search
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 means some values need to be converted if passed to methods expecting strings instead of arrays of 8-bit integers.
+
* 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 08: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

Notes

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