Cashu-TS - v4.13.0
    Preparing search index...

    Type Alias TokenMetadata

    Metadata for a Cashu token.

    type TokenMetadata = {
        amount: Amount;
        incompleteProofs: Omit<Proof, "id">[];
        memo?: string;
        mint: string;
        proofAmounts: Amount[];
        unit: string;
    }
    Index

    Properties

    amount: Amount

    The amount of the token.

    incompleteProofs: Omit<Proof, "id">[]

    The incomplete proofs of the token.

    Removed in v5. Use TokenMetadata.proofAmounts to inspect amounts, or decode the token with a loaded wallet to obtain proofs.

    memo?: string

    The memo of the token.

    mint: string

    The mint of the token.

    proofAmounts: Amount[]

    The per-proof amounts of the token, in order.

    unit: string

    The unit of the token.