Class: RegularTransactionEssence
RegularTransactionEssence transaction essence.
Hierarchy
↳
RegularTransactionEssence
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new RegularTransactionEssence(networkId
, inputsCommitment
, inputs
, outputs
, payload
)
Parameters
Name | Type | Description |
---|---|---|
networkId | string | The ID of the network the transaction was issued to. |
inputsCommitment | string | The hash of all inputs. |
inputs | Input [] | The inputs of the transaction. |
outputs | Output [] | The outputs of the transaction. |
payload | undefined | Payload | An optional Tagged Data payload. |
Overrides
TransactionEssence.constructor
Properties
type
• Readonly
type: Regular
Inherited from
networkId
• networkId: string
inputsCommitment
• inputsCommitment: string
inputs
• inputs: Input
[]
outputs
• outputs: Output
[]
payload
• payload: undefined
| Payload
Methods
getType
▸ getType(): Regular
Get the type of essence.