Class: Transaction
Transaction Builder
Constructors
new Transaction()
new Transaction():
Transaction
Returns
Properties
object()
object: (
value
) =>object
Add a new object input to the transaction.
Parameters
• value: TransactionObjectInput
Returns
object
$kind
$kind:
"Input"
Input
Input:
number
type?
optional
type:"object"
system()
Returns
object
$kind
$kind:
"Input"
Input
Input:
number
type?
optional
type:"object"
clock()
Returns
object
$kind
$kind:
"Input"
Input
Input:
number
type?
optional
type:"object"
random()
Returns
object
$kind
$kind:
"Input"
Input
Input:
number
type?
optional
type:"object"
denyList()
Returns
object
$kind
$kind:
"Input"
Input
Input:
number
type?
optional
type:"object"
Accessors
blockData
Get Signature
get blockData():
object
Deprecated
Use getData()
instead.
Returns
object
version
version:
1
sender?
optional
sender:string
expiration?
optional
expiration:null
|object
|object
gasConfig
gasConfig:
object
=GasConfig
gasConfig.budget?
optional
budget:string
|number
|bigint
gasConfig.price?
optional
price:string
|number
|bigint
gasConfig.payment?
optional
payment:object
[]
gasConfig.owner?
optional
owner:string
inputs
inputs: (
object
|object
)[]
transactions
transactions: (
object
|object
|object
|object
|object
|object
|object
)[]
pure
Get Signature
get pure(): <
T
>(type
,value
) =>T
(value
) =>T
Returns
Function