Skip to content

ProofVerificationHash⚓︎

ProofVerificationHash
Represents a fixed size byte array.

Extends⚓︎

Constructors⚓︎

new ProofVerificationHash()⚓︎

new ProofVerificationHash(proofVerificationHash?): ProofVerificationHash

Parameters⚓︎

Parameter Type
proofVerificationHash? Uint8Array<ArrayBuffer>

Returns⚓︎

ProofVerificationHash

Overrides⚓︎

ByteArray.constructor

Properties⚓︎

Property Modifier Type Description Inherited from
bytes public Uint8Array Underlying bytes. ByteArray.bytes
NAME static string Byte array name (required because constructor.name is dropped during minification). ByteArray.NAME
SIZE static number - -

Accessors⚓︎

size⚓︎

Get Signature⚓︎

get size(): number
Returns⚓︎

number

Methods⚓︎

serialize()⚓︎

serialize(): Uint8Array<ArrayBufferLike>

Returns⚓︎

Uint8Array<ArrayBufferLike>


toJson()⚓︎

toJson(): string

ProofVerificationHash.serialize
Returns representation of this object that can be stored in JSON.

Returns⚓︎

string

JSON-safe representation of this object.

Inherited from⚓︎

ByteArray.toJson


toString()⚓︎

toString(): string

ProofVerificationHash.toString
Returns string representation of this object.

Returns⚓︎

string

String representation of this object

Inherited from⚓︎

ByteArray.toString


deserialize()⚓︎

static deserialize(payload): ProofVerificationHash

Parameters⚓︎

Parameter Type
payload any

Returns⚓︎

ProofVerificationHash