Per-account rate-limit barrier.

Constructors

Methods

Constructors

  • Constructs an account barrier from its limit and account id.

    limit accepts a RateLimit object or a plain RateLimitInit literal; accountId accepts an AccountId or a numeric/string identifier.

    Errors

    Throws ParamError/AccountIdError on an invalid limit or identifier.

    Parameters

    Returns RateLimitAccountBarrier

Methods

  • Returns void

  • Returns void