Skip to main content

Class: ReceiptMilestoneOption

A Receipt milestone option.

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new ReceiptMilestoneOption(migratedAt, final, funds, transaction)

Parameters

NameTypeDescription
migratedAtnumberThe milestone index at which the funds were migrated in the legacy network.
finalbooleanWhether this Receipt is the final one for a given migrated at index.
fundsMigratedFunds[]The funds which were migrated.
transactionTreasuryTransactionPayloadThe Treasury Transaction used to provide the funds.

Overrides

MilestoneOption.constructor

Properties

type

Readonly type: MilestoneOptionType

Inherited from

MilestoneOption.type


migratedAt

migratedAt: number

The milestone index at which the funds were migrated in the legacy network.


final

final: boolean

Whether this Receipt is the final one for a given migrated at index.


funds

funds: MigratedFunds[]

The funds which were migrated.


transaction

transaction: TreasuryTransactionPayload

The Treasury Transaction used to provide the funds.

Methods

getType

getType(): MilestoneOptionType

Get the type of milestone option.

Returns

MilestoneOptionType

Inherited from

MilestoneOption.getType