com.hedera.hashgraph.sdk.proto.TransactionReceiptOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sdk-full Show documentation
Show all versions of sdk-full Show documentation
Hedera™ Hashgraph SDK for Java
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: transaction_receipt.proto
// Protobuf Java Version: 3.25.3
package com.hedera.hashgraph.sdk.proto;
public interface TransactionReceiptOrBuilder extends
// @@protoc_insertion_point(interface_extends:proto.TransactionReceipt)
com.google.protobuf.MessageOrBuilder {
/**
*
**
* The consensus status of the transaction; is UNKNOWN if consensus has not been reached, or if
* the associated transaction did not have a valid payer signature
*
*
* .proto.ResponseCodeEnum status = 1;
* @return The enum numeric value on the wire for status.
*/
int getStatusValue();
/**
*
**
* The consensus status of the transaction; is UNKNOWN if consensus has not been reached, or if
* the associated transaction did not have a valid payer signature
*
*
* .proto.ResponseCodeEnum status = 1;
* @return The status.
*/
com.hedera.hashgraph.sdk.proto.ResponseCodeEnum getStatus();
/**
*
**
* In the receipt of a CryptoCreate, the id of the newly created account
*
*
* .proto.AccountID accountID = 2;
* @return Whether the accountID field is set.
*/
boolean hasAccountID();
/**
*
**
* In the receipt of a CryptoCreate, the id of the newly created account
*
*
* .proto.AccountID accountID = 2;
* @return The accountID.
*/
com.hedera.hashgraph.sdk.proto.AccountID getAccountID();
/**
*
**
* In the receipt of a CryptoCreate, the id of the newly created account
*
*
* .proto.AccountID accountID = 2;
*/
com.hedera.hashgraph.sdk.proto.AccountIDOrBuilder getAccountIDOrBuilder();
/**
*
**
* In the receipt of a FileCreate, the id of the newly created file
*
*
* .proto.FileID fileID = 3;
* @return Whether the fileID field is set.
*/
boolean hasFileID();
/**
*
**
* In the receipt of a FileCreate, the id of the newly created file
*
*
* .proto.FileID fileID = 3;
* @return The fileID.
*/
com.hedera.hashgraph.sdk.proto.FileID getFileID();
/**
*
**
* In the receipt of a FileCreate, the id of the newly created file
*
*
* .proto.FileID fileID = 3;
*/
com.hedera.hashgraph.sdk.proto.FileIDOrBuilder getFileIDOrBuilder();
/**
*
**
* In the receipt of a ContractCreate, the id of the newly created contract
*
*
* .proto.ContractID contractID = 4;
* @return Whether the contractID field is set.
*/
boolean hasContractID();
/**
*
**
* In the receipt of a ContractCreate, the id of the newly created contract
*
*
* .proto.ContractID contractID = 4;
* @return The contractID.
*/
com.hedera.hashgraph.sdk.proto.ContractID getContractID();
/**
*
**
* In the receipt of a ContractCreate, the id of the newly created contract
*
*
* .proto.ContractID contractID = 4;
*/
com.hedera.hashgraph.sdk.proto.ContractIDOrBuilder getContractIDOrBuilder();
/**
*
**
* The exchange rates in effect when the transaction reached consensus
*
*
* .proto.ExchangeRateSet exchangeRate = 5;
* @return Whether the exchangeRate field is set.
*/
boolean hasExchangeRate();
/**
*
**
* The exchange rates in effect when the transaction reached consensus
*
*
* .proto.ExchangeRateSet exchangeRate = 5;
* @return The exchangeRate.
*/
com.hedera.hashgraph.sdk.proto.ExchangeRateSet getExchangeRate();
/**
*
**
* The exchange rates in effect when the transaction reached consensus
*
*
* .proto.ExchangeRateSet exchangeRate = 5;
*/
com.hedera.hashgraph.sdk.proto.ExchangeRateSetOrBuilder getExchangeRateOrBuilder();
/**
*
**
* In the receipt of a ConsensusCreateTopic, the id of the newly created topic.
*
*
* .proto.TopicID topicID = 6;
* @return Whether the topicID field is set.
*/
boolean hasTopicID();
/**
*
**
* In the receipt of a ConsensusCreateTopic, the id of the newly created topic.
*
*
* .proto.TopicID topicID = 6;
* @return The topicID.
*/
com.hedera.hashgraph.sdk.proto.TopicID getTopicID();
/**
*
**
* In the receipt of a ConsensusCreateTopic, the id of the newly created topic.
*
*
* .proto.TopicID topicID = 6;
*/
com.hedera.hashgraph.sdk.proto.TopicIDOrBuilder getTopicIDOrBuilder();
/**
*
**
* In the receipt of a ConsensusSubmitMessage, the new sequence number of the topic that
* received the message
*
*
* uint64 topicSequenceNumber = 7;
* @return The topicSequenceNumber.
*/
long getTopicSequenceNumber();
/**
*
**
* In the receipt of a `ConsensusSubmitMessage`, the new running hash of the topic that
* received the message.<br/>
* This 48-byte field is the output of a SHA-384 digest with input data determined by the
* value of the `topicRunningHashVersion` field.<br/>
* All new transactions SHALL use `topicRunningHashVersion` `3`.<br/>
* The bytes of each uint64 or uint32 encoded for the hash input MUST be in Big-Endian format.
* <p>
* <hr/>
* If the `topicRunningHashVersion` is '0' or '1', then the input data to the SHA-384 digest are,
* in order:
* <ol>
* <li>The previous running hash of the topic (48 bytes)</li>
* <li>The topic's shard (8 bytes)</li>
* <li>The topic's realm (8 bytes)</li>
* <li>The topic's number (8 bytes)</li>
* <li>The number of seconds since the epoch when the `ConsensusSubmitMessage` reached
* consensus (8 bytes)</li>
* <li>The number of nanoseconds within the second when the `ConsensusSubmitMessage` reached
* consensus (4 bytes)</li>
* <li>The `topicSequenceNumber` (8 bytes)</li>
* <li>The message bytes from the `ConsensusSubmitMessage` (variable).</li>
* </ol>
* <hr/>
* If the `topicRunningHashVersion` is '2', then the input data to the SHA-384 digest are, in
* order:
* <ol>
* <li>The previous running hash of the topic (48 bytes)</li>
* <li>The `topicRunningHashVersion` (8 bytes)</li>
* <li>The topic's shard (8 bytes)</li>
* <li>The topic's realm (8 bytes)</li>
* <li>The topic's number (8 bytes)</li>
* <li>The number of seconds since the epoch when the `ConsensusSubmitMessage` reached
* consensus (8 bytes)</li>
* <li>The number of nanoseconds within the second when the `ConsensusSubmitMessage` reached
* consensus (4 bytes)</li>
* <li>The `topicSequenceNumber` (8 bytes)</li>
* <li>The output of a SHA-384 digest of the message bytes from the `ConsensusSubmitMessage`
* (48 bytes)</li>
* </ol>
* <hr/>
* If the `topicRunningHashVersion` is '3', then the input data to the SHA-384 digest
* are, in order:
* <ol>
* <li>The previous running hash of the topic (48 bytes)</li>
* <li>The `topicRunningHashVersion` (8 bytes)</li>
* <li>The payer account's shard (8 bytes)</li>
* <li>The payer account's realm (8 bytes)</li>
* <li>The payer account's number (8 bytes)</li>
* <li>The topic's shard (8 bytes)</li>
* <li>The topic's realm (8 bytes)</li>
* <li>The topic's number (8 bytes)</li>
* <li>The number of seconds since the epoch when the `ConsensusSubmitMessage` reached
* consensus (8 bytes)</li>
* <li>The number of nanoseconds within the second when the `ConsensusSubmitMessage` reached
* consensus (4 bytes)</li>
* <li>The `topicSequenceNumber` (8 bytes)</li>
* <li>The output of a SHA-384 digest of the message bytes from the `ConsensusSubmitMessage`
* (48 bytes)</li>
* </ol>
*
*
* bytes topicRunningHash = 8;
* @return The topicRunningHash.
*/
com.google.protobuf.ByteString getTopicRunningHash();
/**
*
**
* In the receipt of a ConsensusSubmitMessage, the version of the SHA-384 digest used to update
* the running hash.
*
*
* uint64 topicRunningHashVersion = 9;
* @return The topicRunningHashVersion.
*/
long getTopicRunningHashVersion();
/**
*
**
* In the receipt of a CreateToken, the id of the newly created token
*
*
* .proto.TokenID tokenID = 10;
* @return Whether the tokenID field is set.
*/
boolean hasTokenID();
/**
*
**
* In the receipt of a CreateToken, the id of the newly created token
*
*
* .proto.TokenID tokenID = 10;
* @return The tokenID.
*/
com.hedera.hashgraph.sdk.proto.TokenID getTokenID();
/**
*
**
* In the receipt of a CreateToken, the id of the newly created token
*
*
* .proto.TokenID tokenID = 10;
*/
com.hedera.hashgraph.sdk.proto.TokenIDOrBuilder getTokenIDOrBuilder();
/**
*
**
* In the receipt of TokenMint, TokenWipe, TokenBurn, For fungible tokens - the current total
* supply of this token. For non fungible tokens - the total number of NFTs issued for a given
* tokenID
*
*
* uint64 newTotalSupply = 11;
* @return The newTotalSupply.
*/
long getNewTotalSupply();
/**
*
**
* In the receipt of a ScheduleCreate, the id of the newly created Scheduled Entity
*
*
* .proto.ScheduleID scheduleID = 12;
* @return Whether the scheduleID field is set.
*/
boolean hasScheduleID();
/**
*
**
* In the receipt of a ScheduleCreate, the id of the newly created Scheduled Entity
*
*
* .proto.ScheduleID scheduleID = 12;
* @return The scheduleID.
*/
com.hedera.hashgraph.sdk.proto.ScheduleID getScheduleID();
/**
*
**
* In the receipt of a ScheduleCreate, the id of the newly created Scheduled Entity
*
*
* .proto.ScheduleID scheduleID = 12;
*/
com.hedera.hashgraph.sdk.proto.ScheduleIDOrBuilder getScheduleIDOrBuilder();
/**
*
**
* In the receipt of a ScheduleCreate or ScheduleSign that resolves to SUCCESS, the
* TransactionID that should be used to query for the receipt or record of the relevant
* scheduled transaction
*
*
* .proto.TransactionID scheduledTransactionID = 13;
* @return Whether the scheduledTransactionID field is set.
*/
boolean hasScheduledTransactionID();
/**
*
**
* In the receipt of a ScheduleCreate or ScheduleSign that resolves to SUCCESS, the
* TransactionID that should be used to query for the receipt or record of the relevant
* scheduled transaction
*
*
* .proto.TransactionID scheduledTransactionID = 13;
* @return The scheduledTransactionID.
*/
com.hedera.hashgraph.sdk.proto.TransactionID getScheduledTransactionID();
/**
*
**
* In the receipt of a ScheduleCreate or ScheduleSign that resolves to SUCCESS, the
* TransactionID that should be used to query for the receipt or record of the relevant
* scheduled transaction
*
*
* .proto.TransactionID scheduledTransactionID = 13;
*/
com.hedera.hashgraph.sdk.proto.TransactionIDOrBuilder getScheduledTransactionIDOrBuilder();
/**
*
**
* In the receipt of a TokenMint for tokens of type NON_FUNGIBLE_UNIQUE, the serial numbers of
* the newly created NFTs
*
*
* repeated int64 serialNumbers = 14;
* @return A list containing the serialNumbers.
*/
java.util.List getSerialNumbersList();
/**
*
**
* In the receipt of a TokenMint for tokens of type NON_FUNGIBLE_UNIQUE, the serial numbers of
* the newly created NFTs
*
*
* repeated int64 serialNumbers = 14;
* @return The count of serialNumbers.
*/
int getSerialNumbersCount();
/**
*
**
* In the receipt of a TokenMint for tokens of type NON_FUNGIBLE_UNIQUE, the serial numbers of
* the newly created NFTs
*
*
* repeated int64 serialNumbers = 14;
* @param index The index of the element to return.
* @return The serialNumbers at the given index.
*/
long getSerialNumbers(int index);
/**
*
**
* In the receipt of a NodeCreate, NodeUpdate, NodeDelete, the id of the newly created node.
* An affected node identifier.<br/>
* This value SHALL be set following a `createNode` transaction.<br/>
* This value SHALL be set following a `updateNode` transaction.<br/>
* This value SHALL be set following a `deleteNode` transaction.<br/>
* This value SHALL NOT be set following any other transaction.
*
*
* uint64 node_id = 15;
* @return The nodeId.
*/
long getNodeId();
}