GraphKey
Overview
Represents a graph key for an Aleo account. The GraphKey class provides methods for creating graph keys from view keys. Graph keys are used to determine ownership of records through the sk_tag component.
Methods
from_view_key
Create a new graph key from a view key
from_view_key(view_key) ► GraphKey
| Param | Type | Description |
|---|---|---|
| view_key | ViewKey | View key |
| return | GraphKey | Graph key |
from_string
Create a new graph key from a string representation of a graph key
from_string(graph_key) ► GraphKey
| Param | Type | Description |
|---|---|---|
| graph_key | string | String representation of a graph key |
| return | GraphKey | Graph key |
to_string
Get a string representation of a graph key
to_string() ► string
| Param | Type |
|---|---|
| return | string |
sk_tag
Get the sk_tag of the graph key. Used to determine ownership of records.
sk_tag() ► Field
| Param | Type |
|---|---|
| return | Field |