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

    Type Alias MintQuoteBaseResponse

    Base mint quote response - all mint quotes have these fields (NUT-04) and may have optional fields (NUT-20)

    type MintQuoteBaseResponse = {
        amount_issued?: Amount;
        amount_paid?: Amount;
        pubkey?: string;
        quote: string;
        request: string;
        unit: string;
        updated_at?: number | null;
    }
    Index

    Properties

    amount_issued?: Amount

    Total amount of ecash issued for this quote, in unit. The mintable amount is amount_paid - amount_issued, which supersedes the deprecated bolt11 state.

    amount_paid?: Amount

    Total amount paid to the mint for this quote, in unit. Absent on mints that predate the NUT-04 accounting fields; required from v5. Method-specific types may narrow it to required.

    pubkey?: string

    Optional. Public key the quote is locked to (NUT-20)

    quote: string

    Quote ID.

    request: string

    Payment request.

    unit: string

    Unit of the melt quote.

    updated_at?: number | null

    Unix timestamp of the last quote update, null when the mint does not report one. Optional so that callers constructing quote objects are unaffected; responses from Mint always carry it.