Skip to main content

Proof

@cashu/cashu-ts


@cashu/cashu-ts / Proof

Type Alias: Proof

Proof = object

Defined in: cashu-ts/src/model/types/wallet/index.ts:11

represents a single Cashu proof.

Properties

amount

amount: number

Defined in: cashu-ts/src/model/types/wallet/index.ts:19

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


C

C: string

Defined in: cashu-ts/src/model/types/wallet/index.ts:27

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


dleq?

optional dleq: SerializedDLEQ

Defined in: cashu-ts/src/model/types/wallet/index.ts:31

DLEQ proof


id

id: string

Defined in: cashu-ts/src/model/types/wallet/index.ts:15

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


secret

secret: string

Defined in: cashu-ts/src/model/types/wallet/index.ts:23

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