hashgraph / hashgraph/hedera-sdk-reference
Add validateStatus to TransactionReceiptQuery and validateReceiptStatus to TransactionRecordQuery
Open
enhancement
- Dominant language
- HTML
- Stars
- 7
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
```java
var receipt = new TransactionReceiptQuery()
.setTransactionId(myTransactionId)
.setValidateStatus(true) // execute will now throw ReceiptStatusException
.execute(client);
```
---
If a user does not have a `TransactionResponse` object and wants to do a status-validating receipt/record fetch, its far more cumbersome than it should be.
Contributor guide
Assessment
This issue has not been assessed yet.