opensea-js - v8.0.20
    Preparing search index...

    Interface OpenSeaRateLimitError

    Enhanced Error type for rate limit errors that includes retry-after information

    interface OpenSeaRateLimitError {
        cause?: unknown;
        message: string;
        name: string;
        responseBody?: unknown;
        retryAfter?: number;
        stack?: string;
        statusCode?: number;
    }

    Hierarchy

    • Error
      • OpenSeaRateLimitError
    Index

    Properties

    cause?: unknown
    message: string
    name: string
    responseBody?: unknown

    The response body from the API

    retryAfter?: number

    The number of seconds to wait before retrying the request

    stack?: string
    statusCode?: number

    The HTTP status code of the error response