EdDSATicketPCDArgs: {
    id: StringArgument;
    privateKey: StringArgument;
    ticket: ObjectArgument<ITicketData>;
}

Defines the essential parameters required for creating an EdDSATicketPCD.

Type declaration

  • id: StringArgument

    A string that uniquely identifies an EdDSATicketPCD. If this argument is not specified a random id will be generated.

  • privateKey: StringArgument

    The EdDSA private key is a 32-byte value used to sign the message. newEdDSAPrivateKey is recommended for generating highly secure private keys.

  • ticket: ObjectArgument<ITicketData>

    A ITicketData object containing ticket information that is encoded into this PCD.

Generated using TypeDoc