Home > @3rdweb/sdk > generateRoot
Convenience function to generate a merkle root from a list of strings.
Signature:
export declare function generateRoot(items: string[]): string;
Parameter | Type | Description |
---|---|---|
items | string[] | Any list of strings that will be hashed and added to the tree. |
Returns:
string