Skip to main content

@bloock/sdk / ProofAnchor

Class: ProofAnchor

Represents a proof anchor.

Table of contents​

Constructors​

Properties​

Methods​

Constructors​

constructor​

• new ProofAnchor(anchorID, networks, root, status): ProofAnchor

Constructs a ProofAnchor object with the specified parameters.

Parameters​

NameType
anchorIDnumber
networksAnchorNetwork[]
rootstring
statusstring

Returns​

ProofAnchor

Defined in​

entity/integrity/proof_anchor.ts:20

Properties​

anchorID​

• anchorID: number

Defined in​

entity/integrity/proof_anchor.ts:8


networks​

• networks: AnchorNetwork[]

Defined in​

entity/integrity/proof_anchor.ts:9


root​

• root: string

Defined in​

entity/integrity/proof_anchor.ts:10


status​

• status: string

Defined in​

entity/integrity/proof_anchor.ts:11

Methods​

toProto​

▸ toProto(): ProofAnchor

Returns​

ProofAnchor

Defined in​

entity/integrity/proof_anchor.ts:41


fromProto​

▸ fromProto(p): ProofAnchor

Parameters​

NameType
pProofAnchor

Returns​

ProofAnchor

Defined in​

entity/integrity/proof_anchor.ts:32