public static enum TxType.Type extends java.lang.Enum<TxType.Type>
Enum Constant and Description |
---|
ACCOUNT_CREATION
This creates an externally owned account with the given account key.
|
ACCOUNT_UPDATE
This updates the key of the account.
|
CANCEL
This cancels the transaction with the same nonce in the txpool.
|
CHAIN_DATA_ANCHORING
This is a transaction for anchoring child chain data.
|
FEE_DELEGATED_ACCOUNT_UPDATE
This updates the key of the account.
|
FEE_DELEGATED_ACCOUNT_UPDATE_WITH_RATIO
This updates the key of the account.
|
FEE_DELEGATED_CANCEL
This cancels the transaction with the same nonce in the txpool.
|
FEE_DELEGATED_CANCEL_WITH_RATIO
This cancels the transaction with the same nonce in the txpool.
|
FEE_DELEGATED_SMART_CONTRACT_DEPLOY
This deploys a smart contract.
|
FEE_DELEGATED_SMART_CONTRACT_DEPLOY_WITH_RATIO
This deploys a smart contract.
|
FEE_DELEGATED_SMART_CONTRACT_EXECUTION
This executes a smart contract with the given data.
|
FEE_DELEGATED_SMART_CONTRACT_EXECUTION_WITH_RATIO
This executes a smart contract with the given data.
|
FEE_DELEGATED_VALUE_TRANSFER
This is a value transfer transaction with a fee payer.
|
FEE_DELEGATED_VALUE_TRANSFER_MEMO
This transfers KLAY with a data.
|
FEE_DELEGATED_VALUE_TRANSFER_MEMO_WITH_RATIO
This transfers KLAY with a data.
|
FEE_DELEGATED_VALUE_TRANSFER_WITH_RATIO
This is a value transfer transaction with a fee payer and its ratio.
|
LEGACY
This represents a type of transactions existed previously in Klaytn.
|
SMART_CONTRACT_DEPLOY
This deploys a smart contract to the given address.
|
SMART_CONTRACT_EXECUTION
This executes a smart contract with the given data.
|
VALUE_TRANSFER
This transfers KLAY only.
|
VALUE_TRANSFER_MEMO
This transfers KLAY with a memo.
|
Modifier and Type | Method and Description |
---|---|
static TxType.Type |
findByValue(byte value) |
byte |
get() |
static TxType.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TxType.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TxType.Type LEGACY
public static final TxType.Type ACCOUNT_CREATION
public static final TxType.Type ACCOUNT_UPDATE
public static final TxType.Type FEE_DELEGATED_ACCOUNT_UPDATE
public static final TxType.Type FEE_DELEGATED_ACCOUNT_UPDATE_WITH_RATIO
public static final TxType.Type VALUE_TRANSFER
public static final TxType.Type VALUE_TRANSFER_MEMO
public static final TxType.Type FEE_DELEGATED_VALUE_TRANSFER
public static final TxType.Type FEE_DELEGATED_VALUE_TRANSFER_WITH_RATIO
public static final TxType.Type FEE_DELEGATED_VALUE_TRANSFER_MEMO
public static final TxType.Type FEE_DELEGATED_VALUE_TRANSFER_MEMO_WITH_RATIO
public static final TxType.Type SMART_CONTRACT_DEPLOY
public static final TxType.Type FEE_DELEGATED_SMART_CONTRACT_DEPLOY
public static final TxType.Type FEE_DELEGATED_SMART_CONTRACT_DEPLOY_WITH_RATIO
public static final TxType.Type SMART_CONTRACT_EXECUTION
public static final TxType.Type FEE_DELEGATED_SMART_CONTRACT_EXECUTION
public static final TxType.Type FEE_DELEGATED_SMART_CONTRACT_EXECUTION_WITH_RATIO
public static final TxType.Type CANCEL
public static final TxType.Type FEE_DELEGATED_CANCEL
public static final TxType.Type FEE_DELEGATED_CANCEL_WITH_RATIO
public static final TxType.Type CHAIN_DATA_ANCHORING
public static TxType.Type[] values()
for (TxType.Type c : TxType.Type.values()) System.out.println(c);
public static TxType.Type valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic byte get()
public static TxType.Type findByValue(byte value)