Skip to main content

Class: RegularTransactionEssence

RegularTransactionEssence transaction essence.

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new RegularTransactionEssence(networkId, inputsCommitment, inputs, outputs, payload)

Parameters

NameTypeDescription
networkIdstringThe ID of the network the transaction was issued to.
inputsCommitmentstringThe hash of all inputs.
inputsInput[]The inputs of the transaction.
outputsOutput[]The outputs of the transaction.
payloadundefined | PayloadAn optional Tagged Data payload.

Overrides

TransactionEssence.constructor

Properties

type

Readonly type: Regular

Inherited from

TransactionEssence.type


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.

Returns

Regular

Inherited from

TransactionEssence.getType