Skip to main content

MeltQuoteResponse

@cashu/cashu-ts


@cashu/cashu-ts / MeltQuoteResponse

Type Alias: MeltQuoteResponse

MeltQuoteResponse = object & ApiError

Defined in: cashu-ts/src/model/types/mint/responses.ts:118

Response from the mint after requesting a melt quote

Type declaration

amount

amount: number

Amount to be melted

change?

optional change: SerializedBlindedSignature[]

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

expiry

expiry: number

Timestamp of when the quote expires

fee_reserve

fee_reserve: number

Fee reserve to be added to the amount

payment_preimage

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

quote: string

Quote ID

state

state: MeltQuoteState

State of the melt quote