absolutepay (Node SDK) - v0.7.1
    Preparing search index...

    Interface ConvertQuote

    A firm (short-lived) conversion quote. Execute it before it expires by passing quoteId back.

    interface ConvertQuote {
        buyAmount: string;
        buyCurrency: string;
        quoteId: string;
        rate: string;
        sellAmount: string;
        sellCurrency: string;
    }
    Index

    Properties

    buyAmount: string

    Exact amount of buyCurrency that will be credited, as a decimal string.

    buyCurrency: string

    Asset being bought.

    quoteId: string

    Opaque quote id to pass to Conversions.execute. Time-limited.

    rate: string

    Exchange rate (sell → buy) locked by this quote, as a decimal string.

    sellAmount: string

    Exact amount of sellCurrency that will be debited, as a decimal string.

    sellCurrency: string

    Asset being sold.