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

    Type Alias PartialMeltQuoteResponse

    PartialMeltQuoteResponse: {
        amount: number;
        change?: SerializedBlindedSignature[];
        expiry: number;
        fee_reserve: number;
        payment_preimage: string | null;
        quote: string;
        request?: string;
        state: MeltQuoteState;
        unit?: string;
    } & ApiError

    Response from the mint after requesting a melt quote.

    Type declaration

    • amount: number

      Amount to be melted.

    • Optionalchange?: SerializedBlindedSignature[]

      Return/Change from overpaid fees. This happens due to Lighting fee estimation being inaccurate.

    • expiry: number

      Timestamp of when the quote expires.

    • fee_reserve: number

      Fee reserve to be added to the amount.

    • payment_preimage: string | null

      Preimage of the paid invoice. is null if it the invoice has not been paid yet. can be null, depending on which LN-backend the mint uses.

    • quote: string

      Quote ID.

    • Optionalrequest?: string

      Payment request for the melt quote.

    • state: MeltQuoteState

      State of the melt quote.

    • Optionalunit?: string

      Unit of the melt quote.