Skip to main content

Class: Payload

The base class for block payloads.

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new Payload(type)

Parameters

NameTypeDescription
typePayloadTypeThe type of payload.

Properties

type

Readonly type: PayloadType

Methods

getType

getType(): PayloadType

Get the type of payload.

Returns

PayloadType