Docs
chromia.com

FUNCTION

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