Skip to content

Class: VestingContract

Utility class providing methods to parse Vesting Contract transaction data and proofs.

Constructors

new VestingContract()

new VestingContract(): VestingContract

Returns

VestingContract

Methods

free()

free(): void

Returns

void

Defined in

@nimiq/core/types/wasm/web.d.ts:2396


dataToPlain()

static dataToPlain(data): PlainTransactionRecipientData

Parses the data of a Vesting Contract creation transaction into a plain object.

Parameters

data: Uint8Array

Returns

PlainTransactionRecipientData

Defined in

@nimiq/core/types/wasm/web.d.ts:2402


proofToPlain()

static proofToPlain(proof): PlainTransactionProof

Parses the proof of a Vesting Contract claiming transaction into a plain object.

Parameters

proof: Uint8Array

Returns

PlainTransactionProof

Defined in

@nimiq/core/types/wasm/web.d.ts:2408