add_rate_limit_points

@mount("ft4.admin.add_rate_limit_points") operation add_rate_limit_points(account_id: byte_array, amount: integer)(source)

Adds rate limit points to an account, allowing it to send more transactions even if it reached the limit. If the new amount of points is greater than the maximum amount of allowed points, the account will have the maximum amount of points.

Throws if not signed by the admin.

Throws "NEGATIVE RATE LIMIT" when amount is less than 1

Throws if the account or its rl_config does not exist

Parameters

account_id

the account that will receive the points

amount

the amount of points to give

See also

accounts.rl_state

to know more about rate limiting