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

    Type Alias SwapMethod

    Ecash to other MoE swap method, displayed in

    min_amount and max_amount are <int|null> per NUT-04/05/25/XX — null when the mint advertises no lower/upper bound. Consumers should use null-safe checks (?? 0, != null, truthy) before passing to Amount.from(...).

    type SwapMethod = {
        description?: boolean;
        max_amount: AmountLike | null;
        method: string;
        min_amount: AmountLike | null;
        options?: {
            amountless?: boolean;
            confirmations?: number;
            description?: boolean;
        };
        unit: string;
    }
    Index

    Properties

    description?: boolean
    max_amount: AmountLike | null
    method: string
    min_amount: AmountLike | null
    options?: {
        amountless?: boolean;
        confirmations?: number;
        description?: boolean;
    }
    unit: string