get transaction hashes by payment id: Difference between revisions
Jump to navigation
Jump to search
(Created page with "== Input == {| class="wikitable" ! Argument !! Mandatory !! Description !! Format |- | paymentId || yes || Payment ID || Hash |} == Output == {| class="wikitable" ! Argu...") |
(Add startIndex, endIndex and includeUnconfirmed parameters.) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:get_transaction_hashes_by_payment_id}} | |||
== Input == | == Input == | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 4: | 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 14: | Line 21: | ||
| status || Status of request, "OK" if successful || string | | 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. |
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.