Class: TransactionPayload
Transaction payload.
Hierarchy
↳
TransactionPayload
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new TransactionPayload(essence, unlocks)
Parameters
| Name | Type | Description |
|---|---|---|
essence | TransactionEssence | The transaction essence. |
unlocks | Unlock[] | The unlocks of the transaction. |
Overrides
Properties
type
• Readonly type: PayloadType
Inherited from
essence
• essence: TransactionEssence
The index name.
unlocks
• unlocks: Unlock[]
The unlocks.
Methods
getType
▸ getType(): PayloadType
Get the type of payload.