interface · Browser and Node
Leaf
What the issuer puts in the tree for one member.
@toip-tools/anon-membershipView sourceimport { type Leaf } from "@toip-tools/anon-membership";
Declaration
interface Leaf {
commitment: Field;
/** The attribute layout. 0 when the group has no attributes. */
schemaId: Field;
/** Last day (days since 1970-01-01 UTC) the membership is valid. */
validUntilDay: number;
/** Day the member was registered. */
registeredDay: number;
attrs: [Field, Field, Field, Field];
}
Properties
commitmentrequiredbigintschemaIdrequiredbigintThe attribute layout. 0 when the group has no attributes.
validUntilDayrequirednumberLast day (days since 1970-01-01 UTC) the membership is valid.
registeredDayrequirednumberDay the member was registered.
attrsrequired[bigint, bigint, bigint, bigint]