Type alias PODPCDArgs

PODPCDArgs: {
    entries: ObjectArgument<JSONPODEntries>;
    id: StringArgument;
    privateKey: StringArgument;
}

Defines the essential parameters required for creating a PODPCD.

Type declaration

  • entries: ObjectArgument<JSONPODEntries>

    A JSONPODEntries object containing the entries (name/value pairs) to include in the new POD.

  • id: StringArgument

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

    This ID is not cryptographically verified by the POD. An issuer can choose to include the ID in an entry of the POD to do so, but this PCD type doesn't link its ID to any such entry.

  • privateKey: StringArgument

    The signer's EdDSA private key. This is a 32-byte value used to sign the message. See @pcd/pod!decodePrivateKey in @pcd/pod if you need to manipulate or convert this value.

Generated using TypeDoc