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

> function get_ config(config_ gtv: gtv): list< rule > Retrieves all rules following which a transfer can be used to register a new account. Throws "CONFIG E

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

FUNCTION

# get\_config

```signature
function get_config(config_gtv: gtv): list<rule>
```

[Source](https://gitlab.com/chromaway/ft4-lib/-/blob/development/rell/src/lib/ft4/core/accounts/strategies/transfer/config_utils.rell#lines-20)

Retrieves all rules following which a transfer can be used to register a new account.

Throws `"CONFIG ERROR"` if the config cannot be parsed. Common cases are:

* `CURRENT_ACCOUNT_REF` is used in exactly one of sender or recipient
* `timeout_days` is a negative number
* sender or recipient have a list of values, alongside which `CURRENT_ACCOUNT_REF` or
  `ANY_REF` are found
* some fields contain unexpected values. For example:
  + IDs cannot be parsed as hex `byte_array`s
  + asset limits are invalid

Throws if any field is improperly formatted, in such a way that the values cannot be parsed.

**Parameters**

* **config\_gtv** — the GTV-encoded configuration containing rules. Generally comes from the `chromia.yml` moduleArgs field.

**See Also**

* `asset_limit` — for examples of invalid values

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