aftermath-ts-sdk - v3.3.3
    Preparing search index...

    Interface RateLimit

    Interface specifying allowable rate limits for an auth account. The p field indicates the path or endpoint (e.g., "/pools"), while m indicates the method-based limits (GET or POST, or both).

    interface RateLimit {
        m:
            | { GET: { l: number } }
            | { POST: { l: number } }
            | { GET: { l: number }; POST: { l: number } };
        p: string;
    }
    Index
    m p
    m:
        | { GET: { l: number } }
        | { POST: { l: number } }
        | { GET: { l: number }; POST: { l: number } }

    The method-based limit specification. For example:

    { GET: { l: 100 } }
    { POST: { l: 50 } }
    { GET: { l: 100 }, POST: { l: 100 } }
    p: string

    The path or endpoint to be rate-limited, e.g. "/pools" or "/router/trade".