@cashu/cashu-ts
    Preparing search index...

    Type Alias Proof

    Represents a single Cashu proof.

    type Proof = {
        amount: number;
        C: string;
        dleq?: SerializedDLEQ;
        id: string;
        secret: string;
        witness?: string | P2PKWitness | HTLCWitness;
    }
    Index

    Properties

    amount: number

    Amount denominated in Satoshis. Has to match the amount of the mints signing key.

    C: string

    The unblinded signature for this secret, signed by the mints private key.

    DLEQ proof.

    id: string

    Keyset id, used to link proofs to a mint an its MintKeys.

    secret: string

    The initial secret that was (randomly) chosen for the creation of this proof.

    witness?: string | P2PKWitness | HTLCWitness

    The witness for this proof.