toggle menu
lattice-kt
1.0-SNAPSHOT
jvm
switch theme
search in API
lattice
/
com.example.lattice
/
BaseTransactionBuilder
Base
Transaction
Builder
abstract
class
BaseTransactionBuilder
<
T
:
BaseTransactionBuilder
<
T
>
>
(
type
:
TxTypeEnum
)
:
TransactionBuilder
<
T
>
交易的建造者抽象类
Parameters
type
TxTypeEnum
交易的类型枚举
Inheritors
TransferTXBuilder
DeployContractTXBuilder
CallContractTXBuilder
Members
Constructors
Base
Transaction
Builder
Link copied to clipboard
constructor
(
type
:
TxTypeEnum
)
Functions
build
Link copied to clipboard
open
override
fun
build
(
)
:
Transaction
refresh
Timestamp
Link copied to clipboard
open
override
fun
refreshTimestamp
(
)
:
T
set
Amount
Link copied to clipboard
open
override
fun
setAmount
(
amount
:
Long
)
:
T
set
Block
Link copied to clipboard
open
override
fun
setBlock
(
latest
:
CurrentTDBlock
)
:
T
set
Code
Link copied to clipboard
open
override
fun
setCode
(
data
:
String
)
:
T
set
Joule
Link copied to clipboard
open
override
fun
setJoule
(
joule
:
Long
)
:
T
set
Linker
Link copied to clipboard
open
override
fun
setLinker
(
linker
:
Address
)
:
T
set
Owner
Link copied to clipboard
open
override
fun
setOwner
(
owner
:
Address
)
:
T
set
Payload
Link copied to clipboard
open
override
fun
setPayload
(
payload
:
String
)
:
T