Added "SEARCH_TRANSACTIONS" action.

This commit is contained in:
CalDescent
2023-01-19 20:22:29 +00:00
parent ca80fd5f9c
commit 86d6037af3
3 changed files with 42 additions and 0 deletions

View File

@@ -75,6 +75,7 @@ Here is a list of currently supported actions:
- LIST_ATS
- FETCH_BLOCK
- FETCH_BLOCK_RANGE
- SEARCH_TRANSACTIONS
More functionality will be added in the future.
@@ -373,6 +374,24 @@ let res = await qortalRequest({
});
```
### Search transactions
```
let res = await qortalRequest({
action: "SEARCH_TRANSACTIONS",
// startBlock: 1139000,
// blockLimit: 1000,
txGroupId: 0,
txType: [
"PAYMENT",
"REWARD_SHARE"
],
confirmationStatus: "CONFIRMED",
limit: 10,
offset: 0,
reverse: false
});
```
## Sample App