hashgraph / hashgraph/hedera-sdk-reference

Add validateStatus to TransactionReceiptQuery and validateReceiptStatus to TransactionRecordQuery

Open
#54 0 comments 1 reaction 2 assignees Claimed by @janaakhterov View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.