Skip to main content

@midnight-ntwrk/onchain-runtime v0.1.14Readme | API


@midnight-ntwrk/onchain-runtime v0.1.14 / ContractOperation

Class: ContractOperation

An individual operation, or entry point of a contract, consisting primarily of a ZK verifier key (or nothing, signifying the key as missing)

Note that the serialized form of the key is checked on initialization

Constructors

new ContractOperation()

new ContractOperation(): ContractOperation

Returns

ContractOperation

Properties

verifierKey

verifierKey: Uint8Array;

Methods

toString()

toString(compact?): string

Parameters

compact?: boolean

Returns

string