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

> function parse_ fee_ asset(input: map<text, gtv>, module_ name: text): fee_asset Parses a dictionary retrieved from the module_args of a module and returns

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

FUNCTION

# parse\_fee\_asset

```signature
function parse_fee_asset(input: map<text, gtv>, module_name: text): fee_asset
```

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

Parses a dictionary retrieved from the `module_args` of a module and returns the
corresponding `fee_asset`.

Throws `"CONFIG ERROR"` if the `fee_asset` is invalid.

**Parameters**

* **input** — the dictionary retrieved from the `module_args`
* **module\_name** — the name of the module for better error messages

**See Also**

* [fee\_asset](https://docs.chromia.com/pages/ft4-rell/-f-t4-library/lib.ft4.core.accounts.strategies.transfer/fee_asset/) — for a definition 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/parse_fee_asset.html)Generated API reference, mirrored from the live docs
