public enum TransactionType extends Enum<TransactionType>
| 枚举常量和说明 |
|---|
TX_ACTIVATE_NODE |
TX_CALL_CONTRACT
Call contract transaction type.
|
TX_CONFIDENTIAL
tee confidential
|
TX_CONFIDENTIAL_DEPOSIT_DATA |
TX_CREATE_ACCOUNT
Create account transaction type.
|
TX_CREATE_GROUP |
TX_DEPLOY_CONTRACT
Deploy contract transaction type.
|
TX_DEPOSIT_DATA
Tx deposit data transaction type.
|
TX_DEPOSIT_ENVELOP
Deposit envelop transaction type.
|
TX_ENCRYPTION_ENVELOP
Encryption envelop transaction type.
|
TX_FREEZE_ACCOUNT_CONTRACT
Freeze account or contract
|
TX_GET_CONTRACT_ACL
Get contract acl
|
TX_ISSUE_ASSETS
issue assets
|
TX_JOIN_GROUP |
TX_PRE_RESET_PUB_KEY
Pre reset pub key transaction type.
|
TX_REDEEM_ASSETS
redeem issue assets
|
TX_RELATED_DEPOSIT_DATA
related deposit data
|
TX_RESET_PUB_KEY
Reset pub key transaction type.
|
TX_SET_CONTRACT_ACL
Set contract acl
|
TX_SET_RECOVER_KEY
Set recover key transaction type.
|
TX_TRANSFER_BALANCE
Transfer balance transaction type.
|
TX_UNFREEZE_ACCOUNT_CONTRACT
Unfreeze account or contract
|
TX_UNKNOWN
tx unknown
|
TX_UPDATE_AUTH_MAP
Update auth map transaction type.
|
TX_UPDATE_CONTRACT
Update contract transaction type.
|
TX_UPDATE_ENCRYPTION_KEY
Update encryption key
|
| 限定符和类型 | 方法和说明 |
|---|---|
static TransactionType |
forNumber(int value)
For number transaction type.
|
int |
getValue()
Gets value.
|
static TransactionType |
valueOf(int value)
Value of transaction type.
|
static TransactionType |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static TransactionType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final TransactionType TX_CREATE_ACCOUNT
public static final TransactionType TX_TRANSFER_BALANCE
public static final TransactionType TX_ISSUE_ASSETS
public static final TransactionType TX_REDEEM_ASSETS
public static final TransactionType TX_DEPLOY_CONTRACT
public static final TransactionType TX_CALL_CONTRACT
public static final TransactionType TX_UPDATE_CONTRACT
public static final TransactionType TX_SET_CONTRACT_ACL
public static final TransactionType TX_GET_CONTRACT_ACL
public static final TransactionType TX_SET_RECOVER_KEY
public static final TransactionType TX_PRE_RESET_PUB_KEY
public static final TransactionType TX_RESET_PUB_KEY
public static final TransactionType TX_UPDATE_AUTH_MAP
public static final TransactionType TX_UPDATE_ENCRYPTION_KEY
public static final TransactionType TX_FREEZE_ACCOUNT_CONTRACT
public static final TransactionType TX_UNFREEZE_ACCOUNT_CONTRACT
public static final TransactionType TX_ACTIVATE_NODE
public static final TransactionType TX_DEPOSIT_DATA
public static final TransactionType TX_RELATED_DEPOSIT_DATA
public static final TransactionType TX_CONFIDENTIAL_DEPOSIT_DATA
public static final TransactionType TX_UNKNOWN
public static final TransactionType TX_ENCRYPTION_ENVELOP
public static final TransactionType TX_DEPOSIT_ENVELOP
public static final TransactionType TX_CREATE_GROUP
public static final TransactionType TX_JOIN_GROUP
public static final TransactionType TX_CONFIDENTIAL
public static TransactionType[] values()
for (TransactionType c : TransactionType.values()) System.out.println(c);
public static TransactionType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public static TransactionType valueOf(int value)
value - the valuepublic static TransactionType forNumber(int value)
value - the valuepublic int getValue()
Copyright © 2022. All rights reserved.