| 程序包 | 说明 |
|---|---|
| com.alipay.mychain.sdk.domain.transaction |
| 限定符和类型 | 方法和说明 |
|---|---|
static TransactionType |
TransactionType.forNumber(int value)
For number transaction type.
|
TransactionType |
Transaction.getTxType()
Gets tx type.
|
static TransactionType |
TransactionType.valueOf(int value)
Value of transaction type.
|
static TransactionType |
TransactionType.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static TransactionType[] |
TransactionType.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 限定符和类型 | 方法和说明 |
|---|---|
static Transaction |
Transaction.builder(TransactionType txType,
byte[] data,
List<byte[]> signatureList,
Hash hash,
Identity from,
Identity to,
long timestamp,
long period,
BaseFixedSizeUnsignedInteger.Fixed64BitUnsignedInteger nonce,
BigInteger gas,
BaseFixedSizeUnsignedInteger.Fixed64BitUnsignedInteger value,
List<Extension> extensions,
BaseFixedSizeByteArray.Fixed20ByteArray groupId)
Builder transaction do.
|
static Transaction |
Transaction.builder(TransactionType txType,
byte[] data,
List<byte[]> signatureList,
Hash hash,
Identity from,
Identity to,
long timestamp,
long period,
BaseFixedSizeUnsignedInteger.Fixed64BitUnsignedInteger nonce,
BigInteger gas,
BaseFixedSizeUnsignedInteger.Fixed64BitUnsignedInteger value,
List<Extension> extensions,
BaseFixedSizeByteArray.Fixed20ByteArray groupId,
HashTypeEnum hashTypeEnum)
Builder transaction do.
|
void |
Transaction.setTxType(TransactionType txType)
Sets tx type.
|
Copyright © 2022. All rights reserved.