Cashu-TS - v3.3.0
    Preparing search index...

    Type Alias MintQuoteBolt12Response

    MintQuoteBolt12Response: MintQuoteBaseResponse & {
        amount?: number;
        amount_issued: number;
        amount_paid: number;
        expiry: number;
        pubkey: string;
    }

    Response from the mint after requesting a BOLT12 mint quote.

    Type Declaration

    • Optionalamount?: number

      Amount requested for mint quote.

    • amount_issued: number

      The amount of ecash that has been issued for the given mint quote.

    • amount_paid: number

      The amount that has been paid to the mint via the bolt12 offer. The difference between this and amount_issued can be minted.

    • expiry: number

      Timestamp of when the quote expires.

    • pubkey: string

      Public key the quote is locked to.

      Required for bolt12.