java.lang.Object
com.hedera.hashgraph.sdk.Executable<LiveHashDeleteTransaction,Transaction,TransactionResponse,TransactionResponse>
com.hedera.hashgraph.sdk.Transaction<LiveHashDeleteTransaction>
com.hedera.hashgraph.sdk.LiveHashDeleteTransaction
@Deprecated
public final class LiveHashDeleteTransaction
extends Transaction<LiveHashDeleteTransaction>
Deprecated.
This transaction is obsolete, not supported, and SHALL fail with a
pre-check result of `NOT_SUPPORTED`.
Delete a specific live hash associated to a given account.
This transaction MUST be signed by either the key of the associated account,
or at least one of the keys listed in the live hash.
### Block Stream Effects
None
-
Nested Class Summary
Nested classes/interfaces inherited from class com.hedera.hashgraph.sdk.Transaction
Transaction.SignableNodeTransactionBodyBytesNested classes/interfaces inherited from class com.hedera.hashgraph.sdk.Executable
Executable.GrpcRequest -
Field Summary
Fields inherited from class com.hedera.hashgraph.sdk.Transaction
customFeeLimits, DEFAULT_AUTO_RENEW_PERIOD, defaultMaxTransactionFee, DUMMY_ACCOUNT_ID, DUMMY_TRANSACTION_ID, frozenBodyBuilder, innerSignedTransactions, outerTransactions, publicKeys, regenerateTransactionId, signers, sigPairLists, sourceTransactionBody, transactionIdsFields inherited from class com.hedera.hashgraph.sdk.Executable
attemptedAllNodes, blockingUnaryCall, grpcDeadline, logger, maxAttempts, maxBackoff, minBackoff, nodeAccountIds, nodes, random, RST_STREAM -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Constructor.Deprecated.Constructor. -
Method Summary
Modifier and TypeMethodDescription(package private) CryptoDeleteLiveHashTransactionBody.Builderbuild()Deprecated.Build the correct transaction body.Deprecated.Extract the account id.com.google.protobuf.ByteStringgetHash()Deprecated.Extract the hash.(package private) io.grpc.MethodDescriptor<Transaction, TransactionResponse> Deprecated.Called to direct the invocation of the query to the appropriate gRPC service.(package private) voidDeprecated.Initialize from the transaction body.(package private) voidonFreeze(TransactionBody.Builder bodyBuilder) Deprecated.Called inTransaction.freezeWith(Client)just before the transaction body is built.(package private) voidonScheduled(SchedulableTransactionBody.Builder scheduled) Deprecated.Called inTransaction.schedule()when converting transaction into a scheduled version.setAccountId(AccountId accountId) Deprecated.The account owning the livehashsetHash(byte[] hash) Deprecated.The SHA-384 livehash to delete from the accountsetHash(com.google.protobuf.ByteString hash) Deprecated.The SHA-384 livehash to delete from the account(package private) voidvalidateChecksums(Client client) Deprecated.Methods inherited from class com.hedera.hashgraph.sdk.Transaction
addSignature, addSignature, batchify, buildAllTransactions, buildTransaction, doSchedule, estimateFee, freeze, freezeWith, fromBytes, fromScheduledTransaction, generateTransactionIds, getBatchKey, getDefaultMaxTransactionFee, getExecutionState, getHighVolume, getMaxTransactionFee, getRegenerateTransactionId, getRequiredChunks, getSignableNodeBodyBytesList, getSignatures, getSignaturesAtOffset, getTransactionBodySize, getTransactionHash, getTransactionHashPerNode, getTransactionId, getTransactionIdInternal, getTransactionMemo, getTransactionSize, getTransactionValidDuration, hash, isBatchedAndNotBatchTransaction, isFrozen, keyAlreadySigned, makeRequest, mapResponse, mapResponseStatus, onExecute, onExecuteAsync, regenerateTransactionId, requireNotFrozen, requireOneNodeAccountId, schedule, setBatchKey, setHighVolume, setMaxTransactionFee, setNodeAccountIds, setRegenerateTransactionId, setTransactionId, setTransactionMemo, setTransactionValidDuration, sign, signTransaction, signWith, signWithOperator, spawnBodyBuilder, toBytes, toString, wipeTransactionListsMethods inherited from class com.hedera.hashgraph.sdk.Executable
advanceRequest, checkNodeAccountIds, execute, execute, executeAsync, executeAsync, executeAsync, executeAsync, executeAsync, executeAsync, getGrpcRequest, getMaxAttempts, getMaxBackoff, getMaxRetry, getMinBackoff, getNodeAccountIds, getNodeForExecute, grpcDeadline, logTransaction, mergeFromClient, setGrpcDeadline, setLogger, setMaxAttempts, setMaxBackoff, setMaxRetry, setMinBackoff, setNodesFromNodeAccountIds, setRequestListener, setResponseListener, shouldRetryExceptionally
-
Constructor Details
-
LiveHashDeleteTransaction
public LiveHashDeleteTransaction()Deprecated.Constructor. -
LiveHashDeleteTransaction
LiveHashDeleteTransaction(LinkedHashMap<TransactionId, LinkedHashMap<AccountId, throws com.google.protobuf.InvalidProtocolBufferExceptionTransaction>> txs) Deprecated.Constructor.- Parameters:
txs- Compound list of transaction id's list of (AccountId, Transaction) records- Throws:
com.google.protobuf.InvalidProtocolBufferException- when there is an issue with the protobuf
-
-
Method Details
-
getAccountId
Deprecated.Extract the account id.- Returns:
- the account id
-
setAccountId
Deprecated.The account owning the livehash- Parameters:
accountId- The AccountId to be set- Returns:
this
-
getHash
public com.google.protobuf.ByteString getHash()Deprecated.Extract the hash.- Returns:
- the hash
-
setHash
Deprecated.The SHA-384 livehash to delete from the account- Parameters:
hash- The array of bytes to be set as hash- Returns:
this
-
setHash
Deprecated.The SHA-384 livehash to delete from the account- Parameters:
hash- The array of bytes to be set as hash- Returns:
this
-
initFromTransactionBody
void initFromTransactionBody()Deprecated.Initialize from the transaction body. -
build
Deprecated.Build the correct transaction body.- Returns:
CryptoAddLiveHashTransactionBody
-
validateChecksums
Deprecated.- Specified by:
validateChecksumsin classTransaction<LiveHashDeleteTransaction>- Throws:
BadEntityIdException
-
getMethodDescriptor
io.grpc.MethodDescriptor<Transaction,TransactionResponse> getMethodDescriptor()Deprecated.Description copied from class:ExecutableCalled to direct the invocation of the query to the appropriate gRPC service.- Specified by:
getMethodDescriptorin classExecutable<LiveHashDeleteTransaction,Transaction, TransactionResponse, TransactionResponse>
-
onFreeze
Deprecated.Description copied from class:TransactionCalled inTransaction.freezeWith(Client)just before the transaction body is built. The intent is for the derived class to assign their data variant to the transaction body.- Specified by:
onFreezein classTransaction<LiveHashDeleteTransaction>
-
onScheduled
Deprecated.Description copied from class:TransactionCalled inTransaction.schedule()when converting transaction into a scheduled version.- Specified by:
onScheduledin classTransaction<LiveHashDeleteTransaction>
-