find_allowed_rules

function find_allowed_rules(from_chain: byte_array, from_id: byte_array, to_id: byte_array, asset: asset, amount: big_integer): map<text, rule>(source)

Returns all rules on this chain that can be used to register an account given the parameters of the transfer.

Return

a map<strategy_name: text, rule>

Parameters

from_chain

the chain the transfer came from. This chain's RID for on-chain transfers

from_id

the ID of the sender account

to_id

the ID of the recipient account

asset

the asset that was transferred

amount

the amount of the transfer