Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Interface TransactionRecordOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
TransactionRecord,TransactionRecord.Builder
@Generated
public interface TransactionRecordOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.ByteStringgetAlias()* A new account alias.<br/> <p> This is the new alias assigned to an account created as part of a CryptoCreate transaction triggered by a user transaction with a (previously unused) alias.getAssessedCustomFees(int index) * A list of all custom fees that were assessed during a CryptoTransfer.int* A list of all custom fees that were assessed during a CryptoTransfer.* A list of all custom fees that were assessed during a CryptoTransfer.getAutomaticTokenAssociations(int index) * A list of all token associations implicitly or automatically created while handling this transaction.int* A list of all token associations implicitly or automatically created while handling this transaction.* A list of all token associations implicitly or automatically created while handling this transaction.* A consensus timestamp.* A contract call result.<br/> A record of the value returned by the smart contract function (if it completed and didn't fail) from a `ContractCallTransaction`.* A contract creation result.<br/> A record of the value returned by the smart contract constructor (if it completed and didn't fail) from a `ContractCreateTransaction`.com.google.protobuf.ByteString* A keccak256 hash of the ethereumData.com.google.protobuf.ByteString* A new default EVM address for an account created by this transaction.long* A high volume pricing multiplier.getMemo()* A transaction memo.<br/> This is the memo that was submitted as part of the transaction.com.google.protobuf.ByteString* A transaction memo.<br/> This is the memo that was submitted as part of the transaction.getNewPendingAirdrops(int index) * A list of pending token airdrops.int* A list of pending token airdrops.* A list of pending token airdrops.getPaidStakingRewards(int index) * A list of staking rewards paid.int* A list of staking rewards paid.* A list of staking rewards paid.* A consensus timestamp for a child record.com.google.protobuf.ByteString* A pseudorandom 384-bit sequence.int* A pseudorandom 32-bit integer.<br/> <p> This SHALL be returned in the record of a PRNG transaction with an output range specified.* A transaction receipt.* A schedule reference.<br/> The reference to a schedule ID for the schedule that initiated this transaction, if this this transaction record represents a scheduled transaction.getTokenTransferLists(int index) * A token transfer list for this transaction.<br/> This is a list of all non-HBAR token transfers completed for this transaction.<br/>int* A token transfer list for this transaction.<br/> This is a list of all non-HBAR token transfers completed for this transaction.<br/>* A token transfer list for this transaction.<br/> This is a list of all non-HBAR token transfers completed for this transaction.<br/>long* A transaction fee charged.com.google.protobuf.ByteString* A transaction hash value.* A transaction identifier to the transaction associated to this record.* A transfer list for this transaction.<br/> This is a list of all HBAR transfers completed for this transaction.boolean* A consensus timestamp.boolean* A contract call result.<br/> A record of the value returned by the smart contract function (if it completed and didn't fail) from a `ContractCallTransaction`.boolean* A contract creation result.<br/> A record of the value returned by the smart contract constructor (if it completed and didn't fail) from a `ContractCreateTransaction`.boolean* A consensus timestamp for a child record.boolean* A pseudorandom 384-bit sequence.boolean* A pseudorandom 32-bit integer.<br/> <p> This SHALL be returned in the record of a PRNG transaction with an output range specified.boolean* A transaction receipt.boolean* A schedule reference.<br/> The reference to a schedule ID for the schedule that initiated this transaction, if this this transaction record represents a scheduled transaction.boolean* A transaction identifier to the transaction associated to this record.boolean* A transfer list for this transaction.<br/> This is a list of all HBAR transfers completed for this transaction.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
hasReceipt
boolean hasReceipt()* A transaction receipt. <p> This SHALL report consensus status (reach consensus, failed, unknown) and the ID of any new entity (i.e. account, file, contract, schedule, etc...) created.
.proto.TransactionReceipt receipt = 1;- Returns:
- Whether the receipt field is set.
-
getReceipt
TransactionReceipt getReceipt()* A transaction receipt. <p> This SHALL report consensus status (reach consensus, failed, unknown) and the ID of any new entity (i.e. account, file, contract, schedule, etc...) created.
.proto.TransactionReceipt receipt = 1;- Returns:
- The receipt.
-
getTransactionHash
com.google.protobuf.ByteString getTransactionHash()* A transaction hash value. <p> This SHALL be the hash of the Transaction that executed and SHALL NOT be the hash of any Transaction that failed for having a duplicate TransactionID.
bytes transactionHash = 2;- Returns:
- The transactionHash.
-
hasConsensusTimestamp
boolean hasConsensusTimestamp()* A consensus timestamp. <p> This SHALL be null if the transaction did not reach consensus yet.
.proto.Timestamp consensusTimestamp = 3;- Returns:
- Whether the consensusTimestamp field is set.
-
getConsensusTimestamp
Timestamp getConsensusTimestamp()* A consensus timestamp. <p> This SHALL be null if the transaction did not reach consensus yet.
.proto.Timestamp consensusTimestamp = 3;- Returns:
- The consensusTimestamp.
-
hasTransactionID
boolean hasTransactionID()* A transaction identifier to the transaction associated to this record.
.proto.TransactionID transactionID = 4;- Returns:
- Whether the transactionID field is set.
-
getTransactionID
TransactionID getTransactionID()* A transaction identifier to the transaction associated to this record.
.proto.TransactionID transactionID = 4;- Returns:
- The transactionID.
-
getMemo
String getMemo()* A transaction memo.<br/> This is the memo that was submitted as part of the transaction. <p> This value, if set, MUST NOT exceed `transaction.maxMemoUtf8Bytes` (default 100) bytes when encoded as UTF-8.
string memo = 5;- Returns:
- The memo.
-
getMemoBytes
com.google.protobuf.ByteString getMemoBytes()* A transaction memo.<br/> This is the memo that was submitted as part of the transaction. <p> This value, if set, MUST NOT exceed `transaction.maxMemoUtf8Bytes` (default 100) bytes when encoded as UTF-8.
string memo = 5;- Returns:
- The bytes for memo.
-
getTransactionFee
long getTransactionFee()* A transaction fee charged. <p> This SHALL be the actual transaction fee charged.<br/> This MAY NOT match the original `transactionFee` value from the `TransactionBody`.
uint64 transactionFee = 6;- Returns:
- The transactionFee.
-
hasContractCallResult
boolean hasContractCallResult()* A contract call result.<br/> A record of the value returned by the smart contract function (if it completed and didn't fail) from a `ContractCallTransaction`.
.proto.ContractFunctionResult contractCallResult = 7;- Returns:
- Whether the contractCallResult field is set.
-
getContractCallResult
ContractFunctionResult getContractCallResult()* A contract call result.<br/> A record of the value returned by the smart contract function (if it completed and didn't fail) from a `ContractCallTransaction`.
.proto.ContractFunctionResult contractCallResult = 7;- Returns:
- The contractCallResult.
-
hasContractCreateResult
boolean hasContractCreateResult()* A contract creation result.<br/> A record of the value returned by the smart contract constructor (if it completed and didn't fail) from a `ContractCreateTransaction`.
.proto.ContractFunctionResult contractCreateResult = 8;- Returns:
- Whether the contractCreateResult field is set.
-
getContractCreateResult
ContractFunctionResult getContractCreateResult()* A contract creation result.<br/> A record of the value returned by the smart contract constructor (if it completed and didn't fail) from a `ContractCreateTransaction`.
.proto.ContractFunctionResult contractCreateResult = 8;- Returns:
- The contractCreateResult.
-
hasTransferList
boolean hasTransferList()* A transfer list for this transaction.<br/> This is a list of all HBAR transfers completed for this transaction. <p> This MAY include fees, transfers performed by the transaction, transfers initiated by a smart contract it calls, or the creation of threshold records that it triggers.
.proto.TransferList transferList = 10;- Returns:
- Whether the transferList field is set.
-
getTransferList
TransferList getTransferList()* A transfer list for this transaction.<br/> This is a list of all HBAR transfers completed for this transaction. <p> This MAY include fees, transfers performed by the transaction, transfers initiated by a smart contract it calls, or the creation of threshold records that it triggers.
.proto.TransferList transferList = 10;- Returns:
- The transferList.
-
getTokenTransferListsList
List<TokenTransferList> getTokenTransferListsList()* A token transfer list for this transaction.<br/> This is a list of all non-HBAR token transfers completed for this transaction.<br/>
repeated .proto.TokenTransferList tokenTransferLists = 11; -
getTokenTransferLists
* A token transfer list for this transaction.<br/> This is a list of all non-HBAR token transfers completed for this transaction.<br/>
repeated .proto.TokenTransferList tokenTransferLists = 11; -
getTokenTransferListsCount
int getTokenTransferListsCount()* A token transfer list for this transaction.<br/> This is a list of all non-HBAR token transfers completed for this transaction.<br/>
repeated .proto.TokenTransferList tokenTransferLists = 11; -
hasScheduleRef
boolean hasScheduleRef()* A schedule reference.<br/> The reference to a schedule ID for the schedule that initiated this transaction, if this this transaction record represents a scheduled transaction.
.proto.ScheduleID scheduleRef = 12;- Returns:
- Whether the scheduleRef field is set.
-
getScheduleRef
ScheduleID getScheduleRef()* A schedule reference.<br/> The reference to a schedule ID for the schedule that initiated this transaction, if this this transaction record represents a scheduled transaction.
.proto.ScheduleID scheduleRef = 12;- Returns:
- The scheduleRef.
-
getAssessedCustomFeesList
List<AssessedCustomFee> getAssessedCustomFeesList()* A list of all custom fees that were assessed during a CryptoTransfer. <p> These SHALL be paid if the transaction status resolved to SUCCESS.
repeated .proto.AssessedCustomFee assessed_custom_fees = 13; -
getAssessedCustomFees
* A list of all custom fees that were assessed during a CryptoTransfer. <p> These SHALL be paid if the transaction status resolved to SUCCESS.
repeated .proto.AssessedCustomFee assessed_custom_fees = 13; -
getAssessedCustomFeesCount
int getAssessedCustomFeesCount()* A list of all custom fees that were assessed during a CryptoTransfer. <p> These SHALL be paid if the transaction status resolved to SUCCESS.
repeated .proto.AssessedCustomFee assessed_custom_fees = 13; -
getAutomaticTokenAssociationsList
List<TokenAssociation> getAutomaticTokenAssociationsList()* A list of all token associations implicitly or automatically created while handling this transaction.
repeated .proto.TokenAssociation automatic_token_associations = 14; -
getAutomaticTokenAssociations
* A list of all token associations implicitly or automatically created while handling this transaction.
repeated .proto.TokenAssociation automatic_token_associations = 14; -
getAutomaticTokenAssociationsCount
int getAutomaticTokenAssociationsCount()* A list of all token associations implicitly or automatically created while handling this transaction.
repeated .proto.TokenAssociation automatic_token_associations = 14; -
hasParentConsensusTimestamp
boolean hasParentConsensusTimestamp()* A consensus timestamp for a child record. <p> This SHALL be the consensus timestamp of a user transaction that spawned an internal child transaction.
.proto.Timestamp parent_consensus_timestamp = 15;- Returns:
- Whether the parentConsensusTimestamp field is set.
-
getParentConsensusTimestamp
Timestamp getParentConsensusTimestamp()* A consensus timestamp for a child record. <p> This SHALL be the consensus timestamp of a user transaction that spawned an internal child transaction.
.proto.Timestamp parent_consensus_timestamp = 15;- Returns:
- The parentConsensusTimestamp.
-
getAlias
com.google.protobuf.ByteString getAlias()* A new account alias.<br/> <p> This is the new alias assigned to an account created as part of a CryptoCreate transaction triggered by a user transaction with a (previously unused) alias.
bytes alias = 16;- Returns:
- The alias.
-
getEthereumHash
com.google.protobuf.ByteString getEthereumHash()* A keccak256 hash of the ethereumData. <p> This field SHALL only be populated for EthereumTransaction.
bytes ethereum_hash = 17;- Returns:
- The ethereumHash.
-
getPaidStakingRewardsList
List<AccountAmount> getPaidStakingRewardsList()* A list of staking rewards paid. <p> This SHALL be a list accounts with the corresponding staking rewards paid as a result of this transaction.
repeated .proto.AccountAmount paid_staking_rewards = 18; -
getPaidStakingRewards
* A list of staking rewards paid. <p> This SHALL be a list accounts with the corresponding staking rewards paid as a result of this transaction.
repeated .proto.AccountAmount paid_staking_rewards = 18; -
getPaidStakingRewardsCount
int getPaidStakingRewardsCount()* A list of staking rewards paid. <p> This SHALL be a list accounts with the corresponding staking rewards paid as a result of this transaction.
repeated .proto.AccountAmount paid_staking_rewards = 18; -
hasPrngBytes
boolean hasPrngBytes()* A pseudorandom 384-bit sequence. <p> This SHALL be returned in the record of a UtilPrng transaction with no output range,
bytes prng_bytes = 19;- Returns:
- Whether the prngBytes field is set.
-
getPrngBytes
com.google.protobuf.ByteString getPrngBytes()* A pseudorandom 384-bit sequence. <p> This SHALL be returned in the record of a UtilPrng transaction with no output range,
bytes prng_bytes = 19;- Returns:
- The prngBytes.
-
hasPrngNumber
boolean hasPrngNumber()* A pseudorandom 32-bit integer.<br/> <p> This SHALL be returned in the record of a PRNG transaction with an output range specified.
int32 prng_number = 20;- Returns:
- Whether the prngNumber field is set.
-
getPrngNumber
int getPrngNumber()* A pseudorandom 32-bit integer.<br/> <p> This SHALL be returned in the record of a PRNG transaction with an output range specified.
int32 prng_number = 20;- Returns:
- The prngNumber.
-
getEvmAddress
com.google.protobuf.ByteString getEvmAddress()* A new default EVM address for an account created by this transaction. <p> This field SHALL be populated only when the EVM address is not specified in the related transaction body.
bytes evm_address = 21;- Returns:
- The evmAddress.
-
getNewPendingAirdropsList
List<PendingAirdropRecord> getNewPendingAirdropsList()* A list of pending token airdrops. <p> Each pending airdrop SHALL represent a single requested transfer from a sending account to a recipient account.<br/> These pending transfers are issued unilaterally by the sending account, and MUST be claimed by the recipient account before the transfer SHALL complete.<br/> A sender MAY cancel a pending airdrop before it is claimed.<br/> An airdrop transaction SHALL emit a pending airdrop when the recipient has no available automatic association slots available or when the recipient has set `receiver_sig_required`.
repeated .proto.PendingAirdropRecord new_pending_airdrops = 22; -
getNewPendingAirdrops
* A list of pending token airdrops. <p> Each pending airdrop SHALL represent a single requested transfer from a sending account to a recipient account.<br/> These pending transfers are issued unilaterally by the sending account, and MUST be claimed by the recipient account before the transfer SHALL complete.<br/> A sender MAY cancel a pending airdrop before it is claimed.<br/> An airdrop transaction SHALL emit a pending airdrop when the recipient has no available automatic association slots available or when the recipient has set `receiver_sig_required`.
repeated .proto.PendingAirdropRecord new_pending_airdrops = 22; -
getNewPendingAirdropsCount
int getNewPendingAirdropsCount()* A list of pending token airdrops. <p> Each pending airdrop SHALL represent a single requested transfer from a sending account to a recipient account.<br/> These pending transfers are issued unilaterally by the sending account, and MUST be claimed by the recipient account before the transfer SHALL complete.<br/> A sender MAY cancel a pending airdrop before it is claimed.<br/> An airdrop transaction SHALL emit a pending airdrop when the recipient has no available automatic association slots available or when the recipient has set `receiver_sig_required`.
repeated .proto.PendingAirdropRecord new_pending_airdrops = 22; -
getHighVolumePricingMultiplier
long getHighVolumePricingMultiplier()* A high volume pricing multiplier. <p> This SHALL be the multiplier that is applied to the transaction fees charged for this transaction if the high volume flag is set. This is scaled by 1000.
uint64 high_volume_pricing_multiplier = 23;- Returns:
- The highVolumePricingMultiplier.
-
getBodyCase
TransactionRecord.BodyCase getBodyCase() -
getEntropyCase
TransactionRecord.EntropyCase getEntropyCase()
-