resolve_fee_assets
Parses a list of fee_assets, and returns a map of all the ones that could be mapped to actual assets. This does not throw if an asset has not yet been registered, allowing assets to be added to the config a long time before actually registering them.
This function does not discern when a fee_asset entry is invalid. This is because it will typically be called after the fee_asset has been parsed and values have been fixed when possible. If improper input is provided, this function will behave this way:
if
idis present, other values will be ignoredif
idis missing,nameandblockchain_ridmust both be present - it will throw otherwise
Return
a map of asset ID to fee amount to pay for that asset
Parameters
the list of fee_assets to parse.
See also
for more information on when it is invalid.