@bloock/sdk / AnchorNetwork
Class: AnchorNetwork
Represents information about an anchor network.
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new AnchorNetwork(name
, state
, txHash
, root?
): AnchorNetwork
Constructs an AnchorNetwork object with the specified parameters.
Parameters
Name | Type |
---|---|
name | string |
state | string |
txHash | string |
root? | string |
Returns
Defined in
entity/integrity/anchor_network.ts:19
Properties
name
• name: string
Defined in
entity/integrity/anchor_network.ts:7
root
• Optional
root: string
Defined in
entity/integrity/anchor_network.ts:10
state
• state: string
Defined in
entity/integrity/anchor_network.ts:8
txHash
• txHash: string
Defined in
entity/integrity/anchor_network.ts:9
Methods
toProto
▸ toProto(): AnchorNetwork
Returns
AnchorNetwork
Defined in
entity/integrity/anchor_network.ts:30
fromProto
▸ fromProto(a
): AnchorNetwork
Parameters
Name | Type |
---|---|
a | AnchorNetwork |