# add_rate_limit_points · FT4 Rell API · Chromia Docs (concept)

> function add_ rate_ limit_ points(account: account , amount: integer) Adds rate limit points to an account to allow calling more operations in a short amou

Source: https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts/add_rate_limit_points/

FUNCTION

# add\_rate\_limit\_points

```signature
function add_rate_limit_points(account: account, amount: integer)
```

[Source](https://gitlab.com/chromaway/ft4-lib/-/blob/development/rell/src/lib/ft4/core/accounts/rate_limit.rell#lines-92)

Adds rate limit points to an account to allow calling more operations in a short amount
of time. Rate limit points never exceed the config value for `max_points`.

Can only be called from an operation.

Throws `"MISSING RATE LIMITER STATE"` if the account does not have an `rl_state`. This
should generally never happen for user accounts, unless the `rl_state` entity has manually
been deleted.

**Parameters**

* **account** — the account to add points to
* **amount** — the number of points to add

**See Also**

* [`core.accounts.account_rate_limit_config`] — to set up a different limit for `max_points`

[View this page on docs.chromia.com](https://docs.chromia.com/pages/ft4-rell/-f-t4%20-library/lib.ft4.core.accounts/add_rate_limit_points.html)Generated API reference, mirrored from the live docs
