function · Browser and Node
membershipInputs
Finds the member's leaf in one of the groups and builds the statement and witness to prove. Throws MembershipError if no group holds the leaf. Searching the whole snapshot means no request ever names an index.
@toip-tools/anon-membershipView sourceimport { membershipInputs } from "@toip-tools/anon-membership";
Declaration
membershipInputs(o: MembershipInputsOptions): {
statement: Statement;
witness: Witness;
};
Parameters
orequiredMembershipInputsOptions
Returns
Returned object
The returned object exposes these properties and methods.