is_asset_amount_allowed

function is_asset_amount_allowed(rule: rule, asset: asset, amount: big_integer): boolean(source)

Utility function which returns whether a rule allows a certain amount of an asset to be sent to register new accounts.

Parameters

rule

the rule to check

asset

the asset that is being transferred

amount

the amount that is being transferred