FUNCTION

get_rate_limit_config_for_account

function get_rate_limit_config_for_account(account: account): rate_limit_config

Retrieves the rate limit config to apply to a specific account. Defaults to the value in the chromia.yml if:

  • rate limit is inactive on the chain
  • no special configuration has been added for this account.

Parameters

  • account — the account for which to retrieve the config

See Also

© 2024 Chromia