get block indexes by transaction hashes: Difference between revisions

From Talleo Wiki
Jump to navigation Jump to search
(Created page with "{{DISPLAYTITLE:get_block_indexes_by_transaction_hashes}} == Input == {| class="wikitable" ! Argument !! Mandatory !! Description !! Format |- | transactionHashes || yes || Lis...")
 
(→‎Description: Update with mention of startIndex and endIndex)
 
(One intermediate revision 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 indexes || uint32
|-
| endIndex || no || Highest block index of block to return indexes || uint32
|}
|}


Line 17: Line 21:


== Description ==
== Description ==
This method returns block indexes of blocks containing transactions with the passed-in transaction hashes.
This method returns block indexes 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 indexes uint32
endIndex no Highest block index of block to return indexes uint32

Output

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

Description

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