interface · Browser and Node
Witness
The private half.
@toip-tools/anon-membershipView sourceimport { type Witness } from "@toip-tools/anon-membership";
Declaration
interface Witness {
secret: Field;
/** Which of the statement's groups holds the leaf. */
groupIndex: number;
leaf: Leaf;
path: MerklePath;
/** The rate-limit index k, below the statement's limit. Default 0. */
messageIndex?: number;
}
Properties
secretrequiredbigintgroupIndexrequirednumberWhich of the statement's groups holds the leaf.
leafrequiredLeafpathrequiredMerklePathmessageIndexoptionalnumber | undefinedThe rate-limit index k, below the statement's limit. Default 0.