Skip to main content

@midnight/ledger v3.0.2Readme | API


@midnight/ledger v3.0.2 / VerifierKeyInsert

Class: VerifierKeyInsert

An update instruction to insert a verifier key at a specific operation and version.

Constructors

new VerifierKeyInsert(operation, vk)

new VerifierKeyInsert(operation, vk): VerifierKeyInsert

Parameters

operation: string | Uint8Array

vk: ContractOperationVersionedVerifierKey

Returns

VerifierKeyInsert

Properties

operation

readonly operation: string | Uint8Array;

vk

readonly vk: ContractOperationVersionedVerifierKey;

Methods

toString()

toString(compact?): string

Parameters

compact?: boolean

Returns

string