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

    Type Alias Bolt12MintQuoteResponse

    Response from the mint after requesting a BOLT12 mint quote. Contains a Lightning Network offer and tracks payment/issuance amounts.

    type Bolt12MintQuoteResponse = {
        amount: number | null;
        amount_issued: number;
        amount_paid: number;
        expiry: number | null;
        pubkey: string;
        quote: string;
        request: string;
        unit: string;
    }
    Index

    Properties

    amount: number | null

    Requested amount. This is null for amount-less offers.

    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 | null

    Unix timestamp when quote expires.

    pubkey: string

    Public key that locked this quote.

    quote: string

    Quote identifier.

    request: string

    BOLT12 offer that can be paid to mint tokens.

    unit: string

    Unit of the amount.