@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
| Name | Type |
|---|---|
anchorID | number |
networks | AnchorNetwork[] |
root | string |
status | string |
Returns
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
| Name | Type |
|---|---|
p | ProofAnchor |