diff --git a/Sources/Hedera/account/AccountAddClaimTransaction.swift b/Sources/Hedera/account/AccountAddClaimTransaction.swift index 5a07ae27..ef1eda02 100644 --- a/Sources/Hedera/account/AccountAddClaimTransaction.swift +++ b/Sources/Hedera/account/AccountAddClaimTransaction.swift @@ -18,7 +18,10 @@ public final class AccountAddClaimTransaction: TransactionBuilder { return self } -// override static func executeClosure(_ grpc: HederaGRPCClient, _ tx: Proto_Transaction) throws -> Proto_TransactionResponse { -// try grpc.cryptoService.addClaim(tx) -// } + @discardableResult + public func setHash(_ hash: Bytes) -> Self { + body.cryptoAddClaim.claim.hash = Data(hash) + + return self + } }