Binance Connector JS
    Preparing search index...

    Type Alias RestApiResponse<T>

    Represents the response from a REST API request.

    type RestApiResponse<T> = {
        data: () => Promise<T>;
        headers: Record<string, string>;
        rateLimits?: RestApiRateLimit[];
        status: number;
    }

    Type Parameters

    • T

      The type of the data returned in the response.

    Index

    Properties

    data: () => Promise<T>

    A function that returns a Promise resolving to the data from the API response.

    headers: Record<string, string>

    The headers of the response.

    rateLimits?: RestApiRateLimit[]

    An optional array of rate limit information for the response.

    status: number

    The HTTP status code of the response.