Skip to main content

@midnight/ledger v3.0.2Readme | API


@midnight/ledger v3.0.2 / ContractOperationVersionedVerifierKey

Class: ContractOperationVersionedVerifierKey

A versioned verifier key to be associated with a ContractOperation.

Constructors

new ContractOperationVersionedVerifierKey(version, rawVk)

new ContractOperationVersionedVerifierKey(version, rawVk): ContractOperationVersionedVerifierKey

Parameters

version: "v1"

rawVk: Uint8Array

Returns

ContractOperationVersionedVerifierKey

Properties

rawVk

readonly rawVk: Uint8Array;

version

readonly version: "v1";

Methods

toString()

toString(compact?): string

Parameters

compact?: boolean

Returns

string