Skip to main content

Class: TransactionPayload

Transaction payload.

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new TransactionPayload(essence, unlocks)

Parameters

NameTypeDescription
essenceTransactionEssenceThe transaction essence.
unlocksUnlock[]The unlocks of the transaction.

Overrides

Payload.constructor

Properties

type

Readonly type: PayloadType

Inherited from

Payload.type


essence

essence: TransactionEssence

The index name.


unlocks

unlocks: Unlock[]

The unlocks.

Methods

getType

getType(): PayloadType

Get the type of payload.

Returns

PayloadType

Inherited from

Payload.getType