get block hashes by transaction hashes: Difference between revisions

From Talleo Wiki
Jump to navigation Jump to search
(Created page with "{{DISPLAYTITLE:get_block_hashes_by_transaction_hashes}} == Input == {| class="wikitable" ! Argument !! Mandatory !! Description !! Format |- | transactionHashes || yes || List...")
 
(→‎Description: Update with mention of startIndex and endIndex)
 
(2 intermediate revisions by the same user not shown)
Line 5: Line 5:
|-
|-
| transactionHashes || yes || List of transaction hashes || array
| transactionHashes || yes || List of transaction hashes || array
|-
| startIndex || no || Lowest block index of block to return hashes || uint32
|-
| endIndex || no || Highest block index of block to return hashes || uint32
|}
|}


Line 15: Line 19:
| status || Status of request, "OK" if successful || string
| status || Status of request, "OK" if successful || string
|}
|}
== Description ==
This method returns block hashes of blocks between startIndex and endIndex containing transactions with the passed-in transaction hashes.

Latest revision as of 10:56, 27 March 2020

Input

Argument Mandatory Description Format
transactionHashes yes List of transaction hashes array
startIndex no Lowest block index of block to return hashes uint32
endIndex no Highest block index of block to return hashes uint32

Output

Argument Description Format
blockHashes List of block hashes array
status Status of request, "OK" if successful string

Description

This method returns block hashes of blocks between startIndex and endIndex containing transactions with the passed-in transaction hashes.