parse_fee_asset
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
for a definition of invalid values.