get transaction hashes by payment id: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(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]] | * 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 12: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
- 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.