function · Browser and Node
scopeOf
toField(SHA-256(JCS(["anon-membership/v1/scope", app, ...parts]))). Tipline: (dropboxDid, storyId); agora: the forum.
@toip-tools/anon-membershipView sourceimport { scopeOf } from "@toip-tools/anon-membership";
Declaration
scopeOf(app: string, ...parts: ScopePart[]): Field;
Parameters
apprequiredstringpartsrequiredScopePart[]
Returns
bigint