get_config
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 recipienttimeout_days
is a negative numbersender or recipient have a list of values, alongside which
CURRENT_ACCOUNT_REF
orANY_REF
are foundsome fields contain unexpected values. For example:
IDs cannot be parsed as hex
byte_array
sasset 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