• Web Client
  • API Reference
  • Classes
  • Vesting Contract

@nimiq/core / VestingContract

Class: VestingContract

Defined in: @nimiq/core/types/wasm/web.d.ts:2266

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

Methods

[dispose]()

[dispose](): void

Defined in: @nimiq/core/types/wasm/web.d.ts:2269

Returns

void


free()

free(): void

Defined in: @nimiq/core/types/wasm/web.d.ts:2268

Returns

void


dataToPlain()

static dataToPlain(data, tx_value): PlainTransactionRecipientData

Defined in: @nimiq/core/types/wasm/web.d.ts:2273

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

Parameters

data

Uint8Array

tx_value

bigint

Returns

PlainTransactionRecipientData


proofToPlain()

static proofToPlain(proof): PlainTransactionProof

Defined in: @nimiq/core/types/wasm/web.d.ts:2277

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

Parameters

proof

Uint8Array

Returns

PlainTransactionProof

Built with the Nimiq Vitepress Theme
Copy page
Create issue