dataSetMetadata
dataSetMetadata(
ref,groupKeyCommitment):Record<string,string>
Defined in: derive.ts:387
The metadata to record on a data set for this group key: its id under foc/gkid and the group key
commitment (from commitment) under foc/kc, so the chain alone can list a wallet’s group keys.
Synapse reuses a data set only on an exact metadata match. To keep adding to an existing data set, pass that data set’s metadata as it is, rather than rebuilding it here.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
ref |
GroupKeyRef |
groupKeyCommitment |
string |
Returns
Section titled “Returns”Record<string, string>
Throws
Section titled “Throws”If the id is not 16 bytes of hex, or groupKeyCommitment is not a commitment in format v2.