Skip to main content

VerifierKeyInsert

@midnight-ntwrk/ledger v3.0.2 β€’ Readme | API


@midnight-ntwrk/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