Difference between revisions of "get transaction hashes by payment id"

From Talleo Wiki
Jump to navigation Jump to search
m
(Add startIndex, endIndex and includeUnconfirmed parameters.)
 
Line 5: Line 5:
 
|-
 
|-
 
| paymentId || yes || Payment ID || [[Hash]]  
 
| paymentId || yes || Payment ID || [[Hash]]  
 +
|-
 +
| startIndex || false || First block index to include || uint32
 +
|-
 +
| endIndex || false || Last block index to include || uint32
 +
|-
 +
| includeUnconfirmed || false || Include unconfirmed transactions || bool
 
|}
 
|}
  
Line 17: Line 23:
  
 
== Description ==
 
== Description ==
* This is JSON version of [[get_transaction_hashes_by_payment_id.bin]] and uses same structs as the binary version.
+
* This is JSON version of [[get_transaction_hashes_by_payment_id.bin]]. Unlike the binary version, this version allows filtering results by block index and if the transaction is unconfirmed or not.

Latest revision as of 13:30, 3 April 2020

Input

Argument Mandatory Description Format
paymentId yes Payment ID Hash
startIndex false First block index to include uint32
endIndex false Last block index to include uint32
includeUnconfirmed false Include unconfirmed transactions bool

Output

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

Description