Class: Payload
The base class for block payloads.
Hierarchy
Payload
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new Payload(type
)
Parameters
Name | Type | Description |
---|---|---|
type | PayloadType | The type of payload. |
Properties
type
• Readonly
type: PayloadType
Methods
getType
▸ getType(): PayloadType
Get the type of payload.