ChemPare Documentation - v0.0.0
    Preparing search index...

    Interface ExchangeRateResponse

    Response structure for currency exchange rate data

    interface ExchangeRateResponse {
        status_code: HTTP_STATUS_CODES;
        data: {
            base: string | number;
            target: string | number;
            mid: number;
            unit: number;
            timestamp: string;
        };
    }
    Index

    Properties

    Properties

    status_code: HTTP_STATUS_CODES

    HTTP status code of the response

    data: {
        base: string | number;
        target: string | number;
        mid: number;
        unit: number;
        timestamp: string;
    }

    Exchange rate data

    Type declaration

    • base: string | number

      Base currency code

    • target: string | number

      Target currency code

    • mid: number

      Mid-point exchange rate

    • unit: number

      Unit of the exchange rate

    • timestamp: string

      Timestamp of the exchange rate in ISO format