- All Implemented Interfaces:
Serializable,Comparable<RequestType>,Constable
Enum for the request types.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSubmit a batch of transactions to run atomicallyCreate a topic for the Hedera Consensus Service (HCS).Delete an HCS topic.Get metadata (information) for an HCS topic.Publish a message to an HCS topic.Update an HCS topic.Auto-renew a smart contract.
This is used for internal fee calculations.Execute a smart contract call.Execute a local smart contract call.
Used by contracts to call other contracts.Create a smart contract.Delete a smart contractGet the compiled bytecode that implements a smart contract.Get information about a smart contract.Get all transaction records for a specified contract ID in the past 24 hours.
deprecated since version 0.9.0Update a smart contract.Create a Transaction Record.
This appears to be purely internal and unused.Publish a random CRS to the network.Auto-renew an account.
This is used for internal fee calculations.Add a livehash to an accountApprove an allowance for a spender relative to the owner account, which MUST sign the transaction.Create a new accountDelete an account.Delete (unapprove) an allowance previously approved for the owner account.Delete a livehash from an accountGet the balance for an account.Get a full account record.Get information about a token.Get the live hash for an accountGet the accounts proxy staking to a given account.Transfer tokens among accounts.Update an account.Perform an Ethereum (EVM) transaction.
CallData may be inline if small, or in a "file" if large.Append data to a "file" stored in the ledger.Create a "file" stored in the ledger.Delete a "file" stored in the ledger.Get the contents of a "file" stored in the ledger.Get the metadata for a "file" stored in the ledger.Update a "file" stored in the ledger.Stop all processing and "freeze" the entire network.
This is generally sent immediately prior to upgrading the network.
After processing this transactions all nodes enter a quiescent state.Get all the information about an account, including balance and allowances.
This does not get a list of account records.Get a smart contract by reference to the contract key.Get a smart contract record by reference to the solidity ID.Get version information for the ledger.
This returns a the version of the software currently running the network for both the protocol buffers and the network services (node).Publish a hinTS key to the network.Sign a partial signature for the active hinTS construction.Vote for a particular preprocessing output of a hinTS construction.Sign a particular history assembly.Publish a roster history proof key to the network.Vote for a particular history proof.(Internal-only) Dispatch a hook action.Update one or more storage slots in an EVM hook.(DEPRECATED) Remove once no production throttle assets reference it.(Internal-only) Publish a new ledger id and chain-of-trust key.Vote on wrapped record migration hash state.Get execution time(s) for one or more "recent" TransactionIDs.Create a nodeDelete a nodeUsed to indicate when the network has updated the staking information at the end of a staking period and to indicate a new staking period has started.Update a nodeFUTURE - Uncomment when https://github.com/hashgraph/pbj/issues/339 is fixed; currently the PBJ-generated unit tests fail when using reserved ordinals reserved 96, 97, 98, 99; Unused - The first value is unused because this default value is ambiguous with an "unset" value and therefore should not be used.Generate and return a pseudorandom number based on network state.Create a registered nodeDelete a registered nodeUpdate a registered nodeCreate a scheduled transactionDelete a scheduled transactionGet metadata (information) for a scheduled transactionSign a scheduled transactionSubmit a signature of a state root hash gossiped to other nodesDelete a "system" "file" stored in the ledger.
"System" files are files with special purpose and ID values within a specific range.
These files require additional controls and can only be deleted when authorized by accounts with elevated privilege.Undo the delete of a "system" "file" stored in the ledger.
"System" files are files with special purpose and ID values within a specific range.
These files require additional controls and can only be deleted when authorized by accounts with elevated privilege.Wipe all amounts for a specific HTS token from a specified account.Airdrop one or more tokens to one or more accounts.Associate a specific HTS token to an account.Burn HTS token amounts from the treasury account for that token.Remove one or more pending airdrops from state on behalf of the sender(s) for each airdrop.Claim one or more pending airdropsCreate a token for the Hedera Token Service (HTS).Delete a specific HTS token.Dissociate a specific HTS token from an account.Update a token's custom fee schedule.Freeze a specific account with respect to a specific HTS token.Get NFT metadata (information) for a range of NFTs associated to a specific non-fungible/unique HTS token and owned by a specific account.Get metadata (information) for an HTS token.Get metadata (information) for a specific NFT identified by token and serial number.Get NFT metadata (information) for a range of NFTs associated to a specific non-fungible/unique HTS token.Grant KYC status to an account for a specific HTS token.Mint HTS token amounts to the treasury account for that token.Pause a specific HTS tokenTransfer one or more token balances held by the requesting account to the treasury for each token type.Revoke KYC status from an account for a specific HTS token.Remove a "freeze" from an account with respect to a specific HTS token.Unpause a paused HTS token.Update a specific HTS token.Update the metadata of one or more NFT's of a specific token type.Get a record for a "recent" transaction.Get a receipt for a specified transaction ID.Get transaction record(s) for a specified transaction ID.Submit a transaction, bypassing intake checking. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiontoString()(package private) static RequestTypevalueOf(HederaFunctionality code) Returns the enum constant of this class with the specified name.static RequestTypeReturns the enum constant of this class with the specified name.static RequestType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
FUTURE - Uncomment when https://github.com/hashgraph/pbj/issues/339 is fixed; currently the PBJ-generated unit tests fail when using reserved ordinals reserved 96, 97, 98, 99; Unused - The first value is unused because this default value is ambiguous with an "unset" value and therefore should not be used. -
CRYPTO_TRANSFER
Transfer tokens among accounts. -
CRYPTO_UPDATE
Update an account. -
CRYPTO_DELETE
Delete an account. -
CRYPTO_ADD_LIVE_HASH
Add a livehash to an account -
CRYPTO_DELETE_LIVE_HASH
Delete a livehash from an account -
CONTRACT_CALL
Execute a smart contract call. -
CONTRACT_CREATE
Create a smart contract. -
CONTRACT_UPDATE
Update a smart contract. -
FILE_CREATE
Create a "file" stored in the ledger. -
FILE_APPEND
Append data to a "file" stored in the ledger. -
FILE_UPDATE
Update a "file" stored in the ledger. -
FILE_DELETE
Delete a "file" stored in the ledger. -
CRYPTO_GET_ACCOUNT_BALANCE
Get the balance for an account. -
CRYPTO_GET_ACCOUNT_RECORDS
Get a full account record. -
CRYPTO_GET_INFO
Get information about a token. -
CONTRACT_CALL_LOCAL
Execute a local smart contract call.
Used by contracts to call other contracts. -
CONTRACT_GET_INFO
Get information about a smart contract. -
CONTRACT_GET_BYTECODE
Get the compiled bytecode that implements a smart contract. -
GET_BY_SOLIDITY_ID
Get a smart contract record by reference to the solidity ID. -
GET_BY_KEY
Get a smart contract by reference to the contract key. -
CRYPTO_GET_LIVE_HASH
Get the live hash for an account -
CRYPTO_GET_STAKERS
Get the accounts proxy staking to a given account. -
FILE_GET_CONTENTS
Get the contents of a "file" stored in the ledger. -
FILE_GET_INFO
Get the metadata for a "file" stored in the ledger. -
TRANSACTION_GET_RECORD
Get transaction record(s) for a specified transaction ID. -
CONTRACT_GET_RECORDS
Get all transaction records for a specified contract ID in the past 24 hours.
deprecated since version 0.9.0 -
CRYPTO_CREATE
Create a new account -
SYSTEM_DELETE
Delete a "system" "file" stored in the ledger.
"System" files are files with special purpose and ID values within a specific range.
These files require additional controls and can only be deleted when authorized by accounts with elevated privilege. -
SYSTEM_UNDELETE
Undo the delete of a "system" "file" stored in the ledger.
"System" files are files with special purpose and ID values within a specific range.
These files require additional controls and can only be deleted when authorized by accounts with elevated privilege. This operation allows such files to be restored, within a reasonable timeframe, if deleted improperly. -
CONTRACT_DELETE
Delete a smart contract -
FREEZE
Stop all processing and "freeze" the entire network.
This is generally sent immediately prior to upgrading the network.
After processing this transactions all nodes enter a quiescent state. -
CREATE_TRANSACTION_RECORD
Create a Transaction Record.
This appears to be purely internal and unused. -
CRYPTO_ACCOUNT_AUTO_RENEW
Auto-renew an account.
This is used for internal fee calculations. -
CONTRACT_AUTO_RENEW
Auto-renew a smart contract.
This is used for internal fee calculations. -
GET_VERSION_INFO
Get version information for the ledger.
This returns a the version of the software currently running the network for both the protocol buffers and the network services (node). -
TRANSACTION_GET_RECEIPT
Get a receipt for a specified transaction ID. -
CONSENSUS_CREATE_TOPIC
Create a topic for the Hedera Consensus Service (HCS). -
CONSENSUS_UPDATE_TOPIC
Update an HCS topic. -
CONSENSUS_DELETE_TOPIC
Delete an HCS topic. -
CONSENSUS_GET_TOPIC_INFO
Get metadata (information) for an HCS topic. -
CONSENSUS_SUBMIT_MESSAGE
Publish a message to an HCS topic. -
UNCHECKED_SUBMIT
Submit a transaction, bypassing intake checking. Only enabled in local-mode. -
TOKEN_CREATE
Create a token for the Hedera Token Service (HTS). -
TOKEN_GET_INFO
Get metadata (information) for an HTS token. -
TOKEN_FREEZE_ACCOUNT
Freeze a specific account with respect to a specific HTS token.Once this transaction completes that account CANNOT send or receive the specified token.
-
TOKEN_UNFREEZE_ACCOUNT
Remove a "freeze" from an account with respect to a specific HTS token. -
TOKEN_GRANT_KYC_TO_ACCOUNT
Grant KYC status to an account for a specific HTS token. -
TOKEN_REVOKE_KYC_FROM_ACCOUNT
Revoke KYC status from an account for a specific HTS token. -
TOKEN_DELETE
Delete a specific HTS token. -
TOKEN_UPDATE
Update a specific HTS token. -
TOKEN_MINT
Mint HTS token amounts to the treasury account for that token. -
TOKEN_BURN
Burn HTS token amounts from the treasury account for that token. -
TOKEN_ACCOUNT_WIPE
Wipe all amounts for a specific HTS token from a specified account. -
TOKEN_ASSOCIATE_TO_ACCOUNT
Associate a specific HTS token to an account. -
TOKEN_DISSOCIATE_FROM_ACCOUNT
Dissociate a specific HTS token from an account. -
SCHEDULE_CREATE
Create a scheduled transaction -
SCHEDULE_DELETE
Delete a scheduled transaction -
SCHEDULE_SIGN
Sign a scheduled transaction -
SCHEDULE_GET_INFO
Get metadata (information) for a scheduled transaction -
TOKEN_GET_ACCOUNT_NFT_INFOS
Get NFT metadata (information) for a range of NFTs associated to a specific non-fungible/unique HTS token and owned by a specific account. -
TOKEN_GET_NFT_INFO
Get metadata (information) for a specific NFT identified by token and serial number. -
TOKEN_GET_NFT_INFOS
Get NFT metadata (information) for a range of NFTs associated to a specific non-fungible/unique HTS token. -
TOKEN_FEE_SCHEDULE_UPDATE
Update a token's custom fee schedule.If a transaction of this type is not signed by the token `fee_schedule_key` it SHALL fail with INVALID_SIGNATURE, or TOKEN_HAS_NO_FEE_SCHEDULE_KEY if there is no `fee_schedule_key` set.
-
NETWORK_GET_EXECUTION_TIME
Get execution time(s) for one or more "recent" TransactionIDs. -
TOKEN_PAUSE
Pause a specific HTS token -
TOKEN_UNPAUSE
Unpause a paused HTS token. -
CRYPTO_APPROVE_ALLOWANCE
Approve an allowance for a spender relative to the owner account, which MUST sign the transaction. -
CRYPTO_DELETE_ALLOWANCE
Delete (unapprove) an allowance previously approved for the owner account. -
GET_ACCOUNT_DETAILS
Get all the information about an account, including balance and allowances.
This does not get a list of account records. -
ETHEREUM_TRANSACTION
Perform an Ethereum (EVM) transaction.
CallData may be inline if small, or in a "file" if large. -
NODE_STAKE_UPDATE
Used to indicate when the network has updated the staking information at the end of a staking period and to indicate a new staking period has started. -
PRNG
Generate and return a pseudorandom number based on network state. -
TRANSACTION_GET_FAST_RECORD
Get a record for a "recent" transaction. -
TOKEN_UPDATE_NFTS
Update the metadata of one or more NFT's of a specific token type. -
NODE_CREATE
Create a node -
NODE_UPDATE
Update a node -
NODE_DELETE
Delete a node -
TOKEN_REJECT
Transfer one or more token balances held by the requesting account to the treasury for each token type. -
TOKEN_AIRDROP
Airdrop one or more tokens to one or more accounts. -
TOKEN_CANCEL_AIRDROP
Remove one or more pending airdrops from state on behalf of the sender(s) for each airdrop. -
TOKEN_CLAIM_AIRDROP
Claim one or more pending airdrops -
STATE_SIGNATURE_TRANSACTION
Submit a signature of a state root hash gossiped to other nodes -
HINTS_KEY_PUBLICATION
Publish a hinTS key to the network. -
HINTS_PREPROCESSING_VOTE
Vote for a particular preprocessing output of a hinTS construction. -
HINTS_PARTIAL_SIGNATURE
Sign a partial signature for the active hinTS construction. -
HISTORY_ASSEMBLY_SIGNATURE
Sign a particular history assembly. -
HISTORY_PROOF_KEY_PUBLICATION
Publish a roster history proof key to the network. -
HISTORY_PROOF_VOTE
Vote for a particular history proof. -
CRS_PUBLICATION
Publish a random CRS to the network. -
ATOMIC_BATCH
Submit a batch of transactions to run atomically -
LAMBDA_S_STORE
(DEPRECATED) Remove once no production throttle assets reference it. -
HOOK_DISPATCH
(Internal-only) Dispatch a hook action. -
HOOK_STORE
Update one or more storage slots in an EVM hook. -
LEDGER_ID_PUBLICATION
(Internal-only) Publish a new ledger id and chain-of-trust key. -
REGISTERED_NODE_CREATE
Create a registered node -
REGISTERED_NODE_UPDATE
Update a registered node -
REGISTERED_NODE_DELETE
Delete a registered node -
MIGRATION_ROOT_HASH_VOTE
Vote on wrapped record migration hash state.
-
-
Field Details
-
code
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
code- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
toString
- Overrides:
toStringin classEnum<RequestType>
-